Extrodus
|| Blazera.net ||
Hey there guys, I am experiencing a small issue with monsters now that I've reverted to rev.3777 from rev.3884. The problem has been discussed before here, but years ago.
Link: https://otland.net/threads/creatures-wont-walk-on-corpse-help.119460/
Basically, lets say you are surrounded by rotworms with a few rotworms wandering around outside of the circle waiting to attack. If you "exori" and kill all 8 rotworms at once, the outside rotworms will remain wandering around as if you are still blocked in by monsters... only when you move/attack one of the monsters do they realize you are pathable and start attacking.
This is a documented bug in 0.4 but the old revisions cant be viewed anymore since the release of TFS 1.0, so my question for support here is: What files would require changing in this case, or what specific functions should be updated?
I'm thinking: monster.cpp, creature.cpp and possibly an update function in game.cpp that registers the target list, like setAttackedCreature() or something.
Any help is greatly appreciated, shouts to @Printer @MatheusMkalo @cbrm @Milice if they have any ideas which files/functions should be updated.
To Review Files, download the sources here:
Rev.3777 - https://mega.nz/#!GFU2EapD!xkR4iMBIvaOTzYgWnhpzvbMgn-PypfkoUWs8HroMGTo
Rev.3884 - https://mega.nz/#!WNtlUJ5S!VISLoPCFnvV6gW5Phurn8zJIpiYKp8I0FaVw2R2Fp9Y
Link: https://otland.net/threads/creatures-wont-walk-on-corpse-help.119460/
Basically, lets say you are surrounded by rotworms with a few rotworms wandering around outside of the circle waiting to attack. If you "exori" and kill all 8 rotworms at once, the outside rotworms will remain wandering around as if you are still blocked in by monsters... only when you move/attack one of the monsters do they realize you are pathable and start attacking.
This is a documented bug in 0.4 but the old revisions cant be viewed anymore since the release of TFS 1.0, so my question for support here is: What files would require changing in this case, or what specific functions should be updated?
I'm thinking: monster.cpp, creature.cpp and possibly an update function in game.cpp that registers the target list, like setAttackedCreature() or something.
Any help is greatly appreciated, shouts to @Printer @MatheusMkalo @cbrm @Milice if they have any ideas which files/functions should be updated.
To Review Files, download the sources here:
Rev.3777 - https://mega.nz/#!GFU2EapD!xkR4iMBIvaOTzYgWnhpzvbMgn-PypfkoUWs8HroMGTo
Rev.3884 - https://mega.nz/#!WNtlUJ5S!VISLoPCFnvV6gW5Phurn8zJIpiYKp8I0FaVw2R2Fp9Y
Last edited: