help

Play Now

benzini

LOMCN n00bie
Aug 17, 2008
8
0
13
Any mods on that can help me wiv the scripting for a special repair npc. ive search all the relavent threads about it but still no joy ands its realy
bugging me now lol.

my scripting looks like this:

;Settings
(@s_repair)
%100
+10
+11
+15
+19
+20
+21
+22
+23
+24
+26
+29
+52
+53
+54
+62
+64

[@main]
Hello <$USERNAME>..Feel free to use my services! \ \
<Special repair/@s_repair> Anything\
<Exchange/@exchange> Things\
<Exit/@exit>>\

[@s_repair]
Would you like to repair your items ?\ \
<Back/@main>
[~@s_repair]
Your item seems to be repaired fine.\ \
<Back/@main>
__________________
 
Last edited:

TravisW

LOMCN Veteran
Veteran
Sep 4, 2007
737
17
105
1. Make sure script is in Market_def folder, and in TBL_Merchant in SQL only.
2. Make sure items you are repairing have a price in TBL_STDItems. (not 0)
3. Make sure items you are repairing have FLD_SpecialRepair set to 1. (1-yes 0-no)
4. If you change an item's Fld_Price in STDitems, or add an item, its a good idea to delete everything inside Market_Saved and Market_Prices folders in Envir folder and reboot server.
 
  • Like
Reactions: kelvin09
Upvote 0

Azura

Mir3 Coder & Adviser
Untrusted Member
Golden Oldie
Mar 12, 2005
3,260
116
330
Any mods on that can help me wiv the scripting for a special repair npc. ive search all the relavent threads about it but still no joy ands its realy
bugging me now lol.

my scripting looks like this:

;Settings
(@s_repair)
%100
+10
+11
+15
+19
+20
+21
+22
+23
+24
+26
+29
+52
+53
+54
+62
+64

[@main]
Hello <$USERNAME>..Feel free to use my services! \ \
<Special repair/@s_repair> Anything\
<Exchange/@exchange> Things\
<Exit/@exit>>\

[@s_repair]
Would you like to repair your items ?\ \
<Back/@main>
[~@s_repair]
Your item seems to be repaired fine.\ \
<Back/@main>
__________________

Try This, Remember to give rep if it works

(@buy @sell @repair @s_repair)

%100
+10
+11
+15
+19
+20
+21
+22
+23
+24
+26
+29
+52
+53
+54
+62
+64

[@main]
Hello <$USERNAME>..Feel free to use my services! \ \
<Special repair/@s_repair> Anything\
<Exchange/@exchange> Things\
<Exit/@exit>\

[goods]
;Item Amount Time

Best of luck

Edit: Works fine for me but remember if your item is full dura it will just say ???? and you cant repair it.
 
Last edited:
  • Like
Reactions: kelvin09
Upvote 0

Liandrin2

Golden Oldie
Golden Oldie
Loyal Member
Jan 14, 2004
890
6
105
It should work fine, and theres no reason for the changes Travis gave you to cause the NPC not to talk to you.

So I'm going to take a guess that theres something wrong with the NPC setup rather than the script.
 
Upvote 0

kelvin09

LOMCN Veteran
Veteran
Jul 13, 2008
438
6
44
the npc script for the special repair that we are using is the one causing us the problems we have put it in a room on it its own that u need a key to get there via another npc but .. the npc.text we have got is in the tbl merchant, and also in the market_def but ... with just that it dont talk at all ,but once we put it in the npc_def it allows u to click it and pick an option but once u have clicked on it no box comes up for you to place an item in for it to be special repaired ......
 
Upvote 0

kelvin09

LOMCN Veteran
Veteran
Jul 13, 2008
438
6
44
got it working in end lol ty i just misstyped a coords in the tbl_merchant and didnt see it lmao ty for ur help its much appreciated i will rep u ALLLLLLLLLLLL :P
 
Upvote 0