Other Shiz > Boneyard

How to catch Name Changers.

<< < (3/7) > >>

PhrozenFox:
How to find a name changer:

Steal underpants
?? ??
Profit

» Magic «:
there is a easier way to determine which one is the hacker

EG:

"Name" -- The real 'Name'
"Name " -- The fake 'Name'

You can tell because the fake has a space after their name

¦FlapJack¦:
All these techniques are shit. Untested.


--- Code: ---local names = {}

for k , v in ipairs(player.GetAll()) do
table.insert(names , {v , v:Nick()})
end

function table.HasMember(tbl , val) -- table.HasValue only works on tables with singular indexes
for k ,v in ipairs(tbl) do
for a , b in ipairs(v) do
if val == b then
return true
end
end
if v == val then
return true
end
end
end

local function CheckNames(p , c , a)
for k , v in ipairs(player.GetAll()) do
if not table.HasMember(names , v) then
table.insert(names , {v , v:Nick()})
end
for a , b in pairs(names) do
if b[1] == v then
if b[2] != v:Nick() then
print(v:SteamID().. " is using a name changer")
end
end
end
end
end
concommand.Add("check_names" , CheckNames)
--- End code ---

» Magic «:

--- Quote from: ¦FlapJack¦ on March 10, 2010, 12:22:02 PM ---All these techniques are shit. Untested.


--- Code: ---local names = {}

for k , v in ipairs(player.GetAll()) do
table.insert(names , {v , v:Nick()})
end

function table.HasMember(tbl , val) -- table.HasValue only works on tables with singular indexes
for k ,v in ipairs(tbl) do
for a , b in ipairs(v) do
if val == b then
return true
end
end
if v == val then
return true
end
end
end

local function CheckNames(p , c , a)
for k , v in ipairs(player.GetAll()) do
if not table.HasMember(names , v) then
table.insert(names , {v , v:Nick()})
end
for a , b in pairs(names) do
if b[1] == v then
if b[2] != v:Nick() then
print(v:SteamID().. " is using a name changer")
end
end
end
end
end
concommand.Add("check_names" , CheckNames)
--- End code ---

--- End quote ---

lolwut, who can really be bothered to make a lua to tell ya whos haaxing

¦FlapJack¦:

--- Quote from: -= Magic =- on March 10, 2010, 01:16:52 PM ---lolwut, who can really be bothered to make a lua to tell ya whos haaxing

--- End quote ---

Yes, lets keep taking screenshots and comparing them while the namechanger can voice spam, speedhack and aimbot.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version