Current time: 22.04.2024, 06:45 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
Ваши вопросы по ERM-скриптам
Author Message
Berserker Offline
Administrators

Posts: 16488
Post: #2926

2. Через erm hooker 118


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
04.10.2014 01:21
Find all posts by this user Quote this message in a reply
igrik Offline
Administrators

Posts: 2814
Post: #2927

спасибо, 2 уже сделал. А вот с таблицей вообще въехать не могу. Вторичные навыки в ней как будто перемешаны

upd: нет. поспешил я сказав что уже сделал. теперь ловлю вылеты при открытии вообще любого окна, после применения хука
может хук потом нужно отменять?


game bug fixes extended.dll || My Plugins || My GitHub
04.10.2014 01:25
Visit this user's website Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16488
Post: #2928

Весь код функции можешь привести? Или мод залить.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
04.10.2014 02:12
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #2929

А, понял. Эта функция выводит вообще диалоги. Сейчас скажу где она вызывается тогда.


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
04.10.2014 02:18
Find all posts by this user Quote this message in a reply
igrik Offline
Administrators

Posts: 2814
Post: #2930

сырой мод
там хук я убрал


game bug fixes extended.dll || My Plugins || My GitHub
04.10.2014 02:21
Visit this user's website Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #2931

0x4DAD01, 0x4DAD78, 0x4DAE8C.

(04.10.2014 01:25)igrik Wrote:  А вот с таблицей вообще въехать не могу. Вторичные навыки в ней как будто перемешаны
Что значит перемешаны? См. формат SS.


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
04.10.2014 02:27
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #2932

Ещё можно вот так попробовать:



When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
04.10.2014 02:43
Find all posts by this user Quote this message in a reply
igrik Offline
Administrators

Posts: 2814
Post: #2933

Попробую покрутить-повертеть. Может туплю где-то...


game bug fixes extended.dll || My Plugins || My GitHub
04.10.2014 02:47
Visit this user's website Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #2934

Nice mod, igrik

Combined to invite tavern, now we have the perfect hero. Major cheat 147

I would add a tab: remove skill. Same dialog, but when you click on skill, it removes it if hero had. So if you get a high level hero from prison, you keep the level and stats but get new skills. To be triggered when clicking on some icon from hero menu, maybe experience, dunno. Cost to remove skill: 1000 gold x hero level, something like that.
(This post was last modified: 04.10.2014 04:02 by Valery.)
04.10.2014 03:58
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #2935

Valery, use 28 skills plugin.


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
04.10.2014 12:15
Find all posts by this user Quote this message in a reply
Shiva Offline

Posts: 122
Post: #2936

1. Как сделать такой скрипт? Чтобы во время боя я и соперник (компьютер), могли колдовать двойную магию (два раза) за один ход, вместо одного раза как обычно.

2. Когда устанавливаешь Грааль в замок "Башню", то при этом открывается вся карта – полностью убирается (туман войны). Как убрать этот эффект!Ab
06.10.2014 18:57
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #2937

Ну судя по прошлым сообщениям ты же хочешь готовый скрипт! Так сразу и пиши: "напишите мне скрипт". Зачем морочить людям голову если ты не хочешь разбираться в ЕРМ?


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
06.10.2014 19:21
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16488
Post: #2938

gamecreator, хук нужно ставить на начало вталкивания аргументов функции показа диалога в стек. При чём устанавливать SN:X_/0 и новый адрес возврата в точку сразу после вызова функции открытия диалога уровня. Тогда выполнится ЕРМ функция, затёртая команда не выполнится и управление будет передано коду, который шёл сразу же за отображением диалога.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
06.10.2014 20:22
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #2939

Буду знать, но сейчас это больше нужно igrikу.


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
06.10.2014 21:31
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16488
Post: #2940

А в каком месте вызывается диалог уровня?


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
06.10.2014 21:38
Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Forum Jump:

Powered by MyBB Copyright © 2002-2024 MyBB Group