misteralb

In-Game Staff
Tribal Wars Team
Team
Script Moderator
Reaction score
380
Author
RedAlert
Contributors
N/A
Quickbar Entry
javascript:$.getScript('https://twscripts.dev/scripts/massCommandTimer.js');
Public?
Public
Mass Command Timer

Approved: t14258011

mass-command-timer.jpg

This is how the script looks in practice:

Script requires Premium Account to be active.

For any bug, issue, help or suggestion feel free to reply on this thread.
 
Last edited:
Upvote 10

ULTRAFUSE

Non-stop Poster
Reaction score
237
Hi,

Thanks for the script, however would it be possible to leave coordinates underneath each other?
E.g.:
1
2
3
4

Instead of:
1 2 3 4
 

misteralb

In-Game Staff
Tribal Wars Team
Team
Script Moderator
Reaction score
380
Hi,

Thanks for the script, however would it be possible to leave coordinates underneath each other?
E.g.:
1
2
3
4

Instead of:
1 2 3 4


No it is not possible. Actually I am thinking on enforcing this format:
"xxx|xxx yyy|yyy"
even more and even automatically parse coords input whenever the user enters something like this:
"hello there xxx|xxx" to leave only xxx|xxx
 

.MAXIMUS.

Active Member
Reaction score
16
What have you change on it? , it doesn't even calculate a speed 1 world anymore.

Times are all messed up.

I would like to add that it was the perfect script before and you did a great job.
 
Last edited:

misteralb

In-Game Staff
Tribal Wars Team
Team
Script Moderator
Reaction score
380
Things that I have updated/improved are:
- https://prnt.sc/vts9e1 so highlight of the opened/sent command
- improved way how script handles destination coords

nothing was changed regarding logic of timing.

So I don't see how that could have changed.

Actually I just did also a test and have been using the script even after the updates and it has been worked correctly.

Only time the script did not work correctly was not the script's fault but because I was timing to send support and the player I was sending support too, had sigil of distress activated so his support travel times speed got affected. The script does not take into account those kind of buffs that affect support travel time speed.

Plan generated from the script:

Times calculated using attack planner built-in into TW Stats:

Here is how you can replicate what i have shown above:
Attacker player is RedAlert
landing time is 02/12/2020 15:00:00


so to me, seems to be working all fine.

Feel free to mail me using the forum built-in mail system with more details regarding the bug and/or feel free to join this Discord server, if you haven't already:
 
Last edited:

.MAXIMUS.

Active Member
Reaction score
16
Hmmm, maybe i had some sort of a bug yesterday.

It is working perfect now.

We really appreciate the work you put in to this, your scripts are of great value.
 

ULTRAFUSE

Non-stop Poster
Reaction score
237
Things that I have updated/improved are:
- https://prnt.sc/vts9e1 so highlight of the opened/sent command
- improved way how script handles destination coords

nothing was changed regarding logic of timing.

So I don't see how that could have changed.

Actually I just did also a test and have been using the script even after the updates and it has been worked correctly.

Only time the script did not work correctly was not the script's fault but because I was timing to send support and the player I was sending support too, had sigil of distress activated so his support travel times speed got affected. The script does not take into account those kind of buffs that affect support travel time speed.

Plan generated from the script:

Times calculated using attack planner built-in into TW Stats:

Here is how you can replicate what i have shown above:
Attacker player is RedAlert
landing time is 02/12/2020 15:00:00


so to me, seems to be working all fine.

Feel free to mail me using the forum built-in mail system with more details regarding the bug and/or feel free to join this Discord server, if you haven't already:

Would a function be added in the near future that only calculates to and from unique villages? aka no duplicate entries?
 

misteralb

In-Game Staff
Tribal Wars Team
Team
Script Moderator
Reaction score
380
@ULTRAFUSE ,
The short answer to that is no.

The long answer is because it would change this scripts logic and scope a lot.

This scripts job/scope is to find combinations. No matter what you want to do, attack/support and no matter the unit used. This script finds possible combinations, always if there are.

What you need is an attack planner if you need that capability I think I have another script like that which assigns villages:

