[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Serializing Lua State in use with Luabind
- From: Ben Sunshine-Hill <sneftel@...>
- Date: Sat, 14 May 2005 11:10:05 -0700
Stefan,
That's very interesting. While I've barely ever used luabind, on the
face of it it doesn't seem like Lua tables created by luabind should
be any different than Lua tables created by the Lua API. Would you
mind providing info on how the table was created, and what happened
when you tried to serialize it with Pluto?
Thanks,
Ben Sunshine-Hill
On 5/14/05, Stefan Schwarzbach <Schwarzbach@silentdreams.de> wrote:
> Hello,
>
> I'm using Lua and Luabind for a game development project and therefore I
> must be able to serialize the actual "lua world" in my savegame to later
> load it and resume at the same position in game as I saved.
>
> I tried to use the Pluto Library, because it should excactly do what I
> needed. This library seems to work perfecly, but it has a major missing
> feature or problem. The tables luabind creates for storing the lua
> classes can't be serialized by pluto. So I cannot save lua instances of
> lua classes ( and also instances of c++ classes, but that's another
> problem).
>
> So here is my question: Does anyone of you ever tried to serialize a lua
> states in combination with luabind? Did you get Pluto working or did you
> use another library?
>
> I hope you can help me!
>
> Thanks in advance,
> Stefan Schwarzbach
>
>