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!

NPC problem

Junior Spellweaver
Joined
Oct 30, 2008
Messages
122
Reaction score
0
i go to bloody ice at NPC Deighton (Grocer). to buy formula card but price o...

where i must fix this.....

and how much this item....

i used cumpywumpy serverfilev2.5
 
Junior Spellweaver
Joined
Sep 17, 2006
Messages
103
Reaction score
3
Edit Shops:
Code:
I have not seen much about NPC editing posted so hopefully this will help anyone that is stuck. I don't know all the values yet but there is enough here to do some basic things like shopt editing/creating.

In Data_World\world21-npc.scp...



Code:


[NpcPos] Flags Index PosX PosY Type IsRangeCheck
0 0 1 239 241 6 1
1 0 2 147 12 6 1
2 0 3 14 204 6 1
3 0 7 120 109 1 1
4 0 50 0 0 1 0

[WarpLst] NpcsIdx NSetIdx TargetIdx LV Fee Type
0 1 0 39 1 0 0
1 2 0 39 1 0 0
2 3 0 39 1 0 0

[SkillLst] NSetIdx NpcsIdx SkillIdx SkillLv

[ShopLst] NpcsIdx NSetIdx ItemKind ItemOpt ReputationClass DurationIdx Price
0 50 0 3 1 -19 0 60
1 50 1 4 1 -19 0 800
2 50 2 5 1 -19 0 5000
3 50 3 6 1 -19 0 60
4 50 4 7 1 -19 0 800
5 50 5 8 1 -19 0 5000
6 50 8 3 4 -19 0 240
7 50 9 4 4 -19 0 3200
8 50 10 5 4 -19 0 20000
9 50 11 6 4 -19 0 240
10 50 12 7 4 -19 0 3200
11 50 13 8 4 -19 0 20000
12 50 16 3 7 -19 0 420
13 50 17 4 7 -19 0 5600
14 50 18 5 7 -19 0 35000
15 50 19 6 7 -19 0 420
16 50 20 7 7 -19 0 5600
17 50 21 8 7 -19 0 35000
18 50 24 5 20 1 0 100000
19 50 25 8 20 1 0 100000
20 50 26 12 10 1 0 8000
21 50 27 5 30 2 0 150000
22 50 28 8 30 2 0 150000
23 50 29 12 20 2 0 16000
24 50 35 5 50 3 0 250000
25 50 36 8 50 3 0 250000
26 50 37 12 30 3 0 24000
The first section is the NPCs, their types and positions...
[NpcPos] Flags Index PosX PosY Type IsRangeCheck

The numbers in the first column, [NpcPos] in this case, always start at 0 and increment by 1.

Flags - ?
Index - Pretty sure this is the NPC sprite ID
PosX - X position on the map
PosY - Y position on the map
Type - ? 6 means warp probably, a real NPC
IsRangeCheck - ? Normally means "trigger NPC when in range" ?

The second section is the warps...
[WarpLst] NpcsIdx NSetIdx TargetIdx LV Fee Type

First column [WarpLst] is the same, 0 and increments

NpcsIdx - Index number from the first list
NSetIdx - ?
TargetIdx - ? Target NPC Idx ?
LV - Level requirement to use the warp
Fee - Alz fee to use the warp
Type - ? 0 - normal warpgate ?

The third, and more useful list...
[ShopLst] NpcsIdx NSetIdx ItemKind ItemOpt ReputationClass DurationIdx Price

First column the same again.

NpcsIdx - Index number from the first list
NSetIdx - ? slot number in the window ?
ItemKind - Item number from the items list (see Clust3r's list or the sticky)
ItemOpt - The ItemOpt setting (list or sticky again)
ReputationClass - Honour class requirement
DurationIdx - Set item expiry (16 is ~6 months i think)
Price - Guess!

Duration column values
Hopefully that should help some folks out a bit.

Thanks to chumpy.Use SEARCH next time
 
Upvote 0
Back
Top