This is a guide explaining the recent coordinate changes due to the Nav bar introduced few weeks ago.
[History]
The Nav bar has caused an extra +50 y-coordinate offset to the RS client. The initial temporary fix by Brandon was to just add the offset to all functions, which broke any script that uses hard-coded coordinate. This was reverted in the latest change (simba 991) to just limit the ClientArea instead. The procedure is named as SRL_DisableNavBar and is called in SetupSRL.
To fix most scripts, all you have to do is to:
Replace
WithSmart_Server := 72;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
and if the script hasSRL_SixHourFix := True;
Smart_FixSpeed := True;
at the top of the script, then replace it with{$I SRL/SRL/Misc/PaintSmart.Simba}
(credits to Brandon for the info){$I SRL/SRL/Misc/SmartGraphics.Simba}
[For Scripters]
The current fix using SRL_DisableNavBar has led to some inconsistencies in y-coordinate.
The y-coordinate shown with the color picker or the bottom left of simba is actually 50 pixels more than what the script will end up clicking. eg. Mouse(0,50,0,0,true) will click on (0,100) shown by the coordinate in simba client instead. Hence whenever you manually pick a coordinate, you have to deduct 50 off the y-coordinate for it to click/search within the intended coordinate.
GetMousePos, will however, return the correct coordinate (which is 50 less than what is shown on bottom right of simba) to click. So u can still safely call GetMousePos.
Global constants (MSCY etc) also remain as they were and are the correct coordinates (for the script to click/search) after SetupSRL is called.
You should take note though, the Nav bar does not exist in certain RS screens (eg. the selection screen in Dominion Tower) so you must adapt the coordinates accordingly.
Non-RS usage:
For non-RS/private sever scripts, as the 50 offset is not applicable, it may be inconvenient to constantly deducting 50 from the coordinates picked. Hence an easier way would be to not call SetupSRL and just call MouseSpeed := 15; instead.
Useful links:
http://villavu.com/forum/showthread.php?t=87258 (instructions on how to update ur simba/srl properly)
http://villavu.com/forum/showthread.php?t=84334 (more info on the latest SRL)
Feel free to post below if you are still having problem with simba 991