• 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.

[General] How to i make a script that will crush the game?

Status
Not open for further replies.
Level 2
Joined
Jul 26, 2011
Messages
16
How to i make a script that will crush(Frozen Throne crush)
computer shutdown, hang or maybe spoil ?

better if can crush the whole operating system file

avatar_1.gif
avatar_1.gif
avatar_1.gif
avatar_1.gif
avatar_1.gif
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
Impossible due to the laws of conversation of energy. You can not write program code to make mater physically appear anywhere let alone a script in a game. You will probably have to stick to cartoons where you can atleast draw an anvil crushing someones computer.

Did you mean "crash"?
If so then you can crash WC3 very easilly. Just create 2 regions and get a unit to ping pong between them on entering region events.

This however will only crash single cored CPUs, as multi cored CPUs can instantly alt tab out and terminate the process due to the single threaded nature of WC3. As all new CPUs for PCs have atleast 2 cores now this method of crashing is rather stupid.

The fact you want to make a map to crash or crush someone's computer is sad. This is not nice and unethical.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
Actually, it is a call to Player(<0 U >15) that will cause a crash of WC3. The OS however will not be touched.

This gives you 2 options.
1. Infinite loop (eg 2 regions moving a unit into each other on an entry event)
2. Robustness failure in game data (EG Player(-1)).
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Perhaps you have a really good reason to make it someone's computer to crash, is it ?
I think you're hosting a custom game and need to "kick" someone from the game (maybe?)
There are 2 methods of making that player leaves or "crash"
One is to use the simple action of "Game - Defeat" from Trigger Editor
This action is limited to that player only

Simple Kicking System

  • Setup Trigger
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set Players[1] = Player 1 (Red)
      • Set Players[2] = Player 2 (Blue)
      • Set Players[3] = Player 3 (Teal)
      • Set Players[4] = Player 4 (Purple)
      • Set Players[5] = Player 5 (Yellow)
      • Set Players[6] = Player 6 (Orange)
      • Set Players[7] = Player 7 (Green)
      • Set Players[8] = Player 8 (Pink)
      • Set Players[9] = Player 9 (Gray)
      • Set Players[10] = Player 10 (Light Blue)
  • Kicking Trigger
    • Events
      • Player - Player 1 (Red) types a chat message containing -kick as A substring
    • Conditions
    • Actions
      • Set PlayerNumber = (Integer((Substring((Entered chat string), 7, 7))))
      • Game - Defeat Players[PlayerNumber] with the message: You have been kicke...
      • Game - Display to (All players) the text: (Player + ((String(PlayerNumber)) + has been kicked.))
CRASHING SYNTAX
However, this method is totally different
It crashes the game (including all players at once)
Download both of the tests map to get a better understanding
The system works (even in big maps)
 

Attachments

  • Simple Kicking System.w3x
    13.1 KB · Views: 22
  • Simple Crashing System.w3x
    88.5 KB · Views: 27
Status
Not open for further replies.
Top