Forum Replies Created
-
AuthorPosts
-
sonic.penguin
ModeratorThat was quite a bug to hunt down and finally root out. Make sure to put that into the latest IPS, phew, that was an all day job almost! Now what I am wondering is why in the Yuan Shao Mod was the guy @ the top of the formation healing the player party and attacking his own… yikes! Hope to have this up and running soon to get some battle testing. Here’s how it looks now, and I must say, it looks pretty cool :LiuBei:
sonic.penguin
ModeratorOkay, codes in, going to test it.
sonic.penguin
ModeratorHey sonic have you seen this one in IPS 1.3 ?
I haven’t tested 1.3 enough to know, I’m still trying to get off the ground with portraits, sprites, and semi-balanced stats. I don’t even want to start until things are cleaned up a bit otherwise it’ll be a waste. I’ll keep an eye open for it though.
sonic.penguin
Moderatorsonic.penguin
ModeratorFor some reason, guys with no weapons are getting a bar lengthening… is that intentional?
sonic.penguin
Moderatorsonic.penguin
Moderatorsonic.penguin
ModeratorAwesome! FLEXX Applied it, check this out with his base AC of 25 + Wood H of 30 + Robe of 5 = the numbers don’t lie :thumright:
but at higher level armor there seems to be a problem…
Base AC = 68
Iron Helmet provides = 60 AC
Plate Mail provides = 75 AC
Total = 203With all armor unequipped it reads 68 which is spot on!
The code seems to be working, now the bar is just royally messed up.
sonic.penguin
ModeratorGot it, gonna test it.
sonic.penguin
ModeratorSo until I fix DoaEditor the solution is to just manually put FF (255) in the table at all 3 spots:
0x7AAA6: FF FF FF
The DoaEditor bug is with officer with multiple officer IDs. Way around is to manually update the tables:
To set the LDR for an officer, put the value at 0x7AA## where ## = officer ID
To set the VIT for an officer, put the value at 0x7AB## where ## = officer ID
To set the POL for an officer, put the value at 0x7AC## where ## = officer IDI’ll have to see how Niahak handled those cases in his code.
It seems that they are categorized by the LAST hex value in their series, for example, the first 3 below referencing http://kongming.net/doae/rom_hacking/battles/
Officer Hex values this affects:
A6-A8 Liu Bei (referenced as A8 @ kongming.net)
39-3B Chen Deng (referenced as 3B @ kongming.net)
A1-A4 Guan Suo (referenced as A4 @ kongming.net)
9A-9D Pang Tong
55-56 Sun Ce
98-99 Zhou Cang
05-08 Zhou Chao
3C-3D MI Zhu
B5-B7 Lu Bu (Shu)
45-46 Liu KuiOn another note, these are ALL sprites that I wanted to know how their sprite X,Y data was stored so they could be moved around to different locations. This might be useful to put in the guide. It might also be the key to discovering how James originally replaced the “Yuan Shu has the Imperial Seal” messenger with a recruitable Dian Wei.
sonic.penguin
ModeratorThis should be the new formula yes:
let x = VIT/2 + STR/4 + AGI/4
Base AC = x * 2 * level / 256, capped at 100Need the hex for that. I’d tell it to make pancakes if I could but I can’t code that either XD
January 16, 2014 at 2:20 pm in reply to: Destiny of an Emperor RH Guide ( MOVED! to http://doaerhguide.wikidot.com ) #52995sonic.penguin
ModeratorJust changed this in the guide to be more…. concise and easier to understand without thinking >_>
0x7AA00-0x7AAFF = LDR settings for officers
0x7AB00-0x7ABFF = VIT settings for officers
0x7AC00–0x7ACFF = POL settings for officerssonic.penguin
ModeratorDarn, this is what happens when I’m trying to figure out lud’s code. Both these issues are totally lud’s by I’ll try to fix them anyway
Yeah, every so often I get an email from him just saying hello. Last time I emailed him about the “last guy going first” freeze bug and he seemed pretty stoked that we were able to trap that.
sonic.penguin
ModeratorScratch that, I just realized something… Did you change the formula?
And the level is involved as well. Lud documented the original formula in the guide:
let x = STR/2 + INT/4 + AGI/4
If you did, I didn’t change the formula and will need these changes posted:
Now our new formula:
let x = VIT/2 + STR/4 + AGI/4
Base AC = x * 2 * level / 256, capped at 100sonic.penguin
ModeratorMore like assassination :ninja:
0x798B9: “6D 73 60″–>”EA EA EA”
Not working properly. Officer that should have 68 Base AC still has 100
Lvl 52
STR 135/4
VIT 164/2
AGI 213/4 +
________
33+82+53= 168*2*52= 17472/256= 68… Cao Pi still has 100 >_>
Also I think the bar is not going all the way because even with 100 Base AC, there should be some bars, not just blank.
-
AuthorPosts


