Jump to content

Recommended Posts

Posted (edited)

IL is the worst chronicle in terms of performance and optimization, try to spawn 10k kariks with PHX and make them cast a skill, you won't like what you're going to see

 

Once again it got nothing to do with client, and IL compared to GC is way more cleaner. I got ridiculous amount of lags on both GC / Classic clients on empty server zone. They even nerfed knownlist range on Classic.

 

And actually you simply CAN'T spawn 10k kariks with L2J on a same area with current L2J knownlist system (at least if each karik see each other, as they are supposed to do). Did you test it ?

Edited by Tryskell
Posted

Works on unity :D that's how I came to see 10k is client hard limit, it won't even show further NPC or player spawning in the area

Posted (edited)

Once again it got nothing to do with client, and IL compared to GC is way more cleaner. I got ridiculous amount of lags on both GC / Classic clients on empty server zone. They even nerfed knownlist range on Classic.

 

And actually you simply CAN'T spawn 10k kariks with L2J on a same area with current L2J knownlist system (at least if each karik see each other, as they are supposed to do). Did you test it ?

 

I said PHX, spawn them with PHX via script and NpcInfo packet, this will bring the client to its limits without server bottlenecks

Edited by xxdem
Posted
PvpAmount1 = 500

ColorForAmount1 = 293546

PvpAmount2 = 1000

ColorForAmount2 = 00ff00

PvpAmount3 = 1500

ColorForAmount3 = 0000ff

PvpAmount4 = 2500

ColorForAmount4 = ffff00

PvpAmount5 = 5000

ColorForAmount5 = ff0000

 

lol

Posted

 

PvpAmount1 = 500
ColorForAmount1 = 293546
PvpAmount2 = 1000
ColorForAmount2 = 00ff00
PvpAmount3 = 1500
ColorForAmount3 = 0000ff
PvpAmount4 = 2500
ColorForAmount4 = ffff00
PvpAmount5 = 5000
ColorForAmount5 = ff0000
 
lol

 

 

Maybe it doesn't look nice, but it is good enough  for my 15 minutes I spend

Posted (edited)
 

Maybe it doesn't look nice, but it is good enough  for my 15 minutes I spend

you can make it better 

 

example :

PvpAmount = 500,293546;1000,00ff00;1500,0000ff;2500,ffff00;5000,ff0000

load config 

public static Map<Integer, Integer> Color_name;

String spliter1= yourfolder.getProperty("PvpAmount", "");
String[] splitted = spliter1.split(";");
		
Color_name = new HashMap<>();
for (String s : splitted)
{
String[] a = s.split(",");
Color_name.put(Integer.parseInt(a[0]), Integer.decode("0x" + Integer.parseInt(a[1])));
}

used code

int state = 0;
		for (Entry<Integer, Integer> color : Config.Color_name.entrySet())
		{
			if (player.getPvpKills() >= color.getKey()&&player.getPvpKills() >= state)
				state = color.getKey();
		}
		
		if (state > 0)
			player.getAppearance().setNameColor(Config.Color_name.get(state));

 

it's one simple example who you can use it without many config  
( better is to use it with holder )
has better performance on many color names ( if you want the perfect performance )
Edited by pirama
Posted (edited)

...

 

 

You use a entrySet but don't even use getValue()... And do a .get( for nothing.

int state = 0;
for (Entry<Integer, Integer> color : Config.Color_name.entrySet())
{
	if (player.getPvpKills() >= color.getKey())
		state = color.getValue();
}
		
if (state > 0)
	player.getAppearance().setNameColor(state);

Latest aCis will introduce getIntIntHolderList() for StatsSet - getIntIntHolder(), and getDoubleArray() aswell.

Edited by Tryskell
Posted

You use a entrySet but don't even use getValue()... And do a .get( for nothing.

int state = 0;
for (Entry<Integer, Integer> color : Config.Color_name.entrySet())
{
	if (player.getPvpKills() >= color.getKey())
		state = color.getValue();
}
		
if (state > 0)
	player.getAppearance().setNameColor(state);

Latest aCis will introduce getIntIntHolderList() for StatsSet - getIntIntHolder(), and getDoubleArray() aswell.

 

i find you 

you are the bitch who spam bugs on rename :)

who you can get fail c/p ? just lol 

