How to add/edit NPC shops Items (Final+Easy Version)

Newbie Spellweaver
Joined
Sep 1, 2008
Messages
41
Reaction score
11
How to add/edit NPC shops Items

Hello
How we can edit NPC shops??

You need:



___________________________________________________________________

Tools:


___________________________________________________________________

We can edit and add Items by the NPC shops!

___________________________________________________________________

Edit:
Step 1:
Open with Hex Workshop Hex Editor the cfs file in the "NPCShops" folder (Serverfiles/NPCShops/XXX.cfs)
Then you go to the Item list (open it with IE) and search the Item ID what the NPC (Ingame) are selling.
Open the Windows Calculator and add in the decimal mode the Item ID then click on Hex.
Then you must edit the hex code so that it is right:

2: When the Hex Code have 2 numbers you dont must change anything!
12= 12

3: When the Hex Code have 3 Numbers you add first a 0 then you switch the 2 first with the 2 last:
123 (the Hex Code) = (0)123 = (0)1<->23 = 23-01

4: When the Hex Code have 4 Numbers switch the 2 first with the 2 last:
1234 = 12<->34 = 34-12

5: When the Hex Code have 5 Numbers you add first a 0 then you switch the 2 first with the 2 last:
12345 (the Hex Code) = (0)12345 = (0)1-23-45 =

Comet - How to add/edit NPC shops Items (Final+Easy Version) - RaGEZONE Forums


= 45-23-01

6: When the Hex Code have 6 Numbers you add first a 0 then you switch the 2 first with the 2 last: 123456 (the Hex Code) = 12-34-56 =

Comet - How to add/edit NPC shops Items (Final+Easy Version) - RaGEZONE Forums


= 56-12-34


