[Tut] how to replace items

10/01/2009 09:59 drew666#1
Im going to show you how to replace items npc have with what you want them to sell.

Im going to use Losen Piettrei a weapon mechant in glitter to make a example

1. You must extract the data.saf file ( if you need to do this please take a look at the post to do it.)

2. You will need a Hex editor.

Ok lets start Go to ur NPCQuest.SData located in ur client in the folder NPC. Open it with a hex editor.

1. Find the Id of Losen Piettrie which is ( in game /nmake 1 35)
Ok so you take the id 1 35 you convert it to hexdecimal numbers

1 will be 01 in hex and 35 will be 23 in hex decimal so we got 01 23 for hex decimal.

Ok here is a example
[Only registered and activated users can see links. Click Here To Register...]

Ok now lets say we want to replace the first item in this npc which is a Blade Ace.
So find the ID of Blade Ace
Blade Ace- ID= 9 21 Convert it to Hexdecimal= 09 15
Now that you have the Hexdecimal and you have have found Losen Piettrei Find the Hexdecimal 09 15
Here is a exsample
[Only registered and activated users can see links. Click Here To Register...]

Ok now determine what item you want to put in it place

ill replace it with Heroic Nirvana

So i look for heroic Nirvana and get ID for it

Heroic Nirvana= Id= 9 62 Hexdecimal for it = 09 3E So go back to hex editor and where you found 09 15 change it to 09 3E and save.

You just have change that weapon the NPC is selling to something else.

Please remember you also have NpcQuest.Sdata in ur server files to you have to replace.

PLEASE NOTE **** Make back ups of all ur files just in case.
10/01/2009 13:53 Polypropylen#2
you can use "HexEdit MX" , too!
same interface like winhex but 4free!
might be helpful for some people

best regards
Poly
10/02/2009 16:06 lilprohacker#3
Thanks for this. I needed a list containing all the NPC Ids and this contains them, I needed them cause I'm in the process of making a trainer that allow you to access any NPC for anywhere. I already have the warehouse working, just now working on buying things from stores, then i'm going to work on Quests and finally gate keepers. I'll post a thread once I get it done.

well I just tried what you said. I used the Chinese data extractor and extracted data.saf to a folder. I opened up my hex editor and went to the NPCquest.sdata and opened it. I searched for some text but there isn't anything readable in it. everything is gibberish. did I extract it wrong or what. if you know what might be wrong i would appreciate the help.
10/02/2009 20:08 WhoDoneIt#4
need the data extracter plz
10/03/2009 07:18 nknwn666#5
Quote:
Originally Posted by WhoDoneIt View Post
need the data extracter plz
[Only registered and activated users can see links. Click Here To Register...]
10/03/2009 10:45 Polypropylen#6
Quote:
Originally Posted by nknwn666 View Post
[Only registered and activated users can see links. Click Here To Register...]
chinese tool doesn't work!first look for the something(make sure it's working) before posting

best regards
Poly
10/03/2009 12:31 nknwn666#7
Quote:
Originally Posted by Polypropylen View Post
chinese tool doesn't work!first look for the something(make sure it's working) before posting

best regards
Poly
huh? i just gave him the link to a topic about data extractor, not to a certain tool and that topic doesnt have only the chinese one....
10/04/2009 17:43 paketon#8
T_T i dont understand this
10/04/2009 18:16 skater_1997#9
Guys stop he dont Use SHaiya Data extractor He use a chinese program witch is used to open data.saf
10/04/2009 22:47 lilprohacker#10
Quote:
Originally Posted by skater_1997 View Post
Guys stop he dont Use SHaiya Data extractor He use a chinese program witch is used to open data.saf
Yeah so did I. I also used Zerosignals and they both output the same file.

Drew666 - do you think you can upload the newest NPCQuest.SData here. I want to compare it with mine.
10/05/2009 04:33 Yamid#11
So, for example I could make some piece of crap the shop is selling into an ele lapis?
10/05/2009 05:00 drew666#12
yes
10/05/2009 05:06 WhoDoneIt#13
Quote:
Originally Posted by drew666 View Post
yes
mabey im doing something wrong, but when comparing the iteams in the shops, i buy them, then look at them no a second toon and they show up as the iteam that would be purchased from the shop. So, it seems that this just makes iteams appear to be something they are not, like changing your dammage value or hp values.
10/05/2009 05:53 drew666#14
if you edit the the client you also have to edit the same one in the server. If you only edit the client you will be able to see them but when you buy the item it will come out what was suppose to be there. like if you put a goddess gear in place of a normal gear. and you never change the file in server you will see the goddess gear but when you buy the gear it will come out to be the normal gear

So you must do both client and server.
10/05/2009 06:46 WhoDoneIt#15
kk thats what i thought