Staredit Network > Forums > SC1 UMS Theory and Ideas > Topic: The Understanding of "EUD"
The Understanding of "EUD"
Jan 2 2009, 4:54 pm
By: Heinermann
Pages: < 1 2 3 4 56 >
 

Jan 19 2009, 4:28 am Falkoner Post #41



I'm not sure on this, but from a programming perspective, I'd guess it has to point to something actually defined in memory.



None.

Jan 19 2009, 4:36 am O)FaRTy1billion[MM] Post #42

👻 👾 👽 💪

It's just 20*LocationID+offset... It doesn't have to actually point to anything defined. And the memory immediately after the location table IS allocated, so it shouldn't explode.

Don't extended mbrf portrait slots crash? ... :D
Ok, so they are loaded into a stupid table... Using extended slots can only crash. I was hoping it was loaded differently... It's trying to read from 0+8 or some shit.

Post has been edited 3 time(s), last time on Jan 19 2009, 8:36 am by FaRTy1billion.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Jan 19 2009, 5:28 pm Heinermann Post #43

SDE, BWAPI owner, hacker.

How about creating a unit at an extended location?
Extended locations in bring condition?
They must have valid coordinates though.

EDIT: Create Unit only seems to read 1-byte locations.

Post has been edited 1 time(s), last time on Jan 20 2009, 1:42 am by Heinermann.




Jan 20 2009, 8:38 am CooL Post #44



EUDs are very useful triggers, but it's hard to understand and use. :-(



None.

Jan 20 2009, 1:13 pm Heinermann Post #45

SDE, BWAPI owner, hacker.

It's fairly easy when you come to understand how memory works.
It's really easy to use if someone has created a tutorial for something specific. (Copy n Paste ftw)

Seems extended action and condition IDs work. But being able to obtain a proper function may pose some difficulty.




Jan 20 2009, 6:33 pm alexpnd Post #46



Hey can you make a tutorial? I'm trying to do something with research. According to farty

UnitID = 0 (So that you don't have to factor in 48*Unit ID.)
Player = (Address - Death Table Start) / 4 (This can be egative.)

How do I know the death table start? is this constant (im assuming 0058A34C ) for 1.16? So when it reads are we going back or forward in memory? I know how binary files work so I'm assuming its similar to memory, perhaps though with continuously changing values. Thanks for your time, I never could have imagined map editing getting this crazy.

He also posted this: 20*LocationID+offset, what is locationid? and offset? fill my ignorance.



None.

Jan 20 2009, 9:13 pm Rantent Post #47



Quote from O)FaRTy1billion
EUDs have no bounds!
Except Macs...



None.

Jan 20 2009, 10:08 pm Falkoner Post #48



Macs don't have limitations either, you just need different offsets for them.



None.

Jan 20 2009, 10:18 pm O)FaRTy1billion[MM] Post #49

👻 👾 👽 💪

Quote from Heinermann
Seems extended action and condition IDs work. But being able to obtain a proper function may pose some difficulty.
I don't suppose they can reach anything that I can directly edit the value of somehow... ;o



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Jan 21 2009, 6:08 am CooL Post #50



Quote from Falkoner
Macs don't have limitations either, you just need different offsets for them.
Sounds tough! It means there should be 2 triggers of EUDs, right?



None.

Jan 21 2009, 6:59 am Decency Post #51



That's actually a possibility.

You'd have to find a way to detect whether the player is running a Mac or a PC, or ask them to input it themselves, but with additional conditions it would be doable. =D



None.

Jan 21 2009, 9:16 am Wormer Post #52



Quote from Falkoner
Yeah, I think I remember hearing somewhere that if the location used as the parameter for the Move Location function isn't a valid location, it doesn't run.
I think you remember from bring/command discussion thread.

Two posts have reference to valid locations:
http://www.staredit.net/54819/
Quote from name:DiscipleOfAdun
Valid locations means any number between 1 and 255. Valid in terms of data going into the function, not valid as in the location exists in the map.

The command condition will cause a lot less lag than bring, because it doesn't have to narrow it down by location when it checks the condition.

http://www.staredit.net/54650/
Quote from name:DiscipleOfAdun
Doing any of the actions I listed will set the block as invalid and force a refresh for the next condition.

