Log in

View Full Version : Hey guys Text file problems



rol prodigy
02-07-2012, 07:06 AM
Error: Out Of Range at line 738
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, 48]


I get that when running the zmi bot. something to do with the text script and it just stops my scripts been having this problem for a long time now since 1.4 looking for any help people are willing to give.

rol prodigy
02-07-2012, 01:49 PM
anything?

Chris
02-07-2012, 02:08 PM
Try updating Simba and SRL.
If that doesnt work, ask it in the script's thread

Its a ZMI Script btw, not a bot :p

NotReligious
02-07-2012, 05:28 PM
I get this error while running any script that involves right clicking (during right clicking is when this error appears), so I am relatively sure that this is not a problem with any specific script. And I get this problem like every 5-120 minutes. (in other words completely randomly)

It is highly annoying as pretty much every time I come back to a script I see this error.

So any info on that?

Chris
02-07-2012, 05:46 PM
I get this error while running any script that involves right clicking (during right clicking is when this error appears), so I am relatively sure that this is not a problem with any specific script. And I get this problem like every 5-120 minutes. (in other words completely randomly)

It is highly annoying as pretty much every time I come back to a script I see this error.

So any info on that?

Did you update everything?

NotReligious
02-07-2012, 08:15 PM
Did you update everything?


Yes I did.

Harry
02-07-2012, 08:34 PM
I get the same, everything's up to date. Weird bug with the newer chooseoption... hopefully it'll be fixed soon. In the meantime don't run scripts that use chooseoption (such as my catacomb script ^_^) I guess.

Rezozo
02-07-2012, 08:37 PM
I get the same, everything's up to date. Weird bug with the newer chooseoption... hopefully it'll be fixed soon. In the meantime don't run scripts that use chooseoption (such as my catacomb script ^_^) I guess.

Just for the heck of posting helpfulness, I get this but for some reason it doesn't stop my script. What it would do is just say warning, and something about the equation. Everything still works fine...

Kyle Undefined
02-07-2012, 08:50 PM
Just for the heck of posting helpfulness, I get this but for some reason it doesn't stop my script. What it would do is just say warning, and something about the equation. Everything still works fine...

Could you post what the debug says when this happens?

P1nky
02-07-2012, 09:04 PM
I get the same, everything's up to date. Weird bug with the newer chooseoption... hopefully it'll be fixed soon. In the meantime don't run scripts that use chooseoption (such as my catacomb script ^_^) I guess.
Yeah I do to, I actually posted this in Member forums a while back, cause my Chopper/Pcer would give me bugs randomnly when it would look for pests/trees/plank, so I took out right click and made it left click only :/

Thought was me only.

Kyle Undefined
02-07-2012, 09:38 PM
It's very random, after doing 10 different DropAll's, I was only able to get it to error out twice and in two completely different places.

First place was in FindNPCChatText which is line 738 of text.simba.

Second place was in SortATPAFromFirstPointY at line 771, which is this:
DistArr[i] := Round(Sqr(From.y - a[i][0].y));
That function is called in GetChooseOptions at line 893 which is: SortATPAFromFirstPointY(ATPA, Point(w/2,0));
I added WriteLn's through out the file to find out what was going on, and it stopped giving me those weird errors, which I don't know why :/

That's all I have for it at the moment, hope it helps.

Rezozo
02-07-2012, 11:20 PM
Could you post what the debug says when this happens?

I don't think I can because it happened 1-2 days (I think?) ago, and since then has not shown up.

NotReligious
02-08-2012, 07:37 AM
So glad that the problem wasn't only with me..

Hopefully you can figure out what is wrong, because it really is annoying.

Kyle Undefined
02-08-2012, 07:39 AM
I believe Coh3n fixed this in the latest version of SRL, it should be out shortly :)

YoHoJo
02-08-2012, 07:55 AM
I'm getting too.

I seem to ONLY get it however when there is a huge stack of something, causing the chooseoption pop up to go past the bottom of the mainscreen.
Ex: A zillion ores on top of each other, right click, menu so big it goes off bottom of screen, error!

Besides that I've been okay, but haven't botted much.

NotReligious
02-08-2012, 08:58 AM
I believe Coh3n fixed this in the latest version of SRL, it should be out shortly :)


Very glad to hear that! =)


I'm getting too.

I seem to ONLY get it however when there is a huge stack of something, causing the chooseoption pop up to go past the bottom of the mainscreen.
Ex: A zillion ores on top of each other, right click, menu so big it goes off bottom of screen, error!

Besides that I've been okay, but haven't botted much.

Well I get it (as I said) with just any basic right clicking.

It seems weird that this error crashes the script instead of just making it try to right click again. <.< (but then again I know nothing of coding)

Kyle Undefined
02-08-2012, 02:55 PM
Very glad to hear that! =)



Well I get it (as I said) with just any basic right clicking.

It seems weird that this error crashes the script instead of just making it try to right click again. <.< (but then again I know nothing of coding)

The reason it was crashing is because the code was looking for a string in a box, when the variables (string/box) were passed into the function they were empty.