SRL Archive - Official Business

Need help with this error!


aliensexist

2015-02-23 16:01:35

getting this error:

Error: The given DTM Index[0] doesn't exist at line 211
Execution failed.

FreeDTM(Wisp.RegDTM);
FreeDTM(Wisp.EnrDTM);
FreeDTM(ConvertButtonDTM);
end;

thats lines 211-214.

Is there something i'm doing wrong or is this the script?

3Garrett3

2015-02-23 16:20:17

From: aliensexist
getting this error:

Error: The given DTM Index[0] doesn't exist at line 211
Execution failed.

FreeDTM(Wisp.RegDTM);
FreeDTM(Wisp.EnrDTM);
FreeDTM(ConvertButtonDTM);
end;

thats lines 211-214.

Is there something i'm doing wrong or is this the script?


https://www.google.ca/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8&safe=active&ssui=on#q=site%3avillavu.com%20%22the%20given%20dtm%20index%5b0%5d%20doesn%27t%20exist%22&safe=active&ssui=on

Gives me:

https://villavu.com/forum/showthread.php?t=95008
https://villavu.com/forum/showthread.php?t=73544
https://villavu.com/forum/showthread.php?t=94593

All three say "You're freeing a DTM that doesn't exist"

So line 211 is freeing a DTM that doesn't exist. Delete that line and you won't get an error anymore.

Also for future reference:

RS3 Help Section: https://villavu.com/forum/forumdisplay.php?f=646
OSRS Help Section: https://villavu.com/forum/forumdisplay.php?f=491

"Official Business" is not the help section. Posting in the appropriate section will be better received.

aliensexist

2015-02-23 16:22:52

From: 3Garrett3
https://www.google.ca/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8&safe=active&ssui=on#q=site%3avillavu.com%20%22the%20given%20dtm%20index%5b0%5d%20doesn%27t%20exist%22&safe=active&ssui=on

Gives me:

https://villavu.com/forum/showthread.php?t=95008
https://villavu.com/forum/showthread.php?t=73544
https://villavu.com/forum/showthread.php?t=94593

All three say "You're freeing a DTM that doesn't exist"

So line 211 is freeing a DTM that doesn't exist. Delete that line and you won't get an error anymore.

Also for future reference:

RS3 Help Section: https://villavu.com/forum/forumdisplay.php?f=646
OSRS Help Section: https://villavu.com/forum/forumdisplay.php?f=491

"Official Business" is not the help section. Posting in the appropriate section will be better received.


Thanks. I usually always mention that I am new to the forums just in case situations like these happens, but forgot to this time >.<

3Garrett3

2015-02-23 16:27:16

From: aliensexist
Thanks. I usually always mention that I am new to the forums just in case situations like these happens, but forgot to this time >.<


No problem. I didn't mean for it to sound harsh or anything. I just recently learned how good Google is at finding stuff like that, when the forum search function is pretty much awful.

So hopefully deleting that line for you will work. I figure it's a public script, so probably it's an old one. Keep that in mind and babysit it a little when you first run it ;)

aliensexist

2015-02-23 17:04:09

From: 3Garrett3
No problem. I didn't mean for it to sound harsh or anything. I just recently learned how good Google is at finding stuff like that, when the forum search function is pretty much awful.

So hopefully deleting that line for you will work. I figure it's a public script, so probably it's an old one. Keep that in mind and babysit it a little when you first run it ;)


ok, thanks for your advice and help its greatly appreciated!