• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

How to convert maps to new patch

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,202
Read blizzards patch information and it tells you what has changed. If you are using other peoples systems which are causing the problem consult the makers and ask if they could fix them.

Otherwise scrap all the systems which are causing problems and make your own.
 
  • PortalCreation
    • Events
      • Player - Player 1 (Red) types a chat message containing -Dial as A substring
      • Player - Player 2 (Blue) types a chat message containing -Dial as A substring
      • Player - Player 3 (Teal) types a chat message containing -Dial as A substring
      • Player - Player 4 (Purple) types a chat message containing -Dial as A substring
      • Player - Player 5 (Yellow) types a chat message containing -Dial as A substring
      • Player - Player 6 (Orange) types a chat message containing -Dial as A substring
      • Player - Player 7 (Green) types a chat message containing -Dial as A substring
      • Player - Player 8 (Pink) types a chat message containing -Dial as A substring
      • Player - Player 9 (Gray) types a chat message containing -Dial as A substring
      • Player - Player 10 (Light Blue) types a chat message containing -Dial as A substring
      • Player - Player 11 (Dark Green) types a chat message containing -Dial as A substring
      • Player - Player 12 (Brown) types a chat message containing -Dial as A substring
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • (Integer((Substring((Entered chat string), 7, 8)))) Greater than 0
          • (Integer((Substring((Entered chat string), 7, 8)))) Less than 13
          • (Integer((Substring((Entered chat string), 10, 11)))) Less than 13
          • (Integer((Substring((Entered chat string), 10, 11)))) Greater than 0
          • (Substring((Entered chat string), 9, 9)) Equal to -
          • (Substring((Entered chat string), 1, 6)) Equal to -Dial
          • (Number of units in (Units in StargateDials[(Integer((Substring((Entered chat string), 7, 8))))] owned by (Triggering player))) Greater than 0
    • Actions
      • Player Group - Add (Triggering player) to TEMPplayerGroup
      • Quest - Display to TEMPplayerGroup the Simple Hint message: Dialing Gate...
      • Player Group - Remove all players from TEMPplayerGroup
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Stargate[StargateAdress[(Integer((Substring((Entered chat string), 7, 8))))]] is alive) Equal to False
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Stargate[StargateAdress[(Integer((Substring((Entered chat string), 10, 11))))]] is alive) Equal to False
            • Then - Actions
              • Destructible - Resurrect Stargate[StargateAdress[(Integer((Substring((Entered chat string), 10, 11))))]] with (Max life of Stargate[StargateAdress[(Integer((Substring((Entered chat string), 10, 11))))]]) life and Show birth animation
              • Set TEMPpoint = (Center of StargateLocs[StargateAdress[(Integer((Substring((Entered chat string), 10, 11))))]])
              • Sound - Play PortalBirth <gen> at 100.00% volume, located at TEMPpoint with Z offset 0.00
              • Unit - Create 1 PlasmaWave for Neutral Hostile at (TEMPpoint offset by (0.00, -120.00)) facing Default building facing degrees
              • Custom script: call RemoveLocation(udg_TEMPpoint)
              • Set TEMPpoint = (Center of StargatePLASMA[StargateAdress[(Integer((Substring((Entered chat string), 10, 11))))]])
              • Unit - Order (Last created unit) to Move To TEMPpoint
              • Custom script: call RemoveLocation(udg_TEMPpoint)
              • Destructible - Resurrect Stargate[StargateAdress[(Integer((Substring((Entered chat string), 7, 8))))]] with (Max life of Stargate[StargateAdress[(Integer((Substring((Entered chat string), 7, 8))))]]) life and Show birth animation
              • Set TEMPpoint = (Center of StargateLocs[StargateAdress[(Integer((Substring((Entered chat string), 7, 8))))]])
              • Sound - Play PortalBirth <gen> at 100.00% volume, located at TEMPpoint with Z offset 0.00
              • Unit - Create 1 PlasmaWave for Neutral Hostile at (TEMPpoint offset by (0.00, -120.00)) facing Default building facing degrees
              • Custom script: call RemoveLocation(udg_TEMPpoint)
              • Set TEMPpoint = (Center of StargatePLASMA[StargateAdress[(Integer((Substring((Entered chat string), 7, 8))))]])
              • Unit - Order (Last created unit) to Move To TEMPpoint
              • Custom script: call RemoveLocation(udg_TEMPpoint)
              • Set StargateConection[StargateAdress[(Integer((Substring((Entered chat string), 7, 8))))]] = StargateAdress[(Integer((Substring((Entered chat string), 10, 11))))]
              • Set StargateConection[StargateAdress[(Integer((Substring((Entered chat string), 10, 11))))]] = StargateAdress[(Integer((Substring((Entered chat string), 7, 8))))]
              • Player Group - Add (Triggering player) to TEMPplayerGroup
              • Quest - Display to TEMPplayerGroup the Quest Update message: Wormhole establishe...
              • Player Group - Remove all players from TEMPplayerGroup
            • Else - Actions
              • Player Group - Add (Triggering player) to TEMPplayerGroup
              • Quest - Display to TEMPplayerGroup the Warning message: The other gate is a...
              • Player Group - Remove all players from TEMPplayerGroup
        • Else - Actions
          • Player Group - Add (Triggering player) to TEMPplayerGroup
          • Quest - Display to TEMPplayerGroup the Warning message: This gate is alread...
          • Player Group - Remove all players from TEMPplayerGroup
Not working
 
This is too complicated. You need to tell us
a) What are you trying to achieve.
b) What part of the trigger doesn't work, unless nothing from this trigger works.

  • (Integer((Substring((Entered chat string), 10, 11)))) Greater than 0
I believe that the following is enough, because it will be greater than 0 anyway:
  • (Integer((Substring((Entered chat string), 10, 10)))) Greater than 0
What is more, when a destructible dies, I don't think you can refer to it, using the "max life" and especially in a trigger that doesn't have the "Destructible - A destructible within (Playable Map Area) dies" event.
 
Nothing from this trigger works and the destructibles ressurection worked this way before the patch, now they don't? This trigger was perfect before the patch.

This trigger is part of my stargate map, where there are many portals(stargates) with everyone having an unique address. And you can connect each gate to another gate, by typing -Dial # . The # represents the gate address you are trying to connect to. The gate from which you are trying to connect must have your unit near by.
This trigger is supposed to check if the other gate is already connected to another gate, or if the gate you are trying to connect from is already connected or if the connection to another gate was made.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,202
I advise intitiating a debug process on the trigger and fining out what part of it is broken. If the event is not firing, then some other code must be preventing it from setting up the triggers so check that you are not hitting the opt limit for the initialization process.

Basically insert random chat messages into the trigger until you find which part is not working as it should.

It is well possible that the lattest patch has messed up some natives as there was some heavy game mechanic alterations.
 
Level 6
Joined
Mar 22, 2009
Messages
276
Open you map in WE with the latest patch, then save it. Errors will occur while saving find what caused them. Fix. As of now, that is the easiest way i know.
 
Status
Not open for further replies.
Top