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: Era II
Thread: Era II This Popular Thread is 220 pages long: 1 30 60 90 120 150 ... 177 178 179 180 181 ... 210 220 · «PREV / NEXT»
mythonline
mythonline

Tavern Dweller
posted June 20, 2019 05:04 PM
Edited by mythonline at 18:22, 20 Jun 2019.

igrik said:
mythonline said:
hey thanks for the answer!
I tried it, but it didn't seem to change anything at least on the saved game, do I need to start a new game to test this change?

No, you do not need to start a new game. So it will not help.


I see thanks!


Salamandre said:
mythonline said:
I have a bug that caused the game to completely freeze on the AI turn.



Usually after 12th month of playing, this bug has much bigger chances to occur. More you keep playing, more chances it has. The only solution is to finish maps in less than one year, and is not at all related to wog, but original game problems/.

it happened to me after 3 weeks last time I tried :S also, doesn't seem to happen as normal heroes complete

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


Supreme Hero
Work at Magic Dimmension
posted June 20, 2019 05:12 PM

Liso1 said:
hi Bersy, time ago I created a simple package with new creature icons, all they had to do was copy and rewrite the old ones in ModsWoGDatazvsLib1.res folder.

But in the new version, even after overwriting, the old icons appear. don't you know where the problem might be?



it's "native wog dialogs.era" you may need to pack the bitmaps into def file to work with this plugin.

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


Promising
Known Hero
posted June 20, 2019 05:25 PM

Liso1 said:
hi Bersy, time ago I created a simple package with new creature icons, all they had to do was copy and rewrite the old ones in ModsWoGDatazvsLib1.res folder.

But in the new version, even after overwriting, the old icons appear. don't you know where the problem might be?

You need to find the file "DlgExpMon.def" in "hmm35wog.pac" and replace the necessary files in it

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


Honorable
Supreme Hero
posted June 20, 2019 09:34 PM

Hi, Liso!
igrik rewrote WoG dialogs. From now they do not use anything, except resources from lods. Extract dlgexpmon.def from hmm35wog.pac, change and include in any pac of your mod.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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

Tavern Dweller
posted June 21, 2019 11:56 AM
Edited by SABREWULF at 11:58, 21 Jun 2019.

Direct Draw Error (16385)

DDERR_UNSUPPORTED

File 'CDevHeroes3 Exp2GameWINGRAPH.CPP'

Line: 347


This error appeared suddenly during the battle but it always repeat during this specific battle but all other battles was fine.

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

Tavern Dweller
posted June 21, 2019 09:54 PM

It does work!
HD Mod works with GOG Complete and also with ERA II.
Thank you very much for help.

P.S.:I didn't know how to post pictures,to show you.

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


Promising
Supreme Hero
posted June 22, 2019 10:45 AM

HD mod always worked with ERa, but not always newest versions.
____________

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

Tavern Dweller
posted June 22, 2019 12:35 PM

Is the link on the first page the most up to date version of Era II?
____________

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


Honorable
Supreme Hero
posted June 22, 2019 08:08 PM

The link leads to online disk, where all new versions are uploaded to Releaseses directory.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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


Famous Hero
posted June 23, 2019 05:19 AM

Which bugs are fixed by this plugin in era2.83?
game bug fixes.dll

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


Honorable
Supreme Hero
posted June 23, 2019 03:11 PM

It's old plugin by RoseKavalier. As far as I remember, modern sources are available on github.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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


Admirable
Supreme Hero
posted June 23, 2019 05:21 PM

igrik is now maintaining it along some of his bug fixes.
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

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


Supreme Hero
Work at Magic Dimmension
posted June 23, 2019 08:42 PM

it seems that there is a bug when enemy creature casts inferno and aims on empty hex (to hurt enemies around). after attack animation game suddenly crashes.

exception context:
Quote:
Attempt to divide an integer value by an integer divisor of zero.
EIP: H3era.00442D62 (A0_AI_BattleStack_Get_SelfDamage_Value_sub_442CF0 + 114). Code: C0000094

