Moderator: Tech Team
yeti_c wrote:In actual fact - what would be better LACK... is if you coded a dummy function...
i.e. refreshGMScript()
which was called from handleResponse() by you...
and then we could override refreshGMScript easily without having to merge your code into it...
Is this something that you could do?
C.
lackattack wrote:Keep in mind that with AJAX, you need to fetch updated maps with a url like this:
map.php?key=map24a3e7d1310463a58e66e4be29d9b943
The old way of passing armies to map.php is going the way of the dodo.
Ishiro wrote:Yep, it stops the map, and I have no idea why.
It does work if I strip the colors out of the map inspect and just have it load once to show attack paths but don't update it for changes. I think the browser may just not like the slew of updates and either kills it or is just really slow... I've never tried waiting to see if it catches up.
Ishiro wrote:The main thing you have to change in the script is that "inner-map" used to be a DIV, its not anymore, so most of the code that uses "inner-map" is broken.
nmhunate wrote:Speak English... It is the language that God wrote the bible in.
lackattack wrote:Let me throw in some incentive - free premium membership* to the contributors of an AJAX-compatible GM script that can replace Tr0y's & BOB**, so I can move everyone onto AJAX :mrgreen:
* Main contributor(s) will get 12 months, secondary contributors according to their contribution :)
** Colourblind feature is now core, no need to replace that
Users browsing this forum: No registered users