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/clearBarbarianWalls.js');
Public?
Public
clear-barbarian-walls.png

This script requires PA and FA to be active, otherwise it will not work and will notify the player about that.

This script reads data from the Farming Assistant feature built in-game and shows a table of barbarian villages whose wall is bigger then 0 (however the player can modify this filter using the settings) so it helps the player to easily find these kind of villages. The villages on the table are sorted from nearest one to the furthest one from the village you currently are.

When you click "Attack", you will get redirected to Rally Point, with troop amounts prefilled to clear the wall.
When you go to the rally point you will notice that unit counts are pre-filled for walls up to level 3. For more then that, unit counts will need to be filled automatically.

Here is how the script looks like in practice:

This script is depended on FA settings. For better and faster results it is recommended to have these settings:

1620262128045.png

If you use these settings on FA you can run the script all day long and it will always show villages which are not currently under attack so you will never run into the problem of sending multiple clearing runs on the same barbarian village.

For any suggestion, bug or if you need help using this script, feel free to reply on the thread.
 
Changelog
===> v1.2.0
- Show un-scouted barbarian villages if the player has lost troops attacking these villages.

===> v1.1.0
- Show wall level of barb villages on the map

Attachments

  • 1620262110941.png
    1620262110941.png
    31.9 KB · Views: 213
Last edited:
Upvote 3

.Ichigo Kurosaki.

Active Member
Reaction score
8
Currently in the list (PC), there are 2 level 1 walls:
1680459154438.png


When using the script from the same village:
1680459223144.png

It doesn't find the village with a 7.1 distance for example. If I do this on my mobile it will actually work. On both with the same settings:

1680459290572.png

1680459507341.jpeg
 

RedAlert

Senior In-Game Staff
Tribal Wars Team
Senior
Team
Script Moderator
Reaction score
707
Currently in the list (PC), there are 2 level 1 walls:
View attachment 11815


When using the script from the same village:
View attachment 11816

It doesn't find the village with a 7.1 distance for example. If I do this on my mobile it will actually work. On both with the same settings:

View attachment 11817

Thank you for providing more information.

I will try to replicate the issue and see if it's something that I can fix or it's something that comes from the game (so very likely unfixable from my side).
 

.Ichigo Kurosaki.

Active Member
Reaction score
8
If you want to test or troubleshoot let me know. It's for me on EN133.

