r/TagproScripts • • Apr 27 '15

Userscript Update [UserScript Update]: Win/Loss Timeline with Options Menu

6 Upvotes

Script: http://pastebin.com/EisCbfq8
Screenshot: http://imgur.com/LCf71iy

Adds an options menu, and some other small improvements.

NOTE: You shouldn't lose any of your current saved games with this update.


How to install Userscripts (using Chrome)...

  1. Install the TamperMonkey extension (http://tampermonkey.net)

  2. Once it's installed, click the icon (looks like 2 circles inside a rectangle) and choose "Add a new script"

  3. Delete any text already in the editor.

  4. Copy/Paste the new Userscript text - it starts with: // ==UserScript==

  5. Click Save.

  6. Done! The script will now automatically run whenever your on the webpage/s it's designed for.


r/TagproScripts • • Aug 16 '18

TPUL, the TagPro Userscript Library

5 Upvotes

Adding user-editable options to your script is a mess. Most userscript authors make the users edit the script's code directly, which is far from user-friendly and will reset after every script update. Some scripts place hard-to-find buttons all over the place on the homepage or in-game.

That's why I created TPUL, which (among other things) lets a userscript author create a configuration popup in just a few lines. The styling, placing of buttons and storing of the options is all done by TPUL, with a consistent experience for all scripts that use it.

Preview images (this took about 20 lines of code)

Other features

  • Create buttons on the scoreboard/on top of the page (depending on the context).

  • Create configuration windows, with all kinds of variables, layout, tabs.. (it'll also create a button that opens the config)

  • Request a profile's id/info/settings/stats and update the settings from anywhere.

  • Built-in Rolling Chat, mainly targeted at being able to roll while a config-window is open.

Links

To use this library, include these lines in your userscripts' metadata block:

// @require      https://greasyfork.org/scripts/371240/code/TagPro%20Userscript%20Library.js
// @grant        GM_setValue
// @grant        GM_getValue
// @grant        GM_xmlhttpRequest
// @connect      koalabeast.com

r/TagproScripts • • Sep 24 '16

[Userscript] TagPro Game Notification

5 Upvotes

Gives you a notification when a game is about to start and you're not in the tab to see it happen.

Helps against being kicked for AFK. For example when; you got distracted in between games (browsing reddit for example, why not? :P ), or when some fool is launching an old group without telling you. Also, it's not your fault you turned off the in-game sounds, and started blasting music from your speakers.

The script gives you a notification 5 of seconds before the game starts. (Because we sure as hell aren't going to wait the default 20 seconds waiting time) You can also change it to some other value. And when you join an active game, it gives a notification immediately. Clicking the notification brings you to the game.

Here it is: http://pastebin.com/qSKhC6fb

Keep in mind I'm still pretty noob at coding, so don't blame me if your rig explodes.

Cheers.


r/TagproScripts • • Mar 10 '16

[Help] I'm trying to write a script that would easily turn your stats on or off via button available site wide.

5 Upvotes

I tried looking at a bunch of example userscripts, and spent a half hour looking through the api. I've been on the the irc a couple times but can't seem to talk to anyone there. I just have a few questions, it would be fantastic if someone who is experienced with this could answer a few of them ;)

Thanks :D


r/TagproScripts • • Dec 12 '15

Userscript My first userscript: Back to group button

Thumbnail
gist.github.com
5 Upvotes

r/TagproScripts • • Oct 18 '15

[Request] Chat macro script that will choose a random chat off of a list.

5 Upvotes

I'd like to assign a list of words or phrases to a single key to be randomly chatted.

For example: Hitting the d key would choose a random chat from this list.

  • doot doot

  • 2Spooky4Sloppy

  • Got Calcium?


r/TagproScripts • • Sep 10 '15

[Request] Null movement cancellation.

5 Upvotes

I just learned today about null movement cancellation scripts used in a lot of source games. What it does is prevent opposite movement key presses from cancelling each other out. In other words, you're always moving in the direction of the last key you press (or last two if they are diagonal).

I believe this would significantly improve anyone's juking ability if they get used to it. Without the script, you have to release one key and then press the opposite key to switch directions. In between the key presses there's a gap where no key is being pressed. With the script, there would be no gap, so it would almost have the same effect as lower ping.

This is how it's implemented in source games, it might help any script devs to make it.

bind w +mfwd
bind s +mback
bind a +mleft
bind d +mright

alias +mfwd "-back;+forward;alias checkfwd +forward"
alias +mback "-forward;+back;alias checkback +back"
alias +mleft "-moveright;+moveleft;alias checkleft +moveleft"
alias +mright "-moveleft;+moveright;alias checkright +moveright"
alias -mfwd "-forward;checkback;alias checkfwd none"
alias -mback "-back;checkfwd;alias checkback none"
alias -mleft "-moveleft;checkright;alias checkleft none"
alias -mright "-moveright;checkleft;alias checkright none"
alias checkfwd none
alias checkback none
alias checkleft none
alias checkright none
alias none ""

r/TagproScripts • • Aug 13 '15

[Request] Can anyone make a script that records what place you were in the leaderboard?

5 Upvotes

r/TagproScripts • • Aug 04 '15

Userscript Update Random flairs userscript revamp!

5 Upvotes

My random flairs userscript has now been significantly updated, which most importantly means it should now actually work for everyone (hopefully) and will no longer redirect you to your profile or anything like that! Hurrah!

The other big change is that it will detect your flairs automatically so won't need updated each time a new flair is added (no more waiting for me to earn it before you get to use it!). It also now toggles your flair even while you're PUB-ing in a group which was missing from previous versions.

The one downside of this update is that it is no longer compatible with my favicon flair userscript. However, to make up for that, I've included the ability to change your favicon (the wee icon next to the tab name) to your current flair within this userscript too - toggle this option using the 'Change favicon' checkbox at the bottom of your list of flairs on your profile.

If anyone finds any bugs or has any issues or suggestions, please do let me know!

Get the userscript here

Edit: kazoo pointed out this was accidentally locked to Chord, it's now updated so it'll work on any server!


r/TagproScripts • • Jul 16 '15

Call for help, I need a mod to replace me, and run this sub well!

5 Upvotes

When I first stepped up to mod this sub, I didn't realize how involved I would have to get if I was to really make the sub work well with LTP rules. Now, I have much less time on my hands then previously, and with the new rule changes I simply will not be able to keep up, and quite frankly could use the down time instead of taking extra responsibility.

 
This being said, I need someone who is able and willing to devote the time to work with Leagues rules to make this sub a great place for both league and non-league players.

 
Please let me know if you are interested.


r/TagproScripts • • Jul 16 '15

LTP Rules Update, Please Read!

5 Upvotes

As of now, all the rules for LTP mentioned in this subreddit are outdated. See here for updated rules.


r/TagproScripts • • Jun 26 '15

[Request] Script to keep track of my time in game.

5 Upvotes

From when it's installed it starts counting up game time. It should count on the whole tagpro site, and all of the maptest servers, and display it on the home page.


r/TagproScripts • • Jun 17 '15

[Request] A small on-screen button I can click to enter/exit full screen on TagPro.

5 Upvotes

As someone who plays full screen all the time, when I go to hit fn+F11 I'll sometimes mistype F10 or F12. F12 brings up the Chrome Console and lags me out for a few seconds while I panic to close it.

So, a small little unintrusive enter/exit full screen button in the corner of the screen would be helpful!

Thanks


r/TagproScripts • • May 31 '15

[Request] An Update to the TSV Collection Script to Include Number of Powerups (X-Post /r/TagPro)

5 Upvotes

If it already exists please link me. :) I'd love to include Powerups in ELTP GASP for next season.


r/TagproScripts • • May 30 '15

[Request] Change name upon button press.

5 Upvotes

If I were to hypothetically juke out a good defender, in this situation named "Thin", I would like to express my jubilation, macros are plain fucking rude, so on the press of a button I would like my name to be changed to a preset name, like a macro, but for my name, which is far less rude. :D


r/TagproScripts • • May 26 '15

[Request] A script to fix sounds being skipped, like NewCompte's sound extension did.

5 Upvotes

r/TagproScripts • • Apr 25 '15

Request Fufilled [Request] Ball Stabilizer

5 Upvotes

Hiya, requesting a script that on the press of a button, your ball will stabilize on the tile it is currently most on, ie: it would dead center and not move from that tile's center point, so say if you are surrounded by enemy gates, see SNES, you would stay alive.


r/TagproScripts • • Apr 22 '15

I'm not the original author but I updated Some Ball -1's End of Game Timer userscript so that it counts down from 25 seconds rather than 20 (introduced by Tagpro v3.2)

5 Upvotes

Not sure if I'm allowed to make changes to userscripts and post them here but here is the link to the newly updated userscript. Before v3.2, it counted down from 20 seconds but now it counts down from 25.


r/TagproScripts • • Apr 22 '15

Userscript Update Two updates in one post: Random Flair and Favicon Flair

5 Upvotes

Both my random flair userscript and my favicon flair userscript have been updated to support the new win rate flairs. First to 300 games gets to bug test for me!


r/TagproScripts • • Apr 19 '15

Userscript TagPro Team Switcher

5 Upvotes

Switch teams quickly, either to the other team or to the other team and back automatically. Initiate through icons on the top-right of the screen or with configurable shortcut keys (which are off by default).

Direct download here.

Code here.


r/TagproScripts • • Apr 13 '15

Request Fufilled Would anyone be kind enough to edit this userscript created by /u/snaps_?

5 Upvotes

Hi, I'm currently using Browncoat's team count indicator and it works very well. However, /u/snaps_'s flag carrier name userscript puts the name right over the team indicator balls. If someone could edit the script so the flag carrier text appears alongside the flag icon then that would allow these two scripts to work together perfectly. Thank you!


r/TagproScripts • • Apr 08 '15

[Request] Can Someone Make Caw Caw Flag Highlights Work for Center Flag?

5 Upvotes

I tried it once, turns out I don't know how to code. Here is a link to the script I want it to turn the color of the team that has the flag.


r/TagproScripts • • Apr 05 '15

Userscript Update Yet another update as Random Flairs now supports random carrots!

Thumbnail
github.com
5 Upvotes

r/TagproScripts • • Mar 29 '15

[Request] Display a countdown at the daily, weekly and monthly leaderboard that runs until it's reset (and flair is awarded for top 3 players)

5 Upvotes

Sometimes it gets rather difficult to know how much time is left when you are in for daily for example because of the different time zones.


r/TagproScripts • • Mar 18 '15

Userscript Change the TagPro favicon to your current flair

5 Upvotes

As suggested here, this will change the favicon (the wee icon up by the tab name) to whatever flair you're currently wearing.

Get the userscript here!

I've tested it in Chrome and it seems to work fine. I've not tried Firefox, but I see no reason why it wouldn't be happy. Let me know if you find any problems and I'll try and fix things!

Note that it needs initialized, that is, you'll need to change your flair once when you first install the userscript, after which it will update the flair accordingly. Also, for those of you also using my random flairs userscript, be sure to read the compatibility notes in the readme to ensure this works with that!