[hlcoders] Utlmemory.h Assert and crash with custom code that uses CUtlVector

2006-08-28 Thread Stephen Micheals
i have been having some problems with some of the custom code i have written for a map config file system that sets what weapons a team can select and use along with a few other items. whenever the code gets to the point where in needs to add a item to the CUtlVector that was created it throws ou

[hlcoders] server plugin port

2006-08-28 Thread Luke Duguid
For anybody interested or for future reference, it is possible to obtain the current game server's port by listening to the 'server_spawn' event and GetInt("port"). Apparently it was to late to register it [with AddListener(...) ] in the standard LevelInit(...), I had originally tried moving it t

[hlcoders] CreateEvent: event 'server_shutdown' not registered.

2006-08-28 Thread Luke Duguid
Not directly related to plug-in development but I noticed this error while working on a linux (have not run on windows) server-side plug-in. I removed all plug-in's from the addons directory and "CreateEvent: event 'server_shutdown' not registered." is still outputted so it seems independent