Raised This Month: $ Target: $400
 0% 

Anti WallHack plugin (need help)


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 04-17-2008 , 17:06   Anti WallHack plugin (need help)
#1

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.
Attached Files
File Type: sma Get Plugin or Get Source (anti_wh.sma - 2006 views - 6.6 KB)
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 04-18-2008 , 02:51   Re: Anti WallHack plugin (need help)
#2

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.
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.

Last edited by Cheap_Suit; 04-18-2008 at 04:05.
Cheap_Suit is offline
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 04-18-2008 , 09:06   Re: Anti WallHack plugin (need help)
#3

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?
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.

Last edited by MPNumB; 04-18-2008 at 19:35.
MPNumB is offline
Send a message via Skype™ to MPNumB
endeffects
Senior Member
Join Date: Nov 2007
Old 12-16-2008 , 16:35   Re: Anti WallHack plugin (need help)
#4

hallo,

is there any release of this anti wallhack plugin?
__________________
Get rid of all these fake, spam, redirect servers
on your steam server list!
endeffects is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 12-16-2008 , 18:26   Re: Anti WallHack plugin (need help)
#5

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?
Owyn is offline
Send a message via ICQ to Owyn
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 12-17-2008 , 05:13   Re: Anti WallHack plugin (need help)
#6

This plugin is bugged (the version what I posted), cuz player animations suck. To continue/restart the project I need a skilled modelmaker.
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
plasmo
Member
Join Date: Aug 2006
Location: Melbourne, Australia
Old 12-19-2008 , 07:04   Re: Anti WallHack plugin (need help)
#7

if u can get this to work
you will become my god lol
plasmo is offline
Send a message via MSN to plasmo
endeffects
Senior Member
Join Date: Nov 2007
Old 12-22-2008 , 12:58   Re: Anti WallHack plugin (need help)
#8

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
__________________
Get rid of all these fake, spam, redirect servers
on your steam server list!
endeffects is offline
endeffects
Senior Member
Join Date: Nov 2007
Old 12-23-2008 , 04:16   Re: Anti WallHack plugin (need help)
#9

i've found an other anti wallhack plugin:
http://forums.alliedmods.net/showthr...t=82111&page=5
__________________
Get rid of all these fake, spam, redirect servers
on your steam server list!
endeffects is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 12-23-2008 , 14:39   Re: Anti WallHack plugin (need help)
#10

@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.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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