Destiny of an Emperor; Hero of Chaos Mod (Cao Cao Mod)

Use this forum to discuss hex-editing or otherwise altering any Three Kingdoms game, and to promote modded titles and patches.

Re: Destiny of an Emperor; Hero of Chaos Mod (Cao Cao Mod)

Unread postby sonic.penguin » Sun Jun 01, 2014 7:47 pm

An update on the Tactic Success/Fail front. It appears that my Rom had many different nuances than what the most current data is for the success fail code. While I wont outline all the details here that were wrong with my rom, I seem to have fixed some of the issues with tactics failing left and right that should be auto-succeed tactics (such as dueling)

0×4180 (jump off point for tactic succeed/fail):
D0034CB182A93A2082C4000000000000
00000000000000000000000000000000

0x56B0 (checking new attributes for tactic damage):
E0059005E8E84C8D96BD9760AABD1064
60000000000000000000000000000000
E0059005E8E84C8D96BD9760AABD2064
60000000000000000000000000000000
A6782040884A4A4A4A85B8A678208096
4A4A4A4A85BCA67820A0964A4A4A4A85
BDA67820C0964A4A4A4A85BE60000000

0×5750 (used for subtracting VIT from tactic damage):
AAA511C900F006A511E90185118A6000

0x57A0 (adding up tactic damage):
20E09720F097EAEAEAEAEAEAEAEAEAEA
EAEAEAEA20F0874C8297000000000000
A54A0A0AAABD61614A4A4A85B2A67820
00884A4A4A4A85B6A6782020884A4A4A
4A85B720E09660000000000000000000
A93A2082C46000000000000000000000
A4B1A5101865B190032050971865B290
032050971865B390032050971865B490
032050971865B590032050971865B990
032050971865BA90032050971865BB90
0320509738ED3064B0032040978810B4
85106000000000000000000000000000
0000000000000000000000A91E2082C4
A9008512851520609720E09720F097EA

0xE8180 (main guts of success/fail):
00000000000000000000A44DB9F08310
034C8B83C01AD0034CAB83A44DB9F083
2940C940F008A9FF8D30644CB081A44B
B9006485F3A44AB9006420B0828D3064
A44DB9F0832920C920F008A9FF8D3164
4CD581A44BB99C6185F3A44AB99C6120
B0828D3164A44DB9F0832910C910F008
A9FF8D32644CFA81A44BB9A86185F3A4
4AB9A86120B0828D3264A44DB9F08329
08C908F008A9FF8D33644C1F82A44BB9
B46185F3A44AB9B46120B0828D3364A4
4DB9F0832904C904F008A9FF8D34644C
4482A44BB9106485F3A44AB9106420B0
828D3464A44DB9F0832902C902F008A9
FF8D35644C6982A44BB9206485F3A44A
B9206420B0828D3564AD306485F3AD31
64C5F3B00285F3AD3264C5F3B00285F3
AD3364C5F3B00285F3AD3464C5F3B002
85F3AD3564C5F3B00285F3A5AD65AE29
0FC5F390034C90834C8B830000000000
38E5F39011A003D9E082B0038810F8B9
E48285F3101438E90149FFA003D9E882
B0038810F8B9EC8285F3600000000000
000A326406080C0F000A326401020406

0xE8390 (jump off points):
0000000000000000000000A9012082C4
A9012082C40000000000000000000000
0000000000000000000000A9012082C4

0xE8400 (default tactic attributes):
00101010101010101010109494949494
C4942090C0E00212C85012C048949400

0xE97F0 (Checking Attributes for Tactic Damage):
A9012082C4A90085B385B485B585B985
BA85BBA44DB9F0832940C940D006A5B9
65BC85B9A44DB9F0832920C920D006A5
B365B685B3A44DB9F0832910C910D006
A5B465B785B4A44DB9F0832908C908D0
06A5B565B885B5A44DB9F0832904C904
D006A5BA65BD85BAA44DB9F0832902C9
02D006A5BB65BE85BBA44BB910644A4A
4A4A4A8D30644CE09700000000000000

