RedAlert

Senior In-Game Staff
Tribal Wars Team
Senior
Team
Script Moderator
Reaction score
707
Author
RedAlert
Contributors
N/A
Quickbar Entry
javascript:$.getScript('https://twscripts.dev/scripts/cancelSnipe.js');
Public?
Public
1639612390953.png

This script can be run only on an active Command.

I am really lazy when it comes to calculating cancel time of command for cancel sniping so this script helps with that.
The script calculates the cancel snipe time and provides input so the player can act on that.

The player has to manually click on the "cancel" link, the script does not do that.

Here is how the script looks like in action:


Feel free to reply to this thread if you have any suggestions, need help, or found a bug in this script.
 
Last edited:
Upvote 0

En3rgy

New Member
Reaction score
1
The "Cancel In: xxx" timer doesn't seem to update, unless i press the 'Calculate Cancel Snipe' button. (contrary to the video)

Also there is no indication of the timers in ms, I think that'd be very helpful.
 

RedAlert

Senior In-Game Staff
Tribal Wars Team
Senior
Team
Script Moderator
Reaction score
707
The "Cancel In: xxx" timer doesn't seem to update, unless i press the 'Calculate Cancel Snipe' button. (contrary to the video)

Also there is no indication of the timers in ms, I think that'd be very helpful.

Regarding the Cancel in XXX does not seem to update, will have to check.

Regarding adding the ms, don't know if it's needed really since it kind of would be incorrect. As a player, you can cancel the command during the whole second and it will still go back at the same millisecond it was about to land.

Example if your land time is 10:00:00:460, if you cancel this command at any given millisecond, it will return back home on 460 milliseconds on a given second.
 

guhra

New Member
Reaction score
1
the 1 time the timer worked it was fine, the rest of the times the timer was stuck, the result was 1 second off
 
Last edited:

Adeptus Lost.

Member
Reaction score
1
I assume this script is discontinued as it doesnt work shame. I'm pretty sure I'm using the script correctly. I have been trying different things over the last day or so and for some reason it just doesnt calculate The time. I'm stuck in the stone age ;) Using notepad and Time Calculator.
 
Last edited:

RedAlert

Senior In-Game Staff
Tribal Wars Team
Senior
Team
Script Moderator
Reaction score
707
I assume this script is discontinued as it doesnt work shame. I'm pretty sure I'm using the script correctly. I have been trying different things over the last day or so and for some reason it just doesnt calculate The time. I'm stuck in the stone age ;) Using notepad and Time Calculator.
The script is not discontinued. Just might be buggy.

I haven't played in a while and even when I do play, this is one of the least most used scripts, for me personally. So I'm saying this to convey that this script has not been tested enough from me and yes it might have bugs.

I will have to test it out and see what's wrong with it.
 

Adeptus Lost.

Member
Reaction score
1
The script is not discontinued. Just might be buggy.

I haven't played in a while and even when I do play, this is one of the least most used scripts, for me personally. So I'm saying this to convey that this script has not been tested enough from me and yes it might have bugs.

I will have to test it out and see what's wrong with it.
Hey thank you very much! for the reply It's has no error's or anything like that. Just when you load the script input your landing time, It refreshing but gives out no calculations or anything infact just stays the same. Like It's missing it's fuction if you know what i mean sorry i'm no coder so i can't give a better description. I'm following you so i eagerly await your return and perhaps you testing and fixing the script. :)
 
Reaction score
0
Cancel time seems to be calculating correctly. The Cancel in countdown timer sometimes lags behind Cancel time by a second.
After changing the time, reload the page and run the script again and the countdown will go again. But again, the countdown is not always correct.
Focus on Cancel time and don't pay attention to the timer and everything will be fine.

And the snipe must be send an even number of seconds before the incoming attack. If send for an odd number of seconds before the attack will not work, the troops pass equally in both directions and return either a second later than the attack or a second earlier, no matter how to cancel.
In short, a good script. If fix the timer and the fact that it has to reload the script will be perfect.
 
Last edited:
Top