Fizzer - when creating game between unknownsoldier_with_a_vengeance\80abc & unknownsoldier, i get the error below - seems your API does not like the long game name?
Any suggestions? (maybe you make your API allow games names of length 2*max-player-name-length +10 or some such?
Thanks.
------------------------------------------------------------
warlight001/games.py in createGame
raise Exception("CreateGame returned error: " + apiRet.get('error', apiRetStr)) ...
▼ Local vars
Variable Value
apiRet
{u'error': u'StringTooLong', u'termsOfUse': u'Please use this API responsibly, as it can consume significant amounts of server resources if called excessively. Please see
http://warlight.net/API for details on WarLight APIs. The format of this data feed may change in the future.'}
apiRetStr
'{\r\n "termsOfUse": "Please use this API responsibly, as it can consume significant amounts of server resources if called excessively. Please see
http://warlight.net/API for details on WarLight APIs. The format of this data feed may change in the future.",\r\n "error": "StringTooLong"\r\n}\r\n'
config
<main.ClotConfig object at 0xb00d6ec>
gameName
u'unknownsoldier_II123 vs unknownsoldier_with_a_vengeance\x80abc'
gid
-1
p
7 unknownsoldier_with_a_vengeance\x80abc
players
(3 unknownsoldier_II123, 7 unknownsoldier_with_a_vengeance\x80abc)
templateID
251301