bind flushmasteroutput
use engine.writelog instead of print
flushserver instead of enet_host_flush