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 - Source code - Help and discussion
Thread: ERA II - Source code - Help and discussion This thread is 11 pages long: 1 2 3 4 5 6 7 8 9 10 11 · «PREV
Salamandre
Salamandre


Admirable
Omnipresent Hero
Wog refugee
posted March 18, 2021 03:41 PM

I understand that. The main problem there is putting together portions of scripts you asked around. Each may be correct, but when together, that makes a mess : look at that FU25003 for example, it should come only once, yet it comes a dozens of times. You can't track a crash if the script isn't organized first.

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


Disgraceful
Undefeatable Hero
posted March 18, 2021 05:38 PM

but the problem isn't with my scripts. the problem is a wog script issue. that's plain to see in my initial post on it. start of a new week, the script it's referring to isn't mine, and i have no events set for that week. only thing i can guess is a wog script that i have disabled in the settings somehow activating and clashing with either the placement of heroes at the end of the week or the in-game date itself. first time i've had this issue, after multiple test playthroughs on this map. the map itself is valid; no issues.

the reason i posted my scripts, is in case anyone wants to help update them in order to run era 3, which would likely solve the issue i'm having with an older era build(or wog).

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


Promising
Supreme Hero
Researching Magic
posted March 18, 2021 07:50 PM
Edited by RerryR at 19:55, 18 Mar 2021.

I checked your scripts and I see no problem at all. I can load them with the newest ERA 3.3.7. There is no error message at the start.

The only thing I figured was a crash when engaging in a fight but this crash disappeared when I removed these lines:

(any of them could cause problems I don't know)

!!UN:C7727293/4/9999; removes hell steed fire shield
!!UN:C7735078/4/9999; removes hell steed fire shield
!!UN:C7719484/4/9999; removes hell steed fire wall
!!UN:C7721205/4/222; removes santa gremlin guards
!!UN:C7994557/1/5; removes nightmare death stare
!!UN:C7727580/4/9999; remove mirth from sylvan centaurs
!!UN:C7735444/4/9999; remove mirth from sylvan centaurs

!?GM0;
!!UN:C7727293/4/9999; removes hell steed fire shield
!!UN:C7735078/4/9999; removes hell steed fire shield
!!UN:C7719484/4/9999; removes hell steed fire wall
!!UN:C7721205/4/222; removes santa gremlin guards
!!UN:C7994557/1/5; removes nightmare death stare
!!UN:C7727580/4/9999; remove mirth from sylvan centaurs
!!UN:C7735444/4/9999; remove mirth from sylvan centaurs
!!UN:C4608221/2/59792; remove sea dogs casting ability


So what you need to do is download the newest ERA and the new WoG scripts. but you will need a clean install. Installing over your old ERA 1 will NOT work.

I always recommend the assembly where everything is preinstalled and updated for you:
http://wforum.heroes35.net/showthread.php?tid=5817&page=1
take eng full version and install in an empty folder. Done.
In this assembly you can really disable every mod and you will just get a pure H3 ready for modding.

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


Disgraceful
Undefeatable Hero
posted March 18, 2021 08:45 PM

thanks, i'll give it a shot. you wouldn't happen to know the UN:C codes for the last 3 creature hardcoded abilities i want removed, do you?

also, does era 3 have an improved script help page? because the one i have leaves out a lot.

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


Promising
Supreme Hero
Researching Magic
posted March 18, 2021 09:04 PM

fred79 said:
thanks, i'll give it a shot. you wouldn't happen to know the UN:C codes for the last 3 creature hardcoded abilities i want removed, do you?
No I dont

fred79 said:

also, does era 3 have an improved script help page? because the one i have leaves out a lot.
If you refer to the ERM documentation then all I can say is that the Russian manual gets updates but the English manual is still the same as it was a couple of years ago. Still good thou. You can also use google translate for the Russian ERM help file.
+nearly everything has already been done by someone, you just need to know in which mod to look for information.

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


Disgraceful
Undefeatable Hero
posted March 18, 2021 10:56 PM

from what i understand, all of the UN:C codes would no longer work, as the addresses are different for different versions. so i would have to have them updated before i could even try this. i already have 99.9% of the functionality i need now.

if only there was a manual somewhere that displayed all of the game's hex info. that would be a vital addition for modders.

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


Honorable
Supreme Hero
posted March 19, 2021 01:33 PM

Probably this patch causes a crash:
!!UN:C7721205/4/222; removes santa gremlin guards
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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


Disgraceful
Undefeatable Hero
posted March 19, 2021 02:03 PM

how can i remedy that? is there a cheat sheet for UN:C codes yet? they change based on the era version, correct?

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


Honorable
Supreme Hero
posted March 19, 2021 04:32 PM

By removing patches one one by and checking for crashes. Btw, this topic is for Era source code, not for ERM bugs :-)
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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


Disgraceful
Undefeatable Hero
posted March 19, 2021 05:43 PM

i started here because i thought it could be an era 1.8/wog conflict. but, thanks.

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


Adventuring Hero
posted January 16, 2022 02:47 PM
Edited by gamemaster at 14:49, 16 Jan 2022.

Hi,

After some time I am back .

@Bersy

1) Can you provide source file for FastRand.pas. File is not included on github.

2) This line can be translated github
from: MaxLen: 268 435 455 áàéò (2 147 483 647 áèò) - detects single, double, packet and all odd errors
to: MaxLen: 268435455 bytes (2147483647 bits) - detects single, double, packet and all odd errors

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


Honorable
Supreme Hero
posted January 22, 2022 02:07 AM

2) Done, thanks.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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


Adventuring Hero
posted September 25, 2022 05:31 PM
Edited by gamemaster at 17:34, 25 Sep 2022.

@Bersy

Can you check this line
Github-PatchForge.pas

Seem to me that "OPCODE_JMP_SHORT_CONST8" should be used instead of "OPCODE_JNP_SHORT_CONST8"

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 11 pages long: 1 2 3 4 5 6 7 8 9 10 11 · «PREV
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0389 seconds