About time I figured out what the problem was, over 15 posts.
About time I figured out what the problem was, over 15 posts.
To get SRL Member, you require to create a script with all the standards that are expected, your application will be voted apon.You become a SRL Junior Member by spending 7 days as registree and having 10 posts.
With your script, what are you actually trying to do?
You could use FindBitmapToleranceIn and see if that works.
Rogeruk's Al-Kharid Tanner V1.1 [Released]
Rogeruk's Barbarian Crafter [Coming Soon]
Rogeruk's Guild Fisher [Coming Soon]
!! - Taking Requests - !!
Im not exactly trying to do anything but get it to find the bitmap and then give me coordinates of it, and if I find they are correct, then just go off of that and acutually make the script. It looks for the word Username after you push existing user.
Use the tolerance.
Rogeruk's Al-Kharid Tanner V1.1 [Released]
Rogeruk's Barbarian Crafter [Coming Soon]
Rogeruk's Guild Fisher [Coming Soon]
!! - Taking Requests - !!
I tried that earlier. I dont have to make everything but the word username black do I? Also if I do GetColor(x,y), how do I make it writeln(IntToStr(The result)). How do I use the result from it?
Rogeruk's Al-Kharid Tanner V1.1 [Released]
Rogeruk's Barbarian Crafter [Coming Soon]
Rogeruk's Guild Fisher [Coming Soon]
!! - Taking Requests - !!
Try this...
Parameter: FindBitmapToleranceIn(Bitmap, x, y, x1, y1, x2, y2, Tol)Code:if(FindBitmapToleranceIn(BitUsername,x,y,MSX1,MSY1,MSX2,MSY2,10) or FindBitmapToleranceIn(BitPassword,px,py,MSX1,MSY1,MSX2,MSY2,10)) then
Hope this helps,
~Stupedspam
Still doesn't work, im so confused. Here is the bitmap if any are thinking I did wrong.
http://i149.photobucket.com/albums/s...r/Username.jpg
Heres what I changed...
SCAR Code:BitUsername := BitmapFromString(70, 1, 'beNpNjmsKhDAMhEW8lqAo1ESMW0n' +
'XB+qPvf8Vtjpr3WL4CJlhYMJW3eyP3yRJ2jQvw/YvM2IBQcZd1i0y' +
'0qu/dNhVTXlhgH8kiXv4wYnAYR5U13X7PH11y+B2gCOad68/RN4iU' +
'9eNsfd7JVBBZEHI4zFzAgJyjL8=');
if (FindBitmapToleranceIn(BitUsername,x,y,0,0,1230,767,10)
When you make a bitmap take 1-5 pixels by 15-100 pixels
Hope this helps,
~Stupedspam
What do you mean? I dont understand what your saying.
Remember, you have to use BITMAP'S, that is BMP files! Not JPG.
When creating bitmaps, they need to be small, not the entire word Username, make it Us with just the top of the letters.
fsfhunter, are you trying to make an autologin?
Try this instead..
SCAR Code:program New;
{.include SRL\SRL.scar}
var
x,y,UserDTM:Integer;
procedure Test;
begin
UserDTM:= DTMFromString('78DA6354606460E000622C0026CA28C488C48' +
'380FFFFFF63AA6127A04618C8E224A04614D33D186AC481ACFFA8' +
'6E0D0A89C35443C8CD3240160B116A08B9599EB0DF011FB11B38');
if(FindDTM(UserDTM,x,y,MSX1,MSY1,MSX2,MSY2))then
begin
Writeln('Found Username DTM at X: '+IntToStr(x)+' Y: '+IntToStr(y));
end;
end;
begin
SetupSRL;
FindRS;
Test;
end.
Rogeruk's Al-Kharid Tanner V1.1 [Released]
Rogeruk's Barbarian Crafter [Coming Soon]
Rogeruk's Guild Fisher [Coming Soon]
!! - Taking Requests - !!
Yea I am but this is more of a learning experience, not going to use it later. It is BMP file, photoshack automatically converts it into jpg. I triwed doing that with just the top of the letters US but it still doesn't seem to work. I'm just completely stuck wondering why it can't find the bitmap. Also, I tried testing something else out. I picked a color, lets say 500 at 300,300. (fish=300)I do if FindColor(x,y,fish,0,0,1000,1000) then
begin
writeln(found color)
end;
writeln(didnt find color)
and it shows up negeative even when I double check exactly the same results with color picker. And yes I always make sure to click right RS window(crosshairs).
Tried it, added activateClient after it failed. Failed again. Added Writeln('not found bitmap') and it came up negative. Didn't work.
Well i have given my help, if you refuse to use it then thats up to you.
Go learn from tutorials.
Rogeruk's Al-Kharid Tanner V1.1 [Released]
Rogeruk's Barbarian Crafter [Coming Soon]
Rogeruk's Guild Fisher [Coming Soon]
!! - Taking Requests - !!
Refuse to use it? What? I have been listening to you this whole time, I tried your script youposted and that didnt work. Ive tried for a while to figure out why this isnt working.
And the problem was?About time I figured out what the problem was, over 15 posts.
Rogeruk's Al-Kharid Tanner V1.1 [Released]
Rogeruk's Barbarian Crafter [Coming Soon]
Rogeruk's Guild Fisher [Coming Soon]
!! - Taking Requests - !!
There are currently 1 users browsing this thread. (0 members and 1 guests)