You can hit me up on discord, which is faster (TheRealShadow#9061)
 

Dr Chase

New Member
Reaction score
0
It is not saying any barbs fit the criteria but there are dozens near me with walls lvl 1 or higher. Is there a setting I have that needs to be adjusted?
 

Attachments

  • 0C8FF1A4-BACC-4DC9-AFEF-C838DAB391B8.jpeg
    0C8FF1A4-BACC-4DC9-AFEF-C838DAB391B8.jpeg
    658.6 KB · Views: 14
  • 1D3028D9-B459-4B4B-9118-8D5967CAF319.jpeg
    1D3028D9-B459-4B4B-9118-8D5967CAF319.jpeg
    76.6 KB · Views: 14

.Ichigo Kurosaki.

Active Member
Reaction score
8
I still have the issue with that the plugin will tell the right barb villas on mobile (with desktop version) and on desktop it will skip those villages. Same settings. @misteralb

Tested browsers on desktop: Chrome 112.0.5615.49 / Opera GX 95.0.4635.74 both same issue with cache clear
Browser on mobile: Chrome 112.0.5615.100

@Dr Chase try also the script on mobile. Chrome > request desktop version. See if it gives a difference.
 

RedAlert

Senior In-Game Staff
Tribal Wars Team
Senior
Team
Script Moderator
Reaction score
707
I still have the issue with that the plugin will tell the right barb villas on mobile (with desktop version) and on desktop it will skip those villages. Same settings. @misteralb

Tested browsers on desktop: Chrome 112.0.5615.49 / Opera GX 95.0.4635.74 both same issue with cache clear
Browser on mobile: Chrome 112.0.5615.100

@Dr Chase try also the script on mobile. Chrome > request desktop version. See if it gives a difference.
Thanks for the tests @.Ichigo Kurosaki. and for providing other information. I still haven't experienced the issue myself :(

Have also been busy with other things in real life which have kept me investigating this bug.
 

.Ichigo Kurosaki.

Active Member
Reaction score
8
Thanks for the tests @.Ichigo Kurosaki. and for providing other information. I still haven't experienced the issue myself :(

Have also been busy with other things in real life which have kept me investigating this bug.
Thanks for the answer, you could test it on my account if needed. Assuming you don't play on EN133. Or a discord screen share so I could show it or do thing based on instructions.

But take care of real life first, it's more important than a game!
 

.Ichigo Kurosaki.

Active Member
Reaction score
8
Here once again I am.

Plugin seems to respond more broken over time. It sees 4 tabs:
1683098704922.png

in reality we have 20+
1683098737160.png

Tried Firefox desktop also same issue, the villages only coming into the barb wall cleaner are scouted villages. I can do periodic refreshes with scouts to work around it. But it doesn't seem to get better over time.
 

Kyomaku

Active Member
Reaction score
5
I'm having a lot of issues with this one as well. Playing on .de. It misses every single barb with a wall that had no losses. Here's 2 screenshots. And that is only page 1, there are A LOT of barbs with wall 1 and a green report, yet not even one of them shows up.
1698027688149.png1698027625862.png
 

RedAlert

Senior In-Game Staff
Tribal Wars Team
Senior
Team
Script Moderator
Reaction score
707
Hello @Kyomaku,

Thank you for reporting this issue.

Could you screenshot and share the FA settings, like this?

1698052490676.png

Also, could you screenshot and share the script's settings. like this?

1698052673080.png

Could be that the minimum wall level field could be something high, like in the screenshot above. If we are to analyze these settings it would be like this.

From the FA settings we learn that the script will get all barbarian villages which have full losses and partial losses and also villages we are currently attacking.

From the script settings we learn that the script will fetch the first 20 of FA pages (if we have less pages than that it will fetch them all, if we have more than 20 pages it will fetch only the first 20). Then from these first 20, it will prepare a table which will have at maximum 100 rows of data. The table will contain barbarian villages which have wall level bigger than or equal to 5 and the script will show on the table also barbarian villages which have no wall level shown but there are partial losses.

This could be a reason why you only see barbarian villages which have partial losses and/or barbarian villages with a wall level higher than one and you don't see barbarian villages with wall level one.

I'm not saying that this is the exact reason. It could very well be a bug ... but this scenario explains what you are experiencing so first of all want to be sure that this is not what's happening. If this is what's happening, then there is no bug you are experiencing just a script configuration and the script works correctly.

If this is not what's happening, if your script and FA settings are correct yet the script does not give you the expected output on the table, then yes, there is a bug in the script and I will investigate the issue.

Thank you again for reporting the issue.
 

Kyomaku

Active Member
Reaction score
5
1698060669265.png1698060679787.png

"Include reports of villagers that are currently under attack"
"Reports of full losses"
"Reports of partial losses"
Those 3 are checked. I also don't mind screen sharing with you over discord if you want to take a quick peek at things yourself.
 

RedAlert

Senior In-Game Staff
Tribal Wars Team
Senior
Team
Script Moderator
Reaction score
707
View attachment 12520View attachment 12521

"Include reports of villagers that are currently under attack"
"Reports of full losses"
"Reports of partial losses"
Those 3 are checked. I also don't mind screen sharing with you over discord if you want to take a quick peek at things yourself.
Thank you for providing more information.

It does seem like there is a bug, which I havent encountered, so I hope I will be able to replicate it and fix it soon enough.

Feel free to reach out to me in Discord via DM if you have anything else to provide which can help to replicate this issue.

Thank you again for reporting this.
 

FT021K

New Member
Reaction score
0
Hello,

Is it possible to add a function to the script that shows the level of other buildings and allows them to be catapulted? I ask this because I like to tear down the barracks and other buildings so that the barbarian village can only focus on improving resources.

I imagine the system would be the same, just add the catapult, which building is there, the level it is on and how much catapult would be needed to knock it down.

Thank you!!
 

RedAlert

Senior In-Game Staff
Tribal Wars Team
Senior
Team
Script Moderator
Reaction score
707
Hello,

Is it possible to add a function to the script that shows the level of other buildings and allows them to be catapulted? I ask this because I like to tear down the barracks and other buildings so that the barbarian village can only focus on improving resources.

I imagine the system would be the same, just add the catapult, which building is there, the level it is on and how much catapult would be needed to knock it down.

Thank you!!
Hello,

this is a script that helps clearing barbarian walls, not a barb shaper script. This script would require drastic amount of changes to do what you suggested, which mean it would be a new script completely very likely.

So, dont think will actually do that.
 

FT021K

New Member
Reaction score
0
Hello,

this is a script that helps clearing barbarian walls, not a barb shaper script. This script would require drastic amount of changes to do what you suggested, which mean it would be a new script completely very likely.

So, dont think will actually do that.
I understand, can you tell me if there is something like this on the forum? I looked and didn't find anything

Thank you
 

RedAlert

Senior In-Game Staff
Tribal Wars Team
Senior
Team
Script Moderator
Reaction score
707
I understand, can you tell me if there is something like this on the forum? I looked and didn't find anything

Thank you
Probably this script can help with barb shaping:
 

Kyomaku

Active Member
Reaction score
5
Probably this script can help with barb shaping:
I tried using that script actually and it didn't work at all, gave me lots of weird errors so I removed it again and have been using sequential fake script generator for terraforming instead
 

FT021K

New Member
Reaction score
0
I tried using that script actually and it didn't work at all, gave me lots of weird errors so I removed it again and have been using sequential fake script generator for terraforming instead
I had the same problem, I tried changing the settings as the author indicated in the tutorial but it still didn't work. Could you send me the one you are using please??
 

Kyomaku

Active Member
Reaction score
5
I had the same problem, I tried changing the settings as the author indicated in the tutorial but it still didn't work. Could you send me the one you are using please??
It's in the same forum, by red alert. Just search fake script
 

milkfrog

New Member
Reaction score
0
Hello @RedAlert!
Is it possible to add a configuration to remove villages that are already receiving attacks with rams in it?

Thank you!
 
Top