Results 1 to 4 of 4

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

  1. #1
    Join Date
    Mar 2013
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

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

    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

  2. #2
    Join Date
    Mar 2013
    Location
    Rhode Island
    Posts
    58
    Mentioned
    0 Post(s)
    Quoted
    25 Post(s)

    Default

    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

  3. #3
    Join Date
    Mar 2007
    Posts
    5,125
    Mentioned
    275 Post(s)
    Quoted
    901 Post(s)

    Default

    "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

    Forum account issues? Please send me a PM

  4. #4
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    @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.


    Quote Originally Posted by kingsattack View Post
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •