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...

 

This

 

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

 

to this

 

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

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.

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...