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 187 pages long: 1 20 40 60 80 100 120 140 160 ... 179 180 181 182 183 ... 187 · «PREV / NEXT»
Bersy
Bersy


Honorable
Supreme Hero
posted July 07, 2019 09:41 PM

ZVSE

!?PI;
!!UN:U25/-1/?y1;
!!VRv2:C-1/0/0;

[:repeat]
!!FU&y1=0:E;
!!UN:U25/-1/-1/2;
!!UN:Ov2/v3/v4/1;
!!VRy1:-1;
!!SN:G[repeat];
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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


Honorable
Supreme Hero
posted July 07, 2019 09:43 PM

Val, best function ID is:
!!DO(val.ForEachUtopia);

!?FU(val.ForEachUtopia);
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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


Admirable
Omnipresent Hero
Wog refugee
posted July 07, 2019 09:45 PM
Edited by Salamandre at 21:46, 07 Jul 2019.

the function ID I randomly assigned was already in use (10900, hence the errors), added a digit, now should work.
____________
Era II mods and utilities

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

Tavern Dweller
posted July 07, 2019 10:15 PM

Salamandre said:

yeah sorry it seems the function ID I randomly added was already in use. I added a digit, try now please



Nice job, thank you!

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


Honorable
Supreme Hero
posted July 07, 2019 10:54 PM

I mean, it's better to use named functions in the form of (any unique global name), rather than manual senseless numbers. Converted the whole Phoenix Mod to named functions. Everything is fine.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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


Admirable
Omnipresent Hero
Wog refugee
posted July 07, 2019 11:07 PM

Yes I got it, but I didn't yet install Era >272 so I don't have new events.

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


Hired Hero
posted July 09, 2019 05:18 AM
Edited by daemon_n at 14:56, 09 Jul 2019.

Bersy said:
Version 2.8.4
------------------------



This is like igrik's gaming pack, but on era 2.8.4.
Based on gog version. You have to buy your own version before downloading .DropBox DownloadLink

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


Admirable
Omnipresent Hero
Wog refugee
posted July 09, 2019 12:12 PM

Posting links to the free gog version is illegal in these parts of the world, tovarischi

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


Honorable
Supreme Hero
posted July 09, 2019 01:18 PM

You have to buy your own version before downloading )))
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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


Known Hero
posted July 13, 2019 07:38 PM

found this problem when.using the named function in 2.82.

when i define a named functions in a script named with a separate number in front, named functions work fine.

however, named functions cannot be recognized if script name does not start with number.

error message is like wrong function index.1...30000

eg. 99 zulu.erm works
eg. zulu.erm not working
eg. 99zulu.erm not working

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


Promising
Famous Hero
Researching Magic
posted July 13, 2019 07:58 PM

I also have the uncertain feeling that something with named functions does not work as it should when reloading scripts with F12
but I have no prove

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


Honorable
Supreme Hero
posted July 13, 2019 11:28 PM

What exactly does not work?
I play with phoenix.erm, converted to named functions, everything is fine.
Please, try 2.8.4 version and upload test mod demonstrating the issue.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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


Known Hero
posted July 14, 2019 08:18 AM
Edited by xericsin at 09:40, 14 Jul 2019.

Can 2.84 be installed over 2.82?

Edit:
I tried installing 2.84 over 2.82. Now it works.
The named functions can be correctly recognized, regardless of the script name.
So, my problem is gone at this moment.

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


Honorable
Supreme Hero
posted July 14, 2019 10:08 AM

I'm really glad to hear it. I should publish online service, converting old style ERM scripts to new style.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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

Tavern Dweller
posted July 14, 2019 01:08 PM

Someone try to play ERA 2 on macOS with Wine ?
I have a error:
Assert violation in file
"D:SoftProgrammingDelphisourceSRCEraGameExt.pas" on line 499
Error at address: $37BB8F5.
Message "Failed to load angel.dll"

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


Honorable
Supreme Hero
posted July 14, 2019 02:55 PM

What version did you try?
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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

Tavern Dweller
posted July 14, 2019 05:00 PM

2.8.4
But problem still saved on any version

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


Honorable
Supreme Hero
posted July 15, 2019 10:04 PM

Could you try running ToolsVfsTestVfsTest.exe and post screen with results?
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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


Honorable
Supreme Hero
posted July 15, 2019 11:11 PM

Salamandre, you have an error in 300 spartians script:

!#TM22:S130/244/1/4; tan player,
!?TM22&342;
!!IF&-343:Q1/21/3670016009/21/39321774/1^{Message from} {the High Council}:

3670016009 is too huge number. Did you fix it?
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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

Tavern Dweller
posted July 15, 2019 11:33 PM

Yes I run test and get this result:
https://yadi.sk/d/xoQBTOyJVQ9SzA

I upload log file and two screenshots

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 187 pages long: 1 20 40 60 80 100 120 140 160 ... 179 180 181 182 183 ... 187 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0846 seconds