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 220 pages long: 1 30 60 90 120 ... 143 144 145 146 147 ... 150 180 210 220 · «PREV / NEXT»
Baronus
Baronus


Legendary Hero
posted December 02, 2017 07:50 PM

Game reads first from mods folder and if theres nothing next from h3/data. So mods folder overwrite all h3/data files. Editor reads as I see txt tables finally from h3/data  but cant read them from wog.pac but can read defs from wog.pac!!!! Completly crazy :-) so its final solution.
1. Open editor
2. It gives: zeditor.txt missed
3. Put extracted zeditor.txt i h3/data folder
4. Open editor - zcraits.txt missed
5. Extract zcraits.txt..
etc.
Do it for the time when you run editor :-)
Its about 7 tables editor, objects, creatures etc.
We can extract all these and give pack as fix in first post or in era installer.

Szaman as you see better is give files and it is faster :-) This language problem can destroy a lot of days to searching solution! All other languages should remember this. This forum is like heores ó is suprted but ąę śćżż as you see :-):-)

I dont tested wog but it looks I can play old Wog and no problem. I replaced only dlls and heroes3.ini. Its 4 or 5 files only! It will be good add update to old version to not all Era its maybe 5 MB.

Saves. Maybe it will be solution to open and overwrite? And not to play again. Should be tested.

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


Honorable
Supreme Hero
posted December 02, 2017 07:52 PM

Salamandre, delete _HD_Data_Compatibility#Erano hota maps.bin or something like that.
Will be fixed in upcoming release.

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


Known Hero
posted December 02, 2017 08:02 PM
Edited by szaman at 20:10, 02 Dec 2017.

Quote:
It gives: zeditor.txt missed

It gives me only zeditr.txt missed in my WoG.pac there is no zeditor.txt

Even if i add zeditr.txt the editor shows the same error... missing zeditr.txt

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


Honorable
Supreme Hero
posted December 02, 2017 09:14 PM bonus applied by Maurice on 08 Jan 2018.
Edited by Bersy at 21:15, 02 Dec 2017.

MSCOMCTL.OCX possible solution

Version 2.6.2
------------------------
[+] Added localization support for ERM scripts. All Lang*.json files are loaded and merged into single dictionary of key => value pairs with language data.
Json files must be saved in UTF-8 encoding with preferably Unix line endings (#10 = 0x0A). The format is the following:

{
 "unique global key": "translation",
 "another key": "another translation"
}

During file loading text is converted from UTF-8 (Unicode, i.e Russian, Polish, Chinese and any other language is supported) into ANSI-encoding, used by player's operational system, ex. Windows-1251.
Thus you may ship the translation, other people may open and edit it without loss and characters, not representable on particular PC, will be replaced with "?".

Real example:

{
 "eqs.this_day_savegame_name": "@day@_@player@",
 "eqs.end_turn_autosave_name": "@day@_@player@_End",
 "eqs.quicksave_name":         "@day@_@player@_Quick",
 "eqs.saved_msg":              "Saved!",
 "eqs.quicksaved_msg":         "Quicksaved!"
}

It's recommended to prefix each key with string, unique for mod or author, like "pm." for "Phoenix Mod".

Translations may have parameters in the form of "@parameter name@". Those parameters are replaced with actual values during translation.
New ERM command !!SN:T is used to translate strings by key.
!!SN:T(key)/?(z-variable to place result to)/(parameter name 1)/(parameter value 1)/(parameter name 2)/(parameter value 2)...;

Example:

!!OW:R-1/6/?y1; y1 - player's gold amount
!!SN:T^test.gold_amount_report^/?z2/^gold^/y1;
!!IF:M^%Z2^; prints "You have 12850 gold left. Not bad!"

my test.json:

{
 "test.gold_amount_report": "You have @gold@ gold left. Not bad!"
}

[+] Added possibility to set secondary skills texts without z-variables dependence. SN:H^secskill^/skill 0..27/0 (name) or skill level/new hint.
[+] Added GET-syntax for all SN:H commands, allowing to get previously set hint for objects or current skill/specialty texts for heroes.
[+] v1-v10 and z1 will be restored after (OnKeyPress) event to the value, they had before event.
[+] Added fixes by Algor for 30 wog - enhanced secondary skills.erm, 75 wog - secondary skills boost.erm and 78 wog - wogify.erm. No more hardcoded numbers, !!SS is used instead.
[+] "Quick Saving" script is converted into default standalone mod, using named functions, unique SN:W variables and Era 2.6.2 localization means. Mod is now compatible with almost any other mod.
[+] Added msvcr90.dll (Microsoft Visual C++ Redistributable 2009) to support plugins, written with this dependency.
[+] Added meaningful messages to many asserts in code, making assertion crashes easier to understand.
[*] Each *.bin patch obtains unique name prefix, no more conflicts with 'no hota maps.bin', shipped with HD mod.
[*] Yona creature abilities are now off by default and need to be manually switched on via mod ini file.
[-] Fixed bug: SN:H^object^/x/y/z/hint didn't update hint.
[-] Removed Jim Vogan's scripts from WoG mod.

Download. Releases folder.

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


Honorable
Supreme Hero
posted December 02, 2017 09:16 PM

szaman, try to simply open map in file manager. It will be opened in editor without errors.

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


Admirable
Omnipresent Hero
Wog refugee
posted December 02, 2017 09:24 PM

Can we install 262 over previous, or clean?

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


Honorable
Supreme Hero
posted December 02, 2017 09:27 PM

Yes, you can.
____________
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 December 02, 2017 09:34 PM

Great, it works, thanks. Tell me which version to upload to wakeofgods.org, is this latest or you will update shortly?

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


Legendary Hero
posted December 02, 2017 09:38 PM
Edited by Baronus at 21:53, 02 Dec 2017.

Baronus

2.62 hoho! Fast. Can you post only upgrade not 84 MB? :-)
Opening via mod manager crashes too...
I have zeditr :-)
There are 5 ones:
zeditr
zcrait
zeobjts
crtrait0
zcrgn0
H3/data
Extraxt it and add pack or add it in installer in data.
Next if dont work.
Go to Mods/wog/erapluggins
remove game bug fixes.era
It crashing my game.
And thats all. Works normal.
And in tools/exebuilder
"out" is missed! I have old one.
That are major bugs and fixes!
Now Sunday is nearby. Day for Good no work! :-)

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


