Welcome, Guest. Please login or register.
Did you miss your activation email?
November 26, 2024, 05:59:41 AM
Home Help Login Register
News: Zombie Master 2 discussion

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: [EXPLOIT] Proven way of getting Traitor non-stop
Pages: [1]
Author Topic: [EXPLOIT] Proven way of getting Traitor non-stop  (Read 6871 times)
OMG PANTS!
Poster

Posts: 4


« on: July 09, 2010, 07:18:01 AM »

Hello, this is my first post on these forums and I've posted this thread to ask if this exploit could be fixed.

I've discovered how non-admin players get traitor non-stop. All you simply need to do is type retry in console and on the next round you will have a 75% of getting traitor. I would like this exploit fixed and I am still gathering info.

Note: If someone else is doing the same thing, your chances are reduced.

As far as I'm concerned this works.

Another note: I just did this now and I got traitor.

Regards, Pants.
« Last Edit: July 12, 2010, 04:36:21 AM by OMG PANTS! »
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #1 on: July 09, 2010, 08:41:46 AM »

100% bullshit.
Marauder8
Build Tester
*
Posts: 4639


Future Emperor of Antarctica


« Reply #2 on: July 09, 2010, 10:08:04 AM »

/thread

THIS RAINCOAT IS FROM THE DEVIL
Scrap.est
Poster

Posts: 6782


Gigglfarting


« Reply #3 on: July 09, 2010, 12:13:18 PM »

I don't know guys. His user name is awfully respectable, I think I will trust him.

The faster they fester the quicker they muster.
dude I am in the gifted program. I am probably more intelligent than you hell I am more intelligent than you. Come one you and 90% of the ZM forum are trolls
Charles445
Build Tester
*
Posts: 2338


I LOVE THIS AVATAR


« Reply #4 on: July 10, 2010, 07:23:42 PM »

I think this is on the same grounds of pressing buttons on your gameboy to increase the chance of the pokemon getting caught.
It may seem that it works, but it really doesn't change a thing.

del>Ok, so Bad King, you are just going to wait for Garry to fix?
What an idiotic thing to ask. Dammit weed.

Bookcases, Bookcases Everywhere
zoobird
Poster

Posts: 108


« Reply #5 on: July 10, 2010, 07:48:45 PM »

I think this is on the same grounds of pressing buttons on your gameboy to increase the chance of the pokemon getting caught.
It may seem that it works, but it really doesn't change a thing.

What it didn't work?
My whole life is a lie...
C.Mong
Poster

Posts: 280


DNR Owner


« Reply #6 on: July 10, 2010, 11:48:25 PM »

It never ever ever failed me back in the day. I don't know how it can't work.
GOD IS PLAYING TRICKS ON ME.

www.dnr-gaming.com
Charles445
Build Tester
*
Posts: 2338


I LOVE THIS AVATAR


« Reply #7 on: July 11, 2010, 12:04:49 AM »

The placebo effect is strong with this one.
I MUST INVESTIGATE

EDIT:
Ok, came back from investigations.
This myth is bullshit.

Log of investigations :
---- Trouble in Terrorist Town
--@-- It's time to find out why people think reconnecting work.
--@-- Includes shouldn't affect too much.
--@-- Same with ConVars.

function GM:Initialize()
  --@--Boring startup junk
 
  -- For the paranoid
  --@-- The comment says "For the paranoid" This is a legitimate math randomseed
  --@-- This should make it so the math is 100% random. First strike against the myth
  math.randomseed(os.time())

  --@-- More boring crap
end

--@-- Boring methods
--@-- Removing methods that already know who is traitor
--@-- BeginRound merely runs the SelectRoles method. No problem.
 

function SelectRoles()
--@-- Ok here it is, the big one. This decides it all.
 
  for k,v in pairs(player.GetAll()) do
      -- everyone on the spec team is in specmode
      if IsValid(v) and (not v:IsSpec()) then
--@-- Ok, the above line really gets me suspicious.
--@-- Now I could be a total dumbass, but I know that the spectating
--@-- in TTT is partially faked.
--@-- IsSpec probably checks for said fake spectatorship,
--@-- and a rejoin might not make you a fake spectator
--@-- therefore you get signed up for this
--@-- I could be 100% wrong, however.

        -- save previous role and sign up as possible traitor/detective
       