EDIT -

Remove Unit and Kill Unit will always reset the block, even if there isn't a unit to remove.
Remove Unit at Location and Kill Unit at Location will reset as long as it is given a valid location, even if it doesn't actually remove a unit.
Move Unit and Move Location will reset as long as both source and destination locations are valid.




Some.

Jan 21 2009, 12:06 pm nano351 Post #53



Not sure if anyone has posted something similar but here's a basic formual on where an eud will read.

L = 4(12U + P) + 5808964
U is unittype
P is playerNumber
L is location to read

all data in this equation is in decimal format.



None.

Jan 26 2009, 5:12 pm . . Post #54



Quote from Rantent
Quote from O)FaRTy1billion
EUDs have no bounds!
Except Macs...

If we can find an address that is hardcoded or supposed to be within bounds (1 to 8 or something) that is way different on the mac, then we can detect it with eud conditions and ajust other triggers accordingly.



None.

Jan 26 2009, 10:30 pm O)FaRTy1billion[MM] Post #55

👻 👾 👽 💪

You don't need to know if a player is mac or PC unless some values will screw up otherwise (or attempt to read invalid memory.)
Switches wont desync, so you can have it so that one set of conditions (mac) sets a switch when true and another set of similar conditions (pc) sets the same switch when true.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Jan 27 2009, 9:36 am Decency Post #56



I need to read the value for the offset 0040ACA9, decimal 4238505.

I don't understand how to manipulate this formula; after the subtraction you obviously can't divide an odd number by 4.



None.

Jan 27 2009, 1:50 pm rockz Post #57

ᴄʜᴇᴇsᴇ ɪᴛ!

you'll have a remainder, and that number is lower than the death table, so you can't use EUDs.I don't feel like reading the entire thread.

Post has been edited 1 time(s), last time on Jan 27 2009, 5:07 pm by rockz.



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

Jan 27 2009, 2:11 pm Decency Post #58



How then do EUD's have no bounds...?



None.

Jan 27 2009, 2:19 pm Ahli Post #59

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

Quote from name:FaZ-
How then do EUD's have no bounds...?
Quote from O)FaRTy1billion[MM]
EUDs have no bounds! You can read any value in memory. Also, you wont need to put in weird unit IDs... though you will need to put in weird player IDs.

UnitID = 0 (So that you don't have to factor in 48*Unit ID.)
Player = (Address - Death Table Start) / 4 (This can be negative.)

Extended locations didn't work when I tried them in Move Location.





Jan 29 2009, 10:55 pm Falkoner Post #60



You know, I've been wondering about this for a while, but would it be possible for a map to detect a whisper from an outside player, and then run certain triggers accordingly? Without desync, off course.

I guess the main question is whether or not you can detect whispers. It'd be cool, so be able to whisper some code word to people playing your game and suddenly give them all like uber power :P



None.

Options
Pages: < 1 2 3 4 56 >
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:35 pm]
ninokaw193 -- RioGrand is a reputed name in manufacturing high- quality Criket Bats https://www.riogrand.in
[01:35 pm]
ninokaw193 -- RioGrand is a reputed name in manufacturing high- quality Criket Bats https://www.riogrand.in
[01:35 pm]
ninokaw193 -- RioGrand is a reputed name in manufacturing high- quality Criket Bats https://www.riogrand.in
[01:35 pm]
ninokaw193 -- RioGrand is a reputed name in manufacturing high- quality Criket Bats https://www.riogrand.in
[01:35 pm]
ninokaw193 -- RioGrand is a reputed name in manufacturing high- quality Criket Bats https://www.riogrand.in
[01:34 pm]
ninokaw193 -- RioGrand is a reputed name in manufacturing high- quality Criket Bats https://www.riogrand.in
[01:34 pm]
ninokaw193 -- RioGrand is a reputed name in manufacturing high- quality Criket Bats https://www.riogrand.in
[03:27 am]
m.0.n.3.y -- Maybe because it's an EUD map?
[03:27 am]
m.0.n.3.y -- Can't upload maps to the DB. Error says "The action you have performed caused an Error". Any word?
[2024-4-25. : 7:46 am]
RIVE -- :wob:
Please log in to shout.


Members Online: jun3hong, ninokaw193