|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted July 15, 2019 11:48 PM |
|
|
Bersy said: 3670016009 is too huge number. Did you fix it?
There is no error, 3670016009 displays 56k zealots.
Erm help:
For monsters you can set their numbers:
subtype=Nums*65536+subtype.
65536*56000+9
|
|
xericsin
Famous Hero
|
posted July 16, 2019 10:11 AM |
|
|
Having problem with battery.dll in 2.84
When clicking dwellings in town, this 4-pikemen window is shown.
Using only WOG base and battery.dll only.
|
|
Bersy
Honorable
Supreme Hero
|
posted July 16, 2019 11:39 AM |
|
|
|
Bersy
Honorable
Supreme Hero
|
posted July 16, 2019 11:41 AM |
|
|
|
AlexWh
Tavern Dweller
|
posted July 16, 2019 02:51 PM |
|
|
Well, may be someone can help me with error problem ? Please)
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted July 16, 2019 03:28 PM |
|
|
Bersy said:
Could you try -624951287?
Tried on era 2.72 and is correct too. But why change if no error? On Era 2.84 it displays as error?
|
|
Bersy
Honorable
Supreme Hero
|
posted July 16, 2019 07:41 PM |
|
|
It's a bit strange, that ERM allowed unsigned integer in source code, that exceeds limits.
Try:
!!VRv2:S3670016009;
!!IF:M^%V2^;
In my online ERM enhancer (converter to named functions and labels) there is a check for valid integer number, had to fix script during test :-)
____________
Heroes 3 Era and everything for it. Releases folder for releases.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted July 16, 2019 07:53 PM |
|
|
When I did that, it returned -624951287
yet the original script does not trigger any error
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted July 16, 2019 10:06 PM |
|
|
ok installed Era 2.84 and none of the 150 mods I have is wogified. Wogify is activated in wog options. So, what to do?
@Edit: Phoenix mod and any scenario using a dat file loads ok. But tew2, tew4, Atlantis etc does not activate scripts.
|
|
Bersy
Honorable
Supreme Hero
|
posted July 17, 2019 08:56 PM |
|
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted July 17, 2019 09:17 PM |
|
|
My bad, Atlantis starts after MP error. But tew4 just doesnt wogify at all. Get directly to 1st day, no PI, Triggers, nothing.
Conquistador starts but my .ini file isn't read properly, do not know why:
ini:
Better AI=1
Builder=1
Find me=1
script:
!#SN:Ey2/1/^Better AI^/^Player settings^/^Conquistador.ini^/?z1;
!#SN:Ey2/1/^Builder^/^Player settings^/^Conquistador.ini^/?z2;
!#SN:Ey2/1/^Find me^/^Player settings^/^Conquistador.ini^/?z3;
!#SN:Ey2/1/^Battles^/^Player settings^/^Conquistador.ini^/?z4;
!#SN:Ey2/1/^Neutrals^/^Player settings^/^Conquistador.ini^/?z5;
!#SN:Ey2/1/^Alliances^/^Player settings^/^Conquistador.ini^/?z6;
!#VRv2:Vz1; !#VRv3:Vz2; !#VRv4:Vz3; !#VRv5:Vz4; !#VRv6:Vz5; !#VRv7:Vz6;
!#SN:W^Better AI^/v2;
!#SN:W^Builder^/v3;
!#SN:W^Find Me^/v4;
!#SN:W^Playerchoice^/v5;
!#SN:W^Neutrals^/v6;
!#SN:W^Alliances^/v7;
Now it says all 3 mods are disabled. Works under Era 2.72, not 2.84
Ussain Bolt mod triggers division by zero first day error, only in 2.84. Did you change something at heroes w vars? Or maybe it comes from ini file as well
|
|
Bersy
Honorable
Supreme Hero
|
posted July 17, 2019 09:29 PM |
|
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted July 17, 2019 09:34 PM |
|
|
|
Bersy
Honorable
Supreme Hero
|
posted July 17, 2019 10:02 PM |
|
|
"\Conquistador.ini"
"\XXX" is not a valid MSDOS/Windows path in all your mods. Era 2+ implemented path handling wrongly, allowing such paths, while Era 2.8+ works the same as Windows/Wine.
"\XXX" means directory "XXX" on current drive. For C: it's "C:\XXX".
Relative paths must either start with directory/file name (like "Conquistador") or with ".\Conquistador", where "." means current directory in MSDOS/Windows/Unix.
____________
Heroes 3 Era and everything for it. Releases folder for releases.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted July 17, 2019 10:04 PM |
|
|
I don't understand much, can you be more specific on what changes should I make to path?
Thats for all mods with ini? or all mods
|
|
Bersy
Honorable
Supreme Hero
|
posted July 17, 2019 10:13 PM |
|
|
When you want to load ini file from "current" folder (when Heroes 3 is running, current folder is Heroes 3 folder), specify relative path without backslash prefix or with ".\" prefix.
Same goes for "*.dat" files or any other relative path.
"Conquistador.ini", not "\Conquistador.ini".
____________
Heroes 3 Era and everything for it. Releases folder for releases.
|
|
Bersy
Honorable
Supreme Hero
|
posted July 17, 2019 10:20 PM |
|
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted July 17, 2019 10:32 PM |
|
|
Bersy said:
"Conquistador.ini", not "Conquistador.ini".
Ok I can do that. But if I reupload the mods using ini files, with a new path in erm files, how people with lower Era version will read them? new path will workj only from 2.8 right?
____________
Era II mods and utilities
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted July 17, 2019 10:34 PM |
|
|
ok, correcting the path removed the division by zero error from Usain Bolt. Thanks
Can you try please Tew4 and see why it does not wogify?
____________
Era II mods and utilities
|
|
Bersy
Honorable
Supreme Hero
|
posted July 17, 2019 10:47 PM |
|
|
|
|