Example:
Item ID : 5104 (Ignice Board (NPC seller Dior (MaFl_Dior.cfs)

Comet - How to add/edit NPC shops Items (Final+Easy Version) - RaGEZONE Forums


Go to Hex

Comet - How to add/edit NPC shops Items (Final+Easy Version) - RaGEZONE Forums


When the hex have 4 Numbers switch the two first with the 2 last: xx <-> xx
(Example: 13F0-> F013)


___________________________________________________________________

Step 2:
You go to the Item list (open it with IE) and search the Item ID what the NPC (Ingame) are selling with it overwriting be will.
Open the Windows Calculator and add in the decimal mode the Item ID then click on Hex.

Go to Workshop and click ctrl+f (search) then invite the Hex code to search the Item!

Comet - How to add/edit NPC shops Items (Final+Easy Version) - RaGEZONE Forums


When you have find the Item then overwrite it with the Hex Code and save!

Example:
Overwrite Ignice Board (Item ID: 5104) with Doggy (Item ID: 21004):
Make with Ignice Board (Item ID: 5104) Step 1: Hex Code: F013 (Finish)
Make with Doggy (Item ID: 21004) Step 1: Hex Code: 0C52 (Finish)
Search F013 in the Workshop and when you have find it overwrite it with 0C52!

Then save all and have fun Ingame!

------------------------------------------
Credit by: skyhate and me
I have make a new Guilde about [ame="http://forum.ragezone.com/f21/share-cs-clothes-npc-update-469539/"]this![/ame]
 
Last edited:
Re: How to add/edit NPC shops Items

Add:
Step 1:
Open with Hex Workshop Hex Editor the cfs File in the "NPCShops" folder (Serverfiles/NPCShops/XXX.cfs)
Then you go to the Item list (open it with IE) and search the Item ID what the NPC (Ingame) are selling the last item of the category:

Comet - How to add/edit NPC shops Items (Final+Easy Version) - RaGEZONE Forums


Open the Windows Calculator and add in the decimal mode the Item ID then click on Hex.
Then you must edit the hex code so that it is right:

2: When the Hex Code have 2 numbers you dont must change anything!
12= 12

3: When the Hex Code have 3 Numbers you add first a 0 then you switch the 2 first with the 2 last:
123 (the Hex Code) = (0)123 = (0)1<->23 = 23-01

4: When the Hex Code have 4 Numbers switch the 2 first with the 2 last:
1234 = 12<->34 = 34-12

5: When the Hex Code have 5 Numbers you add first a 0 then you switch the 2 first with the 2 last:
12345 (the Hex Code) = (0)12345 = (0)1-23-45 =

Comet - How to add/edit NPC shops Items (Final+Easy Version) - RaGEZONE Forums


= 45-23-01

6: When the Hex Code have 6 Numbers you add first a 0 then you switch the 2 first with the 2 last: 123456 (the Hex Code) = 12-34-56 =

Comet - How to add/edit NPC shops Items (Final+Easy Version) - RaGEZONE Forums


= 56-12-34

Example:
Item ID : 5003 (Projan Broom (NPC seller Dior (MaFl_Dior.cfs)
Comet - How to add/edit NPC shops Items (Final+Easy Version) - RaGEZONE Forums

Go to Hex
Comet - How to add/edit NPC shops Items (Final+Easy Version) - RaGEZONE Forums

When the Hex have 4 Numbers switch the 2 first with the 2 last: 13 <-> 8B
(Example: 13-8B-> 8B-13)

___________________________________________________________________

Step 2:
Go to Workshop and search the Hex Code ((8B13)).
When you have found it make a rightklick behind this code and use "Insert":

Comet - How to add/edit NPC shops Items (Final+Easy Version) - RaGEZONE Forums


Add in "Number of byte" 24 in mode Dec and klick at OK.

Comet - How to add/edit NPC shops Items (Final+Easy Version) - RaGEZONE Forums



Then it shows so:

Comet - How to add/edit NPC shops Items (Final+Easy Version) - RaGEZONE Forums



So then you show at your code what you want to fill and show the numbers Hex Code: xx xx = 2 (insert)

Comet - How to add/edit NPC shops Items (Final+Easy Version) - RaGEZONE Forums


Example:
8B13 (Item Hex (finish)) = 2 (insert)

8B= 1
13 =1
-------
=2

Comet - How to add/edit NPC shops Items (Final+Easy Version) - RaGEZONE Forums

All 2 numbers 1 point in insert!


Then save all and have fun Ingame!

------------------------------------------
Credit by: skyhate and me
I have make a new Guilde about [ame="http://forum.ragezone.com/showthread.php?t=469539"]this![/ame]
 
Last edited:
How to change the Item price???
Go to your database by the tabel data_item.
In this tabel you will be find price.
So there you can edit the price of the Item!
But the price change you dont will be see Ingame (but when you sell it you loose the penya entry in the database but an another penya entry you show ingame!)


How to change the showed Item price ,Name and Info???

You need:
FlyFF Resource Mananger
__________________________________________________ _________________

Step 1: (edit Name and Info)
Open in your Flyff folder the dataSub2.res (make a backup) with the FlyFF Resource Mananger

Comet - How to add/edit NPC shops Items (Final+Easy Version) - RaGEZONE Forums


and extract the propItem.txt and propItem.txt.txt !

Comet - How to add/edit NPC shops Items (Final+Easy Version) - RaGEZONE Forums


Step 2:
Open propItem.txt.txt with a text editor and search the Item what do you want to edit (strg+f).

IDS_PROPITEM_TXT_XXX NAME
IDS_PROPITEM_TXT_XXX(+1) INFO

You can edit the Name and Info here!
If you have edit the Name or Info then save the propItem.txt.txt and go to the FlyFF Resource Mananger and remove the propItem.txt.txt

Comet - How to add/edit NPC shops Items (Final+Easy Version) - RaGEZONE Forums


Then you go to Commands and go on Add where you choose the propItem.txt.txt!

Comet - How to add/edit NPC shops Items (Final+Easy Version) - RaGEZONE Forums


When you have add the new propItem.txt.txt then you go on File and klick Save!

Comet - How to add/edit NPC shops Items (Final+Easy Version) - RaGEZONE Forums


__________________________________________________ _________________

Example:
Ignice Board (search):

The Name:
IDS_PROPITEM_TXT_005150 Ignice Board

The Info (+1):
IDS_PROPITEM_TXT_005151 Flying board for high level users

Comet - How to add/edit NPC shops Items (Final+Easy Version) - RaGEZONE Forums

__________________________________________________ _________________

Step 2: (edit showed Item price)
Open propItem.txt.txt with a text editor and search the Item what do you want to edit (strg+f):

IDS_PROPITEM_TXT_XXX NAME

Copy the: IDS_PROPITEM_TXT_ with the number and open propItem.txt with a text editor.
Search that what you have copy and when you have found it go to true/flase and go 2 next
there you can see and edit the price!
That it by the most weapons and armors!
but by food, ect. it is not so!
I do it so:
By food, Cs items, ect. i show ingame in a shop by the item and copy the price! that i search in the line by porpItem.txt

__________________________________________________ _________________

Example:
Ignice Board (search):

The Name:
IDS_PROPITEM_TXT_005150 Ignice Board

Comet - How to add/edit NPC shops Items (Final+Easy Version) - RaGEZONE Forums


Copy IDS_PROPITEM_TXT_005150 and serach it in propItem.txt


Comet - How to add/edit NPC shops Items (Final+Easy Version) - RaGEZONE Forums




Here you can edit the price!
__________________________________________________ _________________

When it is edit succesfull it show so:


Comet - How to add/edit NPC shops Items (Final+Easy Version) - RaGEZONE Forums





Rule:
Edit:
When the code what you will be overwriting to big or to small is delete or insert so many 00 that it will be right
Add:
24 (24x00) is the normal distance from a Item to the next Item!
Then it is coming the Item Hex code self!
Have the Item hex code 4 numbes you insert 24+2 (ect.)!!
In this 2 insert you can overwrite and add the Item Hex code (ect.).

Problems:


1:
P: When i open the NPC shop my game is crashed!
A: Try to start the delete_ncd_cache.bat in your Server folder!

2:
P: When i buy a Item in a ingame NPC shop i get the message "User ID already exist"!
A:Your data_item database is not complete!
You dont will find here a database: Google is your friend :D

3:
P: When i try to open a .res file with the FlyFF Resource Mananger i get a error!
A: Deaktivate or remove your virus scanner!
 
Last edited:
but i added 24 :o
omg now i see xD i putted it AFTER those 24 so it's on place 26-28 lol ill test
yes that right!
you must think it so:
24 is the normal distance at a item!
then is coming the item self!
have the item hex code 4 numbes you insert 24+2!!
in this 2 insert you can overwrite and add the item hex code
 
yea i did it :D its working :P
big thx xD
and is there a way to change price of added item?? because i adde snowboarder suit and it cost only 4 penya O.o
 
Back