AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Anti WallHack plugin (need help) (https://forums.alliedmods.net/showthread.php?t=70083)

MPNumB 04-17-2008 17:06

Anti WallHack plugin (need help)
 
1 Attachment(s)
I was trying some time to create an anti wall-hack plugin, but have some problems with player models (p_* view)... I realy need help in this. Even tried to paste the "Wand of Illusion" code from warcraft3, but had no good results, cuz I don't understand it. Pls, help.

Cheap_Suit 04-18-2008 02:51

Re: Anti WallHack plugin (need help)
 
This is very interesting. I was thinking about doing this also but only when the players are not visible to each other. Anyways, this is how I manage player models with "invisible" players.

PHP Code:

new g_zombie_model[] = "models/player/zombie2/zombie2.mdl"
 
if(g_usingplayermodel)
 {
  if(!
pev_valid(g_modelent[index]))
  {
   static 
entent engfunc(EngFunc_CreateNamedEntityengfunc(EngFunc_AllocString"info_target"))
   if(
pev_valid(ent))
   {
    
engfunc(EngFunc_SetModelentg_zombie_model)
    
set_pev(entpev_classnameMODEL_CLASSNAME)
    
set_pev(entpev_movetypeMOVETYPE_FOLLOW)
    
set_pev(entpev_aimentindex)
    
set_pev(entpev_ownerindex)
 
    
g_modelent[index] = ent
    set_pev
(indexpev_rendermodekRenderTransTexture)
    
set_pev(indexpev_renderamt0)
   }
  } else  
fm_set_entity_visibility(g_modelent[index], 1)
 
stock fm_set_entity_visibility(indexvisible 1)
 
set_pev(indexpev_effectsvisible == pev(indexpev_effects) & ~EF_NODRAW pev(indexpev_effects) | EF_NODRAW
 } 

Edit: You can also do the same thing with the weapon p_* model.

MPNumB 04-18-2008 09:06

Re: Anti WallHack plugin (need help)
 
PHP Code:

    set_pev(entpev_movetypeMOVETYPE_FOLLOW)
    
set_pev(entpev_aimentindex

Won't work - tryed it. It makes the entity become invinsible and go to {4096.0, 4096.0, 4096.0} origin, cuz client engine cannot find owner.

P.S. But I have a progress, now arm animation is played on that model and submodel is displayed, only still have problems with leg animations and weapon hemself. But ducked leg animation works, but than arm animation dosn't. =P

// Edit:

I figured most things out, but there are only two things left to do:
1. How to enable gaitsequence on nonplayer entity?
2. How to set p_ model currectly, so animations will be right?

endeffects 12-16-2008 16:35

Re: Anti WallHack plugin (need help)
 
hallo,

is there any release of this anti wallhack plugin?

Owyn 12-16-2008 18:26

Re: Anti WallHack plugin (need help)
 
can you tell me what are you doing?

and i wanna tell you something more interesting, when playing on zombie mod server, it switches play to enemy team and back and AIM doesn't work anymore or works just on friendly team not depending on aim settings (which team to shoot)
can you do some anti ain useing this?

MPNumB 12-17-2008 05:13

Re: Anti WallHack plugin (need help)
 
This plugin is bugged (the version what I posted), cuz player animations suck. To continue/restart the project I need a skilled modelmaker.

plasmo 12-19-2008 07:04

Re: Anti WallHack plugin (need help)
 
if u can get this to work
you will become my god lol

endeffects 12-22-2008 12:58

Re: Anti WallHack plugin (need help)
 
hmm if i'm not wrong there are some objects available
where no wallhack works for, also for some walls
such hacks don't works. isn'T it possible to add them
as transparent object around every wall or spawn them
on walls when somebody is aiming on them and an enemie
is behind them?

i think something like that can be done with the traceline
code of avalanche i'm using in my wallhack detector

http://forums.alliedmods.net/showthread.php?t=82111

endeffects 12-23-2008 04:16

Re: Anti WallHack plugin (need help)
 
i've found an other anti wallhack plugin:
http://forums.alliedmods.net/showthr...t=82111&page=5

Exolent[jNr] 12-23-2008 14:39

Re: Anti WallHack plugin (need help)
 
@endeffects
Numb's method of getting rid of wallhackers is way better than yours.
Numb's tries to make the players invisible if they cannot be seen (so wallhacks won't see the player).
Yours assumes a player is wallhacking if they just aim through walls or gets kills through walls.

endeffects 12-23-2008 19:04

Re: Anti WallHack plugin (need help)
 
oh it was just a mind game. making the players invisible
by aiming them is just for testing purpose.

the basic different for me seems to be that numb's methode
makes a player behind a wall invisble by changing the model animation
(if i understood this correctly) and my/the hlguard methode
just stops sending the pakets.

probably both methodes work, but stopping the pakets would
be more secure. however, the major problem with all this
wallhack blocking stuff is, to identify when a player is truely
visible or not. i'm not sure if numb found a workaround which
uses low resources. i don't have enough experience here.

but i think we made some big steps within the last days
to get rid of the cheaters. there was a great teamwork of
a couple of forum members by joining different codes
and the current wallhack detector delivers nice results.

so from my point of view we maybe should find a way to
fix that fm_is_ent_visible() problem and to block the correct pakets with it.
it probably saves more resources as changing the whole animations
each time a player becomes (in)visible. or am i wrong?

draft 01-21-2009 22:51

Re: Anti WallHack plugin (need help)
 
ive made the weapon that has the same origin as the fake model and after that antiwallhack stopped work because most normal cheats check if the model has real weapon (just with the same origin) and if it has, the cheat forces to draw that model through walls and boxes on client. Thats why this algorithm cant work (the same mistake was in hlguard wallhack blocking, not the problem with soundhacks as they said)

Owyn 01-22-2009 04:48

Re: Anti WallHack plugin (need help)
 
hackers have lambert +_+ and esp and radar, they don't care if player invisible or not

draft 01-22-2009 08:43

Re: Anti WallHack plugin (need help)
 
Lol, we talk about disabling any information about player position and it doesnt care what u use as hacking options

Owyn 01-22-2009 10:49

Re: Anti WallHack plugin (need help)
 
i know servers where it is already done, i want this too, so good luck

draft 01-22-2009 11:04

Re: Anti WallHack plugin (need help)
 
can u give an exact ip of any of that servers? im pretty sure, that it wont stop my Furious SP :)

Owyn 01-22-2009 14:51

Re: Anti WallHack plugin (need help)
 
lol, you will be surprised, *link hidden*

draft 01-23-2009 10:35

Re: Anti WallHack plugin (need help)
 
So stupid non-steam server that can be joined from only 21 patch and ive spent about 20 minutes downloading thousand of files. Yes, it has anti wallhack and its name is HLGuard

p.s. Lol, ive found excellent server solution against cheaters - CSGuard with "csguard 12" cvar - completely blocks my wallhack and aimbot in Furious SP and other tested cheats

neogeo 01-23-2009 14:08

Re: Anti WallHack plugin (need help)
 
Quote:

Originally Posted by draft (Post 748682)
p.s. Lol, ive found excellent server solution against cheaters - CSGuard with "csguard 12" cvar - completely blocks my wallhack and aimbot in Furious SP and other tested cheats

hello
where can i find csguard ?
thanks.

Owyn 01-23-2009 15:39

Re: Anti WallHack plugin (need help)
 
yup, HLGuard, but i played there months ago and there was HLguard but was no wallhack block, so i'm not so sure about hlguard =0
btw, i saw no other servers where "HLGuard"s wallhack block was working (if it was it)
if you know how to make it work, tell me (and all of us) please

btw, what aimbots got blocked in furious? HLH, CSG or xqz2 style?

ps - i tried "UA CSG Configs v1.10 - for CSGuard (CSG) v8" long ago and it wasnt working
pps - share csguard that works plz)

MPNumB 01-23-2009 17:52

Re: Anti WallHack plugin (need help)
 
Ok. Let me say it this way.

If some1 wants this plugin to be 100perfect and is a skilled modelmaker who can create a _BIG_ job with models - contact me in private and perfect anti-cheat will be created.

Minwhile I'm requesting admins to close this thread, cuz it's going offtopic + idea is not possible at the moment.

Cheerz.

Exolent[jNr] 01-23-2009 17:54

Re: Anti WallHack plugin (need help)
 
PM me when you want it opened again.


All times are GMT -4. The time now is 08:21.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.