ASAN+UBSAN build immediately scored jackpot on Undefined Behavior. All UB should be fixed.
When bot runs under ASAN+UBSAN, it immediately detects whole bunch of suspicious things that shouldn't happen. As random idea it could be what prevents HoraK from getting guildbot working properly
$ ./guild
main.cpp:77:52: runtime error: member call on null pointer of type 'struct Automation'
automation.cpp:732:17: runtime error: member call on null pointer of type 'struct Automation'
automation.cpp:744:26: runtime error: member call on null pointer of type 'struct Automation'
main.cpp:81:64: runtime error: member call on null pointer of type 'struct NetHandler'
main.cpp:123:63: runtime error: member call on null pointer of type 'struct NetHandler'
net/messageout.cpp:65:33: runtime error: store to misaligned address 0x631000028802 for type 'Sint32', which requires 4 byte alignment
0x631000028802: note: pointer points here
00 00 64 00 be be be be be be be be be be be be be be be be be be be be be be be be be be be be
^
net/messagein.cpp:71:43: runtime error: load of misaligned address 0x63100001482f for type 'Sint32', which requires 4 byte alignment
0x63100001482f: note: pointer points here
00 00 00 02 7f 00 00 01 ea 17 54 68 65 20 4d 61 6e 61 20 57 6f 72 6c 64 00 00 00 00 00 00 01 00
^
net/messagein.cpp:59:43: runtime error: load of misaligned address 0x631000014833 for type 'Sint16', which requires 2 byte alignment
0x631000014833: note: pointer points here
7f 00 00 01 ea 17 54 68 65 20 4d 61 6e 61 20 57 6f 72 6c 64 00 00 00 00 00 00 01 00 00 00 00 00
^
main.cpp:130:60: runtime error: member call on null pointer of type 'struct NetHandler'
main.cpp:134:68: runtime error: member call on null pointer of type 'struct NetHandler'
main.cpp:137:59: runtime error: member call on null pointer of type 'struct NetHandler'
game.cpp:74:65: runtime error: member call on null pointer of type 'struct NetHandler'
game.cpp:75:44: runtime error: member call on null pointer of type 'struct NetHandler'
game.cpp:76:39: runtime error: member call on null pointer of type 'struct NetHandler'
game.cpp:78:47: runtime error: member call on null pointer of type 'struct NetHandler'
game.cpp:60:35: runtime error: member call on null pointer of type 'struct NetHandler'
I'm still here.
onlinelist.cpp:137:69: runtime error: member call on null pointer of type 'struct Automation'
automation.cpp:576:13: runtime error: member call on null pointer of type 'struct Automation'
automation.cpp:611:24: runtime error: member call on null pointer of type 'struct Automation'
automation.cpp:614:20: runtime error: member call on null pointer of type 'struct Automation'
automation.cpp:615:41: runtime error: member call on null pointer of type 'struct Automation'
game.cpp:93:51: runtime error: member call on null pointer of type 'struct Automation'
game.cpp:37:56: runtime error: signed integer overflow: -1711468107 * 10 cannot be represented in type 'int'
automation.cpp:524:10: runtime error: member call on null pointer of type 'struct Automation'
automation.cpp:535:53: runtime error: member call on null pointer of type 'struct NetHandler'