Search found 7 matches
- Tue Apr 26, 2022 11:42 am
- Forum: General
- Topic: How to serialize ANY table?
- Replies: 12
- Views: 8198
Re: How to serialize ANY table?
You can not comment out the line, because then bitser will effectively stop writing out stuff. Instead you need to modify the "types" table on line 246, which defines the serializer function to use for each data type, so something like this: local types = { number = write_number, string =...
- Mon Apr 25, 2022 6:26 pm
- Forum: General
- Topic: How to serialize ANY table?
- Replies: 12
- Views: 8198
Re: How to serialize ANY table?
I already tried it but it didn't work. (i think after this, function returns an empty string)
- Mon Apr 25, 2022 1:23 pm
- Forum: General
- Topic: How to serialize ANY table?
- Replies: 12
- Views: 8198
- Mon Apr 25, 2022 4:45 am
- Forum: General
- Topic: How to serialize ANY table?
- Replies: 12
- Views: 8198
Re: How to serialize ANY table?
Okay, i think this works, but now i get this error: Error bitser.lua:280: cannot serialize type userdata Traceback [love "callbacks.lua"]:228: in function 'handler' [C]: in function 'error' bitser.lua:280: in function 'serialize_value' bitser.lua:221: in function <bitser.lua:190> bitser.lu...
- Sun Apr 24, 2022 9:01 pm
- Forum: General
- Topic: How to serialize ANY table?
- Replies: 12
- Views: 8198
Re: How to serialize ANY table?
Does it work for tables-structures (when index is string)?
- Sun Apr 24, 2022 6:32 pm
- Forum: General
- Topic: How to serialize ANY table?
- Replies: 12
- Views: 8198
How to serialize ANY table?
How to serialize ANY table? I sure this table contains only other tables and simple values (string, nil, number)
- Thu Apr 21, 2022 3:19 pm
- Forum: General
- Topic: Multiple clients
- Replies: 2
- Views: 2515
Multiple clients
I am working on game with multiplayer
How to make it possible to connect more than 1 client?
Or how to read from multiple clients at time?
How to make it possible to connect more than 1 client?
Or how to read from multiple clients at time?