AssertFail: ScriptError[ID/ID_Helga] when adding new instance
Hello there. I've been trying to add a new instance to the game (Helga instance).
In order to do that, I took the files of the Malephar instance and, for testing purposes, just made them spawn Helga instead. However, when I try to enter the map, nothing spawns (Not even the exit gate) and in the zone assert log, it says:
AssertClass::ac_AssertFail : Script Error[ID/ID_Helga]
The script definitely works, tested it with the Male instance, but here it is anyways:
Code:
open [main]
var InterruptBlock ""
InterruptArg ""
HelgaHandle 0
Exit "".
scriptfile "ID_Helga".
timelimit Min 30.
interruptclear.
interruptset TimeOut "TimeOut1" 1 "onTimeOut1".
npcstand Exit "MapLinkGate" 2434 2158 0 1000 "Normal".
interruptset NPCClickHandle "ExitClick" 1 Exit "onExitClick".
mobregen HelgaHandle "ID_Helga" 3379 3961 90 1000 "Normal".
interruptset DeadHandle "HelgaDeath" 1 HelgaHandle "onHelgaDeath".
infinite
open
waitinterrupt InterruptBlock "InterruptArg".
call InterruptBlock.
close
close
open [onTimeOut1]
linkto all "Instances90" "Instances90" 2291 2282.
break "main".
close
open [onHelgaDeath]
suicide all.
broadcast all "Suc1".
mobregen HelgaHandle "HelgaInstanceChest" 3339 3921 90 1000 "Normal".
mobregen HelgaHandle "HelgaInstanceChest" 3379 3921 90 1000 "Normal".
mobregen HelgaHandle "HelgaInstanceChest" 3419 3921 90 1000 "Normal".
mobregen HelgaHandle "HelgaInstanceChest" 3459 3921 90 1000 "Normal".
mobregen HelgaHandle "HelgaInstanceChest" 3339 3961 90 1000 "Normal".
mobregen HelgaHandle "HelgaInstanceChest" 3379 3961 90 1000 "Normal".
mobregen HelgaHandle "HelgaInstanceChest" 3419 3961 90 1000 "Normal".
mobregen HelgaHandle "HelgaInstanceChest" 3459 3961 90 1000 "Normal".
mobregen HelgaHandle "HelgaInstanceChest" 3339 4001 90 1000 "Normal".
mobregen HelgaHandle "HelgaInstanceChest" 3379 4001 90 1000 "Normal".
mobregen HelgaHandle "HelgaInstanceChest" 3419 4001 90 1000 "Normal".
mobregen HelgaHandle "HelgaInstanceChest" 3459 4001 90 1000 "Normal".
mobregen HelgaHandle "HelgaInstanceChest" 3339 4041 90 1000 "Normal".
mobregen HelgaHandle "HelgaInstanceChest" 3379 4041 90 1000 "Normal".
mobregen HelgaHandle "HelgaInstanceChest" 3419 4041 90 1000 "Normal".
mobregen HelgaHandle "HelgaInstanceChest" 3459 4041 90 1000 "Normal".
pause Sec 15.
broadcast all "Suc2".
pause Sec 10.
broadcast all "Suc3".
pause Sec 10.
broadcast all "Suc4".
pause Sec 10.
linkto all "Instances90" "Instances90" 2291 2282.
close
open [onExitClick]
var mclicker 0.
whoclickme mclicker InterruptArg.
linkto mclicker "Instances90" "Instances90" 2291 2282.
interruptset NPCClickHandle "ExitClick" 1 Exit "onExitClick".
close
It is in ScenarioBookShelf/ID/ID_Helga.ps
I also have a table file, Script/ID_Helga.txt.
In field.txt, the entries look like this:
Code:
#Record ID_Helga 00 09 147 Helgas#TombID 3 128 128 10000 - 1 1 0 0 2 2 0 0 0 0 0 0 1 Instances90 2291 2282 0 0 0 0 0 0 1 0 0 1 1 1 1 0 0 1 0 1 1 1000 0 0 147 0 1 1 0 1 9 0 0 0
Code:
; Argument IDNo ZoneNumber MapIDClient ScriptName Party Guild Individual NeedQuest NeedItem Consume LimitTime CheckSum Spacer
#Record HgID13 8 0 ID_Helga ID/ID_Helga 1 0 0 0 - 0 0 8 0
Any help would be greatly appreciated.
Thanks in advance,
Ikaron
- - - Updated - - -
I found the mistake... It's called Pinescript.txt. Thanks to Galton.