Re: [hlcoders] Host_Error under Steam

2003-12-16 Thread Charlie Cleveland
We never did figure out why this error was happening, but I did manage to
fix it.  Tom is right, it was happening when a player was kicked off the
server.  The way I fixed it was by removing a UTIL_SayToAll (or whatever
it's called), that was telling everyone that the player was being booted off
the server.  That seemed to fix it, though I have no idea why.  That was
quite awhile ago, and for some unknown reason, this error has seemed to come
back again in a recent playtest build, so I have no idea what's happening.

-Charlie
--
Charlie Cleveland
Game programmer and designer
http://www.natural-selection.org
http://overmind.org

- Original Message -
From: Tom Grim [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, December 14, 2003 10:25 AM
Subject: Re: [hlcoders] Host_Error under Steam


 I'm one of NS playtesters, and if Charlie doesn't get
 back to you... I do believe it was part of his custom
 authentication code for handling the playtesting that
 was doing it. If a player who wasn't authenticated to
 play joined a server, he could get so far as the
 readyroom fine. But if he joined the team, the
 authentication would kick him. If I recall correctly,
 it was a bug in the authentication process where an
 unauthorized player joining would kick everyone.

 Tom Grim
 aka Elven Thief

 --- Ben Banfield [EMAIL PROTECTED] wrote:
  I have just encountered this bug in the latest
  version of bg and am
  about to start debugging using the method botman
  prescribed in this
  thread.  However I'm just wondering what you're
  findings were for ns on
  this bug.  Was it a special ns message?  Is there
  anything I can do to
  help narrow this down?  And help is appreciated as I
  fear this could be
  a long sunday afternoon otherwise :/
 
  Thanks
 
  Ben
  The Battle Grounds Lead Programmer
 
  Charlie Cleveland wrote:
 
  This is a multi-part message in MIME format.
  --
  [ Picked text/plain from multipart/alternative ]
  We're running some NS playtests under Steam, and
  one of the big problems were having is something
  called a Host_Error. Suddenly, everyone on the
  server will get kicked off the server, and will be
  back in their Steam UI.  Written to everyone's
  console is this ominous error message:
  
  Host_Error: UserMsg: Not Present on Client 57
  
  Does anyone have any idea on what might be causing
  this, or how to fix it?
  
  -Charlie
  --
  Charlie Cleveland
  Game programmer and designer
  http://www.natural-selection.org
  http://overmind.org
  --
  
  
  ___
  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
 


 __
 Do you Yahoo!?
 New Yahoo! Photos - easier uploading and sharing.
 http://photos.yahoo.com/

 ___
 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



Re: [hlcoders] Host_Error under Steam

2003-12-16 Thread Ben Banfield
Alright thanks.  My logging attempts have got me nowhere so far bar a
127meg log file with no hits for msg57.   Gonna have to have a few
releases with this logging in place by the looks of it :(
This request as to Valve : Would it possible for this error not to cause
the client to be dropped unless they were running with -dev or a high
developer cvar setting.  This would allow us to continue tracking down
this bug without whole chunks of one team being dropped at random while
playing.
Ben
The Battle Grounds Lead Programmer
Charlie Cleveland wrote:

We never did figure out why this error was happening, but I did manage to
fix it.  Tom is right, it was happening when a player was kicked off the
server.  The way I fixed it was by removing a UTIL_SayToAll (or whatever
it's called), that was telling everyone that the player was being booted off
the server.  That seemed to fix it, though I have no idea why.  That was
quite awhile ago, and for some unknown reason, this error has seemed to come
back again in a recent playtest build, so I have no idea what's happening.
-Charlie
--
Charlie Cleveland
Game programmer and designer
http://www.natural-selection.org
http://overmind.org

I'm one of NS playtesters, and if Charlie doesn't get
back to you... I do believe it was part of his custom
authentication code for handling the playtesting that
was doing it. If a player who wasn't authenticated to
play joined a server, he could get so far as the
readyroom fine. But if he joined the team, the
authentication would kick him. If I recall correctly,
it was a bug in the authentication process where an
unauthorized player joining would kick everyone.
Tom Grim
aka Elven Thief
--- Ben Banfield [EMAIL PROTECTED] wrote:


I have just encountered this bug in the latest
version of bg and am
about to start debugging using the method botman
prescribed in this
thread.  However I'm just wondering what you're
findings were for ns on
this bug.  Was it a special ns message?  Is there
anything I can do to
help narrow this down?  And help is appreciated as I
fear this could be
a long sunday afternoon otherwise :/
Thanks

Ben
The Battle Grounds Lead Programmer
Charlie Cleveland wrote:

We're running some NS playtests under Steam, and

one of the big problems were having is something
called a Host_Error. Suddenly, everyone on the
server will get kicked off the server, and will be
back in their Steam UI.  Written to everyone's
console is this ominous error message:

Host_Error: UserMsg: Not Present on Client 57

Does anyone have any idea on what might be causing


this, or how to fix it?


-Charlie


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


Re: [hlcoders] Host_Error under Steam

2003-12-16 Thread Ben Banfield
Jeffrey botman Broome wrote:

I don't think you'll ever see any pfnMessageBegin() calls with messages
IDs below 64.  The engine uses IDs 1-63 for internal stuff to the
client.  The only messages you will see going from the MOD code to the
engine (via pfnMessageBegin) will be the ones the MOD registered (via
REG_USER_MSG) and the first one the MOD registers will be 64 and go up
from there.
You get some under 64 which can be sent by the mod.  51 is the director
message and 23 is the temp entity one.  Nothing for 57 though.
Back in the good ol' days you could run your MOD on a LAN and put a
network sniffer inline capturing the network packets and look at those
un-encrypted (since WON didn't authenticate and give you a encryption
hash), but nowadays the LAN packets are encryped and you won't be able
to decipher anything from them either.
Your best bet is to start commenting out HUGH chunks of code and
eliminating features one-by-one until the problem goes away and then you
know what area to concentrate your investigations in.  Other than that,
your up the proverbial creek without a paddle.
If I'm not actually sending a message with id 57, then what is going
on.  I find it pretty strange to think that two widly different mods
have come up with the same error when in steam.  It also begs the
question why haven't we seen this in won.  I don't know about NS, but
I've never encountered this in won.  I guess I better start paddling then.
--
Jeffrey botman Broome
Ben
The Battle Grounds Lead Programmer.
___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


Re: [hlcoders] Host_Error under Steam

2003-12-14 Thread Ben Banfield
I have just encountered this bug in the latest version of bg and am
about to start debugging using the method botman prescribed in this
thread.  However I'm just wondering what you're findings were for ns on
this bug.  Was it a special ns message?  Is there anything I can do to
help narrow this down?  And help is appreciated as I fear this could be
a long sunday afternoon otherwise :/
Thanks

Ben
The Battle Grounds Lead Programmer
Charlie Cleveland wrote:

This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
We're running some NS playtests under Steam, and one of the big problems were having 
is something called a Host_Error. Suddenly, everyone on the server will get kicked off 
the server, and will be back in their Steam UI.  Written to everyone's console is this 
ominous error message:
Host_Error: UserMsg: Not Present on Client 57

Does anyone have any idea on what might be causing this, or how to fix it?

-Charlie
--
Charlie Cleveland
Game programmer and designer
http://www.natural-selection.org
http://overmind.org
--
___
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


Re: [hlcoders] Host_Error under Steam

2003-12-14 Thread Tom Grim
I'm one of NS playtesters, and if Charlie doesn't get
back to you... I do believe it was part of his custom
authentication code for handling the playtesting that
was doing it. If a player who wasn't authenticated to
play joined a server, he could get so far as the
readyroom fine. But if he joined the team, the
authentication would kick him. If I recall correctly,
it was a bug in the authentication process where an
unauthorized player joining would kick everyone.

Tom Grim
aka Elven Thief

--- Ben Banfield [EMAIL PROTECTED] wrote:
 I have just encountered this bug in the latest
 version of bg and am
 about to start debugging using the method botman
 prescribed in this
 thread.  However I'm just wondering what you're
 findings were for ns on
 this bug.  Was it a special ns message?  Is there
 anything I can do to
 help narrow this down?  And help is appreciated as I
 fear this could be
 a long sunday afternoon otherwise :/

 Thanks

 Ben
 The Battle Grounds Lead Programmer

 Charlie Cleveland wrote:

 This is a multi-part message in MIME format.
 --
 [ Picked text/plain from multipart/alternative ]
 We're running some NS playtests under Steam, and
 one of the big problems were having is something
 called a Host_Error. Suddenly, everyone on the
 server will get kicked off the server, and will be
 back in their Steam UI.  Written to everyone's
 console is this ominous error message:
 
 Host_Error: UserMsg: Not Present on Client 57
 
 Does anyone have any idea on what might be causing
 this, or how to fix it?
 
 -Charlie
 --
 Charlie Cleveland
 Game programmer and designer
 http://www.natural-selection.org
 http://overmind.org
 --
 
 
 ___
 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



__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

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



Re: [hlcoders] Host_Error under Steam

2003-10-02 Thread Marco Leise
We're running some NS playtests under Steam, and one of the big problems were having is something called a Host_Error. Suddenly, everyone on the server will get kicked off the server, and will be back in their Steam UI.  Written to everyone's console is this ominous error message:

Host_Error: UserMsg: Not Present on Client 57

Does anyone have any idea on what might be causing this, or how to fix it?

-Charlie
I'm not a HL-code, but there was a post about some command that doesn't work any 
longer. Can you track the error down to a special command somewhere? What was everyone 
doing when the server crashed?
And something a bit off topic: I just read about Steam bugs interrupting the playtests 
in the NS mapping forum and someone asked what the deadline for new co_maps will be. 
It's urgent because he sais he will not go to school just to get his map finished in 
time :O. A 'not before' date would be sufficient. Thx.
___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


Re: [hlcoders] Host_Error under Steam

2003-10-02 Thread tei
Hello Charlie,
CC We're running some NS playtests under Steam, and one of the big problems were 
having is something called a Host_Error. Suddenly, everyone on the server will get 
kicked off the server, and will be
CC back in their Steam UI.  Written to everyone's console is this ominous error 
message:

CC Host_Error: UserMsg: Not Present on Client 57

CC Does anyone have any idea on what might be causing this, or how to fix it?


A HOST_ERROR is a server problem, a unexpected problem that result the
game need to end (can't continue). But its not fatal as SYS_ERROR, a
sys error is a engine crash, and end has a Messagebox.

Well.. something bad occur, unexpected, not able to fix or ignore by
engine interpreter.

The error message show as is something related with UserMsg, and
about some data that is not here (client with id 57?) maybe at a
client_state_t struct, or something similar.  Maybe the engine expect
some user will exist and is actually removed from the structures data
for some reason. Maybe the no of clients o index of client is not
correct.

Its Client 57 the 57th entity? I guess 0 is the world, 1 is the
first player.. but maybe not, I know very littel about Half-Life.

Good Luck!


CC -Charlie
CC --
CC Charlie Cleveland
CC Game programmer and designer
CC http://www.natural-selection.org
CC http://overmind.org
CC --


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



RE: [hlcoders] Host_Error under Steam

2003-10-02 Thread Geoff
The client 57 a sent a message that doesn't exist.

-EvilGrin

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Charlie
Cleveland
Sent: Thursday, October 02, 2003 5:48 AM
To: hlcoder
Subject: [hlcoders] Host_Error under Steam

This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
We're running some NS playtests under Steam, and one of the big problems
were having is something called a Host_Error. Suddenly, everyone on the
server will get kicked off the server, and will be back in their Steam
UI.  Written to everyone's console is this ominous error message:

Host_Error: UserMsg: Not Present on Client 57

Does anyone have any idea on what might be causing this, or how to fix
it?

-Charlie
--
Charlie Cleveland
Game programmer and designer
http://www.natural-selection.org
http://overmind.org
--


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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003




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



Re: [hlcoders] Host_Error under Steam

2003-10-02 Thread Rockefeller
Charlie Cleveland wrote:
Host_Error: UserMsg: Not Present on Client 57
I might be wrong, but this 57 could be the message number.
Try to find out what REG_USER_MSG() returns 57, maybe then you can find
the message that causes that problem...
Rockefeller

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


Re: [hlcoders] Host_Error under Steam

2003-10-02 Thread Charlie Cleveland
Message 57 is initialized by the engine, as the first mod-level message I
register is gmsgSelAmmo, which returns a message ID of 66.  Is there a way
to find out what a messageID is named?

-Charlie
--
Charlie Cleveland
Game programmer and designer
http://www.natural-selection.org
http://overmind.org


- Original Message -
From: Michael Shimmins [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 02, 2003 11:23 AM
Subject: RE: [hlcoders] Host_Error under Steam


 Why would the occurrence of this error message be caused by anything
 different to every other time this message appears?

 The server sent a message to every client (I say every client since
everyone
 gets kicked off at the same time), which the client code doesn't have the
 appropriate message receiver for.

 If this is occurring since the introduction of steam, I assume this would
be
 a message steam is sending.

 Michael Shimmins
 Sesechial Software

 Phone: +613 9504 3665
 Fax: +613 9504 3488
 Mobile: 0407 643 414
 ___
 Important - This email and any attachments may be confidential. If
received
 in error, please contact us and delete all copies. Before opening or using
 attachments, check them for viruses and defects. Regardless of any loss,
 damage or consequence, whether caused by the negligence of the sender or
 not, resulting directly or indirectly from the use of any attached files
our
 liability is limited to resupplying any affected attachments. Any
 representations or opinions expressed are those of the individual sender,
 and not necessarily those of Sesechial Software.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Rockefeller
 Sent: Friday, 3 October 2003 1:01 AM
 To: [EMAIL PROTECTED]

 Charlie Cleveland wrote:
  Host_Error: UserMsg: Not Present on Client 57

 I might be wrong, but this 57 could be the message number.
 Try to find out what REG_USER_MSG() returns 57, maybe then you can find
 the message that causes that problem...

 Rockefeller


 ___
 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



Re: [hlcoders] Host_Error under Steam

2003-10-02 Thread botman
 Message 57 is initialized by the engine, as the first mod-level message I
 register is gmsgSelAmmo, which returns a message ID of 66.  Is there a way
 to find out what a messageID is named?

I don't believe there is a way to determine the original message name from
the message ID given by the REG_USER_MSG() engine function.

Like you have noticed, all message IDs below 64 are reserved for the engine
and these are created internally in the engine (they don't use REG_USER_MSG
to get created and you can't intercept them since the MOD code is not the
one registering it).

Internal engine messages are also not interceptable on the client side since
the client-side engine will filter out any messages that it is supposed to
process (for example all of the TE_xxx messages).

I would think the only way for someone who doesn't have access to the engine
source to track down what's causing the problem is to log EACH AND EVERY
network message that gets sent to ALL clients (i.e. put a hook in
MESSAGE_BEGIN and write out to a text file all the parameters).  Make SURE
you flush() the output file after every message so that when the engine
crashes, you won't have stuff stuck in a memory buffer waiting to be written
to disk.  Then when the engine crashes, take a look at the last thing to be
written to disk and that should be the one that caused the engine to crash.

Good Luck.

Jeffrey botman Broome


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



[hlcoders] Host_Error under Steam

2003-10-01 Thread Charlie Cleveland
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
We're running some NS playtests under Steam, and one of the big problems were having 
is something called a Host_Error. Suddenly, everyone on the server will get kicked off 
the server, and will be back in their Steam UI.  Written to everyone's console is this 
ominous error message:

Host_Error: UserMsg: Not Present on Client 57

Does anyone have any idea on what might be causing this, or how to fix it?

-Charlie
--
Charlie Cleveland
Game programmer and designer
http://www.natural-selection.org
http://overmind.org
--


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