Check your Spawn code as well... also, how are you handling jointeam for spectators?
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Sent: Friday, January 26, 2007 3:04 PM To: [email protected] Subject: Re: [hlcoders] Falling spectators 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: [email protected] > 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 __________ NOD32 2010 (20070126) 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

