SRL Archive - OSR Help

so confused >.>


milo11

2013-11-02 07:44:40

can you not do 'IsUpText', 'FindObj' or 'ChooseOption' anymore? - like it shows in http://villavu.com/forum/showthread.php?t=44942?

i'm so confused, i'm simply trying to right-click an object in the bank and 'withdraw-all', but i'm not sure what to use :(

Mark

2013-11-02 08:12:07

Yes mate sadly I heard on skype that text is broke right now.

You could possibly just offset your coords used from right click. To choose the desired option. Careful with doing this as it will click if the option doesn't exist either so look for color or a bitmap to create to use for detecting that option exist before clicking otherwise hold tight for a fix.

bonsai

2013-11-02 09:16:48

chooseoption is working ok, just not uptext. The guide Milo linked to was written for SRL5 not SRL6 so the commands it uses are not current. The SRL6 function is getMouseOverText() not IsUpText().

There aren't too many functions that use the uptext. bankscreen.withdraw(), mainscreen.findObject(), getMouseOverText(), isMouseOverText()

milo11

2013-11-02 11:51:45

From: bonsai
chooseoption is working ok, just not uptext. The guide Milo linked to was written for SRL5 not SRL6 so the commands it uses are not current. The SRL6 function is getMouseOverText() not IsUpText().

There aren't too many functions that use the uptext. bankscreen.withdraw(), mainscreen.findObject(), getMouseOverText(), isMouseOverText()


okay thanks for your help, will try them :) (+rep)
wait is: bankscreen.withdraw(), mainscreen.findObject(), getMouseOverText(), isMouseOverText() the things i can use?
because i can't find them in the library :/

From: Mark
Yes mate sadly I heard on skype that text is broke right now.

You could possibly just offset your coords used from right click. To choose the desired option. Careful with doing this as it will click if the option doesn't exist either so look for color or a bitmap to create to use for detecting that option exist before clicking otherwise hold tight for a fix.


thx for ur input mate, I think i'll use what bonsai suggested though.
(+ rep'd)

bonsai

2013-11-02 13:57:27

From: milo11
okay thanks for your help, will try them :) (+rep)
wait is: bankscreen.withdraw(), mainscreen.findObject(), getMouseOverText(), isMouseOverText() the things i can use?
because i can't find them in the library :/


Those are the ones that are currently broken.

They are in the docs under the type name but you call them with the global variable usually found at the top of thst doc page. Search the doc for the function name and you'll find them…

http://docs.villavu.com/srl-6/bankscreen.html?highlight=mouseovertext#trsbankscreen-withdraw

http://docs.villavu.com/srl-6/mainscreen.html?highlight=findobject#trsmainscreen-findobject

milo11

2013-11-02 16:31:38

From: bonsai
Those are the ones that are currently broken.

They are in the docs under the type name but you call them with the global variable usually found at the top of thst doc page. Search the doc for the function name and you'll find them…

http://docs.villavu.com/srl-6/bankscreen.html?highlight=mouseovertext#trsbankscreen-withdraw

http://docs.villavu.com/srl-6/mainscreen.html?highlight=findobject#trsmainscreen-findobject


okay, thanks bud :)
ur a lifesaver :)
btw do you mind if I pm you if I get stuck on something?
if not it's okay