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

    • tratando de crear un GvE tengo problemas con el scripts como no se mucho de esto me estoy ayudando con IA pero no puedo salir de este bache      [06:19:43]  WARN Quest GvE_AI not found! [06:19:45]  WARN Quest GvE_AI not found! [06:19:50]  WARN Quest GvE_AI not found! [06:25:51]  WARN Quest GvE_AI not found!
    • ## [1.5.5] - 2026-02-02   ### ✨ New Features - **Discord Login**: You can now sign in with your Discord account. Admins enable and configure Discord login in **cpadmin → Users** (Discord auth settings: Client ID, Client Secret, Redirect URI). If you already have an account with the same email (e.g. forum, Google, or legacy), signing in with Discord links to that account so you keep one profile. Discord login is available on Add Server, My Servers, Vote page, and Premium Ads booking. - **Setup Links**: In **cpadmin → Users**, both Google and Discord login settings now include direct links to their official developer portals (Google Cloud Console and Discord Developer Portal) for easier OAuth app setup.   ### 🔒 Security - **Email Required for Registration**: New user registration via OAuth (Forum, Google, Discord) now requires a valid email address. If the OAuth provider doesn't provide an email (e.g. unverified Discord email), registration is rejected with a clear message. This prevents anonymous accounts and ensures all users can receive important notifications.   ### 🔄 Improvements - **User Auth Badges**: In **cpadmin → Users**, the Registered Members table now shows auth method badges: **Forum**, **Google**, **Discord**, or **Legacy**. Users can have multiple badges if they've linked multiple login methods. - **Server Info Labels**: Translated server info labels (Owner Name, Language, Server Location) are now properly localized in all 5 languages (English, Spanish, Portuguese, Greek, Russian).   ---   ## [1.5.4] - 2026-02-01   ### ✨ New Features - **Google Login**: You can now sign in with your Google account. Admins enable and configure Google login in **cpadmin → Users** (Google auth settings: Client ID, Client Secret, Redirect URI). If you already have an account with the same email (e.g. forum or legacy), signing in with Google links to that account so you keep one profile. The login menu (navbar and login prompts) offers **Login with Forum Account**, **Login with Google** (when enabled), and **Create Forum Account**. Google login is available on Add Server, My Servers, Profile Settings, Vote page, and Premium Ads booking. - **Ban/Unban Members**: In **cpadmin → Users**, admins can ban or unban registered members. Banned users see a full-page message: "Sorry, you are banned from using this site." When a user is banned, all their servers are set to inactive. - **Moderator Activity Log**: **cpadmin → Moderators** now records when a moderator or admin enters the CPAdmin panel (e.g. "Moderator X entered CPAdmin panel at &lt;time&gt;") and when they change any cpadmin settings (only write actions are logged; read-only use is not). - **Clear Moderator Logs**: Admins can clear all moderator activity log entries via a **Clear logs** button with confirmation. Logs are shown at 100 per page with pagination. - **Filter by Moderator**: In the Moderator Activity Log, a **Filter by moderator** dropdown lets you view activity for a specific moderator or "All moderators." - **cpadmin → Users Tab**: New **Users** tab in the admin panel with Registered Members list (paginated), Google auth settings card, and per-user Ban/Unban and server links.   ### 🔄 Improvements - **cpadmin → Servers**: Each server name in the servers table is now clickable and opens that server’s info page. - **cpadmin → Users – Servers column**: The servers count/list is clickable and opens a small modal listing that user’s servers; each server name in the modal links to the server info page. - **cpadmin → Users – Search**: A search bar above the Registered Members table lets you search by **username**, **email**, or **server name**. Results are filtered on the server (paginated); clearing the search resets the list. - **Moderator Activity Log**: Pagination shows "Showing X–Y of Z" and "Page N of M" with Previous/Next when there are more than 100 entries. - **Login UI**: Login options (Forum, Google, Create account) are shown in a consistent dropdown and in modals (Add Server, My Servers, Vote, Premium Ads) for a clearer sign-in experience. - **Vote Page – Unauthenticated**: When you must log in to vote, the page now shows "Vote for [Server Name]" as the main heading and presents login options in a compact section.   ---   ## [1.5.3] - 2026-01-30   ### ✨ New Features - **File Logs in Admin Panel**: Admins can now view CodeIgniter PHP logs (api/writable/logs) directly in **cpadmin → Logs**. Select a date to view the log file, refresh to reload, or delete all log files to free up space.   ### 🔄 Improvements - **Cache System**: Full cache audit and improvements — when you clear cache in cpadmin, both backend and frontend caches are cleared. Server listings, My Servers, pricing, ad config, and chronicles all refresh with fresh data. New paid servers now appear in listings and My Servers immediately. - **Admin Panel – Server Rates**: Server rates in the admin servers table now display in compact format (e.g. x10000 → x10k, x100000 → x100k, x1000000 → x1m) for easier scanning. Hover to see the full value.
    • WTB High Five source running on Salvation/Fafurion client
    • MoMoProxy has updated more static residential proxies for USA location, anyone interested in can view: https://momoproxy.com/static-residential-proxies
  • 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..