wc3edit.net

United Warcraft 3 map hacking!
It is currently April 28th, 2024, 1:11 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: October 27th, 2009, 2:57 am 
Offline
Senior Member
User avatar

Joined: May 18th, 2009, 1:36 am
Posts: 106
Is this anti cheat trigger?
I'm testing sp with cot rpg :/
I got rid of 2 sp triggers and now removing anti cheat part.
If I don't remove this boolen triggers, would JJCP still works when entering cheat commands? Or to use cp, do I must delete this or change 'return to boolen' to 'return to nothing'

Here's part of triggers remove&renaming.
It was like this 1st time
function Trig_Anti_single_player1_Func001Func003Func004002 takes nothing returns boolean
Then I removed the ones below it and ending as
'Blablabla
Endfunction'
and changing boolen to nothing
function Trig_Anti_single_player1_Func001Func003Func003002 takes nothing returns nothing


Top
 Profile  
 
PostPosted: October 30th, 2009, 10:08 pm 
Offline
Forum Staff
User avatar

Joined: January 1st, 2008, 12:58 am
Posts: 862
A boolean is something that is either true or false.
Spoiler:
Code:
globals
boolean cheating? = false
endglobals

function catchcheater takes nothing returns nothing
call scanforcheater()
if detectedcheater then
set cheating? = true
endif
endfunction

function anticheat takes nothing returns nothing
if cheating? == true then
call UBERPWN HAXOR!
endif
endfunction


Just find whatever boolean it sets, and change it to the opposite that is already is.

_________________
Image
Wanna learn to hack maps? --> Guide


Top
 Profile  
 
PostPosted: November 1st, 2009, 3:45 pm 
Offline
Newcomer

Joined: October 27th, 2009, 4:44 pm
Posts: 2
boolean on jass is much like "Condition" in GUI..

if u delete the inside of a function but it has "returns boolean" but it wont have any return in it.. it will make a syntax error.

same if u change it to "returns nothing" but have a return command in it.. coz u said the function returns nothing..


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 15 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)