Adventuring Hero
posted December 02, 2017 09:53 PM
Edited by gamemaster at 22:23, 02 Dec 2017.

Solving MSCOMCTL.OCX problem

1. Solution - Instaling

Download and install "VisualBasic6-KB896559-v1-ENU.exe".
File is located here
Follow this instructions.

note: i did not do this so cant say will it work.

2. Solution - Extracting
This solution is far better but require some totalcommaned extensions ( WCRes here). This is my way
- Go to microsoft site and download "VisualBasic6-KB896559-v1-ENU.exe" here
- Ctrl+PageDown to open exe as zip file.
- Extract MSCOMCTL.OCX file to ObjTxtEditor folder
- No registration or other wincrap needed, just run objtxteditor.exe

Whole problem occur because there is no Microsoft Visual Basic 6.0 Common Controls installed on machine. That can happens on relatively clear newer windows installations.

now to see what 2.6.2 brings to us

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


Honorable
Supreme Hero
posted December 03, 2017 12:20 AM

Quote:
Can you post only upgrade not 84 MB? :-)

Sorry, but all packages will be released in the full version, no incremental updates. The process is automated. You can install over previous versions.

Out.exe is created from In.exe on first ExeBuilder run.


----
Ok, I will include common controls library as well in the next release.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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


Known Hero
posted December 03, 2017 12:57 AM

Quote:
Baronus

2.62 hoho! Fast. Can you post only upgrade not 84 MB? :-)
Opening via mod manager crashes too...
I have zeditr :-)
There are 5 ones:
zeditr
zcrait
zeobjts
crtrait0
zcrgn0
H3/data
Extraxt it and add pack or add it in installer in data.
Next if dont work.
Go to Mods/wog/erapluggins
remove game bug fixes.era
It crashing my game.
And thats all. Works normal.
And in tools/exebuilder
"out" is missed! I have old one.
That are major bugs and fixes!
Now Sunday is nearby. Day for Good no work! :-)



No good... my editor is still complaining about the missing zedit...
activating the editor via mod manager gives nothing...

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


Honorable
Supreme Hero
posted December 03, 2017 01:26 AM

szaman, try running map file directly by double clicking it.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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


Known Hero
posted December 03, 2017 02:27 AM

Still nothing the same error... missing zedirt.txt

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


Promising
Undefeatable Hero
My BS sensor is tingling again
posted December 03, 2017 03:42 AM
Edited by artu at 14:25, 03 Dec 2017.

Hello, Bersy. It's great to see you back and working on Era once again. I just moved to another town and I dont have Windows installed yet, so I cant check stuff out for myself but

Bersy said:
[-]Removed Jim Vogan's scripts from WoG mod.


