I did a full test of going through that process (breakpoints at all references to setting the player origin), and this still didn't get me any closer to the problem. I found the absolute position of the spawn point and had it print to console the location of that player (GetAbsOrigin()), when I spawned at the wrong spot I had a key bound that would have it print out my location from the value returned at GetAbsOrigin(). Here's the interesting part, it really is spawning me at the location I told it to... but a split second after that it's setting my position to a completely different location. I can't hunt down in the code where or why it is doing this.
Location of Selected Spawn: 0 by 1083654144 by 0 Location a few seconds later(no movement by the player): -2147483648 by -1067923612 by -536870912 Any suggestions on where this problem lurks, a possible fix, or further debugging techniques? My only thoughts is that it has something to do with the player interpolation code, since it is actually going to his last "known" position before the respawn. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of garry Sent: Tuesday, March 22, 2005 6:13 AM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] RE: Random Respawn I'd just scan the code for all the places where it sets a player's position - then try to work out if it could be being called when it is being called. Have you tried doing a full recompile? It usually solves these kinds of things that have no explanation. On Mon, 21 Mar 2005 23:40:14 -0600, Ben Everett <[EMAIL PROTECTED]> wrote: > This is a multi-part message in MIME format. > -- > [ Picked text/plain from multipart/alternative ] > Some more information on this since I spent a large majority of time working > on it. It seems to have something to do w/ interpolation. I can't reproduce > it reliably yet but it seems to happen when: > > 1) You jump and hit a model or the ceiling/roof of the static world, > it teleports you to either your spawn or your position a few seconds ago. > Timing this just right at round end can reproduce this. > > 2) There is also the problem that it will 'teleport' you to a location > that is NOT a spawn point (i.e. middle of the map, outside of the map, a > wall, etc) randomly. I can see nowhere on the server-side of the code that > is causing this. > > Any tips on where to look for a solution to this? > > _____ > > From: Ben Everett [mailto:[EMAIL PROTECTED] > Sent: Monday, March 21, 2005 1:06 AM > To: 'hlcoders@list.valvesoftware.com' > Subject: Random Respawn > > > For some reason at random intervals on random players the absolute position > of the player is set to the position of the point they spawned from. I've > been attempting to trace this bug for quite a few days now and haven't had > any luck, any tips on where to look or a possible fix? > > ~~~~~~~~~~~~~~~~~~~~~~~~ > > Codito Ergo Sum. > > Forsaken > > -- > > _______________________________________________ > 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