1.9 npc help

Mu online season 21 - grand opening

Senture

LOMCN VIP
VIP
Feb 8, 2004
1,529
1
164
just having a bit of fun with 1.9 seing what can be done with it but i realised that 1/2 my npcs dont work, not even the basic ones do.

heres the script for my pots npc when i click on buy it wont show the goods list.

%100
+5
+6
+10
+11
+15
+19
+20
+21
+22
+23
+24
+26

[@main]
Hello <$USERNAME>,Would You like to:\
<Buy/@buy> some items?\
<Exit/@exit>\

[goods]
Torch 200 1
EternalFlame 200 1
Amulet 200 1
AmuletBundle 200 1
Amulet(M) 200 1
AmuletBundl(M) 200 1
(HP)DrugSmall 200 1
(MP)DrugSmall 200 1
(HP)Drugmedium 200 1
(MP)Drugmedium 200 1
(HP)DrugLarge 200 1
(MP)DrugLarge 200 1
(HP)Drugbundle 200 1
(MP)Drugbundle 200 1
(HP)MDrugbundl 200 1
(MP)MDrugbundl 200 1
(HP)SDrugbundl 200 1
(MP)SDrugbundl 200 1
(HP)DrugXL 200 1
(MP)DrugXL 200 1
(HP)XLBundle 200 1
(MP)XLBundle 200 1
Calpol 200 1
CalpolBundle 200 1
RandomTeleport 1000 1
RandomBundle 1000 1
TownTeleport 100 1
TeleportHome 100 1
YellowPoisn(L) 200 1
GreyPoison(L) 200 1

help plz!
 

Liandrin2

Golden Oldie
Golden Oldie
Loyal Member
Jan 14, 2004
890
6
105
If you want a npc to use @buy / @sell etc you need it at the top in brackets.

Just stick " (@buy ) "

at the top of your npc and I THINK that should fix it
 
Upvote 0

Senture

LOMCN VIP
VIP
Feb 8, 2004
1,529
1
164
knew it would be somthing simple like that lol ty.

1 other thing. why do items not in the goods list appear in the npc. e.g. i have dc stones in that npc :S
 
Upvote 0

Liandrin2

Golden Oldie
Golden Oldie
Loyal Member
Jan 14, 2004
890
6
105
That will probably be because of your market_saved folder. Delete all the files in there and it will go back to only whats on NPC's. However you will lose items in shops that have been sold there (how the stone probably got in shop).
 
Upvote 0

BloodDemon

Golden Oldie
Golden Oldie
Jul 20, 2003
649
19
155
Darlington, UK
i dont know if u have allready done this but 1.9 uses some new commands to prevent npc hacks i think, you need to add (@buy) to the top of your text file or it simply wont work hope this helps
 
Upvote 0

Senture

LOMCN VIP
VIP
Feb 8, 2004
1,529
1
164
whats really wiered was its a clean server. just took kurts 1 map server vertion. moved all the turokevo maps into there transfered the db ect and laded up. so god only know how they got in there.

ty for the help :D

EDIT: just realised as i moved the whole envir folder from 1.4-1.9 the saves folder was coppied. and the items in the npc match the idx's in the db :banghead:
 
Last edited:
Upvote 0

Senture

LOMCN VIP
VIP
Feb 8, 2004
1,529
1
164
EDIT: never mind about that 1 found a code in another set that worked :)

last problem i have is the npc command for checking how many pets you have any 1 know what it is please?
 
Last edited:
Upvote 0