--@-- So now we have two tables. The list of choices for pickings
--@-- and the previous roles for said pickings.
table.insert(prev_roles[v:GetRole() or ROLE_INNOCENT], v)
        table.insert(choices, v)
      end

      v:SetRole(ROLE_INNOCENT)
  end

  --@-- Irrelevant lines
 
  --@-- Here we go!
  -- first select traitors
  local ts = 0
  while ts < traitor_count do
      -- select random index in choices table
      local pick = math.random(1, #choices)
  --@-- This is legitly random
  --@-- However only picks from the choices table, which had to not be fake spectating.
  --@-- I hope I'm not spewing bullshit
 
      -- the player we consider
      local pply = choices[pick]

      -- make this guy traitor if he was not a traitor last time, or if he makes
      -- a roll
  --@-- Our first true indication of tomfoolery. You DO have a lesser chance if you were
  --@-- Traitor last time, and whether that is avoided by retrying could be a possibility.
      if (not table.HasValue(prev_roles[ROLE_TRAITOR], pply)) or (math.random(1, 3) == 2) then
        pply:SetRole(ROLE_TRAITOR)

        table.remove(choices, pick)
        ts = ts + 1
      end
  end
  --@-- We're not here for detectives. Snipping time.
end

--@-- Well there we go.
--@-- We only found two possible leads.
--@-- 1. Problems with fake TTT spectating
--@-- 2. Rejoining opts you out of prev_roles, giving you higher Traitor chance.

--@-- Let's investigate numero uno!
--@-- First off we gotta go and checkan out the IsSpec method.

--@-- From another lua file...
function plymeta:IsSpec() return self:Team() == TEAM_SPEC end
--@-- Well, that's uneventful.
--@-- It checks Team() and if it's like, TEAM_SPEC then it goes naww
--@-- Let's go find Team()

--@-- First interesting tidbit from player_ext.lua
function plymeta:SpawnForRound(dead_only)
  --@-- Snip
  if self:Team() == TEAM_SPEC then
      self:UnSpectate()
  end
  --@-- Snip
end
--@-- Second, from player.lua
local function SelectTeam()
  if GetRoundState() == ROUND_PREP then
      return TEAM_TERROR
  else
      return TEAM_SPEC
  end
end
--@-- ...
--@-- Well, what this says is that when you first spawn into the game, you're either a spec or a terror.
--@-- And most likely you'll be a spec, so therefore you'll return true on IsSpec()
--@-- Which therefore means you won't be early-picked for Traitor status
--@-- Making me 100% wrong. Yay.
--@-- Thus leaving the only hope for this in the method UnSpectate()
--@-- Which comes with Gmod.
--@-- As for possibility number 1...
--@-- GAME OVER YEAHHHHHHHHHHHHHHH

--@-- And for number two, rejoining opts you out of prevroles.
--@-- This would only theoretically help if you were traitor previously.
--@-- So maybe, just maybe, if you were a traitor, retrying might help.
--@-- Otherwise, this myth is bogus. BOGUS


tl;dr, busted, and the only possible help is retrying if you were previously traitor.
« Last Edit: July 11, 2010, 12:42:20 AM by Charles445 »

del>Ok, so Bad King, you are just going to wait for Garry to fix?
What an idiotic thing to ask. Dammit weed.

Bookcases, Bookcases Everywhere
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #8 on: July 11, 2010, 08:09:56 AM »

Yeah, spectating isn't really faked in TTT. The part that you could call faked is that spectators are shown as "confirmed dead" or "MIA" if they're dead players, but that's clientside. To the server those players are just spectators, just like people who just (re)joined.

Rejoining to dodge the traitor-ness penalty was possible, but of course far from a 75% thing. It's already fixed in the latest version.

Nice investigation though, if I hadn't already known about that traitor rejoining thing, I would now.
« Last Edit: July 11, 2010, 08:11:09 AM by Bad King Urgrain »
OMG PANTS!
Poster

Posts: 4


« Reply #9 on: July 12, 2010, 03:52:16 AM »

Alright now try this, once you get traitor and you die, type retry in console and tell me your results. I've done this a lot of times and so have other users and it works for them and me.

This time ONCE YOU GET TRAITOR AND YOU DIE type retry in console and wait for the next round, so far every time I do this it always gets me traitor.
OMG PANTS!
Poster

Posts: 4


« Reply #10 on: July 12, 2010, 04:33:53 AM »

Alright sorry guys it just seems that when I did it I got lucky, thanks anyway and sorry for wasting your time.
OMG PANTS!
Poster

Posts: 4


« Reply #11 on: July 12, 2010, 04:34:07 AM »

Lock Please.
Ajunk
Build Tester
*
Posts: 14000


ಠ_ಠ


« Reply #12 on: July 12, 2010, 05:28:57 AM »

Bottom left, bud.

You're all the most fucking heartless people
Pages: [1]
Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: [EXPLOIT] Proven way of getting Traitor non-stop « previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Page created in 0.01 seconds with 17 queries.