SRL Archive - OSR Help

Exception in Script: The given DTM Index[0] doesn't exist The following DTMs were not


Thibaultx

2013-04-01 15:18:16

hello

I'm running this script, but after some time i get this error in simba.
Exception in Script: The given DTM Index[0] doesn't exist
The following DTMs were not freed: [7]
The following bitmaps were not freed: [0, 1, 2]

I have a little bit scripting experience, so if annyone could help me out, that would be great!

thanks

kingsattack

2013-04-02 04:03:25

its not closing the files which after starting stopping a lot can really bog down your pc possibly even causing it to overheat and die if its old enough and the person never reboots for days(alot of people do)

in my eyes this is a serious problem

i don't understand this community everything has to be the hard way

i see it all the time someone reports a bug or error like dtm's not freed or whatever

and depending on the scripter no one ever fixes it and the trolls play head games with you.

sometimes a nice person comes along and helps but his post will be buried in a week or two and who want to search 32 pages or people who's dtm wasn't freed and the trolls toying with them

scripts shouldn't be allowed to be released with a bug like this and any bug for that matter


you could add a command to close all dtm yourself but prolly wont get it to work

Addonterminate(); this is a thread on it http://villavu.com/forum/showthread.php?t=78418

Justin

2013-04-02 04:37:54

"Exception in Script: The given DTM Index[0] doesn't exist" - The script is trying to use a DTM that hasn't been loaded.

"The following DTMs were not freed: [7]
The following bitmaps were not freed: [0, 1, 2]"

Meaning they are still loaded in Simba's memory, nothing to really worry about as its only 4 items but the author of the script should fix this issue

YoHoJo

2013-04-02 04:41:31

@OP
Can you please run it again and when you get your error post more debug lines.
The DTM freed lines are just code hints really, and not errors.
The true error is usually located a(few) lines above that.


From: kingsattack
its not closing the files which after starting stopping a lot can really bog down your pc possibly even causing it to overheat and die if its old enough and the person never reboots for days(alot of people do)

in my eyes this is a serious problem

i don't understand this community everything has to be the hard way

i see it all the time someone reports a bug or error like dtm's not freed or whatever

and depending on the scripter no one ever fixes it and the trolls play head games with you.

sometimes a nice person comes along and helps but his post will be buried in a week or two and who want to search 32 pages or people who's dtm wasn't freed and the trolls toying with them

scripts shouldn't be allowed to be released with a bug like this and any bug for that matter


you could add a command to close all dtm yourself but prolly wont get it to work

Addonterminate(); this is a thread on it http://villavu.com/forum/showthread.php?t=78418


Posted this on your thread too:
You have quite an odd/confusing way of talking :/ hard to read your post(s).

I think you are misinformed about that is going on.



sick of being called a leecher? with trolls sending you on mission to solve things like dtms not freed?


No one is calling anyone a leecher or trolling anyone with problems. SRL is a very kind and helpful community for the most part.

The DTM/Bitmap not being freed is not a bug or error, it's just a code hint to the scripter to add lines to free them.

This hint is not a problem in scripts, and often time the real error line is written ABOVE those lines and points you to an error in a specific line of code.

I believe that upon stopping a script however, that Simba forces them all to be freed and not left in memory. This will definitely not bug, freeze, crash, or bog down your computer as DTMs and Bitmaps are only a few kb in size and as I said they are freed by Simba upon stopping a script.

This happens almost ANY time you prematurely stop a script, since the script was stopped prematurely it did not get to execute the lines which free the DTMs/Bitmaps.

So when you are getting errors in a script look a few lines ABOVE the DTM/Bitmap hint to find the real/actual problem in the code, and based on that you can get help.