Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: um can someone help me debug something
um can someone help me debug something
Sep 20 2007, 2:32 am
By: DahLollipop  

Sep 20 2007, 2:32 am DahLollipop Post #1



So, I'm making this arena style map or if you played Naruto Jounin Battle, it's similar to that. When you pick the character, it spawns you to your healing place so if theres no one in the middle, it'll take you to the middle. But, first player on each team always fights first so i added a trigger that when first player enters the arena, the other player thats in the arena is moved back to his healing place. But in my map, i constantly get 2 people in at the same time and i cant fix it -_- im getting headaches and crap. Also, when i tag, sometimes it works perfectly but other times the player that's tagging remains in the arena and the player he tagged, comes in and the 2 players in the arena comes again. The triggers are:

Players 1-3:
Conditions:
Force 1 Brings at least 0 [men] to 'arena'
Force 1 Brings at least 1 [men] to 'p2 tag place'
Actions:
Move All [any unit] for Force 1 at 'p2 tag place' to 'p1 start place'
preserve trigger.
________________________________________________

Conditions:
Force 1 brings exactly 0 [men] to 'arena'
Force 1 brings exactly 0 [men] to 'p2 tag place'
Force 1 brings at least 1 [men] to 'p3 tag place'
Actions:
Move All [any unit] for Force 1 at 'p3 tag place' to 'p1 start place'.
Preserve Trigger.

These 2 triggers also apply to when a player dies in the arena.

Tag Triggers:
Players 1-3
Force 1 brings at least 1 Aburame Shino to 'p3 tag'
Force 1 brings at least 1 [men] to 'p3 tag place'
Conditions:
Move All [men] for Force 1 at 'p3 tag place' to 'p1 start place'
Move All Aburame Shino for Current Player at 'arena' to 'p3 tag place'
Preserve trigger.
___________________________________________________

Players 1-3
Force 1 brings at least 1 Aburame Shino to 'p2 tag'
Force 1 brings at least 1 [men] to 'p2 tag place'
Conditions:
Move all [men] for Force 1 at 'p3 tag place' to 'p1 start place'
Move all Aburame Shino for Current Player at 'arena' to 'p2 tag place'
Preserve Trigger.

By the way, this worked in 2 vs 2 version of my map but when i tried it in 3v3 it bugged up like crazy.

The map looks like this [Arena]
|
V
[p2 tag place] | [p2 tag] [p5 tag] | [p5 tag place]
| |
| [p1 start place] [p4 start place] |
| |
[p3 tag place] | [p3 tag] [p6 tag] | [p6 tag place]


PLEASE HELP D: I'm like 99% close to finishing my map and I really want to release it D:.
Edit:
Damn, uhh dont pay attention to what the map looks like.. i type it up in this post new topic box.. and it looks fine but it looks completely different when it's actually posted.. so forget that thing



None.

Sep 20 2007, 3:08 am qPirateKing Post #2



Um, hold on, I want to quote so I'll make another post. Sorry.

Post has been edited 1 time(s), last time on Sep 20 2007, 3:15 am by qPirateKing.



None.

Sep 20 2007, 3:13 am qPirateKing Post #3



Quote from DahLollipop
So, I'm making this arena style map or if you played Naruto Jounin Battle, it's similar to that. When you pick the character, it spawns you to your healing place so if theres no one in the middle, it'll take you to the middle. But, first player on each team always fights first so i added a trigger that when first player enters the arena, the other player thats in the arena is moved back to his healing place. But in my map, i constantly get 2 people in at the same time and i cant fix it -_- im getting headaches and crap. Also, when i tag, sometimes it works perfectly but other times the player that's tagging remains in the arena and the player he tagged, comes in and the 2 players in the arena comes again. The triggers are:

Players 1-3:
Conditions:
Force 1 Brings at least 0 [men] to 'arena'
Force 1 Brings at least 1 [men] to 'p2 tag place'
Actions:
Move All [any unit] for Force 1 at 'p2 tag place' to 'p1 start place'
preserve trigger.
________________________________________________

Conditions:
Force 1 brings exactly 0 [men] to 'arena'
Force 1 brings exactly 0 [men] to 'p2 tag place'
Force 1 brings at least 1 [men] to 'p3 tag place'
Actions:
Move All [any unit] for Force 1 at 'p3 tag place' to 'p1 start place'.
Preserve Trigger.

These 2 triggers also apply to when a player dies in the arena.

Tag Triggers:
Players 1-3
Force 1 brings at least 1 Aburame Shino to 'p3 tag'
Force 1 brings at least 1 [men] to 'p3 tag place'
Conditions:
Move All [men] for Force 1 at 'p3 tag place' to 'p1 start place'
Move All Aburame Shino for Current Player at 'arena' to 'p3 tag place'
Preserve trigger.
___________________________________________________

Players 1-3
Force 1 brings at least 1 Aburame Shino to 'p2 tag'
Force 1 brings at least 1 [men] to 'p2 tag place'
Conditions:
Move all [men] for Force 1 at 'p3 tag place' to 'p1 start place'
Move all Aburame Shino for Current Player at 'arena' to 'p2 tag place'
Preserve Trigger.

By the way, this worked in 2 vs 2 version of my map but when i tried it in 3v3 it bugged up like crazy.

Your first trigger says "at least 0." It should be 'exactly' or 'at most.' If it is at least 0, having one player in there will trigger it, meaning that you'll end up with both units inside.

As for it sometimes working and sometimes not, I think the problem is the fact that the p2 area trigger is wrong while the other one is correct. What this means is that it only messes up when the unit in the p2 area is not in the arena.



None.

Sep 20 2007, 4:51 am DahLollipop Post #4



hah yes thanks for fixing that bug but there another bug i discovered and it was that when 1st player is in the p3 tag place and the player inside the arena dies, player 1 doesn't get moved into the arena. When i tried to fix this bug, the 2 players inside the arena bug came up again. And even one time a catastrophic 3 v 3 inside the arena haha



None.

Sep 20 2007, 8:04 pm qPirateKing Post #5



Could you write out the triggers again now that you've fixed them? Without knowing what they look like now, it's hard to help.



None.

Sep 22 2007, 1:40 am DahLollipop Post #6



Ok, so basically I changed the "at least" back to "exactly" but the 2 in the arena still comes in at times.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:02 pm]
Zoan -- of course it isn't full understanding. You could ask "is the mechanism by which this counterexample blows up the ONLY mechanism possible for an initial configuration to blow up?"
[05:48 pm]
Zoan -- ppl do it all the time in PDEs
[05:47 pm]
Zoan -- Heinermann
Heinermann shouted: it also didn't solve that problem but hey as long as the investors are pleased
Constructing a counterexample is answering the question: "Is Navier Stokes well posed?" in the negative
[05:44 pm]
NudeRaider -- I only heard about it, didn't any news article, so what did it do then?
[05:43 pm]
Heinermann -- it also didn't solve that problem but hey as long as the investors are pleased
[05:39 pm]
NudeRaider -- I have no idea tbh. All I know no human was ever able to solve it, but there's at least a few that beat portal ;)
[05:32 pm]
Zoan -- Navier Stokes is not that esoteric I thought
[04:32 pm]
NudeRaider -- Zoan
Zoan shouted: I find it kind of sad that on the same day it was announced AI solved Navier Stokes, it was also announced AI beat Portal, and there's a good deal of people who don't know which is more impressive
you find it sad not everyone is a math nerd?
[03:25 pm]
NudeRaider -- (and yes, I capitalized that correctly :ego:)
[03:24 pm]
NudeRaider -- Symmetry
Symmetry shouted: Hi not I'm dad
Hi dad, I'm nude
Please log in to shout.


Members Online: Vrael, Nuralldin, Moose