GNet: Aaah zombies!

BlitzMax Forums/BlitzMax Beginners Area/GNet: Aaah zombies!

deps(Posted 2005) [#1]
Got a little problems with the undead.
In my game the players are able to throw grenades, and after a couple of seconds these grenades detonates. When they do I run CloseGNetObject() on them. But they are still retuned by the GNetObjects() function, and their state is GNET_ZOMBIE. And this is strange because the manual have this to say:

Zombie objects are objects that have been successfully closed and will never again be used by GameNet. Therefore, such objects will never appear in any list returned by the GNetObjects function.


So is there something I forgot to do? (FlushMem is always called each loop. Can't find a similar function for GNet)
Also, I haven't tried the game in multiplayer yet. Maybe the zombies dissapear when I do, but I haven't got that far with the development. (In that case it would be a bug in BlitzMax?)

Anyone got any idea?


deps(Posted 2005) [#2]
I hate when it happends. A bugg appears and it refuses to go away. You try everything you can think of, but the bug just sits there and grins. Then you post a message on a forum crying for help.

Then you find out you completley forgot to call GNetSync()

:P

Nothing to see here anymore, move along people.