Skip to content

Things worked on offline

UndeadStar edited this page Jun 17, 2016 · 18 revisions

Hello,

This is where I put the things I'm working on offline for a while before posting an update. Those changes may be incomplete, altered or given up by the time an update happen, but it's to show a bit more activity when I'm being slow.

Latest stuff: according to 4th part below, I've been trying to fix existing hooks, to prevent damage from some kind of domino effect of a future hook that would be incompatible with old ones (like some trouble that happened with a cloaking related hook at some point). At the moment I'm writing this, I'm on the function that give techs and upgrades from a "control-gained unit" (passive recruited, gotten from "give units" trigger, mind-controlled) to the player, one point being to make it compatible with the original hardcoded data, while it was necessarily using newly-created ones currently.

-made changes to detector hook due to suspicions of things not working properly. And while I don't like completely removing stuff, I wonder if it's really alright to keep the 2nd function (because it produce a partial result that must be mixed with others to have an effect, and trying to change this partial result without knowing the whole processing may result in weird and unwanted effects)

-moved isTargetWithinRange into CUnit

-Checking if some functions could be made more user-friendly (renaming the jump_to variables, adding or changing comments, or doing others changes)

  • -changes on 006BEEXX variables (better naming for those temporary units lists management variables)

-modifying some injectors to make them safer and/or easier to read or manipulate

  • -attempt to replace CALLPATCH by JMPPATCH in unit_destructor_special led me to try to recreate the function from scratch to make sure nothing is missing or buggy before touching the subject

-Thinking about when I move from Update-3 to Update-4

-Thinking about changing my interaction with the changelog in Update-4 (current thinking: making a temporary entry every time I do several changes online, and referencing the changelog entry in the "file edition log" of github)

-getting over illness ( damn it, this delayed me by 2~3 weeks of not advancing on anything >_< )

Clone this wiki locally