*][Sl4v3][* Posted May 5, 2009 Posted May 5, 2009 Step 1) Find an NPC that you like and you want your NPC to look like, i chosed an "Golden Pig" - ID = 13035. I always just take the easy way and go to DataBase and then just find a strange name and try it out. You need to take the "idTemplate" - that is the look of the NPC. You also need to take the "class" from it. In this case it is "NPC2.E_pig_ball" you also need the "type" "L2Merchant" Step 2) Now make a new row in the NPC table at database. Type in the ID you want. Eg. "99999" And then at "idTemplate" put in our Golden pig idTemplate (13035) + our "class" id "NPC2.E_pig_ball". I allways type in "L2Merchant" at "type" - because then you can keep all the NPC files at one folder "html/merchant" but thats just me. Anyway. Now just fill out the rest of the rows as it is in the golden pig row. Change the title and such things to what you want. Step 3) Ok now the Database part is done. Go to your "data/html/merchant" folder. make a new HTML file named the id as we said above "99999". In the HTML file put in this text: <html><body> <table width=200> <tr><td><center>Welcome to my server</center></td></tr> </table> </body></html> Save it as a ".htm" file. Step 4) Now you are actuly done. Start server and go ingame and type: //spawn 99999 And wupti you have a golden pig with that text :) If you want a GM shop its almost that, then you just need to add an ".xml"
ExTrEmEDwarf Posted May 5, 2009 Posted May 5, 2009 u forgot to write if he is ingame to use //reload htm ,or restart server..
*][Sl4v3][* Posted May 5, 2009 Author Posted May 5, 2009 u forgot to write if he is ingame to use //reload htm ,or restart server.. oups.. :P
Matim Posted May 5, 2009 Posted May 5, 2009 already posted : http://www.maxcheaters.com/forum/index.php?topic=21958.0
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now