SRL Archive - Help and Support

Chooseoption not working on XP?


z92

2012-04-10 14:16:25

Hi guys,

I recently attempted to run a few scripts on another PC than my regular one.

I installed Simba on the new PC as usual, remembering to update all includes. My scripts compiled and seemed to work well - untill they needed to withdraw items from their banks. Chooseoption was broke; the mouse simply hovered away from the menus.

Using the SRL include from the 'working' PC did not help, so I figured it must be some kind of problem with running Simba on Windows XP.

Appreciate any input, as I frankly have no idea what could be causing this. :p

P.S. I have had trouble using Chooseoption on the 'working' pc a few weeks ago, but this was fixed by an SRL update.

Abu

2012-04-10 14:20:49

I had the exact same problem with my script - I simply updated the SRL Include.

What I did was locate the WithdrawItemEx function and found all the WaitOptionMulti functions within it.
I then increased the maximum time it waits for the uptext or option.

z92

2012-04-10 16:39:17

From: abu_jwka
I had the exact same problem with my script - I simply updated the SRL Include.

What I did was locate the WithdrawItemEx function and found all the WaitOptionMulti functions within it.
I then increased the maximum time it waits for the uptext or option.


Thank you for your help - this fixed the issue. :thumbsup: