marwan Posted November 24, 2012 Posted November 24, 2012 Hey guys , I have something new to share hall of fame npc , you can add like trusted members to list hall of fame, code : http://pastebin.com/icqhwFbW oh also you will have to make new column in characters table name it famer , tinyint , allow null to add anyone to the npc make famer = 1 inngameserver.java add, HallOfFamer.getInstance(); the npc id should be 1234 you can edit from here private final static int NpcId = 1234; in npc html you will need just one button <button value="Show" action="bypass -h Quest HallOfFame show" width=90 height=25 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"> credits : to me Quote
Fizo Posted November 25, 2012 Posted November 25, 2012 if i am right with that u vote for the best player ? Quote
Lucky Dice Posted November 25, 2012 Posted November 25, 2012 if i am right with that u vote for the best player ? yep +1 Quote
niksan1 Posted November 25, 2012 Posted November 25, 2012 gives error of each file in /data/stats/skills/ Quote
marwan Posted November 26, 2012 Author Posted November 26, 2012 gives error of each file in /data/stats/skills/ what error Quote
niksan1 Posted November 26, 2012 Posted November 26, 2012 I fix my error but there is another... Unclosed connection! Trace: com.l2jserver.gameserver.instancemanager.HallOfFame. get(HallOfFame.java:125) Quote
SweeTs Posted November 26, 2012 Posted November 26, 2012 I fix my error but there is another... This try { Connection con = L2DatabaseFactory.getInstance().getConnection(); to this try (Connection con = L2DatabaseFactory.getInstance().getConnection()) Quote
marwan Posted November 27, 2012 Author Posted November 27, 2012 I fix my error but there is another... updated try this : http://pastebin.com/icqhwFbW Quote
niksan1 Posted November 27, 2012 Posted November 27, 2012 same error using latest l2jserver stable Quote
MrHotFire Posted November 28, 2012 Posted November 28, 2012 :O I wanted to create something like this. Nice HTML & work. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.