The only problem with the above is that it 'borks' the game when healing tactics are used, so I'm going to try and figure out the difference between the above and below:


EDIT: This code is a failure... it causes people to attack themselves when healing :P
0xeb970:
82C4ADFE611879F0878DFE614C90B900
BDF0832901C901D00BAC3164C0079004
A9008510AC3764600000000000000000
B9F08310034C8B834C5DB90000000000

At any rate, a screenshot below showing a battle in Chapter 3 with a 'Cao Cao Only' unique tactic
Image
User avatar
sonic.penguin
Langzhong
 
Posts: 524
Joined: Fri Sep 30, 2011 8:20 pm

Re: Destiny of an Emperor; Hero of Chaos Mod (Cao Cao Mod)

Unread postby sonic.penguin » Fri Mar 13, 2015 10:23 pm

Current DOAEditor and HOC Bugs List: (to be moved shortly)

1. If the 8th person in the party equips weapons/armor, they are automatically de-equipped after a battle, even though it shows they are still equipped. The player also gets the error message of [OFFICER] does not have any items every time an item is passed or equipped in other characters if the 8th character has no items in their inventory.

2. Cannot omit portraits using the omit portrait key in DOAEditor.

3. DOAEditor is not editing the 'Auto-Succeed' code found at 5710. I click the button, but when I check the hex, it is not set for '01' I can set it manually though via a hex editor but DOAEditor is not doing it. This may also be the issue below for the fire tactic. I'm guessing this is also why when I've used "Duel" that it has been failing.... Confirmed. I have it set for auto-succeed but it is still 00 in the hex.

4. The graphic for 'Fire Tactics' is not working properly. When the element box for tactics is checked, I get a garbled graphic of random crap rather than the flame tactic. This is probably just referenced wrong for pulling the correct graphic.

Other annoying problems, but not as big as the ones above:

5. Enemies can't use Douse, Castle, or the water protection tactic as it freezes the game, especially during all-out. Protect and Guard seem to work fine. (confirmed this through lots of testing) I just omitted these tactics from the mod for now and it works fine.

6. I need help getting [EVENT-4D27] to run properly. For some reason, it is acting like [END] and not continuing the dialogue. <-- This is the Yuan Shu Emperor Speech Event where you select YES/NO but I'm using it for the battle of Xia Pi with Lu Bu. Somehow I've messed it up...


Thanks for checking into these!
User avatar
sonic.penguin
Langzhong
 
Posts: 524
Joined: Fri Sep 30, 2011 8:20 pm

Re: Destiny of an Emperor; Hero of Chaos Mod (Cao Cao Mod)

Unread postby sonic.penguin » Sun Mar 15, 2015 6:10 am

Celebrating our back-in-business (or work on this mod) a new portrait for Cao Cao's successor!
Image
User avatar
sonic.penguin
Langzhong
 
Posts: 524
Joined: Fri Sep 30, 2011 8:20 pm

Re: Destiny of an Emperor; Hero of Chaos Mod (Cao Cao Mod)

Unread postby sonic.penguin » Mon Mar 16, 2015 12:58 am

For some reason also, the 'mismatch lists' arent working either. I set it up for Guan Yu to always beat Yan Liang and Wen Chou and Guan Yu sometimes loses.

Also, if I duel an enemy officer with two of my officers, and the first one wins and removes the enemy officer, the second officer tries to duel as well and duels a ghost... upon which the game freezes.. but this might be because I put '01' on the auto-succeed menu because 'duel' was failing when used...
User avatar
sonic.penguin
Langzhong
 
Posts: 524
Joined: Fri Sep 30, 2011 8:20 pm

Re: Destiny of an Emperor; Hero of Chaos Mod (Cao Cao Mod)

Unread postby MiDKnighT » Mon Mar 16, 2015 6:23 pm

sonic.penguin wrote:Current DOAEditor and HOC Bugs List: (to be moved shortly)

1. If the 8th person in the party equips weapons/armor, they are automatically de-equipped after a battle, even though it shows they are still equipped. The player also gets the error message of [OFFICER] does not have any items every time an item is passed or equipped in other characters if the 8th character has no items in their inventory.


You mean the 7th guy right? I just tried this with my IPS 1.3 patch 2 version and it worked fine. I equipped Han Zhong with a dagger as my 7th guy, got into a battle, and he was still equipped after.
User avatar
MiDKnighT
Sage
 
Posts: 287
Joined: Mon Oct 16, 2006 4:16 pm

Re: Destiny of an Emperor; Hero of Chaos Mod (Cao Cao Mod)

Unread postby sonic.penguin » Mon Mar 16, 2015 7:58 pm

Yes, the 7th guy. Check the armor as well. Maybe it's an issue with the mod itself? Try applying the 1.3 patch and see if it unequips. Do you have the savestate and mod I posted the other day? I erased it shortly after... either way, there is 1 officer in the mod that has equipment issues. If I was smart, I should've started the mod from a fresh clean mod rather than building on top of James' mod as there seem to be all of these issues coming up...

Either way, check their armor and weapon slots. There is one party member that gets "dequipped" according to the 'status menu' but still has their armor/weapon equipped in the overworld menu.
User avatar
sonic.penguin
Langzhong
 
Posts: 524
Joined: Fri Sep 30, 2011 8:20 pm

Re: Destiny of an Emperor; Hero of Chaos Mod (Cao Cao Mod)

Unread postby MiDKnighT » Mon Mar 16, 2015 8:38 pm

Can you just e-mail me the mod? Savestates would help too.
User avatar
MiDKnighT
Sage
 
Posts: 287
Joined: Mon Oct 16, 2006 4:16 pm

Re: Destiny of an Emperor; Hero of Chaos Mod (Cao Cao Mod)

Unread postby sonic.penguin » Tue Mar 17, 2015 2:00 am

Sending them your way... on the savestate, just continue the action and you will see the message it shows. Then, try to give Xu Huang an item and the message will disappear. If you don't, the message keeps occurring every time you pass an item to anyone in the party.

Next, equip some armor with Xu Huang, then go into a battle, and watch how the item is no longer equipped in the status menu but still equipped in the regular menu. See in the video I attached.
User avatar
sonic.penguin
Langzhong
 
Posts: 524
Joined: Fri Sep 30, 2011 8:20 pm

Re: Destiny of an Emperor; Hero of Chaos Mod (Cao Cao Mod)

Unread postby MiDKnighT » Tue Mar 17, 2015 1:12 pm

I watched the video, pretty nifty! I'm thinking this might have to do with lud's AC defense feature. Let me check the ROM hacking guide and see when his feature takes effect.
User avatar
MiDKnighT
Sage
 
Posts: 287
Joined: Mon Oct 16, 2006 4:16 pm

Re: Destiny of an Emperor; Hero of Chaos Mod (Cao Cao Mod)

Unread postby sonic.penguin » Wed Mar 18, 2015 2:34 am

Ah, thanks for looking into it. Glad the video shed some light on the issue. Let me know when you've got it. I think the whole fire graphic thing and the doaeditor issues could easily be fixed. My only question was is duel meant to be an 'auto-succeed' tactic? I had issues when I set it to auto-succeed to officers dueling an officer once they were defeated and the game glitched if they both were set to 'duel' in the same round and the first office defeated the enemy?

Also, do you have any idea where the "Yuan Shu 'I am the Emperor' speech is stored? I just want to copy-paste over the code in the HOC mod with the original data in hopes to fix the event as its not running properly.
User avatar
sonic.penguin
Langzhong
 
Posts: 524
Joined: Fri Sep 30, 2011 8:20 pm

PreviousNext

Return to Three Kingdoms Game Editing & Mods

Who is online

Users browsing this forum: No registered users and 1 guest

Copyright © 2002–2008 Kongming’s Archives. All Rights Reserved