Yeah, I would also like GameFrame to be called even when the server is
empty. Our project, a server plugin called "SourceMod", implements a tasks
system, which executes it's "tasks" in GameFrame so far (that seems to be
the most often called function provided to server plugins). Because we can't
say what these will be used for (because they will be used by third party
plugins), they are supposed to work even when the server is empty.
For example, if a plugin wants to add bots to the server if it is empty for
60 seconds, it relies on GameFrame being called.
We have been thinking about creating a fake client to prevent this
behaviour, and make it/him somehow invisible if possible, but that surely
isn't a nice solution.
To sum it up, we would like GameFrame to be called all the time, or an
another function, something like ReliableGameFrame.
Thanks.
----- Original Message -----
From: "David Anderson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 14, 2004 3:06 AM
Subject: Re: [hlcoders] GameFrame
I don't feel safe doing some HL stuff in a thread, especially since what
I'm doing in GameFrame is _definitely_ not thread safe.
My problem is that GameFrame won't fire unless a player is in the server -
this makes it difficult for me to beta test things quickly.
-----David Anderson
On Tue, 14 Dec 2004, Ronny Schedel wrote:
Depends on what he wants to do. I had never any problems
with threads in my past hl1 programms :o)
Greets
Ronny
Ronny Schedel wrote:
Just use a thread.
Eeeeeek! Are the engine functions in the listen server and dedicated
server thread safe?
--
Jeffrey "botman" Broome
_______________________________________________
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
_______________________________________________
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