Jump to content

Recommended Posts

Posted

Hey guys , I have something new to share

hall of fame npc  , you can add like trusted members to list hall of fame,

84956331.png

 

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

 

Posted

I fix my error but there is another...

Unclosed connection! Trace: com.l2jserver.gameserver.instancemanager.HallOfFame.

get(HallOfFame.java:125)

Posted

I fix my error but there is another...

 

This

 

try
{
    Connection con = L2DatabaseFactory.getInstance().getConnection();

 

to this

 

try (Connection con = L2DatabaseFactory.getInstance().getConnection())

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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