Jump to content

npc's


XaioXaio

Recommended Posts

well i would like a guide or some info how to make :

a buffer npc , a npc with all buffs except cat buffs/cubics/resistances

gm shop , at this one i got the part with multi sell , i just need a bit of advice how to import the XML files (im using Lineage II - Multisell by tReXpert)

Link to comment
Share on other sites

use search and you will find solutions in all of your problems :P

well if i didn't use search i wouldn't be asking

maybe i have missed some things with the search ... most of the npc's ain't working anyways u can gimme the links

Link to comment
Share on other sites

well i would like a guide or some info how to make :

a buffer npc , a npc with all buffs except cat buffs/cubics/resistances

gm shop , at this one i got the part with multi sell , i just need a bit of advice how to import the XML files (im using Lineage II - Multisell by tReXpert)

 

just simply take an already buffer which work for your pack , and edit the htmls .. if u need more support pm me if i have free time and i will help you or reply here .. about the shop .. create the multisells via these multisell compilers and on the html of the shop you add this code

 

<button value="Mafia" action="bypass -h npc_%objectId%_Multisell 1231321" width=100 height=23 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">

 

 

and for example if u want a shop with 1 multisell named 1231.xml you will have this

 

<html>
<body>
<center>
Shop
</center>
<center><br><font color="FFFF00">Shop</font></center>
<center>
<table width=230>
<tr>
<td align=center><button value="Mafia" action="bypass -h npc_%objectId%_Multisell 1231" width=100 height=23 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</tr>
</center>
</body>
</html>

 

how to import buffer/gk/teleporter , here its a guide

 

[ENG]Listen ... in order to put a buff ... it should have 1 sql file ... you open it with navicat then you select your DB .... default l2jdb then you click right click and then click execute bath file ... find the .sql file from buffer .. and double click it .. it should load smth .. and it will tell you [Msg] Finished - 2 queries executed successfully the 2nd .sql file isnt neccessary .. it may have 5 sql files .. ( lol Tongue ) after then it should have a .htm file which you copy and you put it at gameserver/data/html/default/ there and after that it should have 1 file jscripts for interlude and scripts for kamael .. i will tell u and the 2 ways how to put kamael and IL too !!

1)Kamael , you take the script folder .. maybe 9999_NPCBuffer and you put it at gameserver/data/scripts/custom/ and you paste it there ( the 9999_NPCBuffer is for mine buffer ... for you it may be different .. 800_NPCBuffer who knows ? xD Tongue ) then you go at gameserver/data/ and you search for >> scripts.cfg << then you open it with notepad and you search at the last for #Custom and you put after the last line the custom/9999_NPCBuffer/__init__.py , see below how it may be !

# Custom
custom/3995_echo/__init__.py
custom/4000_ShadowWeapons/__init__.py
custom/5000_MissQueen/__init__.py
custom/7000_HeroItems/__init__.py
custom/8000_RaidbossInfo/__init__.py
custom/8001_NpcLocationInfo/__init__.py
custom/6050_KetraOrcSupport/__init__.py
custom/6051_VarkaSilenosSupport/__init__.py
custom/9999_NPCBuffer/__init__.py

2)Interlude it should have the same 9999_NPCBuffer ( the 9999_NPCBuffer is for mine buffer ... for you it may be different .. 800_NPCBuffer who knows ? xD Tongue ) you take it and you put it at gameserver/data/jscript/custom there you paste it and then you open the __init__.py that is based at the folder named custom .. and you put '9999_NPCBuffer' as the last line of this file .. check below how it should be


__all__ = [
'5011_l2day',
'7000_HeroItems',
'6050_KetraOrcSupport',
'6051_VarkaSilenosSupport',
'9999_NPCBuffer'
]
print ""
print "importing custom data ..."
from data.jscript.custom import *
print "... done"
print ""

Now for the GM Shop , it should have 2.sql files .. you make the same as buffer .. you execute them at your DB .. then it should have many .htm files ... these goes at gameserver/data/html/merchant there you paste them .... WATCH OUT ...it may have some other files .xml which goes at gameserver/data/multisell ! there you paste it


Global GK , it should have 2 .sql files .... and you do the same as before .. ( you know xD ) execute at your db .. then it should have .htm files you copy them and you paste them at gameserver/data/html/teleporter there you paste it

I Hope i helped !  Good Luck !!

 

gl

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



  • Posts

    • thats 26_21... i have it and 26_19... only 26_20 missing is the town arcan part
    • his link still working here , or are they different ?
    • Hello everyone,   We're shifting our focus away from implementing as much as possible from the Essence gameplay. Instead, the server will now be Interlude, but using the Essence client.   This should be good news for everyone.   The Beta phase will most likely take place in November, with the grand opening to follow shortly after.   Cheers!
    • We remind you that the opening will take place today, on September 28 at: 19:00 (UTC+3) - server time Check current server time(UTC +3) On 17:00 (UTC +3) We allow you login to create character! Dear friends, this topic important! So please take time to read it. First we want to thank all players who took part in the Open Beta testing, was good activity and nice Olympiad Event yesterday, we all get a lot of fun  Thanks to all who conducted tests with us and prepared this game world! You are amazing!  On 17:00 (UTC +3) We allow you to login for create character! To restrict your name and transfer ToDs/Season Pack to your character. Make it before start! On start, we can have problems with WEB! Everything you need to start on the server: It is IMPORTANT to prepare everything for starting the game RIGHT NOW, do not postpone for later, during the opening there may be problems with the web part of the project, and you simply can not register. - Registration and files Download archive unzip it, run launcher, choose SEASON x25 server and press FULL CHECK What you need to know at the start: Registration for 7 seals from Monday, September 30, full cycle 1 week. First Mammons on Friday October 4 All Epic Raid Bosses dead on start. First epic QA will appear on Monday, next day Core + Zaken + QA and so on by schedule All other RBs alive on server start (including Sub and Nobl RB) - Full RoadMap   About possible attacks on server start. We have prepared as good as we can. We will control the start of the server together with you. Want to ask you, in the case of a problem, don't panic, panic is the worst possible thing that could be, even worse than any attack. We have enough specialists to solve any problems, all that will need from you is patience and trust. Wish you all a smooth start and months of enjoyable play in new Season Interlude x25! Have a fun!
  • Topics

×
×
  • Create New...