Dynamic Fake Script

Corndog

New Member
Reaction score
9
I wanted to be able to configure a dynamic fake script giving a list of players, tribes and/or coords.

Goal is to give a ui component on the rally point that lets users enter who they want to send fakes to. When the script is ran, it only pre populates units and a target in the rally point (or redirects to that page if not already on it).
All data the user entered is stored in the browser. The only data sent to a backend is the list of targets the user wishes to send fakes to.
The backend will check if cache exists for each item (player or tribe only). If a cache item does not exist, lookup user or tribe in twstats, get the list of villages tat belong to that, then store these in cache for 60 minutes for future fetches. Backend then gets a list of coords, picks one at random, and returns one to populate the target in the rally point.


Let me know if there's any questions or further details needed. Happy to provide.

Thank you,
Corndog
 
Last edited by a moderator:

RedAlert

Member
Reaction score
37
Top