Which ones? Did he ask you to? If not, why remove them? Extracting features with an update always leaves the users in a dilemma, should they update for improvements or stick to outdated versions for those features they will miss. It's just unnecessary. Can you elaborate on what got the axe and how come?

____________
Are you pretty? This is my occasion. - Ghost

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


Honorable
Supreme Hero
posted December 03, 2017 10:47 AM

Quote:
Still nothing

Ok, thanks, I'll try to fix editor as soon as possible.

Quote:
Hello, Bersy. It's great to see you back and working on Era once again.

Hi, artu, glad to see you )

Quote:
Which ones? Did he ask you to?

80 wog - jv scripts.erm
script80.ers
script81.ers
script82.ers
script83.ers

I deleted all non-WoG 3.58 scripts from WoG 3.58 for several reasons:

-) 3.58 scripts use deprecated technics, are written in old style.
-) any mod over 3.58 will not expect any other scripts, consuming IDs of variables, functions and options.
-) it's Era's spirit to keep everything in different mods.

Thus my "Quick Savings" script was removed from WoG mod and converted to up-to-date standalone mod, compatible with everything.

You can still copy those files to ModsNew ModDatas and play with them.
____________
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 December 03, 2017 11:20 AM
Edited by Salamandre at 11:21, 03 Dec 2017.

The quick savings mod was updated too? Because wakeofgods.org/mods had already a stand alone version of it where I specified I upgraded the f5 (quick?) save to unlimited for that day, so you can have multiple saves for each day. It was here:

!?FU77003;
!!SN:W^InChat^/?y1;
!!SN&y1=1:Q;

!!SN:X?y1;
!!FU&y1<>116:E;

!!SN:L^Era.dll^/?y1 Ay1/^GetGameState^/?y2 Ey2/0/?y10;
!!FU|y10<>y11/y10<>4205280:E;
!!SN:W^Val_quick^/?y17;
!!VRy17:+1;
!!SN:W^Val_quick^/y17;
!!VRy7:Sc0;
!!VRy1:Sc-1%7+1;
!!VRy8&y7<10:S0;
!!VRy9&y7<100:S0;
!!VRz2&y7<10:S^Day %Y9%Y8%Y7, %Y1_%Gc_Quick_%Y17^;
!!VRz2&y7>9/y7<100:S^Day %Y9%Y7, %Y1_%Gc_Quick_%Y17^;
!!VRz2&y7>99:S^Day %Y7, %Y1_%Gc_Quick_%Y17^;
!!SN:L^Angel.dll^/?y1 Ay1/^SaveGame^/?y2 Ey2/0/z2/1/0/0/1;
!!VRz1:S^{~w}Quicksaved (%Y17)!{~}^;
!!FU77998:P;
!!SN:X0/1;
!!SN:Q;

Then val_quick is reset every day. Can we still keep that or must be redone in this or another way?

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


Honorable
Supreme Hero
posted December 03, 2017 02:09 PM

Probably, it would be better to allow special "unique N-th day" savegame. On pressing CTRL + S probably. It will generate many, many saved games, but it's what you want, right?

Mod on wakeofgods is out of date, no need to keep it.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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


Supreme Hero
Work at Magic Dimmension
posted December 03, 2017 03:39 PM

I already done my own quicksave mod

you need only my edited "era - quick savings.erm" and my plugin "skirmish.era" (the latter doesn't work properly without hd mod, because there is no cursor on the window)

I tweaked quicksave to best fit my desires also done the skirmish plugin which just loads inputed text to z999 (prefix for quicksaves for one match)

Should I post it as separate mod or do you wish to import it from my mod? also please do a possibility to input text to z-var without hacks like one in my plugin (I used special window with windows controls).

Also there is two or three fixes for wogify scripts (fixing problem if variables are out of range - 28+ for secondary skill and hero past xeron) which could raise erm error if you get wrong variable values.

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


Honorable
Supreme Hero
posted December 03, 2017 05:49 PM

Quote:
Should I post it as separate mod

Yes, with unique name, please.

Quote:
also please do a possibility to input text to z-var without hacks like one in my plugin

Already implemented. IF:E.

Quote:
Also there is two or three fixes for wogify scripts (fixing problem if variables are out of range - 28+ for secondary skill and hero past xeron) which could raise erm error if you get wrong variable values.

Could you share fixes with description?
____________
Heroes 3 Era and everything for it. Releases folder for releases.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 220 pages long: 1 30 60 90 120 ... 143 144 145 146 147 ... 150 180 210 220 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.2317 seconds