Home › Forums › Destiny of an Emperor › DoaE Artificial Intelligence Enhancements + New Tactics
Tagged: Destiny of an Emperor, Destiny of an Emperor hack, Destiny of an Emperor hacking, Destiny of an Emperor Rom, DoaE artificial intelligence, NES AI, NES Artificial Intelligence, NES hacking, ROM Hacking, Yuan Shu
- This topic has 645 replies, 10 voices, and was last updated 4 years, 9 months ago by
MiDKnighT.
-
AuthorPosts
-
July 26, 2012 at 12:39 am #44029
sonic.penguin
Moderator…and then there was Song Yong. <– period
Yeah, MidKnighT's been cranking out some good stuff, hopefully we get more modders taking advantage of it. Do I see imported music in the future? Maybe
July 26, 2012 at 1:06 am #44030MiDKnighT
ModeratorDuel To Do List:
– Double wound possibility – DONE
– Fix battle end bug – DONE
– Make it less likely that weaker generals accept duels – DONE
– Winner but nobody wounded possibility – DONE
– Spoils for the winner – DONE
– Add Negate A.I. (someone unrelated) – DONE
– Loser flee possibility – DONE
– Fix "ghost" duel loser bug – DONE
– Duel A.I. – DONE
– KILL possibility, "No Kill" list
– "Mismatch" list
– Explore duel target taunting back further… (may not be feasible)
– Explore duel target stepping out further… (may not be feasible)
To add Duel A.I.:
0x42F0:
A67820D0888AA8B9A860A01FD9C084F0
0D8810F8EAEABDA861C9DC901C200087
E001D0034CA883C93290034C00804CA8
83A67820D088BDA861C996901C200087
E000D007C91490034C0080E001D007C9
0F90034CA88320E088A67820D088BD9C
6185B020E088C5B0B0034C00804CA883
00000000000000000000000000000000
The logic is similar to the accept/reject code. Stronger enemies are more likely to request duels. Weak ones will very rarely request them. Dumb enemies with STR < 100 will never request duels.
July 26, 2012 at 1:09 am #44031MiDKnighT
ModeratorQuote:Do I see imported music in the future? MaybeI've thought about that before but have bigger fish to fry at the moment :)
July 26, 2012 at 1:13 am #44032sonic.penguin
ModeratorLike a 'Guard' fix? :)
July 26, 2012 at 1:20 am #44033MiDKnighT
ModeratorQuote:Like a 'Guard' fix?Finishing duel…then level based damage/healing.
After that, if I'm still sane, then we'll talk about guard. But I did look at it briefly. It didn't look straightforward at all. I asked for Meteorstrike to take a look too if he feels like cracking open DOAE again.
July 26, 2012 at 1:41 am #44034MiDKnighT
ModeratorAlso I ran into the ghost thing once if an enemy requests duel and wins. Have you seen that?
July 26, 2012 at 1:42 am #44035MiDKnighT
ModeratorAlso I ran into the ghost thing once if an enemy requests duel and wins. Have you seen that? It might have been because I was messing with the debugger though.
July 26, 2012 at 1:42 am #44036MiDKnighT
ModeratorAlso I ran into the ghost thing once if an enemy requests duel and wins. Have you seen that? It might have been because I was messing with the debugger though.
July 26, 2012 at 1:42 am #44037MiDKnighT
ModeratorAlso I ran into the ghost thing once if an enemy requests duel and wins. Have you seen that? It might have been because I was messing with the debugger though.
July 26, 2012 at 1:43 am #44038MiDKnighT
ModeratorAlso I ran into the ghost thing once if an enemy requests duel and wins. Have you seen that? It might have been because I was messing with the debugger though.
July 26, 2012 at 1:43 am #44039MiDKnighT
ModeratorAlso I ran into the ghost thing once if an enemy requests duel and wins. Have you seen that? It might have been because I was messing with the debugger though…
July 26, 2012 at 2:20 am #44040sonic.penguin
ModeratorNope, b/c in my instance the guy lost. Don't know about if they win atm.
July 26, 2012 at 5:12 am #44041MiDKnighT
ModeratorFound the bug and fixed it. Sometimes one of the target variables wasn't getting set for some tactics which broke it when the enemy initiated duel and won. The fix:
0x4990:
65BB85BB20C38620C08865BB85BBA200
86BDA5BAC5BBB007A20186BD4CF08920
008DE5BBC90AB0034C608AC93090034C
B08D20F08720CB86C955B0054C7088EA
0x4D10:
85B8A678BDE4618579A5B860
July 26, 2012 at 1:37 pm #44043sonic.penguin
ModeratorGot it
July 26, 2012 at 1:53 pm #44044MiDKnighT
ModeratorI've been playing with the portrait switching messages. Some good news and bad news.
Good News:
– I got the portrait to switch to the enemy but it was on the left side (were the allies' portrait goes)
Bad News:
– The game barfed right after.
Worse News:
– The subroutine that switches the portraits is on a system page and forces a page switch to page OE which is what caused the barf. I'd have to find a way to do some very creative page switching to get this to work if I even can…
-
AuthorPosts
- You must be logged in to reply to this topic.

