Forum


KDice flag enhancer brwoser script (beta)
panthar wrote
at 8:23 AM, Sunday September 7, 2014 EDT
Hi All,

Just finished this script, and feel that it's ready to be released to the KDice community for feedback.

Screen shot:
http://www.panthar.net/programs/KDiceFlagEnhancer/images/KDiceFlagEnhancer.png

What this script does:

1.)Flagging: At the bottom right of your screen you will see a table with all the players in the current game your playing. This table is to keep track of who flagged who, allow you to have easy flagging without having to type anything. This script will make intelligent guess's from the chat, about who flagged who-- it's not 100% perfect, but does a pretty good job of capturing who flagged who from the chat. If at any time the script does not update the flags correctly, you can always manually update the table to add a flag to the table that the script missed.

2.)Creates a "Smart Auto End Turn" checkbox, that is used in combination with the "Auto End Turn" checkbox. What this checkbox does, is if anyone attacks you during your turn you will no longer be "auto ending turn", but instead will be allowed to take your turn, so you can attack whoever attacked you, if you want.

3.)This is similar to deadcode, but we highlight every chat that has the word "flag" in it, and if we are unsure of who flagged, we will highlight it in red instead of gray.


INSTALL:

1.)If your using Chrome, download/install the "Tamper Monkey" browser plugin. If your using firefox download/install the "Grease Monkey" browser plugin.

2.)After your browser plugin is installed, goto https://gist.github.com/panthar1/d53edf48599a7557a419 and click on the "Raw" link. on the top right of the page This should bring up a plugin installation screen. Install the plugin.

3.)Once script has been successfully installed and is enabled, close the tab with KDice, and re-open KDice in a new tab. You should now see the features on your screen during game play.


Hope this script works out well for everyone. Please let me know of any bugs you find, either in this thread, or on the GIT page.

Thanks All! Happy Playing!

« First ‹ Previous Replies 11 - 20 of 41 Next › Last »
jurgen wrote
at 11:39 AM, Sunday September 7, 2014 EDT
actually, do we have to install new versions or is there an auto-update feature?
whimsical wrote
at 12:03 PM, Sunday September 7, 2014 EDT
true masters ignore flags
panthar wrote
at 12:52 PM, Sunday September 7, 2014 EDT
So I am not entirely sure how the update stuff works. How can I do that when git's RAW url changes when I update it? Do I need a host that always has the same file name I am guessing?

In either case, for now your going to have to manually update it.

I added some "simple" rank calculations like you suggested. I have not added the "flag 3rd" functionality yet though.
panthar wrote
at 1:09 PM, Sunday September 7, 2014 EDT
Okay added some simple checking for "flag 3rd" functionality.

Priority goes to "full color name", then to "flag 3rd" then to "player name" and lastly, miss-spelled color name.

That's all I am doing on this for today. Hope this is a bit of an improvement.
jurgen wrote
at 1:53 PM, Sunday September 7, 2014 EDT
gonna check it later, sounds pretty cool and thanks for all your work

if I remember correctly, deadcode's tools checked if there was an update available each time kdice was opened and updated the script if needed

maybe you can borrow his code or at least check how he did it (pretty sure it's open source code)
pizza_the_sIut wrote
at 4:21 PM, Sunday September 7, 2014 EDT
I did a quick review of his script (to give feedback, and to make sure there was nothing malicious) and what it implements, but you guys seem to be way ahead of where I was last night.

Jurg: Message me if you need any technical support/review/feedback on this.

Panth: Keep up the good work.
Slinus wrote
at 6:27 PM, Sunday September 7, 2014 EDT
Thanks for this, panthar. Keep it up.
Slinus wrote
at 7:18 PM, Sunday September 7, 2014 EDT
Actually. Change the position of "Auto end turn" PLEASE.
I lost so many rounds because I spam clicked "End Turn" and then turned on auto end without wanting to.
THRILLHO wrote
at 11:28 PM, Sunday September 7, 2014 EDT
Brown looks like a really bad player in your screenshot. Why would he flag to Blue? He's on the opposite side of the map and he's AFK.
Slinus wrote
at 2:01 AM, Monday September 8, 2014 EDT
Can't count the times I lost a place in just a few hours due to the positioning of this Auto end turn. Will have to deinstall again (for now).
Maybe you can fix it. :>
KDice - Multiplayer Dice War
KDice is a multiplayer strategy online game played in monthly competitions. It's like Risk. The goal is to win every territory on the map.
CREATED BY RYAN © 2006 - 2025
GAMES
G GPokr
Texas Holdem Poker
K KDice
Online Strategy
X XSketch
Online Pictionary