SRL Archive - Other Scripts

King of buttons V1


Hobbit

2006-12-23 01:36:41

Here is another one of my pointless scripts…I'm working on V2 right now…there is a version 2 cause right now v1 only clicks it once…its better then my last script lol…it sorta does more…:stirthepot:

//Made by Hobbit
//==Set-up==
//Go to http://www.addictinggames.com/kingofbuttons.html
//Then click the endurance option
//Begin at the play screen...Do NOT press play the script does that for you
//Silent Mouse MUST be OFF!

program KingOfButtons;

const
//------------------------------------------------------------------------------
// Co-ordinates for play button
//------------------------------------------------------------------------------
x=152;
y=211;
//------------------------------------------------------------------------------
// Co-ordinates for button in game
//------------------------------------------------------------------------------
x_coords=275;
y_coords=247;
//------------------------------------------------------------------------------
// Time between clicks
//------------------------------------------------------------------------------
wait_time=75;//in miliseconds

begin
HoldMouse(x,y,true);
Wait(wait_time);
ReleaseMouse(x,y,true);

begin
HoldMouse(x_coords,y_coords,true);
Wait(wait_time);
ReleaseMouse(x_coords,y_coords,true);
end;
end.

c0de

2006-12-23 11:38:33

just put in repeat

Hobbit

2006-12-24 15:59:56

i know….i had to go but i wanted to post first..don't ask why…i do dumb things sometimes:duh: :D

Wool

2006-12-26 20:26:11

Lol, looked like fun to do somthing for this pointless game
Was bored and made them in about 10 minuts
These work fine for me idk about anyone else :D




This does the Time Attack game

{ Button_P00N3R Time Attack 1.00          ___                      |
______ _______ | |\\\\\\\ |
\ \ _ / / | |\\\\\\\\\\ |
\ \_/ \_/ / ______ ______ | |\\\\\\\\\\\\\ |
\ __ / | _ | | _ | | |\\\\\\\\\\\\\\\\ |
\ / \ / | |*| | | |*| | | |\\\\\\\\\\\\\\\\\\\ |
\___/ \___/ |______| |______| |___|\\\\\\\\\\\\\\\\\\\\\|
|
1.Get to the screen with the game options |
2.Lower below game screen |
3.Drag Crosshairs to game |
4.Press play |
___________________________________________________________________|////
//
Dear Hobbit, //
Hey Hobbit, this looked kinda fun to do. Not trying to Steal any //
idea's just wanted to try it and show my own version Im sure you dont //
mind. =] //
//
Thx for the button pressing procedure idea =] //
//
////////////////////////////////////////////////////////////////////////
//
Description //
Does Time Attack for you in the game: //
//
King of buttons //
//
//
////////////////////////////////////////////////////////////////////////
}

program buttonP00ner;

{.include srl/srl.scar}


var
click : integer;

//*******************************START**********************************\\

procedure ClickTimeAttack;
begin
findcolor(x,y,253,318, 177,454, 252)
mouse(x,y,1,1,true);
end;

//---------------------------------------------------------------------\\

procedure Clickplay;
begin
findcolor(x,y,255,2,3,544,396)
mouse(x,y,1,1,true);
end;

//---------------------------------------------------------------------\\

procedure press;
begin
mousespeed:=30;
findcolor(x,y,253,185,184,372,310)
HoldMouse(x,y,true);
Wait(1);
ReleaseMouse(x,y,true);
click:= click + 1
end;

//---------------------------------------------------------------------\\

begin
setupsrl;
clicktimeattack;
ClickPlay;
repeat
press;
until(click=5000)
end.

//---------------------------------------------------------------------\\



This does the Enderance game

{ Button_P00N3R Enderance 1.00            ___                      |
______ _______ | |\\\\\\\ |
\ \ _ / / | |\\\\\\\\\\ |
\ \_/ \_/ / ______ ______ | |\\\\\\\\\\\\\ |
\ __ / | _ | | _ | | |\\\\\\\\\\\\\\\\ |
\ / \ / | |*| | | |*| | | |\\\\\\\\\\\\\\\\\\\ |
\___/ \___/ |______| |______| |___|\\\\\\\\\\\\\\\\\\\\\|
|
1.Get to the screen with the game options |
2.Lower below game screen |
3.Drag Crosshairs to game |
4.Set up lines 42-43 |
5.Press play |
___________________________________________________________________|////
//
Dear Hobbit, //
Hey Hobbit, this looked kinda fun to do. Not trying to Steal any //
idea's just wanted to try it and show my own version Im sure you dont //
mind. =] //
//
Thx for the button pressing procedure idea =] //
//
////////////////////////////////////////////////////////////////////////
//
Description //
Does Enderance for you in the game: //
//
King of buttons //
//
Press (CTRL + ALT + S) to stop the script //
//
////////////////////////////////////////////////////////////////////////
}

program buttonP00ner;

{.include srl/srl.scar}


var
click : integer;

/////////////////////////////////////////////////////////////////////////
const //
times =2000; //Total amount of times to press button //
//
/////////////////////////////////////////////////////////////////////////


//*******************************START**********************************\\

procedure Clickenderance;
begin
findcolor(x,y,228,75,175,174,255)
mouse(x,y,1,1,true);
end;

//---------------------------------------------------------------------\\

procedure Clickplay;
begin
findcolor(x,y,255,8,8,540,396)
mouse(x,y,1,1,true);
end;

//---------------------------------------------------------------------\\

procedure press;
begin
mousespeed:=30;
findcolor(x,y,253,185,184,372,310)
HoldMouse(x,y,true);
Wait(1);
ReleaseMouse(x,y,true);
click:= click + 1
end;

//---------------------------------------------------------------------\\

begin
setupsrl;
Clickenderance;
ClickPlay;
repeat
press;
until(click=times)
end.

//---------------------------------------------------------------------\\


Gonna do others but not now

Hobbit

2006-12-28 01:28:57

:spot: There now I finally had time to complete it..called Version 2…it is better…it even types name into high scores and the varriable setting works

At start of script give it time to begin sometimes it takes a few seconds