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.
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
[06:38 pm]
Vrael -- I need a go-to solution and someone who understands that Carpets are more than just decorative elements in my home.
Please log in to shout.


Members Online: RIVE, NudeRaider