Jump to content

[Share]Little pvp/pk color engine


B1ggBoss

Recommended Posts

read carefully what did you post

 

first condition is that the consecutivekillscoun must be over 29. How could be 0 in the next check =) ?

Link to comment
Share on other sites

Nice PvP/PK Color Engine. How can i disable this feature for Admin/GMs ? I can't change the color of my name cuz the engine affects mine too. So i need a restriction e.g. if a player has more access than 1 the engine does not takes effect on him. Thx in advance.

Link to comment
Share on other sites

  • 2 weeks later...

you can do it by yourself lol

btw, you dont need to restart to take it, be sure you modified the broadcastUserInfo()

i modified it,

and i dont know java rly good so i cant do it by myself

Link to comment
Share on other sites

  • 1 month later...

and what about that error?????

 

Unclosed connection! Trace: com.l2jserver.gameserver.model.actor.appearance.Colo
rNameManager.loadValues(ColorNameManager.java:55)
java.lang.RuntimeException
        at com.l2jserver.L2DatabaseFactory.getConnection(L2DatabaseFactory.java:
223)
        at com.l2jserver.gameserver.model.actor.appearance.ColorNameManager.load
Values(ColorNameManager.java:55)
        at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:301)
        at com.l2jserver.gameserver.GameServer.main(GameServer.java:505)

 

i think i ve done something wrong . . .

Link to comment
Share on other sites

nop, theres an unclosed connecton in my code. go to ColorNameManager.loadValues and at the botton of the method add

try{ if(con != null) con.close(); } catch(Exception e){ if(Config.DEBUG) e.printStackTrace(); }

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock