Needs Feedback: setting TWMap.scriptMode=true from the url + report id in .extra data

  • Thread starter DeletedUser1749
  • Start date

DeletedUser1749

Guest
Two small requests.

First,
I have a farm script that uses a village's .extra data to determine which village to attack. The data can be obtained by calling:
Code:
TWMap.scriptMode=true;
TWMap.map._loadedSectors={};
TWMap.reload();
followed by a series of timouts, waiting for the ajax to fetch the data. On w57, it takes over 10 seconds for this data to load, a bit too long for a farm script farming a 20x20.

I'm hoping it would be feasible that a url such as
[]http://en57.tribalwars.net/game.php?village=###&screen=map&scriptMode=true[/]
would load each village's .extra map data without my having to call TWMap.reload() and waiting 10 seconds.


Second,
Could the latest id of the most recent report be put into the village's .extra.attack data. This would save me one step in the progression map->village info->report of the farm script.


The implementation of either of these would be a great asset to me. Any feedback regarding the feasibility or possible alternatives would be appreciated.

Thank you for your time.
 
Top