Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Host getting dropped after a few seconds
Host getting dropped after a few seconds
Mar 13 2010, 2:05 pm
By: Trojanx  

Mar 13 2010, 2:05 pm Trojanx Post #1



Well everytime I test my new map online, after a few seconds I get dropped. Simple as that.

Keep in mind I have some EUD triggers on that map:
Anti-Hack;
Keyboard-banning (You press F5 and then the number of the desired player to be banned)
Two Alpha-Test cheat codes ;D. I made triggers that can detect when you type the codes. In fact they detect each key pressed and then the next one, then the next... making codes possible using Death Counters. Those codes are:
"TASED": Teleports player to taser weapon
"I DON'T DESERVE TO BE HERE": Respawns your unit after death.

Also, those triggers work for every player, except the banning one.



None.

Mar 13 2010, 3:25 pm ImagoDeo Post #2



Quote from Trojanx
Well everytime I test my new map online, after a few seconds I get dropped. Simple as that.

Keep in mind I have some EUD triggers on that map:
Anti-Hack;
Keyboard-banning (You press F5 and then the number of the desired player to be banned)
Two Alpha-Test cheat codes ;D. I made triggers that can detect when you type the codes. In fact they detect each key pressed and then the next one, then the next... making codes possible using Death Counters. Those codes are:
"TASED": Teleports player to taser weapon
"I DON'T DESERVE TO BE HERE": Respawns your unit after death.

Also, those triggers work for every player, except the banning one.

Any non-shared EUD condition trigger that causes something to happen in the actual gameworld will drop the player that the trigger runs for.

For example, if you have a trigger set that gives you marines as long as you hold down the M key, you'll desync because that EUD info is not shared.

Here, read the extra information: EUD Extra Info

Hope this helps. You will have to remove most of the triggers from your map, I'm afraid.

Post has been edited 1 time(s), last time on Mar 13 2010, 9:23 pm by ImagoDeo. Reason: clarification



None.

Mar 13 2010, 7:14 pm rockz Post #3

ᴄʜᴇᴇsᴇ ɪᴛ!

Anti-hack - this is what's causing the drop.
Keyboard-banning - All you will do is ban yourself.
Alpha-Test cheat codes - All you will do is ban yourself.

Keypress isn't shared, and it will never be shared. There is no way for Player 2 to know that Player 1 pressed "T", so player 1's copy of starcraft will move the player to the taser weapon, and player 2's copy of starcraft will not. Now you have the unit in 2 different locations on 2 different copies of starcraft. The only option SC has is to cause an immediate disconnect between the two players.

Instead what you can do is detect the text after you press enter, but then you run into some other problems. Not worthwhile.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Mar 13 2010, 7:23 pm NudeRaider Post #4

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from ImagoDeo
Any EUD-based trigger that causes something to happen in the actual gameworld will drop the player that the trigger runs for.
If the value isn't shared, like key presses, then yes. But when you use control groups or unit hp which are values every player in the game can see (=shared value) then it'll work.

So it would be possible to let the player control group a few units on different hotkeys and have the code be 9-7-5-0 or whatever.

The same applies to every other EUD trigger.




Mar 14 2010, 7:25 pm Trojanx Post #5



OK... any key detecting trigger drops me, so i removed them.

But, Is there a way to make a quick-ban without taking part of the map? Or maybe a non-dropping EUD?



None.

Mar 14 2010, 8:51 pm rockz Post #6

ᴄʜᴇᴇsᴇ ɪᴛ!

Why can't you use a selection system to ban? (check the wiki for selection systems).



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Mar 15 2010, 3:17 pm ImagoDeo Post #7



You'd have to come up with some kind of system to prevent accidental bans... I often select things to find out what they are and/or what they do and/or what their purpose is, so if I were the host in this map and I selected a p2 beacon without realizing that it would ban p2... well, you see the problem.

I think you should have a death count that counts up as long as the ban unit/object is selected. When it reaches a certain number, ban the player.

Or you could have a select/confirm system, where you select the unit of the player to be banned, and then select a yes unit to confirm or a no unit to deny.



None.

Mar 15 2010, 7:53 pm DavidJCobb Post #8



A two-part Dropship Selection System would work best. Whoever has banning privileges would have a Dropship filled with 8 different units, each renamed to things like "Ban player 1". So when they mouseover the unit, it would say, "Unload Unit (Ban player 1)" (IIRC). When they click the unit, you'd have a second Drop with two units, "I am sure" and "Never mind".

If you can afford to waste two transport units, you can rename the transports to "Ban player?" and "Are you sure?", completing the effect.

IIRC you can tell if a unit is in a dropship if their owner brings exactly 0 and exactly 1 of that unit to the same location at the same time... (I think I've detected it that way before, and I know for a fact that it works for nukes in Nuclear Silos (which in a way are like transports and bunkers)...)



None.

Mar 16 2010, 5:41 am NudeRaider Post #9

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

When you use a transport you don't need two units. Just store different 8 units inside, each representing one of P1-8 and name the dropship to "Unload the # of Player to ban". If you want you can make a safeguard that he has 5 seconds to reload it into the dropship to cancel banning.
Btw. row 1 is players 1-4 left to right and row 2 is players 5-8 left to right.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
Please log in to shout.


Members Online: Roy, Ingol82, NudeRaider, Zycorax, C(a)HeK