Home › Forums › Destiny of an Emperor › DoaE / DoaEditor Prioritized Bug List
- This topic has 151 replies, 10 voices, and was last updated 1 year, 4 months ago by DragonAtma.
-
AuthorPosts
-
October 29, 2014 at 11:00 am #53651Meng DaParticipant
Hi Midknight! :LiuBei:
I was using your DoaEditor to edit my DoaE Dong Zhuo mod,but when i put snow on map,this make my generals enter in a strange world,HELP ME!please!- This reply was modified 9 years, 5 months ago by Meng Da.
Dong Zhuo empire was 15% completed.
November 22, 2014 at 7:42 am #53659sonic.penguinModeratorThere is more than one all snow tile. You will have to find which ‘one’ not to use. Just replace those ‘warping’ snow tiles with the one that doesn’t warp and it will be fine.
December 7, 2014 at 9:41 pm #53662Meng DaParticipantThanks Lord. :huohu:
When my Notebook back from consert.
I will do it.
Much thank youDong Zhuo empire was 15% completed.
March 13, 2015 at 5:19 pm #53679sonic.penguinModerator1. 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!
March 29, 2015 at 1:15 pm #53689MiDKnighTModeratorEquipment bug – one member of the party auto-unequips after a battle (or during?)
Tracing it:
A:00 X:00 Y:0C S:2E P:nvUbdIZc $A53C:4C 50 A5 JMP $A550
A:00 X:00 Y:0C S:2E P:nvUbdIZc $A550:20 20 A5 JSR $A520
A:00 X:00 Y:0C S:2C P:nvUbdIZc $A520:A2 00 LDX #$00
A:00 X:00 Y:0C S:2C P:nvUbdIZc $A522:A9 00 LDA #$00
A:00 X:00 Y:0C S:2C P:nvUbdIZc $A524:9D 05 62 STA $6205,X @ $6205 = #$00
A:00 X:00 Y:0C S:2C P:nvUbdIZc $A527:9D AF 60 STA $60AF,X @ $60AF = #$02
A:00 X:00 Y:0C S:2C P:nvUbdIZc $A52A:E8 INX
A:00 X:01 Y:0C S:2C P:nvUbdIzc $A52B:E0 06 CPX #$06
A:00 X:01 Y:0C S:2C P:NvUbdIzc $A52D:D0 F5 BNE $A524
A:00 X:03 Y:0C S:2C P:NvUbdIzc $A524:9D 05 62 STA $6205,X @ $6208 = #$00
A:00 X:03 Y:0C S:2C P:NvUbdIzc $A527:9D AF 60 STA $60AF,X @ $60B2 = #$02
A:00 X:03 Y:0C S:2C P:NvUbdIzc $A52A:E8 INX
A:00 X:04 Y:0C S:2C P:nvUbdIzc $A52B:E0 06 CPX #$06
A:00 X:04 Y:0C S:2C P:NvUbdIzc $A52D:D0 F5 BNE $A524
A:00 X:04 Y:0C S:2C P:NvUbdIzc $A524:9D 05 62 STA $6205,X @ $6209 = #$00
A:00 X:04 Y:0C S:2C P:NvUbdIzc $A527:9D AF 60 STA $60AF,X @ $60B3 = #$00
A:00 X:04 Y:0C S:2C P:NvUbdIzc $A52A:E8 INX
A:00 X:05 Y:0C S:2C P:nvUbdIzc $A52B:E0 06 CPX #$06
A:00 X:05 Y:0C S:2C P:NvUbdIzc $A52D:D0 F5 BNE $A524
A:00 X:05 Y:0C S:2C P:NvUbdIzc $A524:9D 05 62 STA $6205,X @ $620A = #$00
A:00 X:05 Y:0C S:2C P:NvUbdIzc $A527:9D AF 60 STA $60AF,X @ $60B4 = #$0AProblem: When it clears the general IDs at the end of battle starting at $60AF it goes one too far and clears the first ally AC.
Fix:
0x7A53C: “06” –> “05”
March 29, 2015 at 2:28 pm #53690MiDKnighTModeratorLooks like with the changes enemy tactics are getting charged against your TP.
Adding this will prevent that:
0x3B960:
39AAA44DA67AEAEAAE3262EAEAA93A200xEB970:
82C4A578C905B00AADFE611879F0878D
FE614C90B900BDF0832901C901D00BAC
3164C0079004A9008510AC3764600000Currently, this code is making it impossible to enter battles, however. Game freezes up. Emailing you the current version.
This was due to a bad jump:
0xEB8B6: “70” –> “76”
March 29, 2015 at 3:25 pm #53691MiDKnighTModerator1. Last office leave bug – totally destroys the game, this can be observed when you have a full party and the 7th person is forced to leave.
I think I got it:
Looks like Guo Jia was general ID B8.
$6090 -> $6096 = Allies Party Formation (Values = Party Member Indices)
$6097 -> $609B = Allies Party Formation 2 (Values = Party Member Indices)
$609C -> $60A2 = Allies Flags (Alive Status + Others)
$60A8 -> $60AE = Allies General IDs (Addresses = Party Member Indices)Before Removal:
$6090: 06 05 02 01 00 04 03 06 05 02 01 00 80 80 80 C0
$60A0: 80 80 80 00 00 00 00 00 AA 46 A8 B8 B9 A9 AE 28After Removal:
$6090: 05 02 01 00 04 06 FF 05 02 01 00 80 80 80 C0 80
$60A0: 80 80 00 00 00 00 00 AA 46 A8 00 B9 A9 AE 28 00With fix:
$6090: 06 05 02 01 00 04 FF 06 05 02 01 00 80 80 80 00
$60A0: 80 80 80 00 00 00 00 00 AA 46 A8 00 B9 A9 AE 28Changes:
0xF4030: 1178C907F006AAA900201881
0xF4069: “06” –> “07”
0xF4120: FB812000804C8ABF9DA8609D9C6060You should test adding a new party member after this though to make sure it’s ok.
June 21, 2021 at 1:51 pm #54582MiDKnighTModeratorBeen looking around at this for a couple of days but found a pretty major bug fix. The reason for enemies oddly attacking each other at times seems to be because I wasn’t clearing the status out when artificial intelligence decided to pick a different tactic. The solution is to clear out the statuses before deciding to “do something else”:
Clear Status here:
>1E:A6D5:A6 78 LDX $0078 = #$06 <— Load current enemy general
1E:A6D7:A9 00 LDA #$00 <— prepare to zero out
1E:A6D9:9D D0 61 STA $61D0,X @ $61D6 = #$01 <— zero out attack vs tactic mode
1E:A6DC:9D 00 62 STA $6200,X @ $6206 = #$0B <— zero out tactic IDSo far in my testing enemies haven’t attacked themselves at least not yet. It also allows the profile “enemy turn probabilities to work” (before it was trying to use tactic 0 if it hit an empty slot). Of course if A.I. is working better the enemy is going to be smarter and tougher.
Changes:
0x7a6e0:
0000000000A678A9009DD0619D0062A90x783dd: “DF” –> “D5”
June 24, 2021 at 1:22 pm #54584MiDKnighTModeratorBetter late than never? Like 6 years late… :-O
Cannot omit portraits using the omit portrait key in DOAEditor.
This actually wasn’t a DoaEditor bug it was a bug in my “replace portrait” enhancement. I had inadvertently skipped the code that checks that portrait omission.
Fix:
0xf6e60:
00A90E2082C40000000000000000A90E
2082C4A675BDF0AFC900D0034C5EAEA8
4C51AE000000000000000000000000000xf6fd0:
C40000000000000000000000A90E2082
C4A675BDF0B0C900D0034CCCAF85004C
BCAF0000000000000000000000000000I corrected this in the RH guide.
June 25, 2021 at 12:12 pm #54588MiDKnighTModerator2 more buggies involving the expanded treasure feature (I knew it was a bad idea to do another big feature while trying to fix other issues).
1. There’s an endless supply of gold laying on the ground in the tent at Mt. Da Xing. The problem was that the tents in Mt. Da Xing and Tie Men Xia are basically the same place. The expanded treasure feature was making exceptions for Tie Men Xia but didn’t consider the hidden Ax at Mt. Da Xing. Because of this when you entered the tent at Mt. Da Xing and searched you’d find coins on the ground with every search. I guess it was a bank tent or something… This fix should also fix other fortress/tent places as well. I updated the Rom Hacking guide with the fixed changes:
http://doaerhguide.wikidot.com/start#toc13
2. There is at least one game event based on treasure that this expanded treasure feature breaks. Namely the Gold Key event where Guan Ping is waiting at the end. With the expanded treasure changes the event never fires and you never see Guan Ping. This change will allow Guan Ping to be waiting for you no matter what whether you have the Gold Key or not.
>0D:A69F:AD 2A 66 LDA $662A = #$00 <— Check to see if Gold Key chest is opened
0D:A6A2:0A ASL
0D:A6A3:B0 05 BCS $A6AA
0D:A6A5:A9 00 LDA #$00
0D:A6A7:8D 03 05 STA $0503 = #$89 <— It’s not opened make Guan Ping vanish!The change basically zero’s out this code so as long as Guan Ping is alive and not recruited he will meet you as soon as you walk in the cave. Or for fun you can move him to another part of the cave… *ideas*.
Fix:
0x366a0:
008D08058D09058D0A05A90E854360EA
EAEAEAEAEAEAEAEAEAEA60AD6E674AB0I would think the expanded treasure feature would also break the Qing Long event. That said…
Event 1033 – Qing Long received! (Appears to work anywhere, just assure that the person you may give this event to has more than one line.) Note from sonic.penguin: You can actually use this to gain Qing Long after a battle.
As sonic mentioned it would probably be more fun to find this after a battle anyway.
NOTE that if you want to remove the expanded treasure feature you can simply copy the same code area changes back from the original ROM.
June 26, 2021 at 7:27 am #54589The Dust GamerParticipantHi there, MidKnighT. Some more informs. When in DoaEditor you change the weapon icons, name and cost, it won’t change. Also with tactics editing, there are issues which goes to unfortunately crash
There is more dust, than anything in the world!
June 26, 2021 at 7:32 am #54590The Dust GamerParticipant1. There’s an endless supply of gold laying on the ground in the tent at Mt. Da Xing. The problem was that the tents in Mt. Da Xing and Tie Men Xia are basically the same place. The expanded treasure feature was making exceptions for Tie Men Xia but didn’t consider the hidden Ax at Mt. Da Xing. Because of this when you entered the tent at Mt. Da Xing and searched you’d find coins on the ground with every search. I guess it was a bank tent or something… This fix should also fix other fortress/tent places as well. I updated the Rom Hacking guide with the fixed changes:
——————————–This bug is in my rom too. It appears on every world map, tents, castles, towns,inside inns, shops and caves. Hope i will fix it.There is more dust, than anything in the world!
June 26, 2021 at 10:18 am #54591MiDKnighTModeratorJust fixed one more small issue. My fix had created another little bug. Now I think it is fixed fixed with these changes:
http://doaerhguide.wikidot.com/start#toc13
Item editing you might have to choose another item on the list for it to save. The save code triggers when you navigate to another item. For some pages we have a save button and for others you have to tab around or switch items. Probably just need a save button on every page when I am brave enough to mess with DoaEditor code again.
I did have a crash playing with the tactic learning calculator. Not sure if that is what you meant.
Right now just playing around fixing bugs when I see them. The best way to fix a bug in the game is to have a ROM + Savestate so I can trace it and test it. Best way to fix DoaEditor is to know the exact sequence that causes the problem. Click on this, do that, do this, etc… I know the text editor in DoaEditor is not very nice. I noticed it will crash if you have spaces at the end of a line. Gotta figure out a way to avoid that but Niahak did almost all of the text stuff and I’d have to learn his code.
June 26, 2021 at 1:15 pm #54592The Dust GamerParticipantThank you, MiDKinghT. I got it. I wish you luck on all your fixing works. I did fix the Guan Ping missing bug and that endless coins bug with the code you wrote.
There is more dust, than anything in the world!
June 26, 2021 at 1:29 pm #54593The Dust GamerParticipantWhen I was in the cave leads to Chang An, it had some glitches on screen at second floor where club chest located. Some more walked there and it suddenly had more glitches then freezed to move. So on happened. I had savestate before that happened. How to upload screenshot? When i playing now at there and encountered battle, it actually appeared black screen with tuuuuuu noise.
There is more dust, than anything in the world!
-
AuthorPosts
- You must be logged in to reply to this topic.