Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Official File NPC Editing 101

Experienced Elementalist
Joined
Nov 9, 2008
Messages
289
Reaction score
5
yeah yeah sure but what is this

1, IK3_TICKET, -1, 1, 2, 100

is the same :S

and the other code doesnt work
 
Newbie Spellweaver
Joined
Oct 25, 2007
Messages
93
Reaction score
4
why can't i buy SProtect in my shop... that npc named IS is Flaris....????

Can you please put some information about what each field means and what to put in there....??? I have been editing my propitem.txt and character.inc to make a shop... but i can't seem to buy any item...

for example... when i buy Sprotect... it says ID already exist...

Please help....
 
Pessimistic butt@%&!
Loyal Member
Joined
Jan 18, 2008
Messages
2,057
Reaction score
487
yeah yeah sure but what is this

1, IK3_TICKET, -1, 1, 2, 100

is the same :S

and the other code doesnt work


I hadn't worked on a V14 server yet....I did all this on the V11...some things might have changed...but if not...

I checked out the files...and in theory what you are adding should work...

Only thing I might change it the -1 to a 0 or 1...can't remember one of those means no job requirement...

Outside of that I don't know.

why can't i buy SProtect in my shop... that npc named IS is Flaris....????

Can you please put some information about what each field means and what to put in there....??? I have been editing my propitem.txt and character.inc to make a shop... but i can't seem to buy any item...

for example... when i buy Sprotect... it says ID already exist...

Please help....

I did not have this problem with my server....

But I know others that have had this problem and I think theres a fix in the forums here somewhere....
 
Divine Celestial
Loyal Member
Joined
Sep 13, 2008
Messages
853
Reaction score
14
why can't i buy SProtect in my shop... that npc named IS is Flaris....????

Can you please put some information about what each field means and what to put in there....??? I have been editing my propitem.txt and character.inc to make a shop... but i can't seem to buy any item...

for example... when i buy Sprotect... it says ID already exist...

Please help....

That is client sided problem. You need to edit propItem.txt at dataSub2.res to make the price match server's price, the price is 0 so you cant buy it, put at least 1.
 
Experienced Elementalist
Joined
Nov 9, 2008
Messages
289
Reaction score
5
bbin how can I add the azria/coral ticket

those items have the same thing

1, IK3_TICKET, -1, 1, 2, 100

I dont know XD

can you give to me an example? with azria, and spro¿?
 
Newbie Spellweaver
Joined
Jul 26, 2008
Messages
83
Reaction score
5
i don;t get this. So i enable Yetti set to be vendable and set:
Code:
AddVendorItem( 1, IK3_SCROLL, 1, 15, 200, 25 )
What are these values(X)??
Code:
AddVendorItem( X, IK3_SCROLL, X, X, X, X )
 
Junior Spellweaver
Joined
Sep 27, 2008
Messages
118
Reaction score
19
i don;t get this. So i enable Yetti set to be vendable and set:
Code:
AddVendorItem( 1, IK3_SCROLL, 1, 15, 200, 25 )
What are these values(X)??
Code:
AddVendorItem( X, IK3_SCROLL, X, X, X, X )

Well I'm not really sure on the whole function
but what my guesses are:
Code:
AddVendorItem( VendorSlot{usually 4 slots at the bottom of the trade screen}, IK3_SCROLL{probably describes what Items are being sold in that slot},{-1= cloaks/scrolls/foods/blinks and more. I'm not too sure, 1= Mercenary, 2= Assist, 3= Acrobat, 4= Magician}, X{I don't know}, Rarity{already was said in a thread}, X{I don't know} )
 
Last edited:
Newbie Spellweaver
Joined
Nov 11, 2008
Messages
37
Reaction score
17
HI, i searched a bit and finally found some of them:
in this:
AddVendorItem( 0, IK3_SCROLL, -1, 1, 15, 1);
1_____2______3__4__5__6​
  1. - is vendor slot (0-3)
  2. - (we know)
  3. - is the class like this: (see in 'definejob.h' because maybe we can set more class)

    UNDEFINED -1
    VAGRANT 0
    MERCENARY 1
    ACROBAT 2
    ASSIST 3
    MAGICIAN 4
    PUPPETEER 5
    KNIGHT 6
    BLADE 7
    JESTER 8
    RANGER 9
    RINGMASTER 10
    BILLPOSTER 11
    PSYCHIKEEPER 12
    ELEMENTOR 13
    GATEKEEPER 14
    DOPPLER 15​


  4. - this is the lower level of the object(s)
    (if you set IK3_SUIT, they will show starting from this number for sample if you write 30 all suit 33 43 ... will show)


  5. - (we know) (in fact, this is the maximum rarity to show.)


  6. - i'm sorry for this one i don't find why these numbers i only found this list seem ok:
for armor (suit,arms,...) 25 or 17
for weapons: 50 or 25 or 100
for scroll : 1
for shield : 100
for all flying objects: 100
for pets: 100
for items(food, charms,...): 50
for hat: 30 or 100
for shoes : 30
for mask : 40 or 100
for blinkwing : 50​

I hope one day somebody found why.
 
Last edited:
Custom Title Activated
Loyal Member
Joined
Dec 20, 2005
Messages
2,046
Reaction score
117
nice guide for adding items, but i really need is adding cash shop items but i don't know the IDs for those or names causes i never have played this games on global servers. would anyone can make a list for those items and be able to add them into IS, that npc? causes she has nothing on her vendors. i would like to add cash shop items/premium items into that npc too but i don't know the name of the items nor IDs for it. thank you guys if you can help me with this one.
 
Newbie Spellweaver
Joined
Nov 14, 2009
Messages
49
Reaction score
0
but why in my NPC "IS" is not show item if i change the number..
Example
AddVendorItem(0 "This number to 1?" , IK3_SCROLL, -1, 1, 15, 1);

plz help me
 
Last edited:
Newbie Spellweaver
Joined
Nov 11, 2008
Messages
37
Reaction score
17
to flashdeddy:
in IS you see this:
AddVendorSlot( 0,
IDS_CHARACTER_INC_000066
);

this is her vendor slot who tell you that the number can only be 0.
if you try to add slot, this will not work on every vendor (for sample add a vendor slot to DIOR work but for JURIA not and don't ask me why :*:)
 
Last edited:
Newbie Spellweaver
Joined
Nov 14, 2009
Messages
49
Reaction score
0
i got it..

AddVendorSlot( 0,
IDS_CHARACTER_INC_000066
);

0 = tab slot that you vendor have, you can change to 1-3
IDS_CHARACTER_INC_000066 = the text in you tab, u can see that in character.txt.txt

that.. thx for ricky30 for the clue..
 
Newbie Spellweaver
Joined
Oct 10, 2008
Messages
10
Reaction score
0
I can't get my Is Npc to have CS items appear either.
I've tried everything and then tried everything suggested on this topic. Can anyone give an example for an azria ticket that they got working for the CS seller
 
Last edited:
Newbie Spellweaver
Joined
Nov 11, 2008
Messages
37
Reaction score
17
Please post from the column 'dwid' to column 'blog' of the item and the name of the vendor concerned.

like that:
II_RID_RID_BOR_FLYSWORD IDS_PROPITEM_TXT_005642 1 1 IK1_RIDE IK2_RIDING IK3_BOARD = TRUE = = 400000 = = = = = PARTS_RIDE = 0 = = 15 15 1 1

Vendor:Dior

This way we can better assist you.
 
Newbie Spellweaver
Joined
Oct 10, 2008
Messages
10
Reaction score
0
II_SYS_TICKET_KEBARAS01, IDS_PROPITEM_TXT_009076, 1, 1, IK1_SYSTEM, IK2_SYSTEM, IK3_TICKET, =, TRUE, 1, =, 4, =, =, =, =, =, =, =, 0, =, =, 1, 2, 1, 1

This is the item I want to add from dwID to bLog.

Add to vender: Is
 
Custom Title Activated
Loyal Member
Joined
Dec 20, 2005
Messages
2,046
Reaction score
117
same problems here i added the items to IS's vendor but it doesn't shows items in there what possible gone wrong? I got the sale tab worked too but no items on that sale tag.. jesus this tut missed out alot of things. i patched the client as well.. oh well hope someone would makes a more easy understandable guide for this then.

can i do a little requesting? like adding a cash shop items into IS's vendor? i want bag 30 days in that vendor, can someome help? i have edited my proitem.txt as this guide said... all i need is that character.inc that really showed she has that items in there please someone post one up :)
 
Last edited:
Newbie Spellweaver
Joined
Nov 11, 2008
Messages
37
Reaction score
17
Hi, with this line it work for me:

AddVendorItem( 0, IK3_TICKET, -1, 1, 2, 100 );

john007 Please post a reply like Wreck otherwise i don't know what the item.

I need also to say something: for this file, all is server side excepting for the display of prices is client side. Explanation, if an item have a price of 4 but you write 10 the client show 4 but you pay 10. (So you must replace the file client side only if you want to change prices and display them properly)
 
Last edited:
Custom Title Activated
Loyal Member
Joined
Dec 20, 2005
Messages
2,046
Reaction score
117
ricky30, oh here, i want to add add into IS shop.

Code:
II_SYS_SYS_SCR_BAGBAG,IDS_PROPITEM_TXT_008970,1,***IK1_SYSTEM,IK2_SYSTEM,IK3_POCKET,=,=,1,=,10000,=,=,=,=,=,=,=,0,=,=,1,=,,1,1


***=99 dammit why this forum don't let me type 99? and its sunday i hate it always get maintance thingy on this forum..
 
Last edited:
Newbie Spellweaver
Joined
Nov 11, 2008
Messages
37
Reaction score
17
Hi.
First, you must edit the item in this manner:
II_SYS_SYS_SCR_BAGBAG,IDS_PROPITEM_TXT_008970,1,***IK1_SYSTEM,IK2_SYSTEM,IK3_POCKET,=,=,1,=,10000,=,=,=,=,=,=,=,0,=,=,1,1,1,1,1
After, add this to IS:
AddVendorItem( 0, IK3_POCKET, -1, 1, 2, 100 );
Have a nice day.
 
Custom Title Activated
Loyal Member
Joined
Dec 20, 2005
Messages
2,046
Reaction score
117
Ricky30 wow its worked thank you bro :)

i wish someday people would make a tool to add items to npcs with gm account that make alot easier.
 
Last edited:
Back
Top