Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [SOLVED] Detecting orders with EUDs
[SOLVED] Detecting orders with EUDs
May 10 2011, 7:52 am
By: samsizzle  

May 10 2011, 7:52 am samsizzle Post #1



I'm trying to detect the orders of the 7th (not including zero) unit placed on the map. This is what I've got for the move order:

CONDITIONS:
Memory(161340 is at least 67072)
Memory(161340 is at most 67077)
ACTIONS:
Set Death(Current Player: set to 1 for _input)
Preserve Trigger

and it doesn't work. Why is SC trolling me?

Post has been edited 1 time(s), last time on May 12 2011, 9:51 pm by samsizzle.



None.

May 10 2011, 12:47 pm rockz Post #2

ᴄʜᴇᴇsᴇ ɪᴛ!

bPlayerID
bMainOrderID
bMainOrderState
bOrderSignal
You're reading these 4 at the same time. I think that you want to read the order signal, which is the 4th byte, so you need to read from 2^24 to 2^32-1. Check artmoney to see which number changes (and if you would tell me which address you're trying to detect).



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

May 10 2011, 8:52 pm samsizzle Post #3



Okay. The thing is units 1-6 work fine following the exact same pattern, 7 and 8 do not. Here:
UNIT 1: WORKS
Memory(19044 is at least 67072)
Memory(19044 is at most 67077)

UNIT 2: WORKS
Memory(161760 is at least 67072)
Memory(161760 is at most 67077)

UNIT 3: WORKS
Memory(161676 is at least 67072)
Memory(161676 is at most 67077)

UNIT 4: WORKS
Memory(161592 is at least 67072)
Memory(161592 is at most 67077)

UNIT 5: WORKS
Memory(161508 is at least 67072)
Memory(161508 is at most 67077)

UNIT 6: WORKS
Memory(161424 is at least 67072)
Memory(161424 is at most 67077)

UNIT 7: DOESN'T WORK
Memory(161340 is at least 67072)
Memory(161340 is at most 67077)

UNIT 8: DOESN'T WORK
Memory(161256 is at least 67072)
Memory(161256 is at most 67077)

Why the hell does it not work... 7 and 8 are following the same freakin pattern, I've checked multiple times to make sure their IDs on the map are correct.



None.

May 12 2011, 4:14 am rockz Post #4

ᴄʜᴇᴇsᴇ ɪᴛ!

you've checked in artmoney or in scmdraft?



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

May 12 2011, 4:56 am samsizzle Post #5



scmdraft. I deleted all the units and placed them again too, to make sure the units were in the right order.

EDIT:

Had someone help me out with this and it turns out all I had to do was extend the "At Most" value by 2... works fine, problem solved.

Post has been edited 1 time(s), last time on May 12 2011, 9:51 pm by samsizzle.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:10 pm]
Ultraviolet -- sweet summer child
[2026-6-26. : 10:31 am]
NudeRaider -- blessed innocent soul knows nothing of the strife we had before EUDs were discovered :teehee:
[2026-6-23. : 3:29 am]
DarkenedFantasies -- Probably just didn't care. For example, at some point before release, they've updated the graphics of some of the Protoss buildings (Forge, CyberCore, Citadel, Observatory, Arbiter Tribunal), but instead of properly re-rendering them with edited 3D models, they did crappy copy-paste jobs on the rendered graphics.
[2026-6-22. : 8:35 pm]
Ultraviolet -- :wob:
[2026-6-21. : 11:38 pm]
Symmetry -- :wob:
[2026-6-21. : 4:56 am]
Ultraviolet -- I suppose we'll likely never know, but my guess would be that they already saw it operating successfully and there was no monetary incentive to finish the original work. And the dev cycle in old school Blizzard was so hectic, it's possible it just got forgotten about after the original game got released. Plus there's an element of existing MPQ files that were packaged with the original discs becoming outdated if they updated it. And it's not like they remade the original MPQs, they just made new ones for BW specifically
[2026-6-21. : 4:26 am]
Oh_Man -- so that makes me think maybe the theory they are unfinished is not true and its a deliberate design decision, coz why not finish them wen ur making brood war?
[2026-6-21. : 4:25 am]
Oh_Man -- the thing is thos buildings are from classic. that means they went ahead and made brood war without ever finishing the 'unfinished' buildings
[2026-6-20. : 6:15 pm]
Ultraviolet -- Yeah he's talked about a lot of that stuff in his casts before. It seems plausible. Especially knowing how Blizzard of yesteryear operated.
[2026-6-20. : 3:47 pm]
NudeRaider -- to clarify: couldn't recall the behavior for every single Protoss building but I was aware the disparity exists.
Please log in to shout.


Members Online: Prankenstein