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/fakeScriptGenerator.js');
Public?
Public
fake-script-generator.jpg

This script can be used to generate sequential and random fake scripts (random is selected by default).
You can also customize the amount of troops you want to send using this script.

This allows for this script to generate scripts which can be used for fakes, fangs, scouting missions and with some initial setup even for sending nukes.

This is how the script looks like in action:


If you need help with this script, found any bug or have a suggestion feel free to reply on this thread.
 
Last edited:
Upvote 1

misteralb

In-Game Staff
Tribal Wars Team
Team
Script Moderator
Reaction score
380
Script updated to version 2.7.0

1650057039733.png

Changelog:

- Now you can filter resulting villages from minimum and maximum points.

Here is a break down of the 4 scenarios that could happen with this new feature and what to expect as a player:
  1. If you leave the fields unfilled then all villages will be shown and no point filter will be applied.
  2. If only minPoints will be filled, then all villages shown, will have more bigger then minPoints value.
  3. If only maxPoints will be filled, then all villages shown, will have less points then maxPoints value.
  4. If both values are filled then all villages shown will have more points then minPoints and less points then maxPoints.

If you need help with this script, found any bug or have a suggestion feel free to reply on this thread.
 

Snowbrand

Well-Known Member
Reaction score
48
Using min and max coord doesn't seem to be working. Tried different things, but it seems like it might be broken.

"Script could not be generated since nothing could fit into the specified criteria!"
 

misteralb

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

I just tested the min/max points filtering and works okay. The generated script had only villages on the points range I had specified.

Whenever saying that something does not work, please provide as much information as possible since it helps the script author (in this case me) to investigate the issue.
 

Snowbrand

Well-Known Member
Reaction score
48
Hello @Snowbrand,

I just tested the min/max points filtering and works okay. The generated script had only villages on the points range I had specified.

Whenever saying that something does not work, please provide as much information as possible since it helps the script author (in this case me) to investigate the issue.


That's weird. Okay, here is a screenshoot then. Guess I'm doing smth wrong, can't figure out what tho. Here I use a tribe as an example, used players before but neither seems to work for me. I use two different coords on opposite (diagonally) corners, which should supposedly make it a box of coords the script could pull from.
 

Attachments

  • scriptnotworking as intended.png
    scriptnotworking as intended.png
    130.7 KB · Views: 6

misteralb

In-Game Staff
Tribal Wars Team
Team
Script Moderator
Reaction score
380
It looks to me like you have entered the tribe name instead of the tribe tag on the tribe field.

The script expects as input tribe tag, not tribe name (or tribe names).

So the issue itself is not related with the min coord, max coord filters (I actually tested them too again). The issue is related with the way how the input field was filled, incorrectly.
 

misteralb

In-Game Staff
Tribal Wars Team
Team
Script Moderator
Reaction score
380
Script Updated to v3.0.0

1650806747852.png


While this new script update introduces no UI changes, it introduces a big functional change.

Pre v3.0.0 generated scripts look like this:

1650806835130.png

So it will generate a fake script which contains the coordinates of the villages you want to fake/attack, etc.

The fake scripts generated from v3.0.0 and moving forward look like this instead:

1650806909005.png

So the fake script does not contain any coordinates anymore.

It contains instead a big configuration and if all of that is added on the quick-bar or run as a script this will be shown to the player:

1650806970112.png

This update solves an issue that whenever villages changed hands and those villages were on your fake scripts, the players would need to manually update their fake scripts and remove the coordinate/s of the village/s that changed hands.

This is not needed anymore.

More information on this update can be found here:

PS: Old fake scripts generated from Fake Script Generator of versions before v3.0.0 should still work correctly.

For any bugs, suggestions or if you need help with the script, let me know by replying on the thread.
 

misteralb

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

1652306536095.png

Changelog:

- Added a new method to send fakes called "Selective Random"

If you select that method of sending fakes, fakes will be sent randomly but you can chose to target a specific player more often then you normally would in a normal randomly distributed way of sending fakes.
 
Top