SuperpositionStudios / AndOre

A 2D unicode open world mmo, designed for training neural networks.
http://andore.online
8 stars 11 forks source link

Server no longer sends world state #171

Open hallielarsson opened 8 years ago

hallielarsson commented 8 years ago

World state is coming through as an empty string even with the sendState flag set to true.

JCharante commented 8 years ago

It's not a bug, it's a feature.

https://github.com/baxter-cs/AndOre/commit/f0f0880a1e12ba587de67f98c0a930296875cd68

hallielarsson commented 8 years ago

It is not fixed.

JCharante commented 8 years ago

I thought you were talking about /action?sendState=true sometimes returning an empty string, which is an intended feature. Upon further investigation, it seems that the world object in the response is always an empty string, which is actually a bug.

JCharante commented 8 years ago

Issue fixed in the client branch, but has a bunch of unrelated code in it.

JCharante commented 8 years ago

@halstedlarsson did the fix end up finding it's way into master?