|
Thread: ERA II - Source code - Help and discussion | This thread is pages long: 1 2 3 4 5 6 7 8 9 10 11 · «PREV |
|
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.
|
|
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).
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
Bersy
Honorable
Supreme Hero
|
posted March 19, 2021 01:33 PM |
|
|
|
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?
|
|
Bersy
Honorable
Supreme Hero
|
posted March 19, 2021 04:32 PM |
|
|
|
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.
|
|
gamemaster
Adventuring Hero
|
posted January 16, 2022 02:47 PM |
|
|
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
|
|
Bersy
Honorable
Supreme Hero
|
posted January 22, 2022 02:07 AM |
|
|
|
gamemaster
Adventuring Hero
|
posted September 25, 2022 05:31 PM |
|
|
@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"
|
|
|