Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile

Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 3.5 - WoG and Beyond > Thread: ERM help and discussion
Thread: ERM help and discussion This Popular Thread is 389 pages long: 1 2 3 4 5 ... 80 160 240 320 ... 385 386 387 388 389 · «PREV

Undefeatable Hero
My BS sensor is tingling again
posted March 31, 2021 02:15 PM
Edited by fred79 at 16:50, 31 Mar 2021.

RerryR said:
Iam not an expert in these UN:C things, from what I can say they usually do not change. I myself never had such a case. In your old setup, do you use Typhon or Amethyst to add creatures? because then things might be different.
If these two little changes hacks are the only thing that prevents you from switching to the new ERA then I would just finds ways to work around it.
a) there are also other ways to archive the same result without UN:C
b) ask in the Russian forum for help. If you are very specific what you need, chances are somebody can help you
c) Just use Typhon editor you make new creatures, there everything is customizable

i don't use typhon or amethyst, no. when i first perused them way back, i wanted to use them but i was seeing a lot of problems popping up in the community regarding them. since then i've just been replacing creatures and altering their abilities and stats through erm and text files. all my scripts are just fine, despite two not working on hard-coded creatures. i've never had any issue with blank stacks inexplicably spawning on creature weeks and crashing the game before, ever in all my years of playing heroes. this is the first time something like this happened.

just prior, i deleted script 63(wog's passable terrain script) in the scripts folder, and any references to it in scripts 1 and 2, to fix the repeating crash i was having with it(which again, was new and seemingly out of nowhere. it's only upon testing one of my campaign maps that the issue popped up; and the scripts i use for it doesn't crash on a script test map i have been using since i started scripting years ago). on the surface, it doesn't look like there are any dependencies, but there might be hardcoded dependencies i wouldn't know about unless i was more versed in coding.

or maybe it is an object compatibility issue, as i use a lot of objects and swap def images for what i need in my maps. i don't think so, though.

is typhon all ironed out, issue-wise? does it only work with era 3?

edit: another day, another new crash. looks like i'm going to have to give era 3 a go before i go thermonuclear.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link

Supreme Hero
posted April 09, 2021 08:10 AM

Can someone help me understand what WOG script 79 from igrik does?

*  Автор: [igrik]
!?PI;  !!FU87000:P0;
!?GM0; !!FU87000:P1;
; ------------------------------------------------------------------------------
**  Скрипт убирает все WoG способности, получаемые войсками при накоплении опыта
**  (за исключением основных бонусов: атаки, защиты, урона, скорость, жизни)
; ------------------------------------------------------------------------------
** открыть окно встречи героев в городе по ЛКМ + Alt
!?CM1;                              [клик в городе]
!!CM:F?y6 S?y7 I?y5;;                   [получаем парамерты клика]
!!FU|y7<>12/y6<>32:E;                   [нажата ЛКМ + Alt]
!!if|y5=123/y5=125:;                    [место клика]
 !!CA-1:H0/?y1 H1/?y2;                [получить номера героев]
 !!if&y1>-1/y2>-1:;                   [только если есть оба героя]
   !!UN:C6918840/4/?y10;              [получить AdvManager]
   !!SN:E7411341/1/y1;  !!VRy11:Sv1;  [структура первого героя]
   !!SN:E7411341/1/y2;  !!VRy12:Sv1;  [структура второго героя]
   !!SN:E4859312/3/y11/y12;           [грамотность между героями]
   !!SN:E4893280/2/y10/y11/y12;       [открыть окно встречи]
; ------------------------------------------------------------------------------
** Вкл/откл. быструю битву по клавише "Q" на карте приключений
!?FU77003;                              [нажатие клавиши]
!!SN:X?y1;                              [y1 — код клавиши]
!!FU&y1<>81:E;                          [выйти, если код не 81 (клавиша "Q")]
!!SN:L^Era.dll^/?y2;                    [получили описатель библиотеки Эры в y2]
!!SN:Ay2/^GetGameState^/?y3;            [y3 — адрес функции GetGameState]
!!SN:Ey3/1/?y4;                         [y4 — ID родительского диалога, y5 — текущего]
!!if&y5=4205280:;                       [если это не карта приключений]
!!UN:C6916044/4/?y1;                  [проверить параметр быстрой битвы 0xC006987CC]
!!VRy1:*-1 +1;                        [вкл/выкл.]
!!UN:C6916044/4/y1;                   [установить параметр быстрой битвы 0xC006987CC]
!!IF&y1<>0:L^%Z187000^;               [показать описание ВКЛ]
!!IF&y1=0:L^%Z187001^;                [показать описание ОТКЛ]
!!SN:L^HD_WOG.dll^/?y9;                 [проверить на HD]
!!if&y5=4662240/y9=0:;                  [если это экран битвы]
!!BA:E?y9;                            [проверить на МП битву]
  !!IF:Q2^%Z187002?^;                 [спросить: закончить битву быстро?]
    !!SN:W^YQBattle^/1;               [запоминалка вернуть ли параметр]
    !!UN:C6916044/4/1;                [установить быструю битву]

!!SN:W^YQBattle^/?y1;                   [прочитать параметр]
!!SN:W^YQBattle^/0;                     [обнулить переменную]
!!UN&y1=1:C6916044/4/0;                 [отключить быструю битву]
; ------------------------------------------------------------------------------
** автосохранение перед битвой
!!UN:P889/?y1;     !!FU&y1<>1:E;
!!OW:C?y2 Iy2/?y3; !!FU&y3<>0:E;
; ------------------------------------------------------------------------------
** Оковы Войны (в бою с нейтралами можно убежать с поля боя)
!?BG0; !!BG:A?y1; !!BA:H1/?y2;          [узнать героя защитника]
!!UN&y1=4/y2=-2:C4689325/1/2;           [подменить номер арта]
!?BA52;  !!UN:C4689325/1/125;           [вернуть номер арта]
** открытие окон героев в битве по ПКМ на дефе героев
!!CM:F?y1 D?y2;
!!BA:H0/?y4 H1/?y5;
** Быстрая тактическая расстановка
!!SN:L^HD_WOG.dll^/?y1 L^HD_MCR.dll^/?y2;
!!CM:F?y2 I?y3 D?y4;
!!BG:N?y6 Q?y7;
!!BMy5:I?y8 T?y9;
; ПКМ описание кнопок Журнал и Рюкзак
!?CM2; !!CM:F?y1 I?y2;
!!CM&y1=512/y2=8000:R0; !!IF&y1=512/y2=8000:M0/4/^%Z187003^;
!!CM&y1=512/y2=128:R0;  !!IF&y1=512/y2=128:M0/4/^%Z187004^;
!!UN:P888/?y1;          Доступно максимум 3 героя (опционально)
!!UN&y1=1:C6129162/1/3 C4864993/1/3 C6116975/1/3 C4395921/1/3;
!!UN&y1<>1:C6129162/1/8 C4864993/1/8 C6116975/1/8 C4395921/1/8;

!!UN:P3/?y1;            Отключение рук командира (скрин в окне героя)
!!SN&y1=1:L^Era.dll^/?y1 Ay1/^RedirectFile^/?y2 Ey2/1/^heroscr4.pcx^/^heroscr3.pcx^;
; Сильное усиление ИИ по первичным навыкам
!!VRy2:S0 R3;
** end

Not idly do the leaves of Lorien fall.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 389 pages long: 1 2 3 4 5 ... 80 160 240 320 ... 385 386 387 388 389 · «PREV
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0979 seconds