Special Repair Help

Mu online season 21 - grand opening

pwnage

Golden Oldie
Golden Oldie
Feb 17, 2006
598
5
154
hi all , ive been searching on the forum and tried adding a npc by putting the script into the market def file and then the npc in the merchant table in the db but it just isnt bringing up the repair box? :S

; ===================================
; Market Def NPC File : SpecialRepair
;
; -----------------------------------
; Name: HandOfGod
; Job:
; Map No: 0
; Pos 351
; Pos 251
; File name: HandOfGod
; Comment:
;================================================= =
;
;Settings
(@s_repair)
%100
+5
+6
+8
+9
+10
+11
+12
+15
+19
+20
+21
+22
+23
+24
+25
+26
+29
+30
+52
+53
+54
+62
+64
[@main]
#IF
checkpkpoint 2
#SAY
I will not help an evil person like you..\ \
<Ok/@exit>
#ELSEACT
goto @main-1


[@main-1]
Welcome, how may I help you?\ \
<
 

pwnage

Golden Oldie
Golden Oldie
Feb 17, 2006
598
5
154
2.3 Files btw

thanks for any help wudnt let me post all my message on firstpost
 
Upvote 0

stonecold316

Golden Oldie
Golden Oldie
Nov 2, 2009
657
61
115
heres my script see if it works :P

; ===================================
; Market Def NPC File :
;
; -----------------------------------
; Name:
; Job:
; Map No:
; Pos X
; Pos Y
; File name: *removed*
; Comment:

;================================================= =
;

;Settings
(@@SendMsg)
(@@useitemname)
(@@SendMsg @@useitemname @buy @sell @repair @s_repair @storage @getback)
%100
+10
+11

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

[@special]
I can special repair your items.\ \
<Special repair/@s_repair> my items.\
<Maybe another time./@exit>\

[@s_repair]
\
What do you want to special repair?\ \
<Back to main.../@main>\

[~@s_repair]
\
There you go, your items are fully repaired.\ \
<Back to main.../@main>\







[@main]
#IF
checkpkpoint 2
#SAY
I will not help an evil person like you..\ \
<Ok/@exit>

#ELSEACT
goto @main-1


[@main-1]
Welcome, how may I help you?\ \
<Observer shout/@Observer>\
<Sell/@sell> Items\
<Repair/@repair> Items\
<SpecialRepairAnything/@special>\
<Cancel/@exit>



[@sell]
Show me your Items to be sold. I'll give you an appraisement.\
So if you like my store please sell them to me.\ \
<Back/@main>

[@repair]
You can repair Clothes and Helmets here.\ \ \
<Back/@main>

[~@repair]
It seems repaired fine.\ \ \
<Back/@main>


--------------------------------------------------------------------------------


[@Observer]
#IF
CHECKNAMELIST GM.txt
#ACT
GOto @Global
#ELSEACT
Goto @Sorry

[@sorry]
You are not an Observer.\ \
<Back/@main> <Exit/@Exit>




[@Global]
Would you like to send a Global Message\
<Yes Please/@@sendmsg>\
<no way/@exit>\

[@@SendMsg]
#ACT
SETSENDMSGFLAG
#elsesay
Your not a GMObserver.\ \
<Back/@main> <Exit/@Exit>
 
Upvote 0

pwnage

Golden Oldie
Golden Oldie
Feb 17, 2006
598
5
154
put that script in market def and then made the npc in merchant in the db still no luck doesnt even work if i click it . any help
 
Upvote 0

pwnage

Golden Oldie
Golden Oldie
Feb 17, 2006
598
5
154
fixed now thanks for all ur help and ta for the script stone cold got global aswell (Y)
 
Upvote 0

Bon

Legend
Legendary
Jul 29, 2004
6,745
346
330
Kent, UK
wow... lol you need to use abit of common sense really, all your script really said was


Welcome, how may I help you?\ \
<




... u didnt even do like

<Specialrepair/@s_repair> or even attempt it :l
 
Upvote 0

pwnage

Golden Oldie
Golden Oldie
Feb 17, 2006
598
5
154
wow... lol you need to use abit of common sense really, all your script really said was


Welcome, how may I help you?\ \
<




... u didnt even do like

<Specialrepair/@s_repair> or even attempt it :l
i did it just cut the bottom bit off where u cant type as much on here anymore , i got that script off this forum aswell but oh well fixed now
 
Upvote 0