SRL Archive - SRL Bugs

ChooseOption


Shuttleu

2012-01-18 05:43:36

I have a antiban procedure ini my script and at the end of the procedure i have
ChooseOption('ancel');

however when my script chops a piece of ivy and the circle thing skill experience things appears at the top, the mouse just jumps around over the circle thing and at the top of the screen.

after commenting out lines i have come to the conclusion that it is ChooseOption('ancel') thats causing the problem

~shut

Er1k

2012-01-18 07:44:21

I believe you're having the same issue as I do. After tracing the code, I think it has to do with the recursion that's called by ChooseOptionMultiEx. I have started a bug thread here http://villavu.com/forum/showthread.php?t=72652

DemiseScythe

2012-01-18 07:53:21

Disable the top exp thingy and bug is gone, read the update post, there is instructions in how to disable that

Shuttleu

2012-01-18 08:11:36

From: DemiseScythe
Disable the top exp thingy and bug is gone, read the update post, there is instructions in how to disable that


but this will cause more people to make posts and complain it isnt working
if we make a small edit in srl to detect it differently, then we can prevent the errors

~shut

DemiseScythe

2012-01-18 08:21:45

Disabling that should be part of the standard setup, just add it to the setting up part of your script post, adding support for this feature could allow jagex to constantly break SRL through updating it

Shuttleu

2012-01-18 08:49:52

From: DemiseScythe
Disabling that should be part of the standard setup, just add it to the setting up part of your script post, adding support for this feature could allow jagex to constantly break SRL through updating it
im not saying add support for this feature, i mean change ChooseOption so it detects the option box a different way

so if jagex were to break it, they would break choose option which they would have done if we didnt change choose option

~shut

SantWrong

2012-01-18 12:57:47

ChooseOption and ChooseOptiomMultiEx doesnt work for me, tried turnoff/on XP toolbar, stil, it opens pop up menu and stops. Any ideas hox to fix? Cause it seems that only I have such problem.

Narcle

2012-01-18 13:26:20

Pretty sure its colors used for ChooseOption box. I'll test with another color.

SantWrong

2012-01-18 13:55:43

I noticed that pop up menu box outer line is different as it used to be or this was updated earlier?

Narcle

2012-01-18 14:06:10

From: SantWrong
I noticed that pop up menu box outer line is different as it used to be or this was updated earlier?


It was but was updated and now I believe the updated colors used are in the XP icon.

Shuttleu

2012-01-18 14:44:53

just had a look at GetChooseOptions and i realized it doesn't use its parameter

~shut

Narcle

2012-01-18 15:51:21

I did a test and sure enough the current colors were being found in the XP icon.

I pushed a color change. Should be fixed in next SRL update.

Shuttleu

2012-01-18 15:52:34

From: Narcle
I did a test and sure enough the current colors were being found in the XP icon.

I pushed a color change. Should be fixed in next SRL update.


thanks

i didn't want to turn it off because it allows me to see how close i am to leveling without having to disable smart

~shut

SantWrong

2012-01-19 15:40:58

I dont know whats wrong, but still ChooseOption doesn't work. Shuttleu how you solved your problem? Any ideas how to fix, I got latest SRL by the way

Shuttleu

2012-01-19 15:44:10

i just updated SRL and it was fixed, narcle changed the colours, make sure your on SRL rev 1078

~shut

SantWrong

2012-01-19 17:08:08

Well I have same SRL, but then I use choose option or similar function in my construction bot, it opens pop up menu and stcuks, script worked before.
Heres pictur how pop up menu looks like:
[ATTACH]13212[/ATTACH]
This is what I use
ChooseOptionMultiEx(['Remove','emove'], 'Object', ClickLeft);

It used to open pop up menu and click Remove, now it just open pop up and freezes.

So am I doing something wrong or just some bug?

P.S. I did SRL update override still don't work
SRL Updater: Local Version - "1078" | Remote Version = "1078"

Shuttleu

2012-01-19 17:12:22

From: SantWrong
Well I have same SRL, but then I use choose option or similar function in my construction bot, it opens pop up menu and stcuks, script worked before.
Heres pictur how pop up menu looks like:
[ATTACH]13212[/ATTACH]
This is what I use
ChooseOptionMultiEx(['Remove','emove'], 'Object', ClickLeft);

It used to open pop up menu and click Remove, now it just open pop up and freezes.

So am I doing something wrong or just some bug?

P.S. I did SRL update override still don't work


do this
http://villavu.com/forum/showpost.php?p=897772&postcount=8

post your results here

~shut

SantWrong

2012-01-19 17:39:16

Doesnt write any line. May it be something wrong with this line of function
 Options := GetChooseOptions(TextType);  

Shuttleu

2012-01-19 17:41:26

From: SantWrong
Doesnt write any line. Maybe it be something wrong with this line of function
 Options := GetChooseOptions(TextType);  


no, thats nothing to do with it

infact TextType doesnt do anything at all :s

~shut

Narcle

2012-01-19 19:00:31

Screen shot of it in .png don't use jpg it distorts colors.

SantWrong

2012-01-19 19:19:00

[ATTACH]13223[/ATTACH]

I tried and on other things like examine plank and few more - nothing. I just woder does hooseOption work for other or it's has bug just for. I tried force SRL updates, SRL from Getihub (or whatever its called).

Narcle

2012-01-19 19:50:19

From: SantWrong
[ATTACH]13223[/ATTACH]

I tried and on other things like examine plank and few more - nothing. I just woder does hooseOption work for other or it's has bug just for. I tried force SRL updates, SRL from Getihub (or whatever its called).


Something on your end, I just tested on the picture:

Search Larder
Walk here
Remove Larder
Examine Larder
Cancel

Shuttleu

2012-01-20 03:54:20

From: SantWrong
[ATTACH]13223[/ATTACH]

I tried and on other things like examine plank and few more - nothing. I just woder does hooseOption work for other or it's has bug just for. I tried force SRL updates, SRL from Getihub (or whatever its called).


make sure you have the latest fonts

~shut

SantWrong

2012-01-20 06:37:15

Its alive
Its alive…..

What the f… was I dont not now but needed delete directory of Simba, install new simba set everything, when came line updating fonts, while old simba showed that got latest fonts. Even updated them manualy from http://simba.villavu.com/bin/Fonts/ and GitHub.
By the way new Simba shows me error
Exception in Script: Unable to find file 'srl/srl.scar' used from ''

srl.scar changed to srl.simba, cause there is no such file now. Is that nornal?

Thanks everyone for help, and have a nice weekend. Cheers

Shuttleu

2012-01-20 07:20:26

From: SantWrong
Its alive
Its alive…..

What the f… was I dont not now but needed delete directory of Simba, install new simba set everything, when came line updating fonts, while old simba showed that got latest fonts. Even updated them manualy from http://simba.villavu.com/bin/Fonts/ and GitHub.
By the way new Simba shows me error

srl.scar changed to srl.simba, cause there is no such file now. Is that nornal?

Thanks everyone for help, and have a nice weekend. Cheers


yes thats fine

that is also where your problem was, the script you were using was using SRL4 not 5

~shut