> Registers
EAX: 00000000 (int: 0)
ECX: 00000000 (int: 0)
EDC: 00000000 (int: 0)
EBX: 00000000 (int: 0)
ESP: 02B3844C (int: 45319244, pint: 0x07ADE820 = 128837664)
EBP: 02B38468 (int: 45319272, pint: 0x02B384AC = 45319340)
ESI: 00000000 (int: 0)
EDI: 07ADE820 (int: 128837664, pint: 0x0063D3E8 = 6542312)

> Callstack
H3era.00420426 (A0_AI_Set_Hexes_Under_Enemies_Attack_Danger_sub_4203E0 + 70)
H3era.004218BA (A0_AI_Battle_Stack_GetBestMelee_Action_sub_421800 + 186)
H3era.00422156 (A0_AI_Battle_SelectActionForMelee_sub_422100 + 86)
H3era.0042243B (A0_AI_Battle_Select_Action_For_Stack_sub_422370 + 203)
H3era.00473E04 (A0_BattleMgr_Main_sub_473A00 + 1028)
H3era.004B0C39 (A0_MainMgr_PlayMgr_sub_4B0BA0 + 153)
Era.261AE (PatchApi.CALL_THIS + 62 in PatchApi.pas on line 795)
Era.26271 (PatchApi.Call + 85 in PatchApi.pas on line 849 offset 14)
Era.3F019 (Triggers.Hook_MainGameLoop + 69 in Triggers.pas on line 381)
04A410DB
H3era.004ADFE8 (A0_Adv_Battle_sub_4AD160 + 3720)
H3era.0075AEB7 (wog_start + 368311)
H3era.004ABBD0 (A0_CrBank_Battle_And_Reward_sub_4ABAB0 + 288)
H3era.004A1E91 (A0_AdvMap_Utopia_Visit_sub_4A1DB0 + 225)
H3era.004A8A2D (A0_AdvMgr_ObjectVisit_Actions_sub_4A8160 + 2253)
H3era.00705FE4 (wog_start + 20452)
Era.2620F (PatchApi.CALL_FAST + 83 in PatchApi.pas on line 836)
Era.26281 (PatchApi.Call + 101 in PatchApi.pas on line 850 offset 14)
Era.3B0C3 (Tweaks.Hook_ZvsEnter2Object + 103 in Tweaks.pas on line 695 offset 74)
04A41092
H3era.0040804E (A0_Hero_Move_sub_407AE0 + 1390)
H3era.0040AA36 (A0_AdvMgr_MapClick_sub_40A530 + 1286)
H3era.0074E348 (wog_start + 316232)
H3era.00409930 (sub_409740 + 496)
H3era.0074EF70 (wog_start + 319344)
H3era.004089B0 (A0_AdvMgr_Main_sub_408710 + 672)
H3era.004B0C39 (A0_MainMgr_PlayMgr_sub_4B0BA0 + 153)
Era.261AE (PatchApi.CALL_THIS + 62 in PatchApi.pas on line 795)
Era.26271 (PatchApi.Call + 85 in PatchApi.pas on line 849 offset 14)
Era.3F019 (Triggers.Hook_MainGameLoop + 69 in Triggers.pas on line 381)
04A410DB
H3era.004F824F (A0_Create_Main_Window_sub_4F80C0 + 399)
H3era.0061A964 (_WinMainCRTStartup + 224)
Kernel32.18494
Ntdll.641C8
Ntdll.64198

