going to make my 5º program yay... ok, is there any code to the script keep doing something until it find a bitmap? i mean, a refresher that the script refresh, and refresh, and refresh more... and stop until it find CERTAIN random event (no any random, one specific)
ya you can use something like this (note not actual code just what you have to do) Code (Text): repeat (press key f5) (a procedure which when)findbitmap(xxxxxxxxxxxxxxx)then (press keys ctrl, alt and s) sprry i couldn't give you exact code as i don't have much time but that is how you do it and i think you are a good enough scripter to do it from there
I see, maybe my code example could help you. Code (Text): //author : put your name here <- //How to use : 1- select, with crosshair, the client window // 2- press on the cute green arrow above // 3- take a walk, have sex, cigarette, coffee,learn scar, etc. // 4- stop the script, with sexy the red sqarre // //How to edit: 1- take bitmap of your random even // 2- Script/Picture to String... // 3- replace evenBitmap by your specific even bitmap // 4- put your name after author // 5- give rep point to zav (just kidding) // 6- return to step 5 or second option of the 3rd step of "How to // use" explainations program EvenFinderV4234; var x,y, evenBitmap,randomEvenCpt :integer ; procedure refresherF5; begin KeyDown(116); //press F5 wait(15+random(5)); KeyUp(116); //release F5 wait(1000+random(8000)) //time to load new page end; //end of procedure procedure findEven; begin evenBitmap := BitmapFromString(80, 12, 'z78DAED97310' + 'E80300845AFE462E2AA49EF7F25579326E4237C444A0786569A4F' + '5F013BCE715CFB68DB7661BB3D06DB2B329679ACC9AE065F594F5' + '5CA3CBEFF8A145F45B27E5E95BDF04A822B79F725AEC7773744B3' + 'D697772B2C34B5F3162F869EC8E81899C856FB2D5FFBCEF127A62' + '59E9FAFA5F656E59B276B789998E1649A6FD767AF6EEEF5FE8DE9' + 'DA8C3FF9F81EE41B5DEDD76B5B99EF0DF89225F4'); while( not FindBitmap( evenBitmap, x,y) ) do //while even not found begin refresherF5 ; //refresh end; Writeln('Even found! omg weeeee!'); randomEvenCpt:= randomEvenCpt+1 ; SaveScreenshot( 'Even'+ inttostr(randomEvenCpt) ) //save screenshot of //of the even end; //end of procedure begin //start of the main program randomEvenCpt:=0 ; while( true ) do begin findEven; end; //end of while end. //end of program thx Marlene for rep!!! <3
Actuall, it already works, found 4 codestones yesterday, but my bitmap I took is not good, I took the bitmap on a random webpage. If you have a random even screenshot it !!! and send it to me . This way the script will register the evens. (I know for the codetones because they're in my inventory, also found some random shits like icecream ) oh also thx for rep