#CALL not reading from a self created folder

DarkDiablo

Dedicated Member
Dedicated Member
Sep 10, 2007
102
0
62
I made an addition to server adding this as part of an npc:

[@OldRingExchange]
#CALL [DarkDemiseOldSystem\OldRings.txt] @OldRings

Then made a folder DarkDemise syOldSystem under /Envir/QuestDiary/

and in Envir/QuestDiary/DarkDemiseOldSystem/ i made a file called OldRings.txt

which contains:

[@OldRings]
#IF
#SAY
Which (Old) Ring would you like to exchange for 300 Fame Points?\\
<OrchidRing(Old)/@Point_Buy(OrchidRing(Old),300,1)>\
<GaleRing(Old)/@Point_Buy(GaleRing(Old),300,1)>\
<ChangeRing(Old)/@Point_Buy(ChangeRing(Old),300,1)>\
<AdamSoulRing(Old)/@Point_Buy(AdamSoulRing(Old),300,1)>\
<AdamNatureRing(Old)/@Point_Buy(AdamNatureRing(Old),300,1)>\
<TrueLordRing(Old)/@Point_Buy(TrueLordRing(Old),300,1)>\
<DragonLord(Old)/@Point_Buy(DragonLord(Old),300,1)>\
<SoulRuler(Old)/@Point_Buy(SoulRuler(Old),300,1)>\\
<Exit/@exit>\\

[@Point_Buy()]
#IF
CHECKFAME
#ACT
MOV D4 %P9
Mov A1 %ARG(1)
Mov D0 %ARG(2)
Mov D1 %ARG(3)
TAKEITEM %A1
INC D4 300
SETFAME %D4
#SAY
You exchanged {FCOLOR/10}<$OUTPUT(A1)>{FCOLOR/12} for Fame Points.\
You currently have {FCOLOR/10}<$OUTPUT(D4)>{FCOLOR/12} Fame Points.\\
<Return/@OldRings>\\
#ELSESAY
You do not have the item to exchange.

The problem is that it doesn't read at @OldRings from CALL point

is it possible to have in a folder that is self created?
 

idaBigA

Holley Mir 3!!
VIP
Oct 28, 2003
1,966
110
310
Stoke, UK
Add { after the line [@OldRings]
and } at the end of the script.

So..

Code:
[@OldRings]
{
#IF
#SAY
Which (Old) Ring would you like to exchange for 300 Fame Points?\\
<OrchidRing(Old)/@Point_Buy(OrchidRing(Old),300,1)>\
<GaleRing(Old)/@Point_Buy(GaleRing(Old),300,1)>\
<ChangeRing(Old)/@Point_Buy(ChangeRing(Old),300,1)>\
<AdamSoulRing(Old)/@Point_Buy(AdamSoulRing(Old),300,1)>\
<AdamNatureRing(Old)/@Point_Buy(AdamNatureRing(Old),300,1)>\
<TrueLordRing(Old)/@Point_Buy(TrueLordRing(Old),300,1)>\
<DragonLord(Old)/@Point_Buy(DragonLord(Old),300,1)>\
<SoulRuler(Old)/@Point_Buy(SoulRuler(Old),300,1)>\\
<Exit/@exit>\\

[@Point_Buy()]
#IF
CHECKFAME
#ACT
MOV D4 %P9
Mov A1 %ARG(1)
Mov D0 %ARG(2)
Mov D1 %ARG(3)
TAKEITEM %A1
INC D4 300
SETFAME %D4
#SAY
You exchanged {FCOLOR/10}<$OUTPUT(A1)>{FCOLOR/12} for Fame Points.\
You currently have {FCOLOR/10}<$OUTPUT(D4)>{FCOLOR/12} Fame Points.\\
<Return/@OldRings>\\
#ELSESAY
You do not have the item to exchange.
}
 
Upvote 0

idaBigA

Holley Mir 3!!
VIP
Oct 28, 2003
1,966
110
310
Stoke, UK
Did you start and end the script with

;;;;;;;;;;;;;;;

Not sure if that still relevent in the latest files..

I am just guessing now, as if you insist those file names and paths are all correct there really isn't any reason it should fail.
 
Upvote 0

Amenovis

Golden Oldie
Golden Oldie
Loyal Member
Jan 9, 2006
1,105
0
143
Germany
not relevant

all ; get ignored by engine he must have an error where he put the folder.......... i often had it at start from caller

example #call [.../quest_diary/folder] @txt

have a look if ur parth is rly correct m8 i did it often wrong and look for other scripts the caller to see where to put the folder rly
 
