Re: Let go off auto-waypointing? -
21-06-2004
Stefan,
Regarding the nodes and how to debug them on a dedicated server, I found two issues (fixed in the attached code):
- added 'realbot nodes connect/disconnect x y', to connect two nodes (addto does not work on a dedicated server)
- put some throttle code on the cNodeMachine::draw and cNodeMachine::connections as I was running in the 'sz_getspace overflow' followed by 'overflow netchan->message' issue (too many messages -- one per nodes/connections -- per frame). The new code displays a node every 10th frame which is fairly enough since it stays visible for 10 frames ;-)
BTW, regarding the lag on Linux, I do believe it was linked to too many 'log' messages or establishing new connections/nodes. When the map is waypointed, this is pretty smooth.
NB: as usual, I'm also trying to add new goals (like weapons in es_cell) but the heurestics for goal selection are still unclear for me.
NB2: using 'manual' waypointing allows for bots crossing doors & going over ladders (which is still the issue with auto-waypointing).
-eric-the-long-post-writer
|