wc3edit.net

United Warcraft 3 map hacking!
It is currently March 29th, 2024, 2:24 am

All times are UTC




Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: AntiMapHack
PostPosted: May 31st, 2007, 1:44 pm 
Offline
Junior Member

Joined: May 31st, 2007, 12:31 pm
Posts: 44
I saw a topic by Xantan that included an anti-maphack trigger:
http://forum.wc3edit.net/viewtopic.php?t=628
I know a bit Jass but I got messed up with it.
Can anyone post this single trigger?


Top
 Profile  
 
 Post subject:
PostPosted: May 31st, 2007, 1:50 pm 
Offline
Honorary wc3edit.net Traitor
User avatar

Joined: February 1st, 2007, 4:11 pm
Posts: 2513
Location: NEVADA
lol... its not even hidden bro


Last edited by Xantan on May 31st, 2007, 2:12 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: May 31st, 2007, 1:57 pm 
Offline
Junior Member

Joined: May 31st, 2007, 12:31 pm
Posts: 44
I need only the part of the anti-maphack...It will take days to remove all the unneeded stuff...


Top
 Profile  
 
 Post subject:
PostPosted: May 31st, 2007, 2:13 pm 
Offline
Honorary wc3edit.net Traitor
User avatar

Joined: February 1st, 2007, 4:11 pm
Posts: 2513
Location: NEVADA
Xeydo wrote:
I need only the part of the anti-maphack...It will take days to remove all the unneeded stuff...


not really...


Top
 Profile  
 
 Post subject:
PostPosted: May 31st, 2007, 3:59 pm 
Offline
Junior Member

Joined: May 31st, 2007, 12:31 pm
Posts: 44
Can you just post the script of the anti-mh part?


Top
 Profile  
 
 Post subject:
PostPosted: May 31st, 2007, 11:07 pm 
So you can put your name on it and say it was yours, and put it on other forums? :/


Top
  
 
 Post subject:
PostPosted: May 31st, 2007, 11:37 pm 
Offline
Member

Joined: February 27th, 2007, 11:17 pm
Posts: 50
Actually is very easy... Xantan way or other way's it's easy. Detect when click detec invi detect items for see invi hmm what more... Detect when camera see an invi unit or some like that ...

_________________
Whoa


Top
 Profile  
 
 Post subject:
PostPosted: June 1st, 2007, 11:03 am 
Offline
Junior Member

Joined: May 31st, 2007, 12:31 pm
Posts: 44
I have no motivation to post it on other forums, and actually I'm quite selfish so I'll keep it to myself ;)
AsdGod - I'm not sure it's possible, triggers cannot detect when camera sees invi thru program.


Top
 Profile  
 
 Post subject:
PostPosted: June 1st, 2007, 8:01 pm 
Offline
Member

Joined: February 27th, 2007, 11:17 pm
Posts: 50
Xeydo wrote:
I have no motivation to post it on other forums, and actually I'm quite selfish so I'll keep it to myself ;)
AsdGod - I'm not sure it's possible, triggers cannot detect when camera sees invi thru program.

hmm how about this ? It isn't complete but...

Code:
constant function AntiHackDummy takes nothing returns integer
   return 'e000'
endfunction

function SafeVision takes nothing returns nothing
   call SetUnitAnimationByIndex(udg_u,1)
endfunction

function Anim takes nothing returns nothing
    set udg_t=udg_t+0.001
    if udg_t==0.025 or (IsUnitVisible(udg_u,GetLocalPlayer()) and udg_t<0.025) then
    call SetUnitAnimationByIndex(udg_u,1)
    endif
endfunction

function AntiMapHackTime takes timer t returns nothing
   set udg_t=0.
   call TimerStart(t,0.001,true,function Anim)
   call TriggerSleepAction(0.)
   call RemoveUnit(udg_u)
   call PauseTimer(t)
   call DestroyTimer(t)
endfunction

function Trig_AntiMapHack_Actions takes nothing returns nothing
   set udg_u=CreateUnit(Player(13),AntiHackDummy(),GetCameraTargetPositionX(),GetCameraTargetPositionY(),0)
   if not(IsUnitVisible(udg_u,GetLocalPlayer())) then
    call SetUnitAnimationByIndex(udg_u,0)
   else
    call SetUnitAnimationByIndex(udg_u,1)
   endif
   call AntiMapHackTime(CreateTimer())
endfunction

//===========================================================================
function InitTrig_AntiMapHack takes nothing returns nothing
    set gg_trg_AntiMapHack = CreateTrigger(  )
    call TriggerRegisterTimerEventPeriodic( gg_trg_AntiMapHack, 2.00 )
    call TriggerAddAction( gg_trg_AntiMapHack, function Trig_AntiMapHack_Actions )
endfunction


Actually this is not mine but works fine ;) (U need a custom unit With a model with two animation. One crash the game, the other do nothing. Also need the globals variables

_________________
Whoa


Top
 Profile  
 
 Post subject:
PostPosted: June 2nd, 2007, 6:02 am 
Offline
Junior Member

Joined: May 31st, 2007, 12:31 pm
Posts: 44
GREAT! Thanks!
I have that model, and could you explain exacly what it does? :) I wanna learn to do it myself :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)