Upvote 0

Coly

LOMCN Developer
Developer
Mar 31, 2005
1,399
33
195
Germany
If all the help you get don't work test this : { }

[@OldRings]
{
#IF
#SAY
Which (Old) Ring would you like to exchange for 300 Fame Points?\\
<OrchidRing(Old)/@Point_Buy(OrchidRing(Old),300,1)>\
<GaleRing(Old)/@Point_Buy(GaleRing(Old),300,1)>\
<ChangeRing(Old)/@Point_Buy(ChangeRing(Old),300,1)>\
<AdamSoulRing(Old)/@Point_Buy(AdamSoulRing(Old),300,1)>\
<AdamNatureRing(Old)/@Point_Buy(AdamNatureRing(Old),300,1)>\
<TrueLordRing(Old)/@Point_Buy(TrueLordRing(Old),300,1)>\
<DragonLord(Old)/@Point_Buy(DragonLord(Old),300,1)>\
<SoulRuler(Old)/@Point_Buy(SoulRuler(Old),300,1)>\\
<Exit/@exit>\\

[@Point_Buy()]
#IF
CHECKFAME
#ACT
MOV D4 %P9
Mov A1 %ARG(1)
Mov D0 %ARG(2)
Mov D1 %ARG(3)
TAKEITEM %A1
INC D4 300
SETFAME %D4
#SAY
You exchanged {FCOLOR/10}<$OUTPUT(A1)>{FCOLOR/12} for Fame Points.\
You currently have {FCOLOR/10}<$OUTPUT(D4)>{FCOLOR/12} Fame Points.\\
<Return/@OldRings>\\
#ELSESAY
You do not have the item to exchange.
}
 
Upvote 0

DarkDiablo

Dedicated Member
Dedicated Member
Sep 10, 2007
102
0
62
all those steps were done


;;;;;;;;;;;;;;;
[@main]
#IF
checkpkpoint 2
#SAY
I do not speak to PK'ers.\ \
<Exit/@exit>
#ELSESAY
How May I help you today? \
<Refine Weapon/@RefineinitialWeapon> \
<Make Corundum/@PreRefineGangOk>\
<Make Item/@MakeItem>\
<Exchange Item for Fame Points/@ItemExchange>\\
<Refine Accessory/@PreRefineAcessory> \ \
Show {FCOLOR/10}<$NPCNAME>{FCOLOR/12} <Speech/@TalkToQuest>\\
<Exit/@exit>\\\\

[@ItemExchange]
What type of item would you like to exchange?\\
<Old Items/@OldItemExchange>\
<Rusted Items/@RustedItemExchange>\
<Antique Items/@AntiqueItemExchange>\\
<Exit/@exit>\\

[@MakeItem]
What type of item would you like to exchange?\\
<Old Items/@OldMake>\
<Rusted Items/@RustedMake>\
<Antique Items/@AntiqueMake>\\
<Exit/@exit>\\

[@RefineinitialWeapon]
#CALL [System\ClearWeaponLevel.txt] @checkRefinePoints

[@PreRefineAcessory]
#CALL [System\RefineAccessory.txt] @RefineAccessory

[@PreRefineGangOk]
#CALL [System\RefineAccessory.txt] @RefineGangOk

[@TalkToQuest]
#CALL [NPCQuest_Def\09CancleWeapon_HalfNight-2.txt] @NPCQuest_Check

[@everythingreward]
#CALL [System\TotalRewardSystem.txt] @TotalRewardSystem

[@OldItemExchange]
#CALL [...\QuestDiary\DarkDemiseServerAddOns\ItemExchange\OldItems\ItemExchange.txt] @ItemExchange

[@RustedItemExchange]
#CALL [...\QuestDiary\DarkDemiseServerAddOns\ItemExchange\RustedItems\ItemExchange.txt] @ItemExchange

[@AntiqueItemExchange]
#CALL [...\QuestDiary\DarkDemiseServerAddOns\ItemExchange\AntiqueItems\ItemExchange.txt] @ItemExchange

[@OldMake]
#CALL [...\QuestDiary\DarkDemiseServerAddOns\MakeItem\OldItems\MakeItem.txt] @MakeItem

[@RustedMake]
#CALL [...\QuestDiary\DarkDemiseServerAddOns\MakeItem\RustedItems\MakeItem.txt] @MakeItem

[@AntiqueMake]
#CALL [...\QuestDiary\DarkDemiseServerAddOns\MakeItem\AntiqueItems\MakeItem.txt] @MakeItem
;;;;;;;;;;;;;;;
 
Upvote 0