Author Topic: You can't see me. HAVE YOU SEEN ME???  (Read 4425 times)

Offline console

  • Brobdingnagian Member
  • ***
  • Posts: 4518
  • "Man, this is the way to travel," said my attorney
    • View Profile
    • tastyspleen.net
  • Rated:
You can't see me. HAVE YOU SEEN ME???
« on: October 03, 2006, 08:39:04 AM »
GREETINGS AND SALUTATIONS,

r1ch may have found the longstanding "INVISIBILITY BUG".

Apparently id Software goofed on their 3.21 source release, and re-introduced a bug they had previously fixed.

In p_client.c: PutClientInServer()
Code: [Select]
--- game/p_client.c     11 May 2005 03:21:23 -0000   1.4
+++ game/p_client.c     3 Oct 2006 15:32:11 -0000
@@ -1188,7 +1188,7 @@
        ent->waterlevel = 0;
        ent->watertype = 0;
        ent->flags &= ~FL_NO_KNOCKBACK;
-       ent->svflags &= ~SVF_DEADMONSTER;
+       ent->svflags = 0;  // invisiblilty fix (id apparently lost this between 3.20 and 3.21)

        VectorCopy (mins, ent->mins);
        VectorCopy (maxs, ent->maxs);

So r1ch has provided me a simple patch (above) to restore the original id Software fix as of 3.20, that somehow regressed to being broken in 3.21.

So please be on the lookout for the invisibility bug, if you play on the following servers: vanilla, vanilla2, dm, mutant, pygmy, xquake, ts500.  Hopefully the problem is now fixed.  If not, please let me know.

(NOTE: The patch has not been applied to the sheridan code yet, so, invisibility could still happen there.)


Thanks,

:mrgreen:

  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline Whirlingdervish

  • Super ShortBus Extravaganza
  • Illimitable Sesquipedalian Member
  • *
  • Posts: 6384
    • View Profile
    • The Dervish Depository
  • Rated:
Re: You can't see me. HAVE YOU SEEN ME???
« Reply #1 on: October 03, 2006, 08:44:24 AM »
Nice work R1CH! (and quadz!  :D)

 :bravo:
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline jägermonsta

  • Brobdingnagian Member
  • ***
  • Posts: 4441
  • Bigger Than Jesus
    • View Profile
  • Rated:
Re: You can't see me. HAVE YOU SEEN ME???
« Reply #2 on: October 03, 2006, 08:46:39 AM »
(NOTE: The patch has not been applied to the sheridan code yet, so, invisibility could still happen there.)

Get to work Wheet!   :rockon:
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline [BTF]Jehar

  • Swanky Member
  • *****
  • Posts: 777
  • Gee Gee or Whatnot.
    • View Profile
    • Tastyspleen.tv
  • Rated:
Re: You can't see me. HAVE YOU SEEN ME???
« Reply #3 on: October 03, 2006, 09:12:49 AM »
Awesome!!! It does cause me to wonder what could have caused that to get lost though. Perhaps some side bug that somebody figured was worth risking invisibility? It's not Carmacks work, that's for sure. ;)

This does save some annoyance though, thank you.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
Tastyspleen ==Tastyspleen.tv==! All Quake, All the Time

Offline Punk_FAS

  • Carpal Tunnel Member
  • ******
  • Posts: 1744
    • View Profile
  • Rated:
Re: You can't see me. HAVE YOU SEEN ME???
« Reply #4 on: October 03, 2006, 09:30:46 AM »
Nice work  :bravo:
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline Wheet

  • Full Member
  • ***
  • Posts: 113
    • View Profile
  • Rated:
Re: You can't see me. HAVE YOU SEEN ME???
« Reply #5 on: October 03, 2006, 10:05:12 AM »
Sheridan is now up to date, just needs to go live. I would assume it's the SVF_NOCLIENT which is causing the problem if this solution holds true, probably somehow this flag is not being unset on a player leaving the game from spectator mode? It could be when they re-enter the server they inherit the SVF_NOCLIENT flag from their last play. I would think the edict structure would be freed from memory after the client is disconnected but maybe not. It would seem odd, however, that since PutClientInServer() is called on the first spawn and all respawns that the inviso bug clears up when the player is killed. Unless somewhere in the death sequence the SVF_NOCLIENT or all edict server flags are cleared. I also enjoy all you can eat pancakes, I can never eat too many though, those suckers fill you up fast.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline Wheet

  • Full Member
  • ***
  • Posts: 113
    • View Profile
  • Rated:
Re: You can't see me. HAVE YOU SEEN ME???
« Reply #6 on: October 03, 2006, 11:41:18 AM »
I am going to update Sheridan with the following patch:

p_client.c

void ClientBeginDeathmatch (edict_t *ent)
{
        G_InitEdict (ent);

        InitClientResp (ent->client);

        // locate ent at a spawn point
+      ent->svflags &= ~SVF_NOCLIENT;
        PutClientInServer (ent);


I am almost positive that this will fix the problem without forcing the PutClientInServer to clear svflags on the edict. I don't know if it will ever be a problem that it clears the flags but just incase it is I would rather not cause another bug. Please update live Sheridan with this new change.
« Last Edit: October 03, 2006, 11:43:42 AM by Wheet »
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline console

  • Brobdingnagian Member
  • ***
  • Posts: 4518
  • "Man, this is the way to travel," said my attorney
    • View Profile
    • tastyspleen.net
  • Rated:
Re: You can't see me. HAVE YOU SEEN ME???
« Reply #7 on: October 03, 2006, 11:42:33 AM »
Sheridan is now up to date, just needs to go live. I would assume it's the SVF_NOCLIENT which is causing the problem if this solution holds true, probably somehow this flag is not being unset on a player leaving the game from spectator mode?

Thanks!  Sheridan is updated/restarted.

Yes, in fact that's how r1ch deliberately reproduced the bug...
Quote from: IRC
[20:43] <R1CH> well
[20:43] <R1CH> i reproduced it as expected first time on ts500
[20:44] <quadz> whoa... how ? 
[20:44] <R1CH> re-use of spectator slot which disconnected during free float cam


Regards,

quadz
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline console

  • Brobdingnagian Member
  • ***
  • Posts: 4518
  • "Man, this is the way to travel," said my attorney
    • View Profile
    • tastyspleen.net
  • Rated:
Re: You can't see me. HAVE YOU SEEN ME???
« Reply #8 on: October 03, 2006, 11:45:44 AM »
I am going to update Sheridan with the following patch:

p_client.c

void ClientBeginDeathmatch (edict_t *ent)
{
        G_InitEdict (ent);

        InitClientResp (ent->client);

        // locate ent at a spawn point
+      ent->svflags &= ~SVF_NOCLIENT;
        PutClientInServer (ent);


I am almost positive that this will fix the problem without forcing the PutClientInServer to clear svflags on the edict. I don't know if it will ever be a problem that it clears the flags but just incase it is I would rather not cause another bug. Please update live Sheridan again unless you haven't done it yet.

Well, actually this was the very first patch r1ch suggested... (with the caveat that he took no responsibility if spectators suddenly became visible ;)).

However, when he compared against the older id sources, which show that idsoftware's own fix was the "ent->svflags = 0" in PutClientInServer, we undid the change you suggested above, and just went with id's solution.


Regards,

quadz

  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline X'tyfe

  • Phenomenally Prodigious Member
  • **
  • Posts: 3587
  • Yep
    • View Profile
  • Rated:
Re: You can't see me. HAVE YOU SEEN ME???
« Reply #9 on: October 03, 2006, 11:49:25 AM »
this is good news indeed  ;D
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline Wheet

  • Full Member
  • ***
  • Posts: 113
    • View Profile
  • Rated:
Re: You can't see me. HAVE YOU SEEN ME???
« Reply #10 on: October 03, 2006, 12:01:11 PM »
I am positive that my change will not make spectators appear during spectator mode. I suppose id threw that in PutClientInServer() just incase they missed any other logical AND operations to clear certain svflags; just to be on the safe side. If they chose that method though it's most likely legit. If BFGs start falling from the sky and white rabbits start hopping around on Sheridan we will know why.  :evilgrin:
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline [BTF] Reflex

  • Loquaciously Multiloquent Member
  • ****
  • Posts: 5324
  • !
    • View Profile
  • Rated:
Re: You can't see me. HAVE YOU SEEN ME???
« Reply #11 on: October 03, 2006, 12:42:56 PM »
BUNNIES!!!!!!!!!



hah,  its all fixed...  and I dont think AX will be around to enjoy it??????????
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
Sometimes I think it’s a sin when I feel like I’m winnin’ when I’m losin’ again

Offline Whirlingdervish

  • Super ShortBus Extravaganza
  • Illimitable Sesquipedalian Member
  • *
  • Posts: 6384
    • View Profile
    • The Dervish Depository
  • Rated:
Re: You can't see me. HAVE YOU SEEN ME???
« Reply #12 on: October 03, 2006, 03:46:55 PM »
Axe is busy bitching about spammers now that they've fixed this "terrible injustice".
I guess someone has to be the voice of completely selfish assholism even when things are getting fixed,
Otherwise that lazy quadz guy might never do anything around here!
 :lolsign:
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline Sgt. Dick

  • Loquaciously Multiloquent Member
  • ****
  • Posts: 5158
    • View Profile
  • Rated:
Re: You can't see me. HAVE YOU SEEN ME???
« Reply #13 on: October 03, 2006, 04:07:33 PM »
Damn,

I was only invisible once during all this time, and now its gone  :razzberry:

Good work since it happen alot more against me than for me  :evilgrin:
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
aka IOU

 

El Box de Shoutamente

Last 10 Shouts:

Costigan_Q2

November 11, 2024, 06:41:06 AM
"Stay cozy folks.

Everything is gonna be fine."

There'll be no excuses for having TDS after January 20th, there'll be no excuses AT ALL!!!
 

|iR|Focalor

November 06, 2024, 03:28:50 AM
 

RailWolf

November 05, 2024, 03:13:44 PM
Nice :)

Tom Servo

November 04, 2024, 05:05:24 PM
The Joe Rogan Experience episode 223 that dropped a couple hours ago with Musk, they're talking about Quake lol.

Costigan_Q2

November 04, 2024, 03:37:55 PM
Stay cozy folks.

Everything is gonna be fine.
 

|iR|Focalor

October 31, 2024, 08:56:37 PM

Costigan_Q2

October 17, 2024, 06:31:53 PM
Not activated your account yet?

Activate it now! join in the fun!

Tom Servo

October 11, 2024, 03:35:36 PM
HAHAHAHAHAHA
 

|iR|Focalor

October 10, 2024, 12:19:41 PM
I don't worship the devil. Jesus is Lord, friend. He died for your sins. He will forgive you if you just ask.
 

rikwad

October 09, 2024, 07:57:21 PM
Sorry, I couldn't resist my inner asshole.

Show 50 latest
Welcome, Guest. Please login or register.
November 22, 2024, 04:28:51 PM

Login with username, password and session length