Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Let's figure out the memory layout of 1.18
Let's figure out the memory layout of 1.18
May 5 2017, 10:46 am
By: nlight  

May 5 2017, 10:46 am nlight Post #1



I have started figuring out the memory offsets for 1.18 but I need some help, because I can't find everything. So let's figure it out together.

Here is what I know so far:

- Starcraft.exe's base address is 0x00e50000
- The large BWGame structure from BWAPI (this one - https://github.com/bwapi/bwapi/blob/master/bwapi/BWAPI/Source/BW/BWGame.h ) is at offset 0x8B80B0
- The death counters table begins at offset 0x8C3324

What I'm looking for?

- Current map file path
- Where the currently loaded map chunks are
- Function pointers for routines to draw text, rectangles, etc
- The currently live units array



None.

May 5 2017, 10:56 am Oh_Man Post #2

Find Me On Discord (Brood War UMS Community & Staredit Network)

I dont know how much time you should spend. Isn't the chance pretty high that once the remaster drops all the offsets will be changed again?




May 5 2017, 11:06 am nlight Post #3



Quote from Oh_Man
I dont know how much time you should spend. Isn't the chance pretty high that once the remaster drops all the offsets will be changed again?

Yes, most likely. But it doesn't hurt to figure it out, there are a few months until remastered.



None.

May 5 2017, 1:24 pm Suicidal Insanity Post #4

I see you !

Aren't they changed every minor revision? So 1.18.1 -> 1.18.2 .... 1.18.5 or whereever we are now?




May 6 2017, 5:38 am Heinermann Post #5

SDE, BWAPI owner, hacker.

Yeah there's no real reason to map it out when the layout changes every week.




May 6 2017, 10:12 am nlight Post #6



Yeah, it changed again with the latest patch. At this point I'm just scanning for the stuff I need at runtime because hardcoding offsets won't do.



None.

May 6 2017, 3:38 pm LoveLess Post #7

Let me show you how to hump without making love.

Unless they fixed it since I last tested it, triggers are not even allowed to read offsets without crashing the game. What is the purpose of finding them?



None.

May 7 2017, 4:08 am Voyager7456 Post #8

Responsible for my own happiness? I can't even be responsible for my own breakfast

It'd be a useful first step to updating some of the modding tools once Blizzard settles down and stops patching every week.



all i am is a contrary canary
but i'm crazy for you
i watched you cradling a tissue box
sneezing and sniffling, you were still a fox


Modding Resources: The Necromodicon [WIP] | Mod Night
My Projects: SCFC | ARAI | Excision [WIP] | SCFC2 [BETA] | Robots vs. Humans | Leviathan Wakes [BETA]


May 7 2017, 6:49 am Wormer Post #9



So, we don't even have EUD conditions now? :( Is it still possible to use overflow to show a death counter in leaderboard?



Some.

May 10 2017, 8:15 pm Suicidal Insanity Post #10

I see you !

Quote from Wormer
So, we don't even have EUD conditions now? :( Is it still possible to use overflow to show a death counter in leaderboard?

If it is, don't let anyone know lest it be taken away.




May 10 2017, 8:19 pm Pauper Post #11



Quote from Oh_Man
I dont know how much time you should spend. Isn't the chance pretty high that once the remaster drops all the offsets will be changed again?

Theoretical question: What is someone didn't buy the remastered edition and designed a map with these EUD conditions. Would that map not work in the remastered edition?

Could this be a reason why Blizzard may ban or make all EUD triggers not work?



Alias: Oo.Pauper.oO - Mp)Madness - Bitz - p00pyjoel

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
[2024-4-17. : 1:52 am]
Vrael -- hah do you think I was born yesterday?
[2024-4-17. : 1:08 am]
O)FaRTy1billion[MM] -- i'll trade you mineral counts
[2024-4-16. : 5:05 pm]
Vrael -- Its simple, just send all minerals to Vrael until you have 0 minerals then your account is gone
[2024-4-16. : 4:31 pm]
Zoan -- where's the option to delete my account
[2024-4-16. : 4:30 pm]
Zoan -- goodbye forever
Please log in to shout.


Members Online: X405, Oh_Man