Thx Euphemism and Vinyl for the awesome siggy and avatar!
While this is a fun fix, I can see it become a problem. It appears that from the screenshot you posted previously there's now a black bar below the image. That shouldn't happen, so if you're using EIOS SMART might be passing the actual size with the bar to Simba, whereas the pointer you pass starts after the bar. That's a problem, as Simba will then read beyond the pointer if the size isn't corrected too. It looks like you already set the proper size though, but I'm not sure what the impact on EIOS will be. (Switching targets, etc)
The best way to contact me is by email, which you can find on my website: http://wizzup.org
I also get email notifications of private messages, though.
Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
Documentation | Source | Simba Bug Tracker on Github and Villavu )
My (Blog | Website)
Former Name: MasterCrimeZ.
ToDo: 1. Finish my private bot 2. Make some cool bots for this community 3. Become a member
If you have any questions about scripting, feel free to PM me
You guys sure you're not on 6.9? That seems to be the auto updated version.
It's like that because his Y axis resolution is too big, it should still be around the same "503" not up at "565" which is even bigger than the new bar + entire rs screen
The only true authority stems from knowledge, not from position.
You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.
when this is fixed, will we have to update simba, or will all scripts have to be updated to fit the new smart screen update due to pixel shifts?
Last edited by Master BAW; 07-11-2012 at 11:38 PM.
Former Name: MasterCrimeZ.
ToDo: 1. Finish my private bot 2. Make some cool bots for this community 3. Become a member
If you have any questions about scripting, feel free to PM me
I just got into this simba program today and had been working hard looking at tutorials and what not, and it was getting quite frustrating but through much effort, of looking through 10 different range guild programs I found one that worked, and as soon as I got on the red cursor or the dot signifying the bot in the program, couldn't go all the way to the username bar and just sat above it, then I found this.. Aggravating, Jagex you defense noob.
Last edited by hunnyitsme3; 07-11-2012 at 11:45 PM.
^Question of the day^
There is a leak somewhere though :S After doing about 100 runs it gives out of memory and I can't find it. Might be the targets. I should probably do something like FreeTarget(....); But I'll do that later after it's confirmed working or wanted. If no one wants this fix well.. Iunno then.
I did some tweaks to it.. I added browser support just for testing (Comment out Define Smart to use the browser)
This will also remove the black bar you mentioned Wiz. I had the bitmapfromclient too large:
Simba Code:{$DEFINE SMART}
{$I SRL/SRL.Simba}
{$I SRL/SRL/Misc/Debug.Simba}
Function FoundBar: Boolean;
var
Bar: Integer;
X, Y: Integer;
begin
Bar := BitmapFromString(8, 11, 'meJyr/PGn8scfBiRQCRYpeP0DiJD' +
'FISIZ974BEbI4RCTmCgjxaMbJOFcDkVr6XIiI3+HPQOQ4/wyEAUcu' +
'2z4CkZBdjZBdLRBJR86FiFgsfw9EyOZDRLSmvwEiZHGIiELXKyBCF' +
'oeIiNc/ByJkcYgIXzEIIYtDRACmWWK1');
Result := FindBitmapToleranceIn(Bar, X, Y, 117, 13, 171, 35, 10);
FreeBitmap(Bar);
end;
var
BMP: Integer;
ImagePtr: Integer;
H: Integer;
begin
H:= 552;
{$IFDEF SMART}
InitSmart(false);
If (FoundBar) then
begin
ImagePtr := SmartImageArray + (765 * 50 * 4); //PtrToRowZero + (ClientWidth * 50 * BGRA); 50 Rows Of Bar PNG. 4 Bytes = BGRA.
SetTargetArray(ImagePtr, 765, 503);
H := 503;
end else
begin
SetTargetArray(SmartImageArray, 765, 503);
end;
{$ELSE}
if (FoundBar) then
begin
SetTargetBitmap(BitmapFromClient(0, 52, 765, 552)); //501 + The PtrRowZero shift.
H := 503;
end;
{$ENDIF}
BMP:= BitmapFromClient(0, 0, 764, H);
DebugBitmap(BMP);
FreeBitmap(BMP);
end.
Last edited by Brandon; 07-12-2012 at 12:11 AM.
I am Ggzz..
Hackintosher
Could you imagine what its going to be like when the Nuke hits? I'm not even going to bother logging on to the forums, may just wanna lock any posts that start with the word "bot" and end with "simba" haaa![]()
Butthurt.
He had the size too large in the copyclienttobitmap part, everything else is as it should be
E: also this will still leave the mouse coords off, however, you could always put a constant offset in all mouse procedures :3
ON THAT NOTE
The 565 is too big when using the smaller area, use 503 if you're excluding the bar w/ the pointer method
E: See it was fixed in a later post
Last edited by BenLand100; 07-12-2012 at 12:12 AM.
Hey now I'm butthurt too![]()
The only true authority stems from knowledge, not from position.
You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.
[Error] (28:5): Unknown identifier 'InitSmart' at line 27
Compiling failed.
is the error i got while running the code you posted, in simba.
Are injection bots affected by this navigation toolbar thing?
I think the bar is part of the game client itself, because when I hover over one of the 4 links, the uptext shows up in the RS game client....
You're right! When i tried targetting my runescape screen with simba the toolbar was in the red section.Originally Posted by iGunXZ
I think the bar is part of the game client itself, because when I hover over one of the 4 links, the uptext shows up in the RS game client....
Last edited by akash22; 07-12-2012 at 01:01 AM.
Thanks for everyone smart enough to fix this!
I'll be willing to test if someone could directly tell me what I need to do.
Just by reading this thread I see lots of theories and people saying "should do this" ect.
What exactly needs to be done?
I'll help in any way I can.
Sinking. Always. Sinking.
It's a shame that this (most-likely) unintended graphical update has probably made it clear to jagex on what basis they should be steering the bot nuke.
118/120 Dungeoneering
Their (most-likely) intentional update (there is no way you can accidentally do what they did) is far from a method to bot nuke, unless they only want us to be down and out for like 30-60 minutes of actual "fixing" stuff
as shown in this thread, this really isn't much of a problem to SMART and requires only a little bit of changes to SRL
The only true authority stems from knowledge, not from position.
You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.
There are currently 3 users browsing this thread. (0 members and 3 guests)