http://imgur.com/a/Yo9cE

Posted (edited)

i find you 

you are the bitch who spam bugs on rename :)

who you can get fail c/p ? just lol 

http://imgur.com/a/Yo9cE

 

Mate, what's your problem, you're ridiculous. I fixed your code. Check how entrySet is used, and thank me to teach you something new.

 

https://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html

 

It looks like more the time passes, more you become ignorant, stupid and reckless. Normally it's the versus which happen for a normal human being : you become wiser and learn from mistakes.

Edited by Tryskell
Posted (edited)

Mate, what's your problem, you're ridiculous. I fixed your code. Check how entrySet is used, and thank me to teach you something new.

lol idiot you can't 1 c/p correct and talk ?

and you can't read ( is a simple example ) 

 

 

it's one simple example who you can use it without many config  
( better is to use it with holder )
has better performance on many color names ( if you want the perfect performance )

if you can , fix it better and stop the spam 

they maybe to need and value for change hue ( accordingly pvp ) the code is correct on this step ( It's just not the whole code )

Edited by pirama
Posted (edited)

lol idiot you can't 1 c/p correct and talk ?

and you can't read ( is a simple example ) 

 

if you can , fix it better and stop the spam 

they maybe to need and value for change hue ( accordingly pvp ) the code is correct on this step

 

When you provide public code (when you decide to do...), AT LEAST do it right. It's pointless to share code if it's not even the correct writting/use. Spreading invalid patterns is worst than not answering to a topic.

 

You use entrySet on a wrong manner, and your code could be more optimized, live with it.

 

Read my post again, and stop the childish anger, you will maybe figure what you did wrong.

Edited by Tryskell
Posted (edited)
 

When you provide public code (when you decide to do...), AT LEAST do it right. It's pointless to share code if it's not even the correct writting/use. Spreading invalid patterns is worst than not answering to a topic.

 

You use entrySet on a wrong manner, and your code could be more optimized, live with it.

 

Read my post again, and stop the childish anger, you will maybe figure what you did wrong.

 

 

int changecolor = 0;

 

changecolor = (color.getvalue()+(  player.getpvpkills() - color.getkey()));

 

player.getAppearance().setNameColor(changecolor);

 

ofc and you don't understand what i mean , so get it because you need it

Edited by pirama
Posted (edited)

 

 
 

 

int changecolor = 0;

 

changecolor = (color.getvalue()+(  player.getpvpkills() - color.getkey()));

 

player.getAppearance().setNameColor(changecolor);

 

ofc and you don't understand what i mean , so get it because you need it

 

 

Your entrySet exemple is still wrong. You're funny. :D

Edited by Tryskell
Guest
This topic is now closed to further replies.



  • Posts

    • Hi I would like to buy your panel, please reach me out from discord: doncarlo thanks in advance 🙂
    • Hi,   I am looking for experienced L2J developer who can handle Java work – systems, shops, buffer, custom features and client-side edits. Paid work. If you are interested, contact me: Discord: doncarlo
    • Hi all, I am looking for very experienced L2J developer to join and help with my Lineage 2 Interlude project (server launching soon). What I need: Build and manage shop system (manager shops) Buffer service, GM shop, custom services Good understanding of server-side (L2J) and also client-side edits Clean, stable and professional work (no random fixes) Important: Must have real experience with L2J / Interlude Must understand how to properly structure systems, not just copy-paste This is paid work, I respect your time and effort. If you are serious and experienced, contact me on Discord: doncarlo Thanks.    
    • Hey, I went through your NimeraCP and honestly, it looks really solid. Instantly bought for my server! Compared to most L2 panels, this is on a completely different level — the UI is clean, modern, and doesn’t feel like some 15-year-old system. I really like how everything is in one place — shop, referrals, rewards, roll & lucky wheel. The automation and real-time features (If you ask Splicho nicely, hahaha) are a big win too, since most panels are missing that. Overall though, great job. It feels like a next-gen panel, not just another copy. Definitely has the potential to be one of the top solutions in the L2 scene.
    • Helloo i was wonder if in interlude there is a way to increase font ui size ?  becouse sometimes when i put the game in full screen all the bars buff inventory etc are very  small  and i dont see very good .. , some one know if i can edit something in system?
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..