SRL Archive - SRL Bugs

Various bugs.


Amsterdam

2012-02-04 13:30:27

I'm trying to run yohojo's PMS. txt.simba pops up and it won't start and keeps telling me the following things:

Unknown identifier 'ClickContinue' at line 731
Compiling failed.
(line 731=ClickContinue(True, True); )

Invalid number of parameters at line 345
Compiling failed.
(line 345= Text := Replace(Text, '?', '.'); )

Unknown identifier 'MMouse' at line 455
Compiling failed.
(line 455= MMouse(x, y, 0, 0); )

Can anybody help me please?

Coh3n

2012-02-05 16:26:38

This a bug in the script, not SRL. Please post on the thread from which you downloaded.

Amsterdam

2012-02-05 18:31:47

I thought that at first too, but it isn't; because it tells me this in every script i use. The text.simba file pops up and these 'errors' appear

Coh3n

2012-02-06 12:52:05

From: Amsterdam
I thought that at first too, but it isn't; because it tells me this in every script i use. The text.simba file pops up and these 'errors' appear
Have you tried overriding your repositories (see FAQ in my signature if you don't know how)?

Amsterdam

2012-02-06 14:46:04

yes, I've done that several times; but it doesn't help a bit.. I've seen a lot of people that are having the same problem as me

Coh3n

2012-02-06 15:03:14

Try running this script:

program new;
{$i srl/srl.simba}

begin
end.
Also, how are you getting multiple errors? It just shows a different one each time you hit run? Make sure you're running the right file. Hitting run with text.simba open will throw errors as it's an include fine, not a script file.

Amsterdam

2012-02-06 15:34:10

From: Coh3n
Try running this script:

program new;
{$i srl/srl.simba}

begin
end.
Also, how are you getting multiple errors? It just shows a different one each time you hit run? Make sure you're running the right file. Hitting run with text.simba open will throw errors as it's an include fine, not a script file.


that script runs smoothly, but i've been running another script now for 58min,
I hope it won't crash again; and show the annoying line 738 error;

But i never got multiple errors, i always got one of them; it's because i first thought that i could fix the line 738 error by removing a piece of the script, but as I did this, I received a chain of other errors.

Coh3n

2012-02-06 15:50:54

From: Amsterdam
that script runs smoothly, but i've been running another script now for 58min,
I hope it won't crash again; and show the annoying line 738 error;

But i never got multiple errors, i always got one of them; it's because i first thought that i could fix the line 738 error by removing a piece of the script, but as I did this, I received a chain of other errors.
Okay well you can't edit the code unless you know what you're doing. So the errors your getting of your own accord. You should have started with whatever this 738 error is you're talking about.

Amsterdam

2012-02-07 02:22:50

You helped me out! i got it fixed thanks!

I'm still getting this error every single time:

Error: Out Of Range at line 738
The following DTMs were not freed: [SRL - Lamp bitmap, 1, 2, 3, 4, 5, 6, 7]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, 3]

line 738: function FindNPCChatText(txt: string; action: fnct_ActionOptions): boolean;

do you know how i can fix this?

Coh3n

2012-02-07 03:15:33

Don't double post, use the edit button.

What's the script doing when this happens?

Wyn

2012-02-07 07:18:02

From: Coh3n
Don't double post, use the edit button.

What's the script doing when this happens?


Happends to me with YoJoHo's powerminer. As it's dropping the ores.

Why is this resolved…

What is fixed/tested? What was the problem?

Amsterdam

2012-02-07 15:34:13

From: wyn10
Happends to me with YoJoHo's powerminer. As it's dropping the ores.


sorry for the extra post, but it happens to me at the exactly same time! when using YoHoJo's pms and it starts dropping the ores.. this bug is so annoying; well i dont think anything is resolved

K0wned

2012-02-07 18:33:10

This happens for me aswell, the script runs fine for a while, and then it randomly crashes with text.simba tab opened with the line 738 error.

Kyle Undefined

2012-02-07 18:34:12

Can you post what the script was doing when this happened?

K0wned

2012-02-07 20:18:12

It was trying to exit a soul wars graveyard. Also happened with a powerminer, while it was dropping the ore.

Amsterdam

2012-02-07 20:34:13

It always occures with YoHoJo's pms regardless what i do, when dropping ores, identifying rocks, while doing anything. The same goes for s1n's M1d1 script, it keeps telling me this error after a few minutes, and sometimes even after a few secs

Coh3n

2012-02-07 20:39:41

From: wyn10
Why is this resolved…

What is fixed/tested? What was the problem?
Don't double post, you know the rules.

And it's resolved because the problem in the OP was resolved. Also, this is clearly not an MSI bug if it's happening with several other scripts. My guess is it's somewhere in SRL's dropping procedure or whatever procedure is common over the scripts that are having issues.

hamster31

2012-02-07 22:35:18

It tends to happen with choose option or right clicking something. In this case dropping procedure requires you to right click and gives that error and crashes..happen with multiple different scripts as well

Coh3n

2012-02-08 00:59:30

Closing this thread. We've found it to be a bug in a couple SRL functions. See this thread for more details (last 4-5 posts).

http://villavu.com/forum/showthread.php?p=921031#post921031