Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

ludger

Members
  • Content Count

    50
  • Joined

  • Last visited

Community Reputation

10 Good

About ludger

  • Rank
    Member
  1. Thanks, now I have another Issue. I was wondering if there is a possibility to scroll down using scar?
  2. Tried scripting again just had 1 little issue, why is this not working. It is not about the text but i can´t get to do 2 arguments with else like I did here. [sCAR] begin LoadBitmap; If FindBitmapTolerance(mojo, x, y, 25) then WriteLn('Find') and WriteLn('Find2') Else WriteLn ('Not finding') and WriteLn ('Not finding2') end.[/sCAR] because this is actually working [sCAR] begin LoadBitmap; If FindBitmapTolerance(mojo, x, y, 25) then WriteLn('Find') Else WriteLn ('Not finding') end.[/sCAR]
  3. thanks both of you i see now that i didn't closed my arguments of the y coords with the ( and ) properly.
  4. uhm i got another question, why can't i combine holdmouse with movemouse, like this, all suggestions are appreciated!: [sCAR] HoldMouse (1121+random(1)-random(1), 362+random(1)- random(1), true) ; wait(20+random(21)) ; MoveMouse (1121+random(1)-random(1), 620+random(1)- random(1), true) ; wait(20+random(21)) ; ReleaseMouse (1121+random(1)-random(1), 620+random(1)- random(1), true) wait(20+random(21)) [/sCAR]
  5. this bot is not a scar script but it is another program pm me for further details. I can't post more information here because this is the scar divi forum
  6. ok thanks freddy, and scar is really awesome
  7. thank you very much shadow, and freddy how do i select the area SaveScreenshotEx has to take a screen shot of? because i can't find the function in the wiki yet
  8. ok thanks, i have two more questions. 1 How can i get systemtime and write that down in the output of scar? because WriteLn(Getsysemtime) doesn't seem to work. And is it possible to Take a picture of a bitmap every 400000 miliseconds and save it somewhere or isn't that possible with scar?
  9. Thanks very much Opium, and the i variable is like a count of how many times it tried to search for loginfail?
  10. ok thanks for your help! i have one more question: scar says i have made a type mismatch, can you help me to fix it? [sCAR] repeat wait(500) If FindbitmapTolerance(loginfail, x, y, 10) then FindBitmapTolerance(login, x, y, 5) and ClickMouse(x, y, True) ;///// this line is the type mismatch error until FindBitmapTolerance(loginsucces, x, y, 0) end; [/sCAR]
  11. [sCAR]procedure nietverzenden2; var T: Integer; x, y: Integer; begin T := GetSystemTime + 30000; repeat Wait(200); If FindBitmapTolerance(nietverzenden, x, y, 10) then begin ClickMouse(x, y, True); end; until (GetSystemTime > T) end;[/sCAR] Thanks for your help, but this code is just searching for 30 seconds for bitmap nietverzenden , and every time it finds bitmap nietverzenden it clicks on it. I want to stop the procedure after 30 seconds or it should stop after finding bitmap 'nietverzenden' and it should click just once on it. But is this possible? I thought about this but with this code it won't click on it. [sCAR]procedure nietverzenden2; var T: Integer; x, y: Integer; begin T := GetSystemTime + 30000; repeat Wait(200); until FindBitmapTolerance(nietverzenden, x, y, 10) or (GetSystemTime > T) end;[/sCAR]
  12. here: http://forums.scar-divi.com/showthread.php?335-Release-Raidmapbot and put raidmapmodus 1
  13. thanks freddy you're very helpful and awesome! you were right, I forgot to paste the variables i had in my script. I also was on scar 3.30 just upgraded to 3.32 on your advice Going to work on long big bitmap finding script now i know how this works, always used the waiting time between different bitmaps. But not all computers have the same speed, so this is much better! Thanks you to for your effort to help Bixby Says ---------- Post added at 12:15 PM ---------- Previous post was at 10:47 AM ---------- i get error at the end line it says type mismatch what did i do wrong here? I wanted to let scar search for 30 seconds for the bitmap nietverzenden and if it founds it it should click on it. [scar]procedure nietverzenden2; var x, y: Integer; begin repeat Wait(200); If FindBitmapTolerance(nietverzenden, x, y, 10) then begin ClickMouse(x, y, True); end; until wait(31000) end;[/scar]
  14. thanks freddy for your fast reply, Now i have this: but when it finds the bitmap it keeps clicking on it, so i want scar to stop searching for the bitmap, when it founds it.
×
×
  • Create New...