miscellaneous

Forum > Miscellaneous > Bots4 Hotkeys
Reply To Thread (login)
Emanuel [49]
2010-12-21 18:51:46
[13 years, 132 days ago]

I've written a script that will allow you to set hotkeys for each of the train/fight again links at the end of every fight. To run it you'll need Firefox with the addon Greasemonkey, or Google Chrome.

http://userscripts.org/scripts/show/93307

Simply just click the green button that says "Install".

When it's installed you can go to the workshop, below the color settings you should see a new row that says "Hotkeys:" followed by 3 buttons. You can click these buttons to set your hotkeys, when you click on a button its text will change to "..." and wait for you to press a key.

Let me know what you think and please report any bugs you may find =)


 
Asmodeus [94]
2010-12-21 19:23:21
[13 years, 132 days ago]

It does work, rather well.


 
Spazz [62]
2010-12-22 00:45:51
[13 years, 131 days ago]

wow.awesome. works so far.


 
dragonrose [32]
Head Moderator
2010-12-22 04:30:23
[13 years, 131 days ago]

Works nicely in Chrome.

Great work pizzaman!


 
Off [101]
2010-12-22 04:40:57
[13 years, 131 days ago]

Nice job Emanuel :)

works fine with Chrome 9 :)


 
MrChad [77]
2010-12-22 23:13:13
[13 years, 130 days ago]

very cool :)


 
Jans [34]
2010-12-23 08:54:26
[13 years, 130 days ago]

nice!


 
Skitz1987 [68]
2010-12-23 23:09:56
[13 years, 129 days ago]

Awesome Works mad!

Can any body remember another add on from bots2 where it told you calculations up top of how much exp you needed to level how long a train/fight was taking. How many trains needed to level etc.

It was a greasemonkey program to what i remember. Dont even know if it would work on here or would you have to make a whole new one from scratch?


 
Emanuel [62]
2010-12-23 23:30:25
[13 years, 129 days ago]

Way ahead of ya :P

http://bots4.net/forum/8/93


 
Emanuel [78]
2011-03-18 10:35:12
[13 years, 45 days ago]

My statistics script has been installed over 150 times, while this one doesn't even have 50 installs.

It's a shame since this is just as awesome :)


 
Ecoueses [113]
2011-03-18 11:38:30
[13 years, 45 days ago]

i dont get this hotkeys thing.. ok i set mine.. and now what? im pressing it and nothing's happening.. :S:S


 
Emanuel [78]
2011-03-18 11:40:01
[13 years, 45 days ago]

What browser are you using?


 
Ecoueses [113]
2011-03-18 11:40:30
[13 years, 45 days ago]

chrome..


 
Jans [69]
2011-03-18 11:41:02
[13 years, 45 days ago]

Maybe goes without saying, but the hotkeys only work on a fight / train page.


 
Emanuel [78]
2011-03-18 11:42:06
[13 years, 45 days ago]

^ What he said.


 
Ecoueses [113]
2011-03-18 11:43:23
[13 years, 45 days ago]

i still dont get, what should happen when i press it? i should do train? on what lvl trainer? fight against who?


 
Jans [69]
2011-03-18 11:44:56
[13 years, 45 days ago]

It's not as advanced as an autoclicker ;)

The 3 keys correspond with the 3 links on the screen.

1 - Fight
2 - Fake Fight
3 - Back to list

Depending on where the 'Fight' link is shown, that's either key 1, 2 or 3


 
Ecoueses [113]
2011-03-18 11:47:36
[13 years, 45 days ago]

aa, now i get it, i tought it does shortcut, like, i can read forun and press hotkey and train, so i have to watch train, but i dont have to click :D thank you. also eat shit for that ac thing :D you're very kind son of a bitch.


 
Ecoueses [113]
2011-03-18 11:51:35
[13 years, 45 days ago]

btw, nice script Emanuel :D


 
Emanuel [78]
2011-03-18 11:54:31
[13 years, 45 days ago]

Thank you :)


 
Jans [69]
2011-03-18 12:02:21
[13 years, 45 days ago]

@Ecoueses: popi govno na slamku. Love you too ;)


 
Eco [76]
2011-03-18 12:04:44
[13 years, 45 days ago]

