• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Map Protecting is there a way to...

Status
Not open for further replies.
Don't you mean not openable in world editer, and but playable in game?
If so, then get vexorian's map optimizer
(it's in tools section)

If you mean you don't want the game to play, then you could just make the player lose right when the game starts
 
No. I mean like Wc3 crashes if you wanna play it, but people can still look at it in the editor and learn from it.

Like if I wanted to show people a demo of a map but didn't want them to host it. Just look at it in the Editor.
 
That sounds like a pretty stupid form of protection. But I see why you want it. You could hide map-crashing triggers/(other things) almost anywhere.

Just take some of your triggers and put things into them like: ExecuteFunc("ThisDoesn'tExist") <--- That will crash the game.
 
Just a few more methods of making your map unplayable.
  • Evil
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Execute F#*@%^(#@^
      • Player Group - Pick every player in (All players) and do (Game - Defeat (Picked player) with the message: Defeat!)
      • Custom script: call QueuedTriggerRemoveByIndex(GetPlayerId(Player(-3)))
You can put those actions anywhere. Whenever they run the user will be defeated/crashed.

Another method of crashing the map upon load is to set the maximum hero level to a negative number. Hold 'shift' before you double click the value. (This will let you put in negative values)

There are millions of ways to make your map crash!
 

Attachments

  • AnotherCrash.jpg
    AnotherCrash.jpg
    55.3 KB · Views: 174
Thats why you take each action and you put them in dozens upon dozens of triggers. This will make them search. You cal also use different methods like the hero level method I specified above.

Heres something that'll annoy the hell out of anyone trying to play your map. Replace the Advanced --> Game Interface --> Models - Cursor with Blank.mdl or something like that.
It removes the cursor!

Another great one: Import (any) file (perferbly a blank one) and give it the path "Scripts\Blizzard.j" When your map saves it will come up with 1 zillion errors. Just click ok. It will have saved properly despite the errors. If you try to play, it won't even start loading. It just silently fails!
 

Attachments

  • NoCursor.jpg
    NoCursor.jpg
    74.1 KB · Views: 201
Last edited by a moderator:
Make a trigger which the game just NEEDS to play and put there the 'unable to play' actions in. When they remove the trigger it would probably be to complicated to restore it or it would be to much work. Something tricky..

but all they have to do is remove those actions from the trigger...

Like every form of protection, it's deprotectable. And in this case I just find it plain stupid, making a map that you want people NOT to play.
 
Status
Not open for further replies.
Back
Top