Jump to content
sjesper

Lots of function are broken

Recommended Posts

And before you ask, yes i have the latest version.

 

The WithDraw function goes really slow. It takes about 5 seconds to just find the bankslot.

 

The GetItemBounds Doesn't work for me. It just click find some places.

 

The SetGameTab doesn't either work. It just doesn't detect that it needs to switch gametab.

 

Am i the only one with this problems :(?

Link to comment
Share on other sites

[sCAR]program New;

 

{$DEFINE RS2}

{$DEFINE OSI_Color_Anti_Randoms}

//{$DEFINE SMART} // Comment out to disable SMART

 

{$I OSI\OSI.scar}

{$I OSI\Divi\Misc\Debug.scar}

 

procedure ScriptTerminate;

begin

FreeOSI;

end;

 

begin

SetUpOSI;

Withdraw(20, 0, False);

end.[/sCAR]

 

Worked really fast

 

[sCAR]program New;

 

{$DEFINE RS2}

{$DEFINE OSI_Color_Anti_Randoms}

//{$DEFINE SMART} // Comment out to disable SMART

 

{$I OSI\OSI.scar}

{$I OSI\Divi\Misc\Debug.scar}

 

procedure ScriptTerminate;

begin

FreeOSI;

end;

 

var

I: Integer;

 

begin

SetUpOSI;

for I := 0 to 15 do

SetGameTab(I);

end.[/sCAR]

 

Worked flawless

 

[sCAR]program New;

 

{$DEFINE RS2}

{$DEFINE OSI_Color_Anti_Randoms}

//{$DEFINE SMART} // Comment out to disable SMART

 

{$I OSI\OSI.scar}

{$I OSI\Divi\Misc\Debug.scar}

 

procedure ScriptTerminate;

begin

FreeOSI;

end;

 

var

TBA: TBoxArray;

I: Integer;

 

begin

SetUpOSI;

SetLength(TBA, 28);

for I := 0 to 27 do

TBA := GetItemBounds(I);

DebugTBA(TBA);

end.[/sCAR]

 

2m6olc1.png

 

 

You're doing something wrong, maybe your graphic settings are way off. Fixed size, safe mode, brightest settings etc

Link to comment
Share on other sites

Banking has been really slow for the last week or so. Depositing, and closing the bank takes alot time is what i mean. I ended up removing all of my waits in my function to make it some what normal. but its still slow with no waits.

Edited by shadowrecon
Link to comment
Share on other sites

Well i can open the tabs using this method:

   if GetCurrentTab <> Tab then begin
     TB := GetTabBounds(Tab);
     MouseBox(TB.X1, TB.Y1, TB.X2, TB.Y2, ClickLeft);
   end;

Dont really know why the other method doesn't work for me :S. But i found out that i used Mouse() instead of MouseBox. Really stupid mistake :o

 

But the banking have been slow for some times now.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...