RefineAccessory

smoochy boys on tour

Tasha

LOMCN Veteran
Veteran
Loyal Member
May 13, 2003
498
0
113
dont suppose anyone can help me translate it please .
it's attached
 
Last edited:

Ripman

LOMCN Developer
Developer
Jul 22, 2003
1,129
20
285
Romania, Timisoara
;;Do not erase this line
[@RefineAccessory]
{
# Define D1 {PROB} D1
# Define D2 {TYPE} D2
# Define D3 {ATOM} D3


# SAY
# INCLUDE [.\ Convert_Def \ QuestDiary \ System \ RefineAccessory.txt] @Convert_RefineAccessory_0

[@@testRefineAccessory]
# IF
# ACT
mov A 1% INPUTSTR

# IF
Equal A1 ""
# ACT
break

# IF

# SAY
# INCLUDE [.\ Convert_Def \ QuestDiary \ System \ RefineAccessory.txt] @Convert_RefineAccessory_1

[@retryRefine]
# ACT
goto @@testRefineAccessory

[@doRefineAcc ()]
# IF
not CheckItem corundum 1
or not CheckGold 10000
# ACT
goto @didnotMatchConditions
break

# IF
# ACT

mov D2 {TYPE} % ARG (1)
mov D3 {ATOM} % ARG (2)
TestRefineAccessories % A 1% D 2% D3
mov D1 {PROB} % P9

# IF
Small D1 {PROB} 0
# ACT
goto @didnotMatchConditions
break

# IF

# SAY
# INCLUDE [.\ Convert_Def \ QuestDiary \ System \ RefineAccessory.txt] @Convert_RefineAccessory_2

[@GetRefineProb]
# IF
Small D 130

# SAY
# INCLUDE [.\ Convert_Def \ QuestDiary \ System \ RefineAccessory.txt] @Convert_RefineAccessory_3

# ACT
break

# IF
Small D 138

# SAY
# INCLUDE [.\ Convert_Def \ QuestDiary \ System \ RefineAccessory.txt] @Convert_RefineAccessory_4

# ACT
break

# IF
Small D 145

# SAY
# INCLUDE [.\ Convert_Def \ QuestDiary \ System \ RefineAccessory.txt] @Convert_RefineAccessory_5

# ACT
break

# IF
Small D 155

# SAY
# INCLUDE [.\ Convert_Def \ QuestDiary \ System \ RefineAccessory.txt] @Convert_RefineAccessory_6

# ACT
break

# IF
Small D 165

# SAY
# INCLUDE [.\ Convert_Def \ QuestDiary \ System \ RefineAccessory.txt] @Convert_RefineAccessory_7

# ACT
break

# IF

# SAY
# INCLUDE [.\ Convert_Def \ QuestDiary \ System \ RefineAccessory.txt] @Convert_RefineAccessory_8

# ACT
break

[@RefineAccNow]
# IF
not CheckItem corundum 1
or not CheckGold 10000
# ACT
break

# IF
# ACT
Take corundum 1
Take gold coin 10000
RefineAccessories % A 1% D 2% D3

# IF
Equal P 91

# SAY
# INCLUDE [.\ Convert_Def \ QuestDiary \ System \ RefineAccessory.txt] @Convert_RefineAccessory_9

# IF
Equal P 90

# SAY
# INCLUDE [.\ Convert_Def \ QuestDiary \ System \ RefineAccessory.txt] @Convert_RefineAccessory_10

[@didnotMatchConditions]

# SAY
# INCLUDE [.\ Convert_Def \ QuestDiary \ System \ RefineAccessory.txt] @Convert_RefineAccessory_11

[@askAboutRefineAccessories]

# SAY
# INCLUDE [.\ Convert_Def \ QuestDiary \ System \ RefineAccessory.txt] @Convert_RefineAccessory_12

}


