Hi all, I am creating a bots plugin for HL2DM and I have several problem with it:
- Source dedicated server (linux) sends invalid events to plugin when using bool IGameEventManager::FireEvent( KeyValues * event ): event->GetName() always returns empty string. Also iterating on values GetFirstValue() / GetNextValue(), GetName() also returns empty string. I started to use IGameEventManager2 and it is working fine. I understand that IGameEventManager is used to maintain backward compatibility. It doesn't work though. - IBotController::SetActiveWeapon()* creates new weapon*, even if bot have picked it. I know that because IServerPluginCallbacks::OnEdictAllocated() is called every time bot tries to switch weapon using IBotController::SetActiveWeapon()! So from time to time I get *error allocating edict *(of course there are too many unused weapons on the map). * Anyone know how to fix it?* Thanks in advance, Boris.
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders