• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Ban Punishment

Status
Not open for further replies.
Level 8
Joined
Aug 2, 2006
Messages
346
I'm trying to make a map where if a player is being a jerk, the host can choose to ban them, or ban them and punish them. I was trying to figure out how to make the game freeze up and force them to do ctrl + alt + delete, (and have it be one of those times when the task manager doesn't come up in the first 10 minutes... you know what I mean).

EDIT: I posted this in the GUI forum, but I know JASS as well. If you have a way that requires JASS, lemme know.
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
If you want to crash his warcraft you can use ExecuteFunc("bla bla bla anything that isn't a real function").

Here's an actual code:
JASS:
function pwn takes player p returns nothing
    if GetLocalPlayer() == p then
        call ExecuteFunc("fweoifjweojfwoijg")
    endif
endfunction

Put this in your header, now when you want to pwn someone, you put a custom script action with "call pwn(some player)".
 
Level 8
Joined
Aug 2, 2006
Messages
346
Cool! Thanks guys! I already knew how to crash warcraft 3 (but I just tried to access player(-1))

I remember freezing up warcraft 3 ages ago by doing a whole bunch of actions with the event 'periodic event, every 0:00' seconds of gametime.

I want it to lock up so badly that they will have to ctrl + alt + delete it (and it's one of those times where after like 5 minutes, suddenly 100s of task manager programs flash up, but still continue to perform very slowly).

Anyone know how to freeze the game? If not, I guess I'll just crash it for them... not quite as satisfying...
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
Cool! Thanks guys! I already knew how to crash warcraft 3 (but I just tried to access player(-1))

I remember freezing up warcraft 3 ages ago by doing a whole bunch of actions with the event 'periodic event, every 0:00' seconds of gametime.

I want it to lock up so badly that they will have to ctrl + alt + delete it (and it's one of those times where after like 5 minutes, suddenly 100s of task manager programs flash up, but still continue to perform very slowly).

Anyone know how to freeze the game? If not, I guess I'll just crash it for them... not quite as satisfying...

For that kind of nasty stuff you must over load their computer.
Start infinite number of timers that do infinite tasks or similar things.

JASS:
loop
     exitwhen 1 == 0
     // put lots of crap here
endloop

The important thing is to add a infinite loop inside a infinite loop. You can't imagine how more effective it is then only one.
 
Level 17
Joined
May 6, 2008
Messages
1,598
It is fun how you moderators support this lol... This needs a sticky! :D Anyways is it possible to destroy/harm any sort of vital files within the operative system to screw them?
YEAH, lets create a trigger that crashes the HD, too!
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
10x
A matter of personal opinion.
No wait is is prohibited by law.
And is quite unethical. Not towards the guy that gets his OC obliterated, but towards the guy that will have to repair it.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
Crashing via infinate thread loop does not work well. Dual or quad core PCs can simply alt + CTRL + delete with no delay and close it emidiatly if I am not mistaken is it does not hog 100% cpu power.

Just go with the clasic, simple end game since otherwise people will abuse it to make life hard for innocent players.
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
Crashing via infinate thread loop does not work well. Dual or quad core PCs can simply alt + CTRL + delete with no delay and close it emidiatly if I am not mistaken is it does not hog 100% cpu power.

Just go with the clasic, simple end game since otherwise people will abuse it to make life hard for innocent players.

This is where threading comes in.
Make the loop go in 4 threads and a quad CPU will come to a halt ;)
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
Too bad WC3 aint threaded for use on multi core systems (does not use the threading opperations) thus it never loads it to 100% and hovers at like 90 or less atmost.

Still, all this funny "ban" will only end up subtracting from your map. If you have to have a ban go with the classic one of the instant kick to battlenet. That way they can not lose any data and is the most kind way to handle them.
 
Level 17
Joined
May 6, 2008
Messages
1,598
Like Emperor said, put him in Cinematic mode, and show him why he was put there and tell him to alt+f4
 
Level 4
Joined
Jul 23, 2007
Messages
129
If he wants to pwn someone for being a idiot why shouldn't we support it ? It's his map, he can do whatever he want with it.

GhostWolf, I was not saying it was wrong to take action against someone who is ruining your game. I was saying it was going too far to actually damage their OS.

Redmarine said:

Anyways is it possible to destroy/harm any sort of vital files within the operative system to screw them?

If you want to, as you put it, 'pwn someone for being an idiot' then simply boot them from the game, crash Warcraft, stick them in cinematic mode, or something of that nature. Heck, use the screen shake actions to make the game unplayable for the offending player.

Redmarine is asking how actual damage can be done to a person's operating system.

I don't care how idiotic someone acts on b.net. To deliberately damage his/her computer because you dislike his/her behavior in a video game is even more idiotic.
 
Level 19
Joined
Sep 4, 2007
Messages
2,826
GhostWolf, I was not saying it was wrong to take action against someone who is ruining your game. I was saying it was going too far to actually damage their OS.

Redmarine said:



If you want to, as you put it, 'pwn someone for being an idiot' then simply boot them from the game, crash Warcraft, stick them in cinematic mode, or something of that nature. Heck, use the screen shake actions to make the game unplayable for the offending player.

Redmarine is asking how actual damage can be done to a person's operating system.

I don't care how idiotic someone acts on b.net. To deliberately damage his/her computer because you dislike his/her behavior in a video game is even more idiotic.

I don't believe it is possible but I just wanted your opinions. I'm guessing the most efficient way is to probably lock them in cinematic mode and then overload their CPU. Nice heh?
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
Here is a thread really relevant to this one here

A desync on purpose(ofcourse desync-ing only the desired player) is interesting.
He will never know he has left the game ;)
Oh and just freezing the game(with an infinite loop) will make all the other players wait for the player's wc3 to respond, eventually dropping him. Or so I think.
 
Level 19
Joined
Sep 4, 2007
Messages
2,826
Here is a thread really relevant to this one here

A desync on purpose(ofcourse desync-ing only the desired player) is interesting.
He will never know he has left the game ;)
Oh and just freezing the game(with an infinite loop) will make all the other players wait for the player's wc3 to respond, eventually dropping him. Or so I think.

But it would be a desaster for the victim = Pwned and ownaged!
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
Yes indeed.
But what do you say about the disaster for the other lets say 11 players having to sit back and wait for one minute.
It is not enough that there was an idiot in the game, but the map creator made it so that every player gets punished for each idiot.
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
Well when I play wc3 we usually wait one minute for a player(s) before being able to drop him.
 
Level 4
Joined
Jul 23, 2007
Messages
129
Yea, then you can show the icon of the demon form demon hunter and display a cinematic message like, "We don't want to play with you anymore, begone!"
 
Status
Not open for further replies.
Top