<< Back to Warzone Classic Forum   Search

Posts 1 - 8 of 8   
Order Clipboard Userscript for Local Deploy: 3/15/2022 15:20:33

andenrx
Level 54
Report
I really enjoy Local Deploy, but it can get reallly tedious on large (or even medium) sized maps.

In case you havent noticed this before, LD requires you to make a unique deployment for each bonus. Further, if you actually want to win you also need to make several orders to get the armies you deploy to a location where they can actually be useful. The worst part is that typically you make these same moves every single turn and then add a few turns on at the end that are important (not just a deploy or transfer).
For example, I'm currently in an LD game on the "Haunebu's and Vril's Fight of Europa 1vs1 version" QM template, and last turn I issued 64 orders. The map is Europe (https://www.warzone.com/SinglePlayer?PreviewMap=10895) which is not even that large of a map either (206 territories, 32 bonuses).

There have been many posts in the Uservoice trying to solve this issue, however, none of them has been added to the game yet. This is why I came up with a Userscript solution.



Order Clipboard Userscript

This Userscript allows you to use Ctrl-C to copy orders to the clipboard. Press Ctrl-V to paste the orders back into the game. Each game has a unique clipboard and the clipboard uses the browser's localstorage so that saved orders will persist between sessions. Saved orders are automatically deleted from localstorage after one week of inactivity (no copying or pasting).

Usage for Local Deploy

1. Make repetitive orders (ie. deploys and transfers)
2. Ctrl-C to copy
3. Make non-repetitive orders (ie. attacks)
4. Commit turn
5. Ctrl-V to paste the repetitive orders back into the game
6. Repeat from 1.



The script is available at https://greasyfork.org/en/scripts/441197-warzone-order-clipboard

See https://www.warzone.com/Forum/106092-mulis-userscript-tidy-up-dashboard for how to use a userscript.



There are two known issues

1. The script does not validate whether a move is valid. For example, you could paste a deploy onto a territory you no longer own. Warzone will give a vague error message if you try to commit an invalid order like this.

2. The script will fail if you try to paste an order that was not executed in the previous turn. For example, pasting playing a card when no cards were played last turn.
Order Clipboard Userscript for Local Deploy: 3/15/2022 15:28:04


καλλιστηι 
Level 61
Report
Does it honour attack, transfer only, attack by percentage?

Edited 3/15/2022 15:40:49
Order Clipboard Userscript for Local Deploy: 3/15/2022 15:40:02

andenrx
Level 54
Report
Yeah.

This should work for any order with any parameters (unless of course there's a bug).
Order Clipboard Userscript for Local Deploy: 3/15/2022 15:40:31


καλλιστηι 
Level 61
Report
Nice job!
Though I mostly play multi-day games. I would love to see the ability to save a clipboard for every game.
Order Clipboard Userscript for Local Deploy: 3/15/2022 16:33:07


JK_3 
Level 62
Report
Just A Dutchman made a mod that does exactly this (LD Helper mod)
Order Clipboard Userscript for Local Deploy: 3/15/2022 17:52:06

andenrx
Level 54
Report
It is pretty similar, although that was implemented as a mod, so I believe it only works in games that specifically enabled that mod. In particular, this would rule out Single player levels, QM, and games created by non-members.

Mine is a Userscript, so it does not matter how the game was created.
Order Clipboard Userscript for Local Deploy: 3/15/2022 21:17:55


καλλιστηι 
Level 61
Report
Yepity. This works even for games where you want to do lots of delays.
Individual clipboards for every game would be awesome, though.

Edited 3/15/2022 21:20:05
Order Clipboard Userscript for Local Deploy: 3/18/2022 18:23:57


καλλιστηι 
Level 61
Report
Alright.
It worked perfectly in Single-player, but when I tried to use it for https://www.warzone.com/MultiPlayer?GameID=30204259, it just gave up. Then I tried it on other (multi-day non-LD) games and it worked!

Edited 3/18/2022 18:25:32
Posts 1 - 8 of 8