First free building seems to be at 0x000010dc at the start of the scenario, the longer you play the farther down it will be.Technically, there should be as many possible buildings as there are usable tiles on the map.In your particular screenshot, the first building begins further up. Those ff ff ff ff parts usually indicate that there are free building slots.

Force coding colours are easy to remember. I memorize them from 00 to 21.Officer numbers are harder. To be honest, I only memorize Cao Cao, Liu Bei, Lu Bu, Xiahou Dun, Xiahou Yuan, Jia Xu, Ahui Nan and Wei Zhao. And the first few of the CCs. That's it, I have to look up the rest.

What I meant about hte buildings is where is the first FF byte that I should replace with 01 to start "building" ? or is the 04 bytes that I need to replace ? that should have been my question in the first place hope it's clear now.

Nice to remember all of the forces number, helps when editing heavily , the officer number I remember is Tao Qian E4 01 , I used it so much when editing his force

I'm a bit confused at the moment. Not by your question, but by the code itself.

I said it would always start with 01 at the beginning, but now I see different numbers as well, 02, 04, 05, 06. I'd say you'll leave it at that.Go to 0x000010dc and you'll see 02 here. This is the supposed 01 byte in my pictures. The rest you can figure out yourself I guess.

I got it now, the 01,02,04,03 are ..... The Rotation of the building 01 is north, 02 is east, 03 is west , 04 is south, that explains why the game crashes when put 00 there also the 3rd byte of current HP is the statue of the building, (01 for functional, 00 for "currently building" , I guess other numbers could be used in that place for the city models, I'll try it right away

PS: I think these are my first contributions to the Hex editing guides

My mistake there, 05 is west, 06 is south west , so 04 would be north east ...etc

Also if you give a building HP above its maximum, all the bonus HP will be gone in one hit, no matter how much you add or how weak the attacking unit is.

I'm trying to work out the alliance part now, allying Liu Bei, Cao Cao , Sun Jian, gives us : 06 in the first byte for Cao, 05 for Liu Bei and 03 for Sun jian, I can' seem to figure out any way on how that happened, I have theories, but I'll need to play around those for some time to tell them apart.

Edit on the alliance, Each force you ally with gives you a number, for example allying with Wei gives 01 (or just 1 if it works like techniques) added in the first byte, Shu gives you a 02 bonus in the first byte, Wu gives you a 04 , still didn't figure out all the things, for example which order the number you get is put is still a mystery, there are 7 bytes, and 42 possible forces, so there must be a way to get it.

The forces are in a specific order as per the order in the district order section, so it's probably relevant to that. I believe Wei is always the first force listed (except for 184, of course), Shu is second, Wu is third. But the 4 for Wu is weird, I'm assuming you're testing on RoH. If Wei or Shu have a district then it would make sense but if they don't then there is a specific numbering system rather than just the arbitrary 1, 2, 3 thing. Perhaps similar to the buildable land numbering system*?

Anyway you can see the order of forces by looking at the district code or I think if you go into the forces list menu and show order by forces and see it.