Jump to content

[Share]Hall of Fame


marwan

Recommended Posts

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

 

Link to comment
Share on other sites

I fix my error but there is another...

 

This

 

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

 

to this

 

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

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