Page 2 of 2
Re: Stack overflow
Posted: Mon Aug 16, 2010 12:30 pm
by apetresc
fwiffo wrote:Wow, that's weird. What app made the offending SGF?
Good question; I PMed Kirby about it, since he posted it.
Re: Stack overflow
Posted: Mon Aug 16, 2010 12:42 pm
by John Fairbairn
Adrian: I'm impressed. Thank you.
Re: Stack overflow
Posted: Mon Aug 16, 2010 12:49 pm
by CarlJung
Adrian = Javascript 9P.
Re: Stack overflow
Posted: Mon Aug 16, 2010 1:09 pm
by bobmcg
Good work Adrian! But why did the Eidogo app appear to work after I had nixed the script? Did it just skip the bad code an proceed from there?
Re: Stack overflow
Posted: Mon Aug 16, 2010 1:18 pm
by apetresc
Kirby got back to me; it was taken from the
Korean Baduk Association site (if you steal the URL from their gibo_load() calls). I checked a few out and they all use KO instead of KM, and it doesn't affect them because they're really only intended to run in their own player which probably makes the same mistake. Just something to keep in mind.
bobmcg wrote:Good work Adrian! But why did the Eidogo app appear to work after I had nixed the script? Did it just skip the bad code an proceed from there?
Exactly; it processes that part towards the end. You might have noticed that if you killed the script, it worked but it wasn't quite right; for example, the forward arrow buttons were still greyed out instead of red like they usually are. This is because the script wasn't quite done initializing everything.