Re: [hlcoders] Falling spectators

2007-01-26 Thread Richard

Nothing happens in CBasePlayer::InitialSpawn except
m_iConnected = PlayerConnected;
and that gets called as soon as the player has connected to the server.
Its only called from hl2mp_client.cpp and isn't overridden in any of the
sub classes of CBasePlayer.

This is driving me mad!
R,

Ben Everett wrote:

It sounds like you have something going funky in your player code's
InitialSpawn.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard
Sent: Thursday, January 25, 2007 6:07 PM
To: hlcoders@list.valvesoftware.com
Subject: Re: [hlcoders] Falling spectators

Weird, just trying to figure out this one myself.

I've been stepping through just about every function called in
gamemovement.cpp such as FullObserverMove and FullNoClipMove, but no
where have I seen the velocity vector being changed from 0.

If I join a team (team based mod) and go back to spectators, this no
longer happens, and I can fly around for as long as I want to. It only
seems to happen when I go into spectator mode without having spawned as
a player first, so I was wondering if that might have some bearing on
the matter?

Again I've looked for something that happens when the player spawns that
might explain this, but haven't been able to find anything.

Any help appreciated!

R.

Niclas wrote:


--
[ Picked text/plain from multipart/alternative ]
Every time I am spectator in my mod, I start falling.
Flying around as a spectator for about a minute then I simply start to


fall,


like someone cut of my wings :P, but since Im a spectator I fall through
the floor and never stops falling.

Anyone know how to fix this or know what might casue it?


Niclas
--

___
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


__ NOD32 2008 (20070125) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.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] Falling spectators

2007-01-25 Thread Richard

Weird, just trying to figure out this one myself.

I've been stepping through just about every function called in
gamemovement.cpp such as FullObserverMove and FullNoClipMove, but no
where have I seen the velocity vector being changed from 0.

If I join a team (team based mod) and go back to spectators, this no
longer happens, and I can fly around for as long as I want to. It only
seems to happen when I go into spectator mode without having spawned as
a player first, so I was wondering if that might have some bearing on
the matter?

Again I've looked for something that happens when the player spawns that
might explain this, but haven't been able to find anything.

Any help appreciated!

R.

Niclas wrote:

--
[ Picked text/plain from multipart/alternative ]
Every time I am spectator in my mod, I start falling.
Flying around as a spectator for about a minute then I simply start to fall,
like someone cut of my wings :P, but since Im a spectator I fall through
the floor and never stops falling.

Anyone know how to fix this or know what might casue it?


Niclas
--

___
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] Falling spectators

2007-01-25 Thread Ben Everett
It sounds like you have something going funky in your player code's
InitialSpawn.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard
Sent: Thursday, January 25, 2007 6:07 PM
To: hlcoders@list.valvesoftware.com
Subject: Re: [hlcoders] Falling spectators

Weird, just trying to figure out this one myself.

I've been stepping through just about every function called in
gamemovement.cpp such as FullObserverMove and FullNoClipMove, but no
where have I seen the velocity vector being changed from 0.

If I join a team (team based mod) and go back to spectators, this no
longer happens, and I can fly around for as long as I want to. It only
seems to happen when I go into spectator mode without having spawned as
a player first, so I was wondering if that might have some bearing on
the matter?

Again I've looked for something that happens when the player spawns that
might explain this, but haven't been able to find anything.

Any help appreciated!

R.

Niclas wrote:
 --
 [ Picked text/plain from multipart/alternative ]
 Every time I am spectator in my mod, I start falling.
 Flying around as a spectator for about a minute then I simply start to
fall,
 like someone cut of my wings :P, but since Im a spectator I fall through
 the floor and never stops falling.

 Anyone know how to fix this or know what might casue it?


 Niclas
 --

 ___
 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


__ NOD32 2008 (20070125) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com


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