Created npc and Fortress taxes

10/06/2012 10:37 hadescik#1
Hi, how to set npc selling items on fortress war tax system ?
10/08/2012 12:29 hadescik#2
help please
10/09/2012 17:44 Lord xProdigy#3
If i get your question right, here is your answer:

Quote:
Originally Posted by Nefetis View Post
Yea.That's Easy
@EDIT
1. Atleast a little explaination of fortress war "tax" system , because i'd want to switch bandit's tax to downhang.

1. Open SQL Management up
2. Go to _RefObjCommon and then find the NPC that you want to add the tax to(in that case the Donhwang NPCs got the ID of 2051 - 2071) we go do AssocFile1_128 and there we change the values:
[Only registered and activated users can see links. Click Here To Register...]

To make the JG Fortress tax: FORTRESS_JANGAN
To make the JG Bandit fortress tax: FORTRESS_BIJEOKDAN
To make the HT Fortress tax: FORTRESS_HOTAN

In our case we change the FORTRESS_DOWNHANG to FORTRESS_BIJEOKDAN
[Only registered and activated users can see links. Click Here To Register...]
And if we want to add a tax to another npc from other city we just change the value in row AssocFile1_128 to some other values listed above.

Next thing you have to do is in Media/server_dep/silkroad/characterdata_xxx.txt we change the values just as we did in _RefObjCommon
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
Credits obviously to Nefetis