Log in

View Full Version : choose option



Jhangir
01-22-2012, 01:03 AM
like a sombodee i need da help wit da choose option.

I find the banker but it never chooses bank option.

I have ChooseOption('ank Banker');



Procedure Bank;
Var
x, y:Integer;

begin
FFlag(0);
Wait(50 + Random(25));
If FindObjCustom(x, y, ['anker'], [14537693, 13353675], 10) Then
begin;
MMouse(x, y, 1, 1);
Wait(200+RandomRange(50,100));
Mouse(x, y, 1, 1, False);
Wait(500+Randomrange(100,150));
ChooseOption('ank Banker');
FFlag(0);
Wait(2000+RandomRange(25,50));
if PinScreen then
if (Players[CurrentPlayer].Pin <> '') then
InPin(Players[CurrentPlayer].Pin)
end;
end;

Brandon
01-22-2012, 01:12 AM
instead of doing chooseoptions can you do this first and lemmie know how it goes:

Replace your chooseoption with: writeln(GetChooseOptions('All'));

Post the results from the debug box here.

Jhangir
01-22-2012, 01:14 AM
i get this in the debug box []

Brandon
01-22-2012, 01:16 AM
i get this in the debug box []

Your fonts are outdated then.. Go to C:/Simba. Delete the Fonts folder.. Delete the Settings.XML..

Open Simba and new fonts should be downloaded.. Close and Open Simba ->View Menu -> Extensions.. Re-enable all of them.. Update SRL/SPS/MSI via Forced Update. This should fix it.

Jhangir
01-22-2012, 01:21 AM
Your fonts are outdated then.. Go to C:/Simba. Delete the Fonts folder.. Delete the Settings.XML..

Open Simba and new fonts should be downloaded.. Close and Open Simba ->View Menu -> Extensions.. Re-enable all of them.. Update SRL/SPS/MSI via Forced Update. This should fix it.

alright thanks man hopefully it all works now

Jhangir
01-22-2012, 01:25 AM
God dam im still getting the []
in the debug box

Brandon
01-22-2012, 01:26 AM
Where does your code run? What bank/NPC? I'll have to go there and test it.. your fonts should have updated and worked by now.. if it works for me, I'll upload a copy of my fonts or link you to the SRL ones aka these: http://simba.villavu.com/bin/Fonts/

EDIT: If the bank at kharyll is the one near the canifis bar then gimmie a sec I gotta tele there.. Just waiting on this natures script to get me to the bank so I can save my proggy.

Jhangir
01-22-2012, 01:28 AM
the bank at khyryll

Brandon
01-22-2012, 01:35 AM
the bank at khyryll

Your function works.. Your fonts are definitely broken.. Please download the ones from the link in my previous post.. if those aren't working for you, try my fonts which are the same I believe:

http://www.mediafire.com/?6d4fpadf2u8j1jf

Replace the fonts in your folder.. Now Update your SRL by force! It should work for you.

Jhangir
01-22-2012, 01:48 AM
I replaced the folder updated srl and everything else and its still not working. No SRL update available

Jhangir
01-22-2012, 01:54 AM
I replaced the folder updated srl and everything else and its still not working. No SRL update available


Edit: After I install the fonts and update srl it asks to overwrite plugins? Should I say yes or no?

Brandon
01-22-2012, 02:13 AM
Edit: After I install the fonts and update srl it asks to overwrite plugins? Should I say yes or no?

Oops was AFK.. Umm it won't hurt if you do.. Only thing is, if you have the SmartCrash From Harry's thread, it will overwrite that with a newer version of smart.

Jhangir
01-22-2012, 02:29 AM
Oops was AFK.. Umm it won't hurt if you do.. Only thing is, if you have the SmartCrash From Harry's thread, it will overwrite that with a newer version of smart.

Ok it still never chooses the option even after installing the fonts you gave me... Are you sure the function worked for you?

Brandon
01-22-2012, 02:33 AM
Ok it still never chooses the option even after installing the fonts you gave me... Are you sure the function worked for you?

Yes it works in the canifis bank.. Right clicks the banker and presses bank banker.. bankscreen pops up and it says successfully executed.. I know for sure its something wrong on your end..

Try deleting your includes folder or something.. No clue what else to tell you if it's still not working.

Can even let u teamviewer me n see that it works.

Jhangir
01-22-2012, 02:34 AM
Yes it works in the canifis bank.. Right clicks the banker and presses bank banker.. bankscreen pops up and it says successfully executed.. I know for sure its something wrong on your end..

Try deleting your includes folder or something.. No clue what else to tell you if it's still not working.

Can even let u teamviewer me n see that it works.

yes lets do team viewer let me pm you

Brandon
01-22-2012, 02:56 AM
Solved.. He was missing the SmartSetup when the top of his script had {$Define Smart} thus it was trying to find text on an unselected client.

This fixed it:

Smart_Server := 72;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;