> Stack
02B38438: 3FE99999 (int: 1072273817)
02B3843C: 02B38468 (int: 45319272, pint: 0x02B384AC = 45319340)
02B38440: H3era.00442D0E (A0_AI_BattleStack_Get_SelfDamage_Value_sub_442CF0 + 30) (int: 4467982, pint: 0x0084868B = 8685195)
02B38444: FFFFFFFB (int: -5)
02B38448: 00000000 (int: 0)
02B3844C*: 07ADE820 (int: 128837664, pint: 0x0063D3E8 = 6542312)
02B38450: 00000000 (int: 0)
02B38454: 02B38844 (int: 45320260, pint: 0x00000000)
02B38458: H3era.00650072 (dword_650058 + 26) (int: 6619250, pint: 0x00000000)
02B3845C: H3era.00720074 (wog_start + 127092) (int: 7471220, pint: 0x00000176 = 374)
02B38460: 2ED19148 (int: 785486152)
02B38464: 40535D6B (int: 1079205227)
02B38468: 02B384AC (int: 45319340, pint: 0x02B38820 = 45320224)
02B3846C: H3era.00420426 (A0_AI_Set_Hexes_Under_Enemies_Attack_Danger_sub_4203E0 + 70) (int: 4326438, pint: 0x0C8DD8F7 = 210622711)
02B38470: 00000000 (int: 0)
02B38474: 00000000 (int: 0)
02B38478: 00000000 (int: 0)
02B3847C: 00000000 (int: 0)
02B38480: 00000000 (int: 0)
02B38484: 07AF1574 (int: 128914804, pint: 0x00000000)
02B38488: 07ADE820 (int: 128837664, pint: 0x0063D3E8 = 6542312)
02B3848C: 02B38844 (int: 45320260, pint: 0x00000000)
02B38490: 00000000 (int: 0)
02B38494: 00000000 (int: 0)
02B38498: 00000000 (int: 0)
02B3849C: 07AF1574 (int: 128914804, pint: 0x00000000)
02B384A0: 00000001 (int: 1)
02B384A4: 07ADE820 (int: 128837664, pint: 0x0063D3E8 = 6542312)
02B384A8: 07ADE820 (int: 128837664, pint: 0x0063D3E8 = 6542312)
02B384AC: 02B38820 (int: 45320224, pint: 0x02B3886C = 45320300)
02B384B0: H3era.004218BA (A0_AI_Battle_Stack_GetBestMelee_Action_sub_421800 + 186) (int: 4331706, pint: 0x95380D8B)
02B384B4: 07AF1574 (int: 128914804, pint: 0x00000000)
02B384B8: 02B384D0 (int: 45319376, pint: 0x00000000)
02B384BC: 02B387EC (int: 45320172, pint: 0x00000000)
02B384C0: 02B38844 (int: 45320260, pint: 0x00000000)
02B384C4: 07AF1574 (int: 128914804, pint: 0x00000000)
02B384C8: 07ADE820 (int: 128837664, pint: 0x0063D3E8 = 6542312)
02B384CC: 00000001 (int: 1)
02B384D0: 00000000 (int: 0)
02B384D4: 00000000 (int: 0)

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


Admirable
Supreme Hero
posted June 24, 2019 12:46 AM
Edited by RoseKavalier at 00:47, 24 Jun 2019.

^ Division by 0 (hit points).
Not sure which check is missing, sorry
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

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


Honorable
Supreme Hero
posted June 24, 2019 09:19 AM

Majaczek, is it possible, that any your creature had health, set to 0?
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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


Supreme Hero
Work at Magic Dimmension
posted June 24, 2019 01:20 PM
Edited by majaczek at 17:09, 24 Jun 2019.

Bersy said:
Majaczek, is it possible, that any your creature had health, set to 0?


nope. it was spell aimed at no creature. the  creatures around have been hit by the spell.

(or maybe something else happenned but  it looks like I described)

EDIT: it is always in creature bank with Inferno Guardians after turn of Inferno Guardians. the IG are the only creature type which casts Inferno in my mod. the new creature bank internally is just dragon utopia.

Normal battles go fine, battles with another new CB goes fine.

EDIT: I fixed bugs related with Knightmare War Machines, and current version is in gitlab repo, not yet on official download...

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


Famous Hero
posted June 25, 2019 12:16 PM
Edited by XEricSin at 14:22, 25 Jun 2019.

Bersy said:
It's old plugin by RoseKavalier. As far as I remember, modern sources are available on github.

RoseKavalier said:
igrik is now maintaining it along some of his bug fixes.


Thanks. Good to have the source code with comments.

Edit:

>>> What does this fix?
// §²§Ö§ê§Ö§ß§Ú§Ö §Ò§Ñ§Ô§Ñ (§Ö§ë§Ö §ã SoD) §Ú§ã§é§Ö§Ù§ß§à§Ó§Ö§ß§Ú§ñ §å§Ý§å§é§ê§Ö§ß§ß§à§Ô§à §ã§ä§Ö§Ü§Ñ §á§â§Ú §Ò§Ú§ä§Ó§Ö §ã §Õ§Ñ§å§ß§Ô§â§Ö§Û§Õ§à§Þ §ß§Ö§Û§ä§â§Ñ§Ý§à§Ó
//Solving the bug (still with SoD) the disappearance of the improved stack during the battle with the downgrad of neutrals
_PI->WriteHiHook(0x4AC5F5, CALL_, EXTENDED_, THISCALL_, Y_FixBagCreatureGredeOfNeutrals);

_int_ __stdcall Y_FixBagCreatureGredeOfNeutrals(HiHook* hook, _Army_* army, _int_ creature_id)
{
   _int_ count = 0;
   _int_ i = 0;
   _int_ crGrade_id = GetCreatureGrade(creature_id);
   do {
       if (army->type == creature_id || army->type == crGrade_id) {
           count += army->count;
       }
       i++;
   } while ( i<7 );
   return count;
}


>>> And what happens if I use EA:B to set hatred values?

_int_ __stdcall Y_SetWogHates(LoHook* h, HookContext* c)
{
int mult = 0; // §Ò§à§ß§å§ã §å§â§à§ß§Ñ §ß§Ö§ß§Ñ§Ó§Ú§ã§ä§Ú §Ó §á§â§à§è§Ö§ß§ä§Ñ§ç
int amtype = *(int*)(c->ebp -4);
int dmtype = *(int*)(c->ebp -8);
switch(amtype){
case 12:  // §¡§ß§Ô§Ö§Ý
case 13:  // §¡§â§ç§Ñ§ß§Ô§Ö§Ý
case 150: // §£§Ö§â§ç§à§Ó§ß§í§Û §¡§â§ç§Ñ§ß§Ô§Ö§Ý
if(dmtype == 54 || dmtype == 55 || dmtype == 153) mult = 50; break;
case 36:  // §¥§Ø§Ú§ß
case 37:  // §®§Ñ§ã§ä§Ñ§â §¥§Ø§Ú§ß
if(dmtype == 52 || dmtype == 53) mult = 50; break;
case 41:  // §´§Ú§ä§Ñ§ß
case 152: // §¤§â§à§Þ§à§Ó§Ö§â§Ø§Ö§è
if(dmtype == 83 || dmtype == 155) mult = 50; break;
case 52:  // §ª§æ§â§Ú§ä
case 53:  // §ª§æ§â§Ú§ä §³§å§Ý§ä§Ñ§ß
if(dmtype == 36 || dmtype == 37) mult = 50; break;
case 54:  // §¥§î§ñ§Ó§à§Ý
case 55:  // §¡§â§ç§Ú§Õ§î§ñ§Ó§à§Ý
case 153: // §¢§Ñ§â§à§ß §¡§Õ§Ñ
if(dmtype == 12 || dmtype == 13 || dmtype == 150) mult = 50; break;
case 83:  // §¹§Ö§â§ß§í§Û §¥§â§Ñ§Ü§à§ß
case 155: // §´§×§Þ§ß§í§Û §¥§â§Ñ§Ü§à§ß
if(dmtype == 41 || dmtype == 152) mult = 50; break;
default: break;
 }
// §ä§Ö§á§Ö§â§î §Ò§à§ß§å§ã §å§â§à§ß§Ñ §ß§å§Ø§ß§à §Ù§Ñ§ß§Ö§ã§ä§Ú §Ó EDX
c->edx = mult;
c->return_address = 0x766EEB;
return NO_EXEC_DEFAULT;
}

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


Promising
Known Hero
posted June 25, 2019 06:47 PM
Edited by igrik at 19:27, 25 Jun 2019.

XEricSin said:
Edit:

>>> What does this fix? (1)

>>> And what happens if I use EA:B to set hatred values? (2)


1) The code corrects the loss of an improved stack during a battle with neutrals (if you run away from them). Known bug from SOD

2) If you set hate with the help of EA:B, then it will work properly bypassing this code.
If you install these monsters in addition, that will be an additional percentage of hate (in theory. I did not check)



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


Famous Hero
posted June 26, 2019 09:16 AM

Thanks. I will watch out for the changes.

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


Supreme Hero
Work at Magic Dimmension
posted June 26, 2019 09:42 PM

Bersy said:
Majaczek, is it possible, that any your creature had health, set to 0?


could it be scripting problem? i.e. checking Hp of stack which is no-creature (empty one) ???

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 220 pages long: 1 30 60 90 120 150 ... 177 178 179 180 181 ... 210 220 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.2441 seconds