ghaghagh!, better dont, you'll get suspicious if you have any connection with Croatia :D


 
Emanuel [78]
2011-03-18 12:37:38
[13 years, 45 days ago]

The script has been updated to also work on the "already battling"-page.


 
Draoi [117]
2011-04-12 15:53:19
[13 years, 20 days ago]

Bump for great justice and an excellent extension.


 
Skeith [73]
2011-04-14 00:53:45
[13 years, 18 days ago]

Yet another amazing script, thank you Emanuel =D


 
Draoi [137]
2011-09-25 19:53:55
[12 years, 219 days ago]

Bump for amazingness as I put it on another computer!


 
Jans [85]
2011-10-01 13:45:35
[12 years, 213 days ago]

Reinstalled & loving it


 
ActiveX [146]
Head Moderator
2011-10-01 18:31:56
[12 years, 213 days ago]

2nd bestest script ev4h!!!!


 
Emanuel [145]
2013-03-30 09:03:40
[11 years, 32 days ago]

W00t, update!

Pressing any of the hotkeys while in the showroom will refresh the page (if there's a new delivery).

And wow, I wrote this more than 2 years ago. Also, it's gotten close to 1000 downloads.


 
Leader [92]
2013-03-30 09:52:32
[11 years, 32 days ago]

Thanks :D


 
Jans [87]
2013-05-09 17:31:35
[10 years, 357 days ago]

Oi Emanuel, on chrome-os, this script becomes kind of like an autoclicker - except it always auto-picks the first link, repeatedly, constantly, like every second.. I've been pissing all over Ender's toilet seat :)


 
ActiveX [193]
Head Moderator
2013-05-23 05:45:09
[10 years, 343 days ago]

I've been happily using the hot key script for ages. But today it went crazy & did exactly what Jans describes above.

Fix it please Manny :(


 
ActiveX [193]
Head Moderator
2013-05-23 05:57:12
[10 years, 343 days ago]

wiggin!

Manny suspects it may be something you've done. Can you shed any light on this?


 
Ender [1]
Administrator
2013-05-23 23:30:32
[10 years, 342 days ago]

I don't believe I've made any recent changes that would have affected this.


 
Port Royal [199]
2013-05-28 15:20:39
[10 years, 338 days ago]

Mine also will not work.


 
OneTarget [160]
2013-05-28 15:22:07
[10 years, 338 days ago]

no working, me want hotkeys


 
Jans [87]
2013-05-28 15:31:10
[10 years, 338 days ago]

Ender, maybe its a good idea to incorporate this into the game yourself?


 
Ender [1]
Administrator
2013-05-28 19:12:40
[10 years, 338 days ago]

I'm not against adding it, but it's not a priority, so you'll probably have better luck asking Emanuel to see if he can fix it in the meantime.


 
Emanuel [146]
2013-05-29 11:13:04
[10 years, 337 days ago]

Fixed :)


 
Sesshomaru [58]
2013-05-29 11:15:29
[10 years, 337 days ago]

Emanuel, working 10x faster on bugs than Ender will ever hope to xD


 
darkling [156]
2013-05-29 11:15:39
[10 years, 337 days ago]

Do you mind my asking what the problem was?


 
Jans [87]
2013-05-29 11:29:09
[10 years, 337 days ago]

Thanks Emanuel! I'll buy you a beer if you ever visit Holland.


 
ActiveX [198]
Head Moderator
2013-05-29 11:34:19
[10 years, 337 days ago]

MANNY!

