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

    • Help plz i have this error   Has anyone had this happen to you? How do I solve it?  
    • ??? error   https://ibb.co/Srn4LsX No support  :S   No support : S ? :S @Lowness  ..... error, help   hey friend were you able to solve the problem? were you able to solve the problem?
    • I also think this feature would bring more harm than good... another example is a dwarf rushing against your mobs so he takes priority, then he plays fake death and proceeds to grief the shit out of you. A minimum damage threshold is necessary, which would basically converge to what is the default feature (i.e. biggest damage dealer)
    • I bought the premium to watch the video and it's private. 😢
    • For some Majestic reason OP can't edit their topics anymore?    Let me update the potential offers, I got up to 2 spots to fill.   CONTACT TELEGRAM ONLY: https://t.me/asupport_g1     A credible team that SGuard represents is looking for java developers.    These positions is full time only i.e. your time is mostly dedicated within the team and team tasks, side gigs are fine, as long as you are able to combine your gig and main.  All necessary tools are provided.  The team is consistent with > 10 team members and the team is looking to expand to meet various goals. A decent Lineage 2 Essense OR Main (GOD) knowledge is needed.  Experience with l2r/l2p/l2s. mobius is fine too for referrence only. The team is friendly and goal oriented, very active and resourceful.   Requirements are standard, java knowledge is optional.  Multi language is a plus but not necessary (English/Russian), any is accepted.   Terms and conditions including compensation are reasonable and considered to be up for the industry standards. Details are negotiable with suitable candidates.   You will need to have a headset and a mic just for the initial processing, there're no team meetings or conferences after that. There's a small 30min interview process to demonstrate knowledge and just to meet each other.   The team has decided it is in their best interest to not publish their information at this time. Details will be available only for suitable candidates.   CONTACT TELEGRAM ONLY: https://t.me/asupport_g1
  • Topics

×
×
  • Create New...