Pest мод герои 5
I present to you PEST (Permanent and Endless Simultaneous Turns)!
After hours and days of tracing and debugging I finally found the location of the algorithm which calculates whether to disable simultanous turns during a network game! After making the game skip that algorithm, permanent simultaneous turns have been enabled, even though two opposing heroes were standing right next to each other! I was quite surprised how well the game handles this circumstance! Please report any bugs in this thread 🙂
Features:
— Players can interact dynamically. It can even turn into a game of tag when chasing opposing heroes.
— If one of the players doesn’t have the patch, simultaneous turns will be disabled for all players, as soon as the player without the patch meets another player. Those with the patch won’t see a message box stating that simultanous turns have ended though.
— If a player attacks another player who is currently not in adventure screen (e.g. in town or taking a look at hero) the game will wait a certain amount of time until the player returns to adventure screen and only then combat will start. The action is cancelled if the wait time is too long.
— Trying to initate a three-way-combat is safe. The last player to attack will have to wait for the other two to finish their combat. Again the action is cancelled after a short wait time so you will have to click again.
Known Bugs:
— You will lose movement points if you try to attack a hero which is currently engaging in combat. The action will abort but the movement points are still lost.
Download the EXE and place it into your Heroes5/bin directory:
Attention: All Players need to start this EXE file or else it wont work! Do not start your default shortcut!
Thanks for finding bugs and testing:
— ZX_Lost_Soul
— Palingenese
— SimonaK
— Mahnthor
Heroes of Might and Magic 5 «Neutrals plus v.1.3»
Способ установки:
!! Необходимо наличие самой игры Heroes of Might and Magic 5 Tribes of the East и установленного патча 3.1
1) устанавливаем игру и патч.
2) запускаем инсталятор с модом, следуем указаниям установщика.
Возможные проблемы
1) Модификация построена на ядре NCF, на которым не работает генератор случайных карт. Проблема связана с платформой NCF, если нет желания играть с новыми нейтралами, а хочется поиграть на случайных картах, можно удалить файлы NCF__Core.pak и NCF_Creature.pak в папке data и запускать стандартный экзешник (. \bin\H5_Game.exe). В принципе проблему с генерацией случайных карт можно решить и без полного удаления NCF, как это сделать. описано ниже.
2) Иногда при загрузке новой карты или при запуске игры могут размываться текстуры. Проблема решается снижением и обратным повышением настроек графики. Проблема не от мода, а характерна даже для оригинальной игры, особенно если запускаете ее на новых видеокартах.
Способ генерировать случайные карты в этой модификации
!! Теперь объясняю, зачем были все эти танцы с бубном. Во-первых генератор карт не умеет работать с платформой NCF, поэтому приходилось во время генерации карты прятать основные файлы NCF. Словогрыз мы использовали чтобы заменить установленных монстров на картах на случайные, дело в том что генератор не умеет растравлять случайных монстров, а только заданных. После такой замены каждый новый запуск карты будет расставлять по ней случайных монстров, что повышает реиграбельность, но главное что среди этих монстров будут новые нейтралы (Впринципе в мод уже добавлены 15 карт со случайными монстрами, этот способ пригодится для тех, кому их не хватит)
Pest мод герои 5
I present to you PEST (Permanent and Endless Simultaneous Turns)!
After hours and days of tracing and debugging I finally found the location of the algorithm which calculates whether to disable simultanous turns during a network game! After making the game skip that algorithm, permanent simultaneous turns have been enabled, even though two opposing heroes were standing right next to each other! I was quite surprised how well the game handles this circumstance! There has been only little bug testing so I am asking the community to try it out and see what breaks this mod and/or crashes the game. Please report any bugs in this thread
The patcher wont affect the original file and generates a H5_Game_pest.exe which you need to start.
Features:
— Players can interact dynamically. It can even turn into a game of tag when chasing opposing heroes.
— If one of the players doesn’t have the patch, simultaneous turns will be disabled for all players, as soon as the player without the patch meets another player. Those with the patch won’t see a message box stating that simultanous turns have ended though.
— If a player attacks another player who is currently not in adventure screen (e.g. in town or taking a look at hero) the game will wait a certain amount of time until the player returns to adventure screen and only then combat will start. The action is cancelled if the wait time is too long.
— Trying to initate a three-way-combat is safe. The last player to attack will have to wait for the other two to finish their combat. Again the action is cancelled after a short wait time so you will have to click again.
Limitations:
— There is a possibility that some trigger which I have not found yet will still disable simultaneous turns
— Ghost Mode still in experimental state
Known Bugs:
— No known bugs yet
Steam Users:
Download an EXE from the retail version and patch it with this patcher. It needs to be version 3.1 Tribes of the East. You can get an EXE file at:
— Reasonable Experience Destribution Hack (Makes the later levels more accessible. Recommended!)
— New Creatures Framework (Wont alter gameplay)
— Google
Thanks to the reports of the community I would regard this version as stable. (except for Ghost Mode)
Changelog said:
v1.3 (25th March 2014):
— Angel Wings fix
— Levitation Boots fix
— Ghost Mode fix
— Little GUI polishing
v1.2 (20th January 2014):
— Computer player end of turn fix
— Dimensional door fix
v1.1 (14th December 2013):
— Fixed the end of simultaneous turns after combat
— Various GUI fixes of the patcher
v1.0 (9th December 2013):
— Initial Release
| Oh, this will be of a great use for me. |
| No, this is not possible without the source code of the game. To do this, I would need to create another Thread which runs the AI handling. This is out of scope of simple assembly hacking. |
| Wow, this is amazing. I have been wrestling with the exe in olly for a while now with the goal to change some of the more useless hero specializations. I’ve worked out it runs the same general loop of code no matter what command is given in game, but I am struggling to zero in on hero-related code from there. |
You open the data file with winrar or 7zip, go to MapObjects->Heroes, do the changes, save changed files somewhere, and create a zip archive in which you put modified files. After you make sure directory inside the mod archive file matches the data file (only this way your mod can overwrite data), you put it into UserMODs. folder.
I haven’t created a single mod. I am neither a modder nor do I know anything about the structure of the game or its code places. Sorry, I can’t help you. You’re a genius! THANKS SO MUCH, HOPE THIS WORKS. |
Thanks
Sorry I would call this a mod, you’ve modified the game. I hoped you would share some of your assembly language/reverse engineering experience, but it’s no probs.
|
| With modding experience I mean the traditional way of adding content to the game. I have no experience with that. I thought what you were trying to do was just that. But if it involves assembly hacking, I can point you to some things that I came along. My first approach was to find the text key of the message box which pops up saying «simultaneous turns are getting disabled». It turned out to be «T_SIMULTANEOUS_TURNS_FINISHED_HEADER». So I looked within the EXE for that key. Even though this approach failed on me (I traced it back to some network related code. It seems the message box only gets popped up when the game receives a packet to open it. This packet is send to all computers and even to the own host. I was able to disable the message box, but simultaneous turns were still getting disabled.), I would suggest you search for message key of the hero specialization. Then you have to trace what kind of value this hero specialization gets. Judging from your post you probably already tried this. I used Olly and IDA but I didn’t like either of them.
Hm, you mean creating your own specializations, instead of changing hero’s existing one to another?
Yep I’ve tried all sorts of string searches, and found some interesting sections of code, but (cutting a long story short) it didn’t lead to much. |
| Had my first real test of this patch today. Needs an improvement. Simultaneous turns will get disabled as soon as you defeat a neutral creature. That is a scenario I did not consider. I always thought the algorithm was only executed at the beginning of each players’ turn. Anyways, I suggest you dont use the patch until there is an update. Proably this weekend. EDIT: Done! Found another code place which accesses the algorithm. New patcher will be uploaded. |
Thank you very much, that’s really great mod! Multilayer game is very nice, when players don’t need to wait for each other |
| «Simultaneous turns» off at the end of turn, when computer player make moves( 2 players, in the dungeon (no connection between players in underground), we kills the guards on the upstairs, but don’t go up. Maybe there is a connection between us in the upper world. Rndom map, generated with RTMG. I can drop the savegame (turn before problem) tomorrow. Pest мод герои 52) никто незнает мод чтоб заменить ХОТЬ на кого-нибуть дракона за некров?? Ато очень унылый да и навыки никкакие 4) Хоть где-нибуть есть мод на изменение Зеленых драконов на огненных птиц (потом на Феникса или Громовую птицу)? Тоесть «переделать маленько»? Блокнотом открыть и вперед? А за драконов спс, но можна на кого-нибуть его воопще заменить? Типо как Зеленого дракона на Огненную птицу (которая улуччаеться в Феникса или Громовую птицу), правда я еще не спотрел остальные ссылки на Аг.ру, может там что-нить и есть. Добавлено через 49 минут
Добавлено через 3 минуты Pest мод герои 5Мод предназначен для ребаланса существующей механики оригинальной версии героев 5: Повелители орды 3.1. Баланс цен / прироста / силы существ: В связи с изменением прироста некоторых существ было принято решение сбалансировать их по силе, цен и опыту. Т.е при уменьшении прироста существ их цена, опыт и сила возрастают, и наоборот. Изменения на карте приключений: Стартовые навыки и умения героев: Орден порядка: Все герой получили дополнительную единицу атаки и защиты, теперь стартовые характеристики людских героев 2/3/1/1 Северные кланы: Все герой получили дополнительную единицу защиты и колдовства, теперь стартовые характеристики гномьих героев 0/3/3/1 Великая орда: Все герой получили дополнительную единицу атаки и защиты, теперь стартовые характеристики орочьих героев 4/1/1/1 Инферно: Все герой получили дополнительную единицу атаки и знания, теперь стартовые характеристики демонских героев 3/0/1/3 Некрополис: Все герой получили дополнительную единицу защиту и колдовства, теперь стартовые характеристики героев некромантов 0/2/4/1 Лига теней: Все герой получили дополнительную единицу атаки и колдовства, теперь стартовые характеристики героев чернокнижников 2/0/4/1 Вероятность выпадения навыков: Инферно: Защита имеет вероятность выпадение 10% (+2%) Охраны в сокровищницах Сокровищница магов (магятня) Чаща Энтов (Энтятня) Склеп Кровавый храм (Сокровищница лиги теней) Хранилище горгулий (горгулятня) Сокровищница гномов (гномятня) Пирамида Утопия драконов Хранилище элементалей Заброшенная шахта (без изменений) Лук из рога единорога 36 000 (+24 000) теперь РЕЛИКВИЯ Свиток с заклинанием 6 000 (+1 000) теперь МАЛЫЙ артефакт Доспехи забытого героя 42 000 (+14 000) Корона всевидящего 3 000 (-1 000) Сапоги магической защиты 6 000 (+2 000) Кулон мастерства 24 000 (+4 000) Мешочек бесконечного золота 4 000 (+1 000) |

However I also stumbled across some Cheat Engine table including a script which explains the data structure of a hero in general. Even though it is outdated it can still teach you some things.
Завтра ещё буду пытаться их разделить.







