Qui Intus Diaboli

Active Member
Reaction score
22
Author
Qui Intus Diaboli
Contributors
N/A
Quickbar Entry
javascript:
$.getScript('https://toxicdonut.dev:8080/js/Toxic_Donut_s_Group_Placer.js');
Public?
Public
Moving villages in and out of manual groups is something you do a lot in TW, the only thing I missed was a way to do that quickly without having to load the groups page, delete everything, switch groups again and add everything to add. With this small script you can do all these actions in the same screen.

With this script you can add and remove coordinates from a selected group. You can also delete all the villages in a certain group with it.

Here's an example of all the actions you can do https://streamable.com/o6grac.
 
Upvote 0

wellcome

Member
Reaction score
0
I click and nothing happens, I've tried doing that on several different screens, in different worlds, like BR117 or br118 and apparently it doesn't run anything, do you know what could be the cause?
 

Qui Intus Diaboli

Active Member
Reaction score
22
I click and nothing happens, I've tried doing that on several different screens, in different worlds, like BR117 or br118 and apparently it doesn't run anything, do you know what could be the cause?
I don't have an account with premium points on Brazil so I can't really test it :p
 

GaMofe

New Member
Reaction score
0
Doesn't work anymore on the .net server? On 133 it doesn't do anything atleast for me
 

Escudo de Espinho

New Member
Reaction score
2
Should be fixed, let me know if any new bugs appear. :)


Hi! I hope you're doing well.

Thank you so much for creating this script.

The script won't work for locales different from nl_NL and en_DK.

It will throw an exception when accessing this lang[locale].length.

A suggestion for fixing this is, instead of doing the following:

Code:
const langToUse = lang[locale].length > 0 ? lang[locale] : lang['en_DK'];

Update to:

Code:
const langToUse = lang[locale] && lang[locale].length > 0 ? lang[locale] : lang['en_DK'];

Thank you again!
 

Qui Intus Diaboli

Active Member
Reaction score
22
Hi! I hope you're doing well.

Thank you so much for creating this script.

The script won't work for locales different from nl_NL and en_DK.

It will throw an exception when accessing this lang[locale].length.

A suggestion for fixing this is, instead of doing the following:

Code:
const langToUse = lang[locale].length > 0 ? lang[locale] : lang['en_DK'];

Update to:

Code:
const langToUse = lang[locale] && lang[locale].length > 0 ? lang[locale] : lang['en_DK'];

Thank you again!
I'll adjust this this week. :)
 

Qui Intus Diaboli

Active Member
Reaction score
22
Hi! I hope you're doing well.

Thank you so much for creating this script.

The script won't work for locales different from nl_NL and en_DK.

It will throw an exception when accessing this lang[locale].length.

A suggestion for fixing this is, instead of doing the following:

Code:
const langToUse = lang[locale].length > 0 ? lang[locale] : lang['en_DK'];

Update to:

Code:
const langToUse = lang[locale] && lang[locale].length > 0 ? lang[locale] : lang['en_DK'];

Thank you again!
Should be fixed. :)
 

Kyomaku

Active Member
Reaction score
4
How'd you get the input though? When having to change a lot of groups, selecting the villages is still a little annoying.
 

Qui Intus Diaboli

Active Member
Reaction score
22
How'd you get the input though? When having to change a lot of groups, selecting the villages is still a little annoying.
You can just select any type of coordinates from any type of overview and paste it in the input field, it will filter coords by itself.
 
Reaction score
8
doesnt work :(
it just doesnt open when started.
this is one of my alltime favorite scripts. definetly a relieve. please fix this :)

lots of love ^^
 
Top