[skip all navigation]

TinyMap2 Crashing

Creator: PIESOFTHENORTH
Time: Apr 2 2011, 3:09 pm

Post #21     O)FaRTy1billion Apr 5 2011, 5:22 am

[Avatar]
‮.rapsdleF
offlinecontact
Rank: Elite
I could if I had any access anywhere to Windows 7. xD And access through someone else would be too annoying.

SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
TinyMap2 - Latest in map compression!
MapSketch - New image->map generator!
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - Now has .dat references! Help out by adding your EUDs!
EUDTrig - Quickly and easily convert offsets to EUDs! (extended players supported)
(user posted image) This page has been viewed (user posted image) times!
Top

Post #22     NudeRaider Apr 5 2011, 4:23 pm

[Avatar]
You're not old until the past seems more fun than the future.
offlinecontact
Rank: Veteran
Quote from PIESOFTHENORTH
Anyway I tested the trigger on bnet, had one player leave, nobody got his units.

But apparently making ze trigger give to a specific player instead of Force 1 made it work.

So I did

Give all any unit owned by Neutral to Player 1
Give all any unit owned by Neutral to Player 2
Give all any unit owned by Neutral to Player 3
Give all any unit owned by Neutral to Player 4
Give all any unit owned by Neutral to Player 5

Will that cycle through all the players until it finds a player who is in the game and then give the neutral units to that player?
Well apparently you need to read the UMS MMA forum more often. Whenever the discussion about players + give emerges I'm preaching that people have to use Current Player. :P

In your case it gives all units of P12 to P1.
Then there's no P12 units left so the next 4 actions will be executed but there's nothing to do for them.
That means if you had P1 leave his units go to P12, the trigger fires and the P12 units go back to P1, who isn't in the game anymore. (provided the trigger is owned by a player who still is in the game. Absent players won't run triggers.)

Keep in mind that if you give units to a player who isn't there the units are still given! They are then belonging to a so called ghost player (still labelled P1) who is hostile to everyone, but runs no player ai, so the units act only according to their pre-programmed behavior similar to how units of an idle enemy player would act.

To fix this use Current Player. To use Current Player you'll have to have the trigger owned by the players who should receive the units. Like this:
Description:None specified.
Players:
  • Force 1
  • Conditions: P12 brings at least 1 any unit to anywhere
    Actions:
  • Give all any unit owned by Neutral to Current Player
  • Every player in Force 1 will have it's own copy of the trigger which will only be run when the player is in the game, so the first active player grabs all P12 units for himself. It's much shorter as well, as you can see.

    If you need more information on this case please post in UMS MMA, since it's off-topic here.

    (user posted image)
    Devilesk: "AND OUT OF THE GOODNESS OF MY HEART [...]" - wait what??
    Top

    Post #23     PIESOFTHENORTH Apr 6 2011, 2:42 am

    [Avatar]
    offlinecontact
    Rank: Member
    thanks :D

    Top
    0 members in this topic (italic members are currently writing a reply): None
    + guest(s)


    [08:40 am]
    LoveLess -- TL2 has newgameplus
    [07:44 am]
    O)FaRTy1billion -- I want new game+, for life
    [07:44 am]
    EzTerix -- I never used followers in diablo 3 and was just wondering why my level 59 enchantress did like 8 damage.
    [07:40 am]
    EzTerix -- *gasps*
    [07:39 am]
    EzTerix -- I DON'T BELIEVE IN FATE.
    [07:39 am]
    [Doodan]:] -- If ya had the chance to changer yer fate, would ye?
    Please log in to shout.