[@RefineGangOk]
{
# IF

# SAY
# INCLUDE [.\ Convert_Def \ QuestDiary \ System \ RefineAccessory.txt] @Convert_RefineAccessory_13

[@RefineGangOk_MainCheck]
# IF
CheckItem corundum ore 10
!CheckItem corundum ore 11
# ACT
goto @RefineGangOk_MainCheck_1
break

# ELSEACT
break

# ELSESAY
# INCLUDE [.\ Convert_Def \ QuestDiary \ System \ RefineAccessory.txt] @Convert_RefineAccessory_14

[@RefineGangOk_MainCheck_1]
# IF
Checkgold 10000
# ACT
goto @RefineGangOk_MainCheck_2
break

# ELSEACT
break

# ELSESAY
# INCLUDE [.\ Convert_Def \ QuestDiary \ System \ RefineAccessory.txt] @Convert_RefineAccessory_15

[@RefineGangOk_MainCheck_2]
# IF
Checkduraeva corundum ore 10
# ACT
goto @RefineGangOk_MainRefine_RandSet
break

# ELSEACT
break

# ELSESAY
# INCLUDE [.\ Convert_Def \ QuestDiary \ System \ RefineAccessory.txt] @Convert_RefineAccessory_16

[@RefineGangOk_MainRefine_RandSet]
# IF
Random 3
# ACT
take corundum ore 10
take gold coin 10000
break

# SAY
# INCLUDE [.\ Convert_Def \ QuestDiary \ System \ RefineAccessory.txt] @Convert_RefineAccessory_17

# ELSEACT
goto @RefineGangOk_MainRefine
break

[@RefineGangOk_MainRefine]
# IF
checkitem corundum ore 10
!Checkitem corundum ore 11
checkgold 10000
checkduraeva corundum ore 10
# ACT
take corundum ore 10
take gold coin 10000
give corundum 1

# SAY
# INCLUDE [.\ Convert_Def \ QuestDiary \ System \ RefineAccessory.txt] @Convert_RefineAccessory_18

# ELSEACT
break

# ELSESAY
# INCLUDE [.\ Convert_Def \ QuestDiary \ System \ RefineAccessory.txt] @Convert_RefineAccessory_19

}
;;Do not erase this line
 
Upvote 0

Far

tsniffer
Staff member
Developer
May 19, 2003
20,184
30
2,788
540
in all honesty, that wont work at all.

the amount of spaces in that translation will screw the whole script up. especially the a1%.

also

checkitem corumdum ore 10
!checkitem corumdum ore 11

^^ thats saying. check that you HAVE got 10 corumdum ores, and that you HAVNT got 11. i dont get that?
 
Upvote 0

turboshandy

ur a smacktard!
VIP
May 11, 2005
335
0
103
Great Yarmouth/Cambridge
Use find and Replace in notepad for this mate

Find: ¸ÖÓñʯ
Replace: (your strres item name for corundum, mine is JadeOre)

Find: ¸ÖÓñ¿óʯ
Replace: (your strres item name for corundum, mine is JadeOre)

Find: ½ð±Ò
Replace: (your strres name for gold, mine is Gold)

This will work fine.
:)
 
Upvote 0

Quad4U

Guest
Good Greif - there is a time and place to use BABEL and and a time Not to.... Remember those spreadsheet?? do a search for that item - hey ho its Steelore - now do a search and replace, same for Corudumdudum (lol) etc..

anything in QUESTDIR - use the speadsheet for - anything in ConvertDef/Questdir - use both Babel and Spreadsheet - items are normally encased in {colour} statements ...

...End of captains log...
 
Upvote 0

Tasha

LOMCN Veteran
Veteran
Loyal Member
May 13, 2003
498
0
113
ty peeps on mine i called it platinum nephrite ruby ect :)
mines it fine and all is done in stres
I get and try it ty :D
will report back later :)
 
Upvote 0

Tasha

LOMCN Veteran
Veteran
Loyal Member
May 13, 2003
498
0
113
ok this is where i got and i go and try to refine item and nothing.
these are all the files needed to suss.
thnx farrill i go try that
 
Last edited:
Upvote 0

Far

tsniffer
Staff member
Developer
May 19, 2003
20,184
30
2,788
540
as well as translating the questdiary refine, you also have to translate the convert_def/questdiary. thats the more important bit.
 
Upvote 0

Tasha

LOMCN Veteran
Veteran
Loyal Member
May 13, 2003
498
0
113
ok redone it and came out like this
soz for the double posts

all works now :D sucessfully refined + 1 dc to a brave dragon ring :D
ty peeps 1 more step towards completion
 
Last edited:
Upvote 0

Far

tsniffer
Staff member
Developer
May 19, 2003
20,184
30
2,788
540
gd gd. cheers for upload. will be useful for nxt peson who has a problem.
 
Upvote 0