The reason I'm wanting this event to work correctly is so I can periodically
run some code at specific intervals.

I could perhaps try receive all game events and try and run the logic in
FireGameEvent(), but it sounds inefficient to capture all events.

I could use a worker thread to do some processing which will wake up when
necessary - but I doubt access to gpGlobals, its edict's and retrieved
IplayerInfo interfaces are thread safe when control is not passed to my
plugin via GameFrame() etc.

Does anyone have any thoughts on the matter?

Cheers,
Andrew 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Andrew
Armstrong
Sent: Wednesday, 18 February 2009 1:12 PM
To: 'Discussion of Half-Life Programming'
Subject: [hlcoders] Left 4 Dead: GameFrame() not called often during Co-Op
mode?

Hi,

 

Wonder if anyone at Valve may have noticed this? But it appears the plugin
GameFrame() method is not called very often (several minutes before any
activity) while the server is running in Co-Op mode.

 

If the server is in Versus mode, its called very often.

 

Cheers,

Andrew

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to