Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Show Leaderboard: Resources
Show Leaderboard: Resources
Dec 24 2008, 2:54 pm
By: SevGaming
Pages: < 1 2 3
 

Jan 8 2009, 1:39 am Heinermann Post #41

memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes

iCafeMoto, more english please. This is a forum.

I would use extended players in an accumulate condition to detect the start location position of the current player.
The idea is to run the trigger client-side. So you must read a client-side value.

Place all observer start locations stacked in the center or something, and copy its X/Y coordinates.
Use the condition elapsed game time is at most 1, and the extended accumulate condition.

Player gas counts start at 0x57F100.
Saved screen position 1 is at 0x57F250 (defaults to start location on game start).
(57F250 - 57F100) / 4 = playerID
So you would use Player 85 (ID: 84) to detect the current position of their Start Location.

The drawback of using an overflow is the lack of mac compatibility.




Jan 8 2009, 4:18 am iCafeMoto Post #42



it's not like mac players will desync or anything in this situation.. and u can scan for addesses with a mac if u want it to work for macs



None.

Jan 9 2009, 6:17 am Heinermann Post #43

memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes

I'm not confident it won't desync in general though.




Jan 9 2009, 8:27 am rockz Post #44

ᴄʜᴇᴇsᴇ ɪᴛ!

Quote from Heinermann
iCafeMoto, more english please. This is a forum.

I would use extended players in an accumulate condition to detect the start location position of the current player.
The idea is to run the trigger client-side. So you must read a client-side value.

Place all observer start locations stacked in the center or something, and copy its X/Y coordinates.
Use the condition elapsed game time is at most 1, and the extended accumulate condition.

Player gas counts start at 0x57F100.
Saved screen position 1 is at 0x57F250 (defaults to start location on game start).
(57F250 - 57F100) / 4 = playerID
So you would use Player 85 (ID: 84) to detect the current position of their Start Location.

The drawback of using an overflow is the lack of mac compatibility.
If it's a randomized start location map, and there is no observer slot, you've got a serious problem.



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

Jan 10 2009, 6:58 am Heinermann Post #45

memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes

Are you... high?

There will be observer slots, and their Start Locations will not change. Randomization has no effect.




Jan 11 2009, 12:15 am rockz Post #46

ᴄʜᴇᴇsᴇ ɪᴛ!

Quote
if... ...there is no observer slot

On an 8 player map, there could be 7 places for the other player(s) to be. You can't have observer slots on those sorts of maps, or the randomization will be messed up. I know that's not what this topic is about, but I was just presenting a possible problem with your method, should it be used in such a manner.



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

Options
Pages: < 1 2 3
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
[06:26 am]
NudeRaider -- I mean yes, maps - through EUDs - were theoretically able to do that as well, but that was patched quickly.
[06:25 am]
NudeRaider -- Symmetry
Symmetry shouted: Ohhh imagine a SC map that could delete itself
not the map, the editor
[02:28 am]
Symmetry -- I vaguely remember Voy doing some ACE back in the day, but I had no idea EUDs could do that kind of shit. I am very much catching up on the technology
[02:28 am]
Symmetry -- Ohhh imagine a SC map that could delete itself
[2026-7-15. : 8:51 pm]
NudeRaider -- Symmetry
Symmetry shouted: NudeRaider Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
yeah an editor that isn't allowed to write files sounds rather pointless, so I'd assume it can. Like most other programs too btw. and yes, obviously that's dangerous, but also kinda necessary. MS introduced that virtualization for exactly that reason.
[2026-7-15. : 4:10 am]
Ultraviolet -- I don't think so. I think they shut that shit down after 1.16, maybe even earlier
[2026-7-15. : 2:19 am]
Symmetry -- NudeRaider
NudeRaider shouted: Symmetry I can't tell if it's relevant. You provided literally no context so I was providing an equally generic answer.
Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
[2026-7-14. : 11:43 pm]
Ultraviolet -- let's take each other's clothes off :teach:
[2026-7-14. : 11:03 pm]
Vrael -- :teach:
Please log in to shout.


Members Online: MarineElite, IlyaSnopchenko