2024-11-23, 09:01 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
Pages: [1]
  Print  
Author Topic: "Unknown Class" Bug (Found and Fixed)  (Read 17801 times)
0 Members and 1 Guest are viewing this topic.
Phoenix
Bird of Fire
 

Team Member
Elite (7.5k+)
*********
Posts: 8814

WWW
« on: 2006-03-06, 02:28 »

On the Euro server last night, a player named Indje turned into a "flying gauntlet man".  What is a flying gauntlet man?  Well, it's a Visor model stuck in a death animation with a detached gauntlet, flying across the level with no weapon except for said gauntlet.  I saw him as the mysterious, rarely seen "Class:  Undefined".  I was so much in shock at the sight of this flying gauntlet man that I allowed him to run up and pummel me - which resulted in me being pimpslapped all the way off the server with an error message (nice shot there, Indje, that's some arm you got).  Tab and Alucard also got knocked off.  This bug had cropped up once before in a CTF match, but we've never been able to figure it out until now.  Tabun was recording a demo when it happened, so I was able to track down the cause.  Indje's player class somehow got set to "6", which is not a defined class.  We only use 0 (no class/spectator when initially connecting) and 1 through 5 (Earth up through Arena).  Well it turns out the random class code has a 1 in 32,767 chance of doing this owing to how the random number generation works in the current function.  I've changed it so that 1.0 won't have this problem by using a different random number generation technique.

I can't do anything about it in .99f, so just be aware that this will occasionally happen for now, though very rarely.  It can only happen to people who are random class.  If you ever end up stuck with only a gauntlet and everyone drops off the server at once just be aware of the problem and disconnect, wait a few seconds, and reconnect.  Everything will be fine after that.
Logged


I fly into the night, on wings of fire burning bright...
Visimar
 

Archvile
*****
Posts: 126

« Reply #1 on: 2006-03-06, 02:34 »

o.o Woah, that's pretty creepy...though I did get a laugh out of seeing the words "flying gauntlet man".

I'll be sure to do what you said if it ever happens to me, heh...
Logged
Kain-Xavier
 

Beta Tester
Icon of Sin
***********
Posts: 917

« Reply #2 on: 2006-03-06, 11:55 »

Huh.  That's actually damn nifty.  I'm glad that you were finally able to catch the bug though.
Logged

scalliano
 

Elite
*
Posts: 1095

Yup, that's me

« Reply #3 on: 2006-03-06, 20:27 »

\kick: The ultimate weapon  Thumbs up!
Logged

PSN ID: scalliano

The Arena knows no gender, colour or creed, only skill.
shambler
 
Icon of Sin
**********
Posts: 999

« Reply #4 on: 2006-03-07, 18:33 »

No screetshot yet?
Logged
scalliano
 

Elite
*
Posts: 1095

Yup, that's me

« Reply #5 on: 2006-03-08, 02:30 »

http://forums.wireheadstudios.org/index.ph...t=ST&f=9&t=2487

Slipgate - Wink
Logged

PSN ID: scalliano

The Arena knows no gender, colour or creed, only skill.
Lopson
 

Elite
*
Posts: 1133

Still Going In Circles

« Reply #6 on: 2006-03-08, 10:30 »

What's the map in that screenshot?
Logged

Phoenix
Bird of Fire
 

Team Member
Elite (7.5k+)
*********
Posts: 8814

WWW
« Reply #7 on: 2006-03-08, 16:29 »

Not the same thing, but it's something I still need to take a peek at.  As for the map, I don't know, but it has an uncanny resemblence to the oil rig Domination map in Unreal Tournament.
« Last Edit: 2006-03-08, 16:30 by Phoenix » Logged


I fly into the night, on wings of fire burning bright...
scalliano
 

Elite
*
Posts: 1095

Yup, that's me

« Reply #8 on: 2006-03-09, 20:50 »

The map is called "Platform6" by Cyben. As for whether it's a UT remake, I'd need to play UT again Slipgate - Smile You can get it here:

http://lvlworld.com/mapper.php?m=Cyben
Logged

PSN ID: scalliano

The Arena knows no gender, colour or creed, only skill.
Lopson
 

Elite
*
Posts: 1133

Still Going In Circles

« Reply #9 on: 2006-03-09, 21:29 »

Danke.
Logged

Pages: [1]
  Print  
 
Jump to: