SRL Archive - SRL Bugs

DIB Handle Error in GameTab.scar


jimthesoundman

2010-01-13 15:53:28

[Runtime Error] : Exception: Can't allocate the DIB handle in line 510 in script C:\Program Files\SCAR


This refers to line 510 in GameTab.scar


Can anyone shed any light on what is causing this?

It's a script I've been working on for several days but it just popped up a few minutes ago, but I haven't changed anything in the script except for a few minor timing issues on mouse clicks, etc.

Thanks in advance,

JIM

YoHoJo

2010-01-13 15:57:28

If using SMART: Client>Reset Specified Window>
If not using SMART: Client>Reset Specified Window> Re-Drag your crosshairs.

If those fail, just restart SCAR

Edit: Fixed. Had them switched!

Timer

2010-01-13 17:02:47

From: YoHoJo
If using SMART: Client>Reset Specified Window> Re-Drag your crosshairs.
If not using SMART: Client>Reset Specified Window>

If those fail, just restart SCAR


Shouldn't that be the other way around? o3o

YoHoJo

2010-01-16 15:21:20

From: Timer
Shouldn't that be the other way around? o3o


Its like, 2 -3 clicks, what's so bad about that? Do you know an easier way :p?

Gu3st...

2010-01-16 15:52:12

From: YoHoJo
Its like, 2 -3 clicks, what's so bad about that? Do you know an easier way :p?
No, he meant

"If using SMART: Client>Reset Specified Window> Re-Drag your crosshairs.
If not using SMART: Client>Reset Specified Window>"

is supposed to be

"If not using SMART: Client>Reset Specified Window> Re-Drag your crosshairs.
If using SMART: Client>Reset Specified Window>"

because SMART already specifies the client

YoHoJo

2010-01-16 15:54:14

Ohhh! Rofl, sorry about that, he is correct. I'm sick, and have been sleeping too much recently. Sorry about that! What what I thinking!

jimthesoundman

2010-01-31 00:39:05

I still continue to have this problem on a sporadic basis. Usually it appears to result from TEXT.SCAR, is there any way to tell what is causing it? If it is something in my script I can rewrite it, but as of right now I don't know what is going on to cause it.

Wizzup?

2010-01-31 10:43:21

The error is most likely not in SRL, but in SCAR.

Timer

2010-01-31 11:17:49

From: Wizzup?
The error is most likely not in SRL, but in SCAR.


Yes, because a simply restarting SCAR fixes the problem.

Bionicle

2010-01-31 12:54:36

I get this error all the time, 1/3 times I try to compile a script. I don't even have to restart SCAR, i just hit play again, and it works.
(BTW, i thought 3.23 was suppose to fix this bug on a side note :p)

jimthesoundman

2010-02-01 14:30:37

I can understand there is a problem, but the real question is WHY DOESN'T IT HAPPEN EVERY TIME we run the script? That's what is puzzling me. If there is some sort of error, it should happen every time you run that procedure. Yet everyone seems to agree it only happens about 20 to 30 percent of the time. So what could it be? Could it be a memory leak that only surfaces after you have stopped and started the script several times? We need to do some detective work and narrow down what it could be.

i luffs yeww

2010-02-01 16:12:34

From: jimthesoundman
I can understand there is a problem, but the real question is WHY DOESN'T IT HAPPEN EVERY TIME we run the script? That's what is puzzling me. If there is some sort of error, it should happen every time you run that procedure. Yet everyone seems to agree it only happens about 20 to 30 percent of the time. So what could it be? Could it be a memory leak that only surfaces after you have stopped and started the script several times? We need to do some detective work and narrow down what it could be.


Ha. :) Talk to Freddy and see if he'll enlighten you.