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 ]
New Server | HOMM1: info forum | HOMM2: info forum | HOMM3: info forum | HOMM4: info forum | HOMM5: info 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 142 pages long: 1 20 40 60 80 100 120 ... 134 135 136 137 138 ... 140 142 · «PREV / NEXT»
majaczek
majaczek


Supreme Hero
Work at Magic Dimmension
posted May 23, 2017 04:04 PM
Edited by majaczek at 16:17, 23 May 2017.

Puppet_Master said:
The project is updated. Links are the same.

Typhon sources is open, take everything you want - https://drive.google.com/open?id=0B0G5E1yQKJXBNC1MVEdPb2g5QVk
majaczek said:

I mostly worked around the problem with 256 thing (i replaced the 8bit field for creature number with 10-bit reserved one) but I need to finish.


And creatures limit increased to 320? Not suitable for Typhon where 1000 creatures.


creature limit increased to 1023
I hope it helps
It currently properly stores crexpo bonuses and crexpo percentage, but not yet the battle to adventure conversion (I have to fix it). also you can reuse the 8bit field. the 320 from config may be any number between 196 (no new monsters) to 1000 (it could be buggy for creature limit between 1001 and 1023 because it is more chars in filenames).

So should work with typhon, once I find what function I left unpatched.

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


Adventuring Hero
Villain
posted May 23, 2017 04:42 PM
Edited by Puppet_Master at 16:43, 23 May 2017.

I don't understand you. This is Stack Exp structure from Wog sources:

typedef void * CRLOC;
class CrExpo{
 CrExpo(CrExpo &;
public:
 int   Expo; // тек. опыт на 1 существо
 int   Num;  // число существ
 struct {
   unsigned   Act    :  1;  // есть/нет
   #define CE_HERO  1
   #define CE_MAP   2
   #define CE_TOWN  3
   #define CE_MINE  4
   #define CE_HORN  5
   unsigned   Type   :  4;  // тип - где хранится
   unsigned   MType  :  8;  // Creature type
   unsigned   mHasArt :  1;  // has art
   unsigned   mArt    :  2;  // up to 4 arts
   unsigned   mCopyArt:  2;  // up to 4 copy
   unsigned   mSubArt :  4;  // up to 16 sub art
   unsigned  _un     : 10;  // reserve
//    unsigned  _un    : 19;
 } Fl;


1 bit = 32.
8 bit = 256 (1 byte).
10 bit = 32+32+256 = 320.
And calculate:
1024 = 32 bit = 4 bytes = dword

Where you see free dword in this structure?

Typhon not use the type of creature in the Exp structure - only true type from SoD structures.

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


Supreme Hero
Work at Magic Dimmension
posted May 23, 2017 05:59 PM

Puppet_Master said:
I don't understand you. This is Stack Exp structure from Wog sources:

typedef void * CRLOC;
class CrExpo{
 CrExpo(CrExpo &;
public:
 int   Expo; // тек. опыт на 1 существо
 int   Num;  // число существ
 struct {
   unsigned   Act    :  1;  // есть/нет
   #define CE_HERO  1
   #define CE_MAP   2
   #define CE_TOWN  3
   #define CE_MINE  4
   #define CE_HORN  5
   unsigned   Type   :  4;  // тип - где хранится
   unsigned   MType  :  8;  // Creature type
   unsigned   mHasArt :  1;  // has art
   unsigned   mArt    :  2;  // up to 4 arts
   unsigned   mCopyArt:  2;  // up to 4 copy
   unsigned   mSubArt :  4;  // up to 16 sub art
   unsigned  _un     : 10;  // reserve
//    unsigned  _un    : 19;
 } Fl;


1 bit = 32.
8 bit = 256 (1 byte).
10 bit = 32+32+256 = 320.
And calculate:
1024 = 32 bit = 4 bytes = dword

Where you see free dword in this structure?

Typhon not use the type of creature in the Exp structure - only true type from SoD structures.

1024 = 2^10 = 256 *2 *2
sadly you missed calculaions

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


Adventuring Hero
Villain
posted May 23, 2017 06:44 PM

Sorry, did not get enough sleep. (

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


Adventuring Hero
posted May 24, 2017 12:03 AM
Edited by jonj at 00:05, 24 May 2017.

Quote:
Yes. This tool from MoP mod, adapted for ERA.


Not 100%, I guess. "Alternative dwellers"- function in "town editor" not working in my "Era". Also such a mod like "new upgrades" not working properly (you can build special structure, but you can't upgrade units on 3rd level). So, you've got possibillity to create new creatures very easy (compare to very harsh and difficult amethyst) but you can't recruit them in game.

Quite useless...

It's a great pity. Because as I said- working with this awesome tool is fabulous experience. But what for? Amethyst is very harsh but at least yu're able to recruit new unit. For example: by upgrade old one- via "new upgrade" mod...

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


Adventuring Hero
Villain
posted May 24, 2017 06:09 AM

OK. Forget about it, i don't care.

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

Tavern Dweller
posted May 30, 2017 03:57 PM
Edited by RockyBG at 16:06, 30 May 2017.

Hello friends,

I have the following problem:

Recently I have found out about the ERA II mod and was quite happy to install it a few days ago. I own an original Heroes 3 Complete Edition purchased via gog.com so I installed the mod over that base game. After that, I found out about a number of useful additions to the mod on the forum and added them via the Mods Manager.

Once in game, however, I do experience some quite unpleasant lagging as if the game is too heavy for my PC which is definitely not the case as I own a powerhouse of a computer. I tried to disable virtually all added mods but the lagging was still there. Also, by lagging I mean that when my hero explores the map, for example, at some point mid-turn he would stop for a moment, as if the game would freeze for an instant and then he will carry on with his designated move. Such "freeze" I also experience in town view.

Another problem, potentially due to the same cause, is that my opponents' turns take longer time than usual. Especially in the beginning of a game, when they would just pass instantly, it takes a few seconds for every computer controlled player to end their turn...

I must add that the base game - Complete edition, Horn of the Abyss v1.4.2, a previous version of WoG, with or without the HD mod DO work perfectly fine.

Has somebody experienced anything like that and if so - can you offer me a solution?

Thank you in advance!

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


Admirable
Omnipresent Hero
Wog refugee
posted May 30, 2017 04:07 PM

in heroes.ini file (main folder) try to play with values (1/0), as CpuPatch=1, UseOnlyOneCpuCore=0.  

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

Tavern Dweller
posted May 30, 2017 04:45 PM
Edited by RockyBG at 17:11, 30 May 2017.

Salamandre said:
in heroes.ini file (main folder) try to play with values (1/0), as CpuPatch=1, UseOnlyOneCpuCore=0.  


Thanks for the quick reply.

These two settings are as per you suggestion. Changing CpuPatch=1 to =0 definitely fixed the freezing issue.

For some reason opponents' turns still seem to take longer than what I would expect. It is not game breaking but still seems strange.

I guess WoG-ifying the map could be the cause as it takes more time to process turns if WoG-ification is enabled. Any ideas?

@Salamandre, thank you for your help!

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


Hired Hero
posted June 03, 2017 08:28 AM
Edited by payneinc at 08:30, 03 Jun 2017.

constant game crash

I am having a crash issue. I play the game and when it reaches month 2, week 1, day 2, the game crashes during the computers turn. I have had this happen on multiple games with different mods selected. I use Era II and HD on a heroes 3 complete install (legal). I have tried disabling all the extra mods in era (except the ones that come with era). This has happened 5 times straight now. Each game I disabled various mods until the last game I was down to just the base Era mods. Anyone have any idea what would be causing this? I have a crash log if needed.

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


Admirable
Omnipresent Hero
Wog refugee
posted June 03, 2017 09:21 AM

it looks more like a map based problem. is it a wog or sod map?

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


Hired Hero
posted June 03, 2017 12:05 PM

Wog random maps

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


Admirable
Omnipresent Hero
Wog refugee
posted June 03, 2017 01:34 PM

Then no idea why is happening. When you disable mods, don't forget, if reloading a save, to press F12 in order to update scripts. Try to disable your mods one by one, reload each time + F12, until you find which is guilty.

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


Hired Hero
posted June 03, 2017 10:26 PM

Salamandre said:
Then no idea why is happening. When you disable mods, don't forget, if reloading a save, to press F12 in order to update scripts. Try to disable your mods one by one, reload each time + F12, until you find which is guilty.


Actually tried that and no luck.

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

Hero of Order
Li mort as morz, li vif as vis
posted June 04, 2017 10:56 AM

What OS are you using? On modern Windows versions you likely need to adjust some stuff in settings for old games (compatibility and the like, maybe you did it for your normal h3 and not for Era?).

Also, they're rarely helpful but we never know, can you link (not paste) your log or send it to me via PM?
____________

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


Hired Hero
posted June 05, 2017 01:05 AM

Galaad said:
What OS are you using? On modern Windows versions you likely need to adjust some stuff in settings for old games (compatibility and the like, maybe you did it for your normal h3 and not for Era?).

Also, they're rarely helpful but we never know, can you link (not paste) your log or send it to me via PM?


Link to log sent via messenger. Using Windows 10 Pro.

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

Hero of Order
Li mort as morz, li vif as vis
posted June 05, 2017 02:21 AM
Edited by Galaad at 11:34, 05 Jun 2017.

Thanks, read and replied.

Edit: Well, we found your problem. Hota and Era are NOT compatible with each other. They are different platforms, and as such you need one folder for Hota and another one for Era, you cannot mix both! Do clean reinstall, Era over h3 and nothing else that isn't Era-related (you can HD mod) and your issue will be gone.
____________

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

Tavern Dweller
posted June 05, 2017 12:55 PM

Hello friends.

I have come across another small issue and I do hope there is a quick solution to it.

I have 3 Heroes 3 folders in total - one for the base "complete edition" game, one for HotA, one for ERA II. I also have the HD mod installed for each version of the game.

Here is the problem: in both Complete and HotA, if quick combat is enabled, the battle is simulated and the outcome is shown; however, I do have a choice - either to accept the quick combat result (Apply battle result) or to replay the battle by myself. However, there is no such option in ERA II.

I suppose the issue could be one of two: either there is a mod I am using which prevents that quick combat option from appearing or there is a WOG option which disables this feature. Or maybe something else...

If someone has any idea, please, share.

Thank you!

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


Admirable
Omnipresent Hero
Wog refugee
posted June 05, 2017 01:13 PM

All is fine, Era does not have such option, because of scripts hazard.

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

Tavern Dweller
posted June 08, 2017 09:38 PM
Edited by cthulchu at 21:41, 08 Jun 2017.

Hi there!

I'm having problems... again.

Have been playing a lot with no issues whatsoever. Then I took a break, played and removed a few other games. Installed VS 2017 and 2015, coded some QT with webengine a little (that's a c++ framework). Also I fooled around with Java, but it shouldn't affect anything. Now I want to play ERA again. I didn't touch the old install, but now ERA crashes.

I have a magic flashdrive where I keep bootable ISOs and the best games (ERA, Allods and FOnline for now, lol) So I restored the client. copied wog from an archive and installed ERA over it. The issue didn't change:

http://i.imgur.com/j2M33yd.jpg

What can it be? I think I used to get it before, but I can't remember how I fixed it.

Thank you!

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 142 pages long: 1 20 40 60 80 100 120 ... 134 135 136 137 138 ... 140 142 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0782 seconds