This Greasemonkey script shows the map coordinates (of the hex under your mouse) in the top right of the Weewar menu. It also has the option to show the Weewar cursor around the hex if you click the coordinates in the menu. If you prefer this behavior, just edit the script and change the variable at the top to 'true'. So, without further ado, here's the link. http://straind.5gbfree.com/greasemonkey/weewar/weewarCoordinator.user.js
Where do I put it?
If you're running Firefox and Greasemonkey, just open the link and install it. Opera is another story, but I'm pretty sure userscripts work in the latest version. IE needs an add-on, but I don't know what it's called--maybe monkeygrease.
I use Safari I'll look around for monkey and grease
AFAIK, Weewar basically does not work under Opera [yet].
this is nifty... thanks!
that hex is really cool! tx
correction: "If you prefer this behavior, just edit the script and change the variable at the top to 'false'." you mean change the variable to 'true'. it already is 'false' and it's to 'show cursor', so true makes more sense if you want it to show the cursor.
really like it though! i'm wondering what else can be done...?
i'm wondering if something like, when an on/off switch to show all of your units and all of the places that all of them can go at once. also, what about future movements. and your opponent's possible places they can go on their next turn. would it be too much like cheating for these to be implemented, if it's even possible using greasemonkey or anything else?
While it might be possible to show where all your units could move, I wouldn't be interested in doing it the "right way". That would involve sending a request to the server for each unit and then either parsing the returned information or using Weewar's javascript to display it. That would be too hard on the server. The alternative would be to have all the movement figures in the script and calculate movement possibilities. I'm not interested in doing that, but it would likely be the only way to check your opponent's possible moves.
Thanks for catching my mistake. I've corrected it for those too lazy to read past the first post.![]()
here's another idea: in the hq, with greasemonkey or some other similar or dissimilar "thing", would it be possible to have games that are in need of attention the most (timewise) be shown first in the list?
That's possible. I might try that today if I have time. I'm starting a new project tomorrow (and 3 more very soon), and I'm afraid I won't have much time after today. I'm planning on modifying my notifier to watch for the triangle sign at the top when it's your turn on another game or you've got a new invite.
great! i'd even try it but i'm not having much luck with finding quick tips on how to write the script. do you have any suggestions about how to learn?
Wow, you can click the position thing to show/hide the cursor?
yep
I've made an Opera version: http://weewar.purepistos.net/weewar-coordinator-for-opera.user.js
Sending ...