Both of these scripts are not perfect though. They both suffer from the same issue ... notepad is limited on both number of characters but mostly number of pairing brackets :(

Issue with command timer is also when you save commands on notebook and you send attack/support ... you then need to clear references ... as I said, it is not perfect but for the moment will not change this part of the script.
 
Last edited:

.MAXIMUS.

Active Member
Reaction score
16
The last addition (SEND Button) makes this script even greater. Almost halving the time you need to send the attacks when they are saved on the notes.

Thank you for the valuable contribution you bring to the community.
 

misteralb

In-Game Staff
Tribal Wars Team
Team
Script Moderator
Reaction score
380
The last addition (SEND Button) makes this script even greater. Almost halving the time you need to send the attacks when they are saved on the notes.

Thank you for the valuable contribution you bring to the community.

Thanks. It also helps with another thing.

Since the notebook has a bracket limit and a characters limit by reducing the amount of brackets (which is what I did with the latest script update) it means you can save more commands on the notebook.
 

misteralb

In-Game Staff
Tribal Wars Team
Team
Script Moderator
Reaction score
380
Hello @Lucianooo ,

Strings to be translated:

Code:
'Mass Command Timer': 'Mass Command Timer',
Help: 'Help',
'Select Unit': 'Select Unit',
'Enter Coordinates': 'Enter Coordinates',
'Calculate Times': 'Calculate Times',
'Select Landing Time': 'Select Landing Time',
'Coordinates field is empty!': 'Coordinates field is empty!',
From: 'From',
To: 'To',
Distance: 'Distance',
'Travel Time': 'Travel Time',
'Launch Time': 'Launch Time',
Send: 'Send',
'No village can reach in time!': 'No village can reach in time!',
'This script requires Premium Account to be active!': 'This script requires Premium Account to be active!',
'possible combinations found': 'possible combinations found',
Unit: 'Unit',
Status: 'Status',
'Commands List Export': 'Commands List Export',
'Landing Time': 'Landing Time',
Command: 'Command',
 

Lucianooo

New Member
Reaction score
1
'Mass Command Timer': 'Hromadný plánovač',
Help: 'Pomoc',
'Select Unit': 'Vybrať jednotku',
'Enter Coordinates': 'Zadať koordináty',
'Calculate Times': 'Vypočítať časy',
'Select Landing Time': 'Zadať čas príchodu',
'Coordinates field is empty!': 'Koordináty nie sú vyplnené!',
From: 'Z',
To: 'Do',
Distance: 'Vzdialenosť',
'Travel Time': 'Trvanie',
'Launch Time': 'Čas odoslania',
Send: 'Odoslať',
'No village can reach in time!': 'Jednotky zo žiadnej dediny nestihnú doraziť včas!',
'This script requires Premium Account to be active!': 'Tento skript vyžaduje aktívny prémiový účet!',
'possible combinations found': 'možných kombinácií nájdených',
Unit: 'Jednotka',
Status: 'Stav',
'Commands List Export': 'Exportovať zoznam príkazov',
'Landing Time': 'Čas príchodu',
Command: 'Príkaz',
 

misteralb

In-Game Staff
Tribal Wars Team
Team
Script Moderator
Reaction score
380
Script updated to v2.0.0

1631199023451.png


This script update has no UI improvements but has logical improvements.

When you chose ram, now the script will check for each village if the village has rams to send, if not it will not show it as a possible command.
This works for all the other units also.

The other smaller script update is a new user input variable called "SEND_UNITS".

This variables takes as input this for example &ram=1&spy=1 which basically means send 1 ram and 1 spy.
Change ram/spy with whatever units you want.

For better results, whenever you have set to send rams, chose ram as the unit to time for ... when you want to send cats, time for cats ... this is because there could be villages which have rams but no cats and viceversa ... so different results will show up for different units.

Code:
javascript:var SEND_UNITS='&spy=1&catapult=1';$.getScript('https://dl.dropbox.com/s/cjyrdada3qa4unw/massCommandTimer.js');
 

misteralb

In-Game Staff
Tribal Wars Team
Team
Script Moderator
Reaction score
380
Script updated to v2.1.0

1631200400472.png


Added "Send in" timer.
 
Last edited:
Top