Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [SOLVED] Trigger cycles
[SOLVED] Trigger cycles
This topic is locked. You can no longer write replies here.
Nov 9 2011, 12:46 am
By: MetalGear  

Nov 9 2011, 12:46 am MetalGear Post #1



I'm creating a map at the moment where I have to really think about the trigger structure to avoid lag issues. So I have a simple question that I need answering...

WHAT HUMAN PLAYERS PROCESS THE COMPUTER-PLAYER TRIGGERS?

I've had a few thoughts, and I'm guessing that only 1 human player (i.e. the host) processes the computer-player triggers, because surely they only have to be processed by 1 player? Let me clarify this some more... If player 1, 2, & 3 are human players, and player 4 is a computer player, then does only player 1 process the triggers for player 4 in each trigger cycle, or do players 1, 2, and 3 all have to process triggers for player 4?

Sorry for the newbness, but I need to know this!




None.

Nov 9 2011, 12:49 am Azrael Post #2



All triggers are processed by all players equally. If only one player processed them and then shared the result, it'd be way too exploitable. With the current system, every computer figures out independently what should be happening, and those that disagree are desynced.




Nov 9 2011, 1:18 am Lanthanide Post #3



Confirm what Azrael said. I tested this out empirically when I was doing my PC - mac EUD triggers. Each computer will process all triggers for all players in the game.



None.

Nov 9 2011, 1:26 am Vrael Post #4



Only player input data is transferred on b.net between trigger cycles, like mouse clicks or keyboard presses, in order to reduce the load on the network. Remember SC1 was developed for like 32kbit modems lol. Everything else is calculated on each PC independantly.

If you're asking how trigger cycles work, read the article, located here: http://www.staredit.net/starcraft/Triggers



None.

Nov 9 2011, 1:29 am ubermctastic Post #5



Yeah, each computer processes them seperately, because they should always get the same result.
If they don't get the same result, there's something different in the data of one of the computers, and they desync.
Also, it would be more ineficcient for one computer to process all the triggers, and then share the results with the others, because the information would have to be sent over bnet.

It's not the internet that is causing the lag when triggers are lagging, it's the computer itself, more specifically starcraft, which wasn't designed for the triggers used in some maps nowadays.

There are two possibilities

The speed of the computer used by the player is to blame.
(They are probably still running microsoft 95)
OR
Starcraft can't handle the load of triggers?
(it's such an old game that computer speed isn't a factor)
OR
The player lagging is using dialup, or some other crappy internet, or a crappy router, or is sharing said crappy router/internet with someone else, or is downloading movies.



None.

Nov 9 2011, 2:01 am Lanthanide Post #6



Quote from Vrael
Only player input data is transferred on b.net between trigger cycles, like mouse clicks or keyboard presses, in order to reduce the load on the network. Remember SC1 was developed for like 32kbit modems lol. Everything else is calculated on each PC independantly.
Most networked games try and transmit as little as possible between the player and the server (or each other player).

WoW uses about 10mb of bandwidth per hour. That's really not very much at all.



None.

Nov 9 2011, 7:30 am MetalGear Post #7



well that pretty much sums it up for me. thank you very much.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:20 am]
Symmetry -- Dang I'm up to 155 minerals gambling really pays off guys
[2026-10-11. : 6:02 am]
Donald -- Samase
[2026-10-09. : 2:53 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: I'll check it out this weekend!
Thanks
[2026-10-09. : 2:47 am]
Symmetry -- I'll check it out this weekend!
[2026-10-09. : 2:40 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: Another map maker? Damn we really ARE back
I invite you to try out the map I modified. I don't have the creativity to create maps from scratch, but I do have the know-how to modify existing ones; my project is to tweak community campaigns (specifically those with errors—to make them playable.
[2026-10-09. : 2:27 am]
Symmetry -- Another map maker? Damn we really ARE back
[2026-10-09. : 1:51 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Now that I wanted to change my avatar, the error image is showing up, haha.
[2026-10-09. : 1:34 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Mr.BurnLiquid
Mr.BurnLiquid shouted: Ultraviolet Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
I invite you to try out a mission I'm modifying from *StarCraft Reversed*; I'm trying to make it more playable and challenging.
[2026-10-09. : 1:33 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
Please log in to shout.


Members Online: lifebot, Milestone