Jump to content
EN
Play

Forum

Quick ‘n Easy Server Loader (made by werty8763)


 Share

Recommended Posts

Waist of money

Good.night

I told you, you don't have to spend even a cent!

Just sell your MacBook and you will have enough to buy yourself a good PC with Windows!

  • Like 1

Share this post


Link to post
Share on other sites

If you wanted a really simple, no frills, ahk script that would quickly open your garage without the need for that horrible dialogue box

 

tyKYnka.jpg

 

then you could try this script.

 

Press Alt + F1 to tell it where you garage button is.

Press Pause to quickly open your garage.

 

ahk script

 

 

SplashTextOn,220,100, Garage Opener, `nPress Alt + F1 set Garage Position`n`nPress Pause to Open Garage

Sleep, 3000

SplashTextOff

 

!f1::

SplashTextOn,240,70, Garage Opener, `nClick on Garage Button when ready

KeyWait, LButton, D

MouseGetPos, xpos, ypos

SplashTextOff

return

 

Pause::

MouseMove, %xpos%, %ypos%, 0

click

sleep, 333

send, {enter 2}

return

 

 

 

Of course, you can really go to town on these scripts and make something quite cool.

Maybe I have already, maybe I havent! B)

 

Would still love to know if these scripts are against tanki rules.

 

sorry for the double post

I'm studying your post, and I'm quite confused right now..... :wacko: :lol:

Share this post


Link to post
Share on other sites

I'm studying your post, and I'm quite confused right now..... :wacko: :lol:

 

SplashTextOn,220,100, Garage Opener, `nPress Alt + F1 set Garage Position`n`nPress Pause to Open Garage

Sleep, 3000

SplashTextOff

 

This bit simply puts a splash message on your screen for 3000ms or 3 seconds before turning the text off. the (`n) means, "new line".

 

220, 100 are the dimensions of the box the message is displayed in.

Garage opener is the title of the box.

 


!f1::

SplashTextOn,240,70, Garage Opener, `nClick on Garage Button when ready

KeyWait, LButton, D

MouseGetPos, xpos, ypos

SplashTextOff

return

 

This bit is a hotkey alt + F1.

Because it is a hotkey, it doesn't get called until you press the hotkey.

The splash message tells you to click on the garage button but the the following instructions for the hotkey are halted until the left mouse button is pressed (D)own. Once pressed, we store the cursors x,y position into 2 variables named xpos and ypos. This can be whatever you like. These are then remembered for the whole time the script is running.

 


Pause::

MouseMove, %xpos%, %ypos%, 0

click

sleep, 333

send, {enter 2}

return

 

This is another hotkey but this time it is the Pause key. Once pressed, we're telling the mouse to move instantly (0) to the position we stored  earlier in memory. Then it clicks once, sleeps for 1/3rd of a second and finally presses the enter key twice for you to bypass the dialogue that usually pops up.

 

instead of the mousemove and click lines, you could replace with SendEvent.  Just read the manual.

 


 

*ps: nice job with the front page update. A lot easier to read.

Edited by AbsoluteZero

Share this post


Link to post
Share on other sites

 

SplashTextOn,220,100, Garage Opener, `nPress Alt + F1 set Garage Position`n`nPress Pause to Open Garage

Sleep, 3000

SplashTextOff

 

This bit simply puts a splash message on your screen for 3000ms or 3 seconds before turning the text off. the (`n) means, "new line".

 

220, 100 are the dimensions of the box the message is displayed in.

Garage opener is the title of the box.

 


!f1::

SplashTextOn,240,70, Garage Opener, `nClick on Garage Button when ready

KeyWait, LButton, D

MouseGetPos, xpos, ypos

SplashTextOff

return

 

This bit is a hotkey alt + F1.

Because it is a hotkey, it doesn't get called until you press the hotkey.

The splash message tells you to click on the garage button but the the following instructions for the hotkey are halted until the left mouse button is pressed (D)own. Once pressed, we store the cursors x,y position into 2 variables named xpos and ypos. This can be whatever you like. These are then remembered for the whole time the script is running.

 


Pause::

MouseMove, %xpos%, %ypos%, 0

click

sleep, 333

send, {enter 2}

return

 

This is another hotkey but this time it is the Pause key. Once pressed, we're telling the mouse to move instantly (0) to the position we stored  earlier in memory. Then it clicks once, sleeps for 1/3rd of a second and finally presses the enter key twice for you to bypass the dialogue that usually pops up.

 

instead of the mousemove and click lines, you could replace with SendEvent.  Just read the manual.

 


 

*ps: nice job with the front page update. A lot easier to read.

 

Thanks, now I can understand it better..... :D

And thanks, it took me quite a while to clean it up like that..... :)

Share this post


Link to post
Share on other sites

Major Update! :)

Check it out!! :D

Awesome! It looks really neat and organised now. Even the links are great. So is the well-matched title.

 

 

Really good explanation! Thanks. It helped me too understand more of AHK!

 

seriously!? When will it be out??!

Hopefully some day when TO approves my program.

Share this post


Link to post
Share on other sites

i hope they do because if they don't then I'll slap them silly

:lol:

It's called ToT (tanki online tools), and if you look somewhere in this topic (I think between pages 5-10 or something like that), you will find some pictures of it.... :)

Take a look at it, it really looks cool!! :D

I think RRMI did a great job.... ;)

Share this post


Link to post
Share on other sites

:lol:

It's called ToT (tanki online tools), and if you look somewhere in this topic (I think between pages 5-10 or something like that), you will find some pictures of it.... :)

Take a look at it, it really looks cool!! :D

I think RRMI did a great job.... ;)

ok

Share this post


Link to post
Share on other sites

i hope they do because if they don't then I'll slap them silly

Okay...that made me laugh...  :P

 

:lol:

It's called ToT (tanki online tools), and if you look somewhere in this topic (I think between pages 5-10 or something like that), you will find some pictures of it.... :)

Take a look at it, it really looks cool!! :D

I think RRMI did a great job.... ;)

Thanks!!  :D

Share this post


Link to post
Share on other sites

So yeah I coded this script like a month ago and I use it a lot just thought I'l tell you guys what it does. Basically when I click CTRL+S it switches me in to fake spectator within 2 seconds, when I click CTRL+M it moves my camera slowly towards my tank, when I click CTRL+U it turns my vertical speed slower, when I click CTRL+J my vertical speed goes back normal, when I click CTRL+R it makes my camera move to my tank really slowly and when I click CTRL+N it attaches my camera to my tank again. I might make a video to demonstrate later on.

Share this post


Link to post
Share on other sites

So yeah I coded this script like a month ago and I use it a lot just thought I'l tell you guys what it does. Basically when I click CTRL+S it switches me in to fake spectator within 2 seconds, when I click CTRL+M it moves my camera slowly towards my tank, when I click CTRL+U it turns my vertical speed slower, when I click CTRL+J my vertical speed goes back normal, when I click CTRL+R it makes my camera move to my tank really slowly and when I click CTRL+N it attaches my camera to my tank again. I might make a video to demonstrate later on.

Cool!! :D

Did you make it with AHK?

Share this post


Link to post
Share on other sites

cool, wish I could try it out. Learn JavaScript or something, I want to try it out

Nah, I don't have the time..... <_<

Besides, I like AHK...... ;)

It's nice an simple..... :D

  • Like 1

Share this post


Link to post
Share on other sites

This topic is now closed to further replies.
 Share

×
×
  • Create New...