lllll llll
Well-Known Member
- Reaction score
- 71
- Author
- lllll llll
- Contributors
- N/A
- Quickbar Entry
-
javascript:$.getScript("https://dl.dropboxusercontent.com/s/gijrksuvyynuzlp/resSender.js?dl=0");void(0);
- Public?
- Public
Hello, I created a script which allows you to send resources from many villages to many villages.
You can create and delete multiple panels, also panel's name can be renamed. All data are saved in browser's memory automatically.
'reserve merchants'= how many merchants you want to keep home
'min resources'= if you have in one village available 200000 wood, 190000 stone and 160000 iron and min resources is set to 150000 then from this village it will be sent 50000 wood, 40000 stone, 10000 iron
'max distance' = how far can merchants travel
Every target village will get the same amount of resources.
Few observations:
1) duplicate coordinates from origin and target are eliminated
2) ratio between each type of resources are maintained ( if you want 10k wood, 15k stone, and 5k iron, but you only have available 5k wood, 20k stone, 15k iron then you will be sending 5k wood 7.5k stone, 2.5k iron)
3) if you want to send resources for minting you should set 140k wood, 150k stone, 125k iron , which is (28k, 30k, 25k)x5
4) if target coord is your own village then you will be sending resources using mass request resources which means you can send all resources with 1 click
5) origin coord must be your own village, also origin coords must be in the current group otherwise you'll get an error
6) resources between xxx700-xxx000 will be rounded to xxx000, because if you have 3 merchants available and you want to send 2x1500 you need 4 merchants instead of 3
demo
You can create and delete multiple panels, also panel's name can be renamed. All data are saved in browser's memory automatically.
'reserve merchants'= how many merchants you want to keep home
'min resources'= if you have in one village available 200000 wood, 190000 stone and 160000 iron and min resources is set to 150000 then from this village it will be sent 50000 wood, 40000 stone, 10000 iron
'max distance' = how far can merchants travel
Every target village will get the same amount of resources.
Few observations:
1) duplicate coordinates from origin and target are eliminated
2) ratio between each type of resources are maintained ( if you want 10k wood, 15k stone, and 5k iron, but you only have available 5k wood, 20k stone, 15k iron then you will be sending 5k wood 7.5k stone, 2.5k iron)
3) if you want to send resources for minting you should set 140k wood, 150k stone, 125k iron , which is (28k, 30k, 25k)x5
4) if target coord is your own village then you will be sending resources using mass request resources which means you can send all resources with 1 click
5) origin coord must be your own village, also origin coords must be in the current group otherwise you'll get an error
6) resources between xxx700-xxx000 will be rounded to xxx000, because if you have 3 merchants available and you want to send 2x1500 you need 4 merchants instead of 3
demo
Last edited:
Upvote
1