It still doesn't work :'(


 
Port Royal [200]
2013-05-29 11:37:12
[10 years, 337 days ago]

Mine works fine, have you tried enable/disable and restarting firefox?


 
ActiveX [198]
Head Moderator
2013-05-29 11:40:18
[10 years, 337 days ago]

I'm using Chrome. & yes just tried that, no joy :'(


 
Adepto [190]
2013-05-29 11:43:14
[10 years, 337 days ago]

Still doesn't work for me on Chrome either.


 
Port Royal [200]
2013-05-29 11:46:15
[10 years, 337 days ago]

I'm using firefox, maybe there is also an issue with chrome now?


 
Emanuel [146]
2013-05-29 11:54:25
[10 years, 337 days ago]

What version of Chrome are you guys using? And are you sure you reinstalled the script?

Do you mind my asking what the problem was?

The script had a variable called location that collided with a variable already defined by the browser.


 
Emanuel [146]
2013-05-29 11:56:02
[10 years, 337 days ago]

Emanuel, working 10x faster on bugs than Ender will ever hope to xD

That's not really fair. It did take me 19 days to fix this, and the bugs Ender have to deal with are usually a lot more complex.


 
ActiveX [198]
Head Moderator
2013-05-29 12:02:44
[10 years, 337 days ago]

hmm I've deleted again, but I'm having trouble connecting to userscripts.org.

I'll try again later.

Thanks for your help Msnny, I'll buy you a pizza if you come to England ;)


 
Port Royal [200]
2013-05-29 12:09:33
[10 years, 337 days ago]

Emanuel, working 10x faster on bugs than Ender will ever hope to xD

I agree with Emanuel, Ender has to run the whole game, Emanuel just had to edit 1 script.


 
ActiveX [198]
Head Moderator
2013-05-29 12:10:02
[10 years, 337 days ago]

Ok please be aware that I suck at this interwebs stuff, but I get directed here

Is this the issue Manny? Or is it me ^^


 
Sesshomaru [58]
2013-05-29 12:14:06
[10 years, 337 days ago]

Oh how was I supposed to know he had been at it for 19 days? Am I a psychic? Give me a break. I only saw him come on today and thought he'd fixed it within an hour or something.

Bashing me Port Royal isn't very nice either. And it wasn't meant to be mean, it's just a fact, I was referencing that Emanuel only has to work on a few scripts so therefore he can work faster than Ender.


 
Port Royal [200]
2013-05-29 12:17:25
[10 years, 337 days ago]

Bashing me Port Royal isn't very nice either. And it wasn't meant to be mean, it's just a fact, I was referencing that Emanuel only has to work on a few scripts so therefore he can work faster than Ender.

Wasn't bashing you, was just stating a point. Also, Jans posted in this thread 19 days ago, thought you would've seen that from scrolling through the posts but you must have missed it. No "bashing" intended.


 
Sesshomaru [58]
2013-05-29 12:20:47
[10 years, 337 days ago]

Nah, I didn't see it. But I wouldn't have known if Emanuel was working on it then anyway.

Built: 2013-05-26 12:57:52 [2 days ago]

Only started two days ago :/

But that's alright. Carry on with tech support talk :)


 
ActiveX [198]
Head Moderator
2013-05-29 12:50:32
[10 years, 337 days ago]

ok with the help of the lovely Jans I've got it working :D

If anyone else is as useless as me, try this:

  • Right click the install button
  • select 'Save as'
  • find the file in your downloads
  • drag & drop into your Chrome extensions

 
Emanuel [146]
2013-05-29 13:15:14
[10 years, 337 days ago]

Yup, there have been some changes to Chrome, so it's no longer possible to install scripts directly from userscripts.org, instead you have to do what ActiveX said.

Does it work for you now, Adepto?


 
Ender [1]
Administrator
2013-05-30 18:34:52
[10 years, 336 days ago]

Cool, thanks Emanuel.


 
Cali [87]
2013-06-07 06:45:33
[10 years, 328 days ago]

great addition :) such a good improvement to my study, soo much easier to multi task now :D more time for bots, thanks a heap rose for explaining it all 'slowely' :P


 
xHolyWrath [54]
2013-06-13 19:21:39
[10 years, 322 days ago]

Hi Emmanuel,

I'm not sure if others who use chrome are experiencing my problem. But the script does not work as intended and I had to edit it in tampermonkey by replacing the window.location = linkHrefs[i] line with window.location.replace('http://bots4.net' + linkHrefs[i]);

Thanks for the script and regards.


 
Zyper [21]
2014-09-20 16:49:33
[9 years, 223 days ago]

When I start a fight, it just freezes at the first line.

"Zyper vs. Zord [22.9s] Zord yells: "WAAARRHRH!!"

Zyper wounded Zord with its syzygy shiv. (3 damage) Zord is in good shape."

That's all that shows


 
Satanus Inaximasus [297]
2014-09-21 13:24:56
[9 years, 222 days ago]

its cause its shit iguess it needs updating now


 
Emanuel [167]
2014-11-06 19:05:31
[9 years, 176 days ago]

I just rewrote this as a Google Chrome extension for the Chrome Web Store. It's publishing as we speak, but that might take up to an hour, and it's way past my bedtime, so you'll get a link tomorrow :)


 
Trio [358]
2014-11-06 22:07:39
[9 years, 176 days ago]

Woohoo! New we need other ones to follow suit; fight simulator and statistics at least for me.


 
dragonrose [37]
Head Moderator
2014-11-07 02:00:29
[9 years, 175 days ago]

love you Manny <3

/me showers Manny with pizza


 
Emanuel [167]
2014-11-07 06:04:09
[9 years, 175 days ago]

https://chrome.google.com/webstore/detail/bots4-hotkeys/hlaengoblfldnpaddfbnblfkdimclbln

There it is!

Note that it (obviously) only works for Google Chrome, and you now set the hotkeys on the extension's option page, rather than in the workshop. You can find the options page at chrome://extensions (or through the menu in Chrome: More tools -> Extensions). Just click the link that says "Options" next to the extension.

http://pasteboard.co/1wkvjtmS.png


 
Emanuel [167]
2014-11-07 06:10:10
[9 years, 175 days ago]

Woohoo! New we need other ones to follow suit; fight simulator and statistics at least for me.

I get that, but that includes a lot of work. I will probably get to it eventually, though.

The statistics one could probably be shortened down a bit, I mean, how many actually used the drag 'n' drop feature? Or the "trainevasionpercent" and some of the other meaningless stats? :P


 
Mithrandon [178]
2014-11-07 13:36:18
[9 years, 175 days ago]

works great, thank Emanuel


 
BaronStone [38]
2015-04-13 22:46:36
[9 years, 18 days ago]

Hi, Everytime I go into combat it freezes. I am running firefox and it installed just fine. Does anyone know how to fix this problem?


 
karnage219 [35]
2015-04-14 21:29:03
[9 years, 17 days ago]

@BaronStone I have the same problem with firefox/greasemonkey but it seems to be working just fine with chrome/tampermonkey


 
evolut10n [1]
2015-05-06 15:41:58
[8 years, 360 days ago]

nice...


 
Phyrize [53]
2017-05-29 16:01:26
[6 years, 336 days ago]

I think this script is broken for Firefox 53.0.3. Any suggestions?


 
Gpof2 [131]
2017-05-29 16:06:12
[6 years, 336 days ago]

Try using greasemonkey and adding the script with that.


 
Phyrize [53]
2017-05-29 16:08:39
[6 years, 336 days ago]

Did that, but Bots4 freezes up when I run it.


 
Gpof2 [131]
2017-05-29 16:13:54
[6 years, 336 days ago]

That's odd, it's working fine for me. I'm not entirely sure which rendition I'm using in Firefox though as it's been updated before.


 
Phyrize [53]
2017-05-29 16:19:35
[6 years, 336 days ago]

Got it working on Chrome... don't know what's keeping it from working properly on Firefox >.<


 
Gpof2 [131]
2017-05-29 16:27:59
[6 years, 336 days ago]

I believe I used the script linked in the original post, but copy pasted the source code manually to greasemonkey. I'm not sure what else I might have done as it's been years since I've touched it at all.


 
Phyrize [54]
2017-05-29 16:30:07
[6 years, 336 days ago]

I'll just play on Chrome to avoid any issues. Thanks again for the quick response and help! You're awesome!


 
Gpof2 [131]
2017-05-29 16:32:48
[6 years, 336 days ago]

No problem, just wish my memory was a bit better to help properly. It's probably for the best you play in Chrome anyway, I recall Firefox actually lagging behind in fight/train times (a 10 second fight will actually take 12 seconds to finish if you stay on the page for example).


 
Phyrize [54]
2017-05-29 16:35:38
[6 years, 336 days ago]

Good to know. Thanks again! ^_^


 
Trio [367]
2022-08-13 09:06:35
[1 year, 259 days ago]

Found this again, SO happy hotkeys once again are fixed. Darn Chrome updates over the decade.


 
Forum > Miscellaneous > Bots4 Hotkeys
Reply To Thread (login)