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 6:39 pm #43998
MiDKnighT
ModeratorI'll change the formula's a bit:
– 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 120 and 220 they will automatically accept the duel if they have a 20+ STR advantage.
– If an officer has an INT between 120 and 220 they will automatically reject the duel if they have a 15+ STR deficit.
– If an officer has an INT between 120 and 220 they will do the secret sauce comparison if their STR difference with their opponent is between -15 and +20.
– If an officer has an INT less than 120 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.
Changes:
0x4537: 96–>78
0x4579: 0A–>0F
I had a couple of buggies in my formula. Should be:
0x4560:
DC90034C8085200087E001D007C91490
034C0089E000D007C90F90034C108685
July 24, 2012 at 6:47 pm #43999sonic.penguin
ModeratorGot it to draw, but they had to be pretty close in STR, will see how the changes go
July 24, 2012 at 6:53 pm #44000sonic.penguin
ModeratorHmm, I seem to keep winning… any way to make the challenger have a slighter chance of losing? maybe I should test more
July 24, 2012 at 6:57 pm #44001MiDKnighT
ModeratorMake these changes:
Changes:
0x4537: 96–>78
0x4579: 0A–>0F
I had a couple of buggies in my formula. Should be:
0x4560:
DC90034C8085200087E001D007C91490
034C0089E000D007C90F90034C108685
I had a bug where the 120-220 INT guys were not using their smarts when accepting/declining.
Also if your guys keep winning, are you challenging people that are stronger at all? Also remember that party leader has some impact.
July 24, 2012 at 7:05 pm #44002MiDKnighT
ModeratorAlso the formula for winning a duel is:
Own STR: 50%
Own AGI: 16.5%
Party Leader's STR: 16.5%
Secret Sauce Random Number: 16.5%
The final number from the above is compared to the opponent's final number of the above (but they have a different secret sauce random number). If they either only has a +10 or less advantage (0A) there is a draw, otherwise the one who wins by 10+ is the victor.
Neither side has any built in advantage.
July 24, 2012 at 7:41 pm #44003MiDKnighT
ModeratorI've got an idea for the dumb generals… If their random number is less than 155 then add 100 to it. This would make it impossible for dumb generals with < 100 STR to accept duels and make it much less likely that non-strong (dumb) generals will accept. Lu Bu would still accept 100% of the time. Also for generals with INT 120-220 having higher STR gives them more of a chance of accepting if their opponent's STR is fairly close.
To change this:
0x4550: 85B020E088
0x4580: B020E088
0x48F0: 20CB86C99BB002696460
July 24, 2012 at 8:34 pm #44004MiDKnighT
ModeratorAnd another one…
– Rebel force always declines duel
– Stronger officers more likely to be punished for refusing to duel
– Weaker officers less likely to be punished for refusing to duel
0x4630:
1FD9C084F06A8810F8C905B0034C9086
20EA88C980B0034C9086A96220208BA6
0x48F0:
20CB86C99BB00269646020608885B020
C386C9649002E964C5B0B002694F6000
July 24, 2012 at 9:16 pm #44005sonic.penguin
ModeratorAh okay, let me try it out. Is it just rebel force or pirate/brigand/bandit as well?
July 24, 2012 at 9:23 pm #44006MiDKnighT
ModeratorQuote:Is it just rebel force or pirate/brigand/bandit as well?None of those will accept duels.
July 24, 2012 at 9:29 pm #44007MiDKnighT
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
– Spoils for the winner
– Loser flee possibility
– Duel A.I.
– KILL possibility, "No Kill" list, and "Mismatch" list
– Explore duel target taunting back further… (may not be feasible)
– Explore duel target stepping out further… (may not be feasible)
July 24, 2012 at 9:40 pm #44008sonic.penguin
ModeratorHmm for some reason Gan Ning has 4 less str than Zhang Fei and I keep winning. Does the leader make THAT MUCH of an impact?
July 24, 2012 at 9:55 pm #44009MiDKnighT
ModeratorFor one thing if you save state and do it over and over you should get the same result each time. The secret sauce random number won't let you change the outcome with save states. However, if major battle conditions change (like people dying, tactics in effect, etc…) it might change the secret sauce random number *then* you might get a different result. And yes, the leader of your party does make a difference. Lu Xun should be much stronger than Zhuge Liang right?
Try putting someone very weak at the top of your party and see if that changes the results.
Also love your text changes!
July 24, 2012 at 10:35 pm #44010sonic.penguin
ModeratorSo, if I put Gan Ning @ the top of the formation, that would make him like godly? Hmm. Yeah, just some ideas I was throwing out for the new text to make it more first personish
July 24, 2012 at 10:36 pm #44011MiDKnighT
ModeratorQuote:So, if I put Gan Ning @ the top of the formation, that would make him like godly?Actually Lu Bu at the top of a formation would be godly. It doesn't get any harder than that.
July 24, 2012 at 11:23 pm #44012sonic.penguin
ModeratorOkay, something to bring up only because its happened quite a few times now. I actually have smart guys w/ Negate using it before I've even cast anything on the party. Any ideas?
EDIT1: found another duel bug, it made the sprite @ the top of the formation disappear (Zhuge Liang) and axed Zhang Fei in the second slot, but he was still visible with full life… gonna try to reproduce it
EDIT2: Cant seem to reproduce it. I did however finally come to a draw w/ someone. It appears that when facing someone like Zhuge Liang, w/ low STR, just duel their low INT guys with your strongest guys. The picture below is unrelated to Edit1.
-
AuthorPosts
- You must be logged in to reply to this topic.

