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 24, 2012 at 3:07 pm #43983
MiDKnighT
ModeratorWork is busy today so I don't expect much progress :(
July 24, 2012 at 4:18 pm #43984MiDKnighT
ModeratorDuel end bug is fixed. To fix:
42AA: 20->4C
469D: 20->4C
46A5: 20->4C
4A6B: 20->4C
49C0:
C08B20408DE03DD0034CA58DA9644CB0
86000000000000000000000000000000
4A30:
7920D088854B20F08720408DE03DD003
4CA58DA9644CB0860000000000000000
4A60:
20F08720D386C9C0B005A9724CB08620
408DA678A478BDE461AA20D088E03DD0
034CA58D864A98AA857920D088E03DD0
034CA58D854B20F08720408DA9734CB0
86000000
4DA0:
D0034CA08D60EAEA203BDFA012844D60
A91E2082C4A91E2082C4000000000000
78DB0:
00000000004C5EB100004C32A3000000
7A340:
0000A90E2082C4000000000000000000
7B16E:
A90E2082C4
July 24, 2012 at 4:23 pm #43985sonic.penguin
ModeratorWill give it a shot and let you know.
Quote:After discussing with Niahak I think we know why this is happening. I put my text at the bottom of the text bank and there was a big gap between the last text and my text so DoaEditor thought the gap was one giant message. The reason I don't want to put my stuff right at the bottom of the text bank is because some ROMs already have an expanded text bank and I don't want to overwrite it. Unless DoaEditor is changed somehow I think the best solution is to just click through the key errors, edit the bad text above and below, and save. Then you'll be able to use DoaEditor after that.yeah, this is what I was mentioning earlier about text overflow. Will try that as well
July 24, 2012 at 4:30 pm #43986sonic.penguin
ModeratorWorks smoothly so far, no freezes after battles or during duels atm, with the exception that I win nearly every duel because guys with 100+ less strength still accept duels.
July 24, 2012 at 4:41 pm #43987sonic.penguin
ModeratorI also can't seem to produce a draw even with changing things @ 4A15
July 24, 2012 at 4:42 pm #43988MiDKnighT
ModeratorQuote:Works smoothly so far, no freezes after battles or during duels atm, with the exception that I win nearly every duel because guys with 100+ less strength still accept duels.The way it works for dumb enemies is that there is a secret sauce random number between 0-255 generated and it is compared to their STR. If the random number is > STR they decline the duel. If STR > random number they accept.
That being the case Lu Bu should accept every duel and Song Yong would only accept maybe 1/5th of them.
July 24, 2012 at 4:42 pm #43989MiDKnighT
ModeratorQuote:I also can't seem to produce a draw even with changing things @ 4A15I'll check on that.
July 24, 2012 at 4:42 pm #43990MiDKnighT
ModeratorQuote:I also can't seem to produce a draw even with changing things @ 4A15I'll check on that.
July 24, 2012 at 4:54 pm #43991sonic.penguin
Moderator0-255 is a pretty LARGE range and makes it pretty abusable atm… Considering I'll probably only be using guys with 200+ STR for dueling anyways since I dont want to slaughter my strategist types, not they dueled anyways, could you try a sauce blended with, say 175-255 range? Zhang Fei never wants to duel my strong guys sniffs…
July 24, 2012 at 5:02 pm #43992MiDKnighT
ModeratorSo you're saying that < 175 STR would never accept a duel?
July 24, 2012 at 5:36 pm #43993sonic.penguin
ModeratorYeah, I guess you could consider it a "fodder" defense. Since those officers tend to be weak anyways, I'm just trying to think of a number that would essentially protect those officers since they're already pretty low everything, plus most guys with low STR were probably strategists and didnt duel anyways, which keeps your Zhuge Liangs and Sima Yi's (if we lower his strength) safe. Yeah, occasionally some dingbat with 25 STR might want to duel, but ruining the tactic for the sake of the exception? Meh
So guys like Guan Hai, Xing Dao Rong, Xu Zhu, you know, the "traditional duelers" in the game, but keeps the tactic from becoming exploitable and cheap like Ansha. This way you actually have to RISK using duel since your officer might die, not just use it as a means to chop up sausages.
July 24, 2012 at 5:54 pm #43994MiDKnighT
ModeratorMost of that is taken care of, here's my current formula:
– Officers on the "rare duel list" (meant to be used for rulers and such) or with INT > 220 will try to send a stronger ally out to duel if their ally is stronger than the duel requester.
– If the officer on the "rare duel list" or with INT > 220 is the strongest member of their party alive they will only duel if they have a 50+ STR advantage.
– If an officer has an INT between 150 and 220 they will automatically accept the duel if they have a 20+ STR advantage.
– If an officer has an INT between 150 and 220 they will automatically reject the duel if they have a 10+ STR deficit.
– If an officer has an INT between 150 and 220 they will do the secret sauce comparison if their STR difference with their opponent is between -10 and +20.
– If an officer has an INT less than 150 there is a secret sauce random number between 0-255 generated and it is compared to their STR. If the random number is > STR they decline the duel. If STR > random number they accept. In other words, dumb officers only care about their own STR, not their opponent's.
I think your problem is with the dumb enemies right? Opponents with INT > 150 should be making more wise choices about dueling.
With dumb opponents Lu Bu (STR: 255) should accept duels 100% of the time and Song Yong (STR: 60) should accept duels 23% of the time.
July 24, 2012 at 6:12 pm #43995sonic.penguin
Moderatorokay, so 150 is the magic number to make them brawlers, good to know
July 24, 2012 at 6:24 pm #43996MiDKnighT
ModeratorQuote:okay, so 150 is the magic number to make them brawlers, good to knowIt doesn't make them brawlers, it just helps them make better decisions on when to duel. Perhaps I should lower it to 120? 100?
July 24, 2012 at 6:27 pm #43997MiDKnighT
ModeratorQuote:I also can't seem to produce a draw even with changing things @ 4A15It's working for me. The two comparisons are at:
00:89A3:C9 0A CMP #$0A (0x49B3)
00:8A04:C9 0A CMP #$0A (0x4A14)
If you want draws more likely, change the "OA" in both places to a higher number.
-
AuthorPosts
- You must be logged in to reply to this topic.

