Closed yongqli closed 11 years ago
Looks like a python error. I would recommend disabling any automations and see if that helps.
it's not the automations. The latest update seems to have b0rked something about setting global vars. The following line is breaking but only intermitently
hostCards = eval(getGlobalVariable('Host Cards'))
That sounds like it would be fixed by disabling automations
That's not a fix.
Not a permanent one, but it should let people be able to play, which was the point of the suggestion.
It won't let people play. What is breaking is core to the game mechanics. The only way to "play" would be to drag cards manually to the table but that won't work properly for everything
How won't dragging cards work?
Some cards need to be placed sideways. Some effects require scripting for bluffing purposes.
Not to mention that it would be horrible to play with everything done manually.
Oh, I was under the assumption you could disable automations and still play. Hm
Did anything to do with shared variables change?
Not that I'm aware of
Was python updated?
No.
It definitelly has something to do with shared variables but I can't figure out what exactly.
Maybe the build blew something up, it failed at one point tonight, i'm re-pushing it to see if that helps.
Thanks. I'm doing some trial and error to try and understand why it's failing. It almost looks like shared variables are not being set correctly
setGlobalVariable()
is storing empty dictionaries as null strings. That's bad
Did you perhaps start removing curly brackets ({}
) from strings when setting global variables, the same way notify()
does when displaying strings?
Test version just came out, try and out and see if it worked
It seems to work again in the test version. Was it what I thought? Or just caused by the error in the build?
with .204 works in normal version as well
+++ Processing. Please Hold... ----Python Error---- Traceback (most recent call last): TypeError: Value cannot be null. intPlay(Card(65598))
----End Error----
Broke in the latest version after updating ~20 min ago.