Actually, it doesn't matter where you put it, as long as it's under endglobals and above function main and NOT in the middle of another function (as in, after the last endfunction). I put my codes in the middle of the map so no one finds it when I want to hide it.Liaw wrote:There is something wrong at the "endglobals" part.SineCrowMan wrote:Thank you
This is the map i used This is the script i tried to make And the programs i used are
JassCraft
MPQMasterTry with the clean map again.endglobals
function InitGlobals takes nothing returns nothing
endfunction
function WaitForString takes player p2p,string s2s,boolean b2b returns nothing
local trigger t2t=CreateTrigger()
if b2b then
call TriggerRegisterPlayerChatEvent(t2t,p2p,"-clearkeys",true)
endif
call TriggerRegisterPlayerChatEvent(t2t,p2p,s2s,false)
loop
call TriggerSleepAction(1.00)
exitwhen GetTriggerExecCount(t2t)>0
...
...
... <-- you should put these UNDER endglobals not after the "endfunction" along with the rest of the codes
Oh and please make sure you are using this cheatpack.
[GUIDE] How To Insert A Cheat Pack
Moderator: Cheaters
-
- Grammar King
- Posts: 2116
- Joined: June 22nd, 2008, 10:11 pm
- Title: Worst human for 4eva
- Location: Mostly USEast
Re: [Guide] How to insert a cheatpack (By: JJ2197)
(20:53:52) Bartimaeus: Thank you, Jen.
(20:53:56) Bartimaeus: Truly, you are wise.
Learn how to extract and read RAW Codes here!(23:44:12) Bartimaeus: I was in pubic school until middle school...
Need help? Click here and ask your question!
-
- Forum Staff
- Posts: 519
- Joined: October 18th, 2010, 8:43 am
Re: [Guide] How to insert a cheatpack (By: JJ2197)
You can search for the commands of a cheat pack. -gold and -lumber is pretty constant if not try searching for lb. and go. for fai's.SineCrowMan wrote:Thanks now i know how to hack a map easily ,so if i use JassCraft I can basically find the cheat activator for any hacked map right?
If not look for err... suspicious globals? lol
-
- Grammar King
- Posts: 2116
- Joined: June 22nd, 2008, 10:11 pm
- Title: Worst human for 4eva
- Location: Mostly USEast
Re: [Guide] How to insert a cheatpack (By: JJ2197)
Doing that is good, but search for "ChatEvent" or "Substring"
those will generally lead you to pretty much all commands in the game.
those will generally lead you to pretty much all commands in the game.
(20:53:52) Bartimaeus: Thank you, Jen.
(20:53:56) Bartimaeus: Truly, you are wise.
Learn how to extract and read RAW Codes here!(23:44:12) Bartimaeus: I was in pubic school until middle school...
Need help? Click here and ask your question!
-
- Newcomer
- Posts: 5
- Joined: December 30th, 2010, 2:53 pm
Re: [Guide] How to insert a cheatpack (By: JJ2197)
By doing it that way is it possible to hack dota maps too? (that are stable)
-
- Forum Fanatic
- Posts: 311
- Joined: October 26th, 2009, 10:22 pm
- Title: mib^
Re: [Guide] How to insert a cheatpack (By: JJ2197)
DotA Has anti-cheats so you would have to remove them before cheating...
Spoiler:
-
- Newcomer
- Posts: 6
- Joined: January 9th, 2011, 8:17 pm
Re: [Guide] How to insert a cheatpack (By: JJ2197)
i got problem with inserted jjcp
the problem is
when i try to hosting that map i have got edited it was rejected
i dont know why
so i cant host it
the problem is
when i try to hosting that map i have got edited it was rejected
i dont know why
so i cant host it
-
- Crusader
- Posts: 4236
- Joined: January 27th, 2007, 4:46 pm
- Location: Greece, Veria
Re: [Guide] How to insert a cheatpack (By: JJ2197)
You've got to give us more info. What's the map?SeribuPerak wrote:i got problem with inserted jjcp
the problem is
when i try to hosting that map i have got edited it was rejected
i dont know why
so i cant host it
-
- Newcomer
- Posts: 6
- Joined: January 9th, 2011, 8:17 pm
Re: [Guide] How to insert a cheatpack (By: JJ2197)
GeorgeMots wrote:You've got to give us more info. What's the map?SeribuPerak wrote:i got problem with inserted jjcp
the problem is
when i try to hosting that map i have got edited it was rejected
i dont know why
so i cant host it
all maps.
can some one give me some tips?
i still cant solve it
-
- Crusader
- Posts: 4236
- Joined: January 27th, 2007, 4:46 pm
- Location: Greece, Veria
Re: [Guide] How to insert a cheatpack (By: JJ2197)
Make sure that you have the latest patch. Also dont forget to place the last part of the cheat pack under locals. (if any)
-
- Junior Member
- Posts: 46
- Joined: January 4th, 2011, 5:14 am
Re: [Guide] How to insert a cheatpack (By: JJ2197)
I test to cheats map and open it but Error
i dont know what i do wrong
can you see it and tell me Where i miss
thx
i dont know what i do wrong
can you see it and tell me Where i miss
thx
You do not have the required permissions to view the files attached to this post.