Changes between Initial Version and Version 1 of Ticket #1089, comment 5


Ignore:
Timestamp:
May 27, 2013, 12:26:58 AM (6 years ago)
Author:
historic_bruno
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1089, comment 5

    initial v1  
    11Attaching patch to fully serialize qBot using changes from r13429.
    22
    3 It's a significant ptach but mostly straightforward once you're used to it. It helps to enable debug annotations in the binary serializer and add some debug output to print constructor names of objects that aren't using the standard `Object` prototype and which aren't yet registered serializable prototypes. Functions of course can't be stored in the serializable AI state, so e.g. entity collection filters have to be rethought as prototype objects or something else.
     3It's a significant patch but mostly straightforward once you're used to it. It helps to enable debug annotations in the binary serializer and add some debug output to print constructor names of objects that aren't using the standard `Object` prototype and which aren't yet registered serializable prototypes. Functions of course can't be stored in the serializable AI state, so e.g. entity collection filters have to be rethought as prototype objects or something else.
    44
    55The same approach should work for other AIs, but I chose to start with qBot to not conflict with active development of Aegis. Earlier comment still applies, it's too slow and produces too much data to be usable in practice :(