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: ERM help and discussion
Thread: ERM help and discussion This Popular Thread is 407 pages long: 1 50 100 ... 113 114 115 116 117 ... 150 200 250 300 350 400 407 · «PREV / NEXT»
JimV
JimV


Responsible
Supreme Hero
posted November 13, 2011 01:27 AM

Bersy, of course.  I don't expect any big changes will be necessary, but another pair of eyes is usually helpful for proof-reading.  As I recall, Cepheus also volunteered to proof-read.

Salamandre, thanks for the information.  I will add it to the discussion of object-placement at the end of the UN receiver section, in my next ERM Help update.

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


Admirable
Omnipresent Hero
Wog refugee
posted November 13, 2011 01:42 AM
Edited by Salamandre at 01:44, 13 Nov 2011.

Off topic: all dialogs from game are ertified in 99.ert. As Bersy desires that any further updates to the mod do not affect the scripts from the russian version, the english translation must follow precisely the order of %Z vars, which were fitting the russian syntax.

So sometimes is very hard to make things look correct, must adapt to the z vars order. The tedious part of the work was accomplished, now it remains certainly possible to be polished by an english native. Good luck!
____________
Era II mods and utilities

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


Responsible
Supreme Hero
posted November 13, 2011 04:27 AM

Since I will have other work soon, I have finally gotten around to making another WoG 3.58f ERM Help update:

CM4 trigger:  Added that this works for left-clicks as well as right-clicks.

OB Trigger:  the post-visit trigger !$OB does not work if the object has been disabled with OB:S.

IF:Q Receiver: Added the form IF:Q#1/#2, where #1 is a conditional flag number, and #2 is the number of a Z-variable.

MA:X Receiver (bit flags for creature abilities):

Revised bit-value 2048 from "no obstacle penalty" to "shoots ray instead of missile" plus reference to HC shooters thread.

OB Receiver:  added note about !$OB trigger, and Bersy's 1000 limit.

UN:I object placement notes at the end of the receiver table:

Added Salamandre's information about placing the buried grail object (36/0).

UN:O:  Added Salamandre's information that the red and yellow squares for a deleted object are changed to object type (OB:T?) zero, but retain their original subtype (OB:U?).

The updated files are at http://www.box.net/s/nv038pb3shsgnsuuum5a

Speaking of my next job, where can I download the English version of the Phoenix Mod?

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


Honorable
Supreme Hero
posted November 13, 2011 09:23 AM

Thanks you.
If you prefer to review the files themselves, then the only necessary thing is translation ( http://wogarchive.ru/file.php?id=180 ).
Other variant is to install the whole mod ( http://heroescommunity.com/viewthread.php3?TID=36772 ), check built-in manual by F1 and every feature specified there.

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


Promising
Famous Hero
posted November 13, 2011 05:33 PM
Edited by solitaire345 at 19:53, 13 Nov 2011.

Merged all notes except one (see below) from Jim's post with my help files. Also moved table of default search paths from UN reeciver page to format J8 to reduce size of UN receiver page Download

OB Receiver: added note about !$OB trigger, and Bersy's 1000 limit.

What is 1000 limit? I searched last few pages and found nothing about it.



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


Honorable
Supreme Hero
posted November 13, 2011 05:57 PM

ERM custom settings set-up with OB affect global static wog table of 1000 items length.

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


Responsible
Supreme Hero
posted November 13, 2011 06:02 PM

The original post is on the top of page 111 on my system:

"I also found in ERM that only 1000 objects can have custom hints or enabled/disabled settings. Static array, as usual."

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


Promising
Famous Hero
posted November 13, 2011 06:20 PM

Ah, I see. I checked back to page 112 only.. Download update
Download full help


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


Adventuring Hero
posted November 13, 2011 06:27 PM

I actually have a problem with Den of Thieves crashing the game when visiting, i tried to disable wogify, but it still crash.

I can't test on SoD because the map is in WoG format.

I used advanced option to change passability on some trees on the maps, can it be the problem ?
____________

My works

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


Promising
Famous Hero
posted November 13, 2011 06:55 PM

I used advanced option to change passability on some trees on the maps, can it be the problem ?
It might be if the trees overlap the entrance of your den of thieves


I can't test on SoD because the map is in WoG format.
If you have map editor's patch, you can click save as and then select map type in the drop-down box in save dialog under the file name.

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


Adventuring Hero
posted November 13, 2011 07:19 PM

Hello

Nothing, absolutly nothing, overlap the den of thieves entrance since it's in the middle of no where

I got the crash log and it says something about angel.dll

Time Stamp: Sun Nov 13 18:16:54 2011


Map Saved with:

WoG Version: 3 . 59
Built on Dec 12 2005

******************************_Exception_(trace_details)_******************************
### Location: 1 : 82
### Location: 8 : 28

EIP = {0x0047B6C5},  Access Violation. Attempt to {read} the inaccessible data at {0x00000008}

The Latest Executed ERM Receiver:

FU&y1<>116:E;
!!VRz2:S^Angel.dll^;
!!SN:Lz2/?v2;
!!VRz3:S^SaveGame^;
!!SN:Av2/z3/?v3;
!!VRz2:S^Qui

Register Context:


EAX = 0x00000000
EBX = 0x000000FF
ECX = 0x05B03C00
EDX = 0x00000004
ESI = 0x05B60FB0
EDI = 0x000001DE
EBP = 0x00289930
ESP = 0x002898F8

Stack Frame:

0x002898F8 : 0x00000000
0x002898FC : 0x00000000
0x00289900 : 0x0000003A
0x00289904 : 0x00000040
0x00289908 : 0x09210028
0x0028990C : 0x000000FF
0x00289910 : 0x000001DE
0x00289914 : 0x00000320
0x00289918 : 0x00000258
0x0028991C : 0x00000640
0x00289920 : 0x05B03970
0x00289924 : 0x05A71D00
0x00289928 : 0x00000000
0x0028992C : 0x00000000
0x00289930 : 0x0028999C
0x00289934 : 0x004EB076
0x00289938 : 0x00000002
0x0028993C : 0x00000004
0x00289940 : 0x00000000
0x00289944 : 0x00000000
0x00289948 : 0x0000003A
0x0028994C : 0x00000040
0x00289950 : 0x09210028
0x00289954 : 0x000000FF
0x00289958 : 0x000001DE
0x0028995C : 0x00000320
0x00289960 : 0x00000258
0x00289964 : 0x00000640
0x00289968 : 0x05A71D00
0x0028996C : 0x00000000
0x00289970 : 0x002899E0
0x00289974 : 0x05B60FB0
0x00289978 : 0xFFFF0001
0x0028997C : 0x00000000
0x00289980 : 0x05A71E28
0x00289984 : 0x05A71DB0
0x00289988 : 0x0048D810
0x0028998C : 0x0048D810
0x00289990 : 0x05A71E28
0x00289994 : 0x05A71DB0
0x00289998 : 0x002899C4
0x0028999C : 0x002899B0
0x002899A0 : 0x005FEAFC
0x002899A4 : 0x002899E0
0x002899A8 : 0x05B60FB0
0x002899AC : 0xFFFF0001
0x002899B0 : 0x002899C8
0x002899B4 : 0x004EAB5F
0x002899B8 : 0x002899E0
0x002899BC : 0x0DDB16F0
0x002899C0 : 0x05B60FB0
0x002899C4 : 0xFFFF0001
0x002899C8 : 0x00289A00
0x002899CC : 0x005FF638
0x002899D0 : 0x002899E0
0x002899D4 : 0x05A71D40
0x002899D8 : 0x0DDB16F0
0x002899DC : 0x0DDB16F0
0x002899E0 : 0x00000200
0x002899E4 : 0x00000002
0x002899E8 : 0x00000000
0x002899EC : 0x00000000
0x002899F0 : 0x00000000
0x002899F4 : 0x00000000
0x002899F8 : 0x00000000
0x002899FC : 0x00000000
0x00289A00 : 0x00289A18
0x00289A04 : 0x005FF20C
0x00289A08 : 0x00000001
0x00289A0C : 0xFFFF0001
0x00289A10 : 0x0000FFFF
0x00289A14 : 0x0FD29ED0
0x00289A18 : 0x00289A34
0x00289A1C : 0x006029C5
0x00289A20 : 0x00000001
0x00289A24 : 0x00000001
0x00289A28 : 0x05A71D40
0x00289A2C : 0x00000000
0x00289A30 : 0x0DDB16F0
0x00289A34 : 0x00289AA8
0x00289A38 : 0x00602B66
0x00289A3C : 0x0DDB16F0
0x00289A40 : 0x00000001
0x00289A44 : 0x00000001
0x00289A48 : 0x0DDB16F0
0x00289A4C : 0x05A71530
0x00289A50 : 0x00000061
0x00289A54 : 0x00000165
0x00289A58 : 0x05DB2657
0x00289A5C : 0x00000008
0x00289A60 : 0x05D85FF4
0x00289A64 : 0x05B60D9C
0x00289A68 : 0x00000001
0x00289A6C : 0x0DDB16F0
0x00289A70 : 0x0000002E
0x00289A74 : 0x00289AB0
0x00289A78 : 0x0063718E
0x00289A7C : 0xFFFFFFFF
0x00289A80 : 0x00289ABC
0x00289A84 : 0x005C9A43
0x00289A88 : 0x05B62DE0
0x00289A8C : 0x0D8B6E70
0x00289A90 : 0x05A71530
0x00289A94 : 0x05A71D40
0x00289A98 : 0x00289A48
0x00289A9C : 0x00289E9C
0x00289AA0 : 0x006389A0
0x00289AA4 : 0x00000007
0x00289AA8 : 0x00289ABC
0x00289AAC : 0x005FFA3D
0x00289AB0 : 0x0DDB16F0
0x00289AB4 : 0x005FFAC0
0x00289AB8 : 0x00000000
0x00289ABC : 0x00289EA8
0x00289AC0 : 0x004A9ED5
0x00289AC4 : 0x00000000
0x00289AC8 : 0x05D89CCA
0x00289ACC : 0x05A71530
0x00289AD0 : 0x0D8B6E70
0x00289AD4 : 0x00000000
0x00289AD8 : 0x00000000
0x00289ADC : 0x00000000
0x00289AE0 : 0x00000000
0x00289AE4 : 0x00000000
0x00289AE8 : 0x00000000
0x00289AEC : 0x00000000
0x00289AF0 : 0x00000000
0x00289AF4 : 0x05D89CCA
0x00289AF8 : 0x05A71530
0x00289AFC : 0x00289B24
0x00289B00 : 0x00289B14
0x00289B04 : 0x0D8B6E70
0x00289B08 : 0x01AE97BC
0x00289B0C : 0x00012CCB
0x00289B10 : 0x01AE97BC
0x00289B14 : 0x05D89CCA
0x00289B18 : 0x05A71530
0x00289B1C : 0x0D8B6E70
0x00289B20 : 0x00000003
0x00289B24 : 0x00289E7C
0x00289B28 : 0x0074CE29
0x00289B2C : 0x05D89CCA
0x00289B30 : 0x05A71530
0x00289B34 : 0x0D8B6E70
0x00289B38 : 0x00000000
0x00289B3C : 0x00000000
0x00289B40 : 0x00000000
0x00289B44 : 0x00000000
0x00289B48 : 0x00000000
0x00289B4C : 0x00000000
0x00289B50 : 0x00000000
0x00289B54 : 0x00000000
0x00289B58 : 0x00000000
0x00289B5C : 0x00000000
0x00289B60 : 0x00000000
0x00289B64 : 0x002A0000
0x00289B68 : 0x00000000
0x00289B6C : 0x00289C10
0x00289B70 : 0x7748AAE1
0x00289B74 : 0x00289C08
0x00289B78 : 0x00000001
0x00289B7C : 0x762B01E4
0x00289B80 : 0x00000000
0x00289B84 : 0x00000000
0x00289B88 : 0x00000000
0x00289B8C : 0x00000000
0x00289B90 : 0x00000000
0x00289B94 : 0x00000000
0x00289B98 : 0x00000000
0x00289B9C : 0x00000000
0x00289BA0 : 0x00000000
0x00289BA4 : 0x00000000
0x00289BA8 : 0x00000000
0x00289BAC : 0x00000000
0x00289BB0 : 0x02C89800
0x00289BB4 : 0x02C895F4
0x00289BB8 : 0x00000001
0x00289BBC : 0x2053534D
0x00289BC0 : 0x6578696D
0x00289BC4 : 0x65732072
0x00289BC8 : 0x7747E36C
0x00289BCC : 0x773A0234
0x00289BD0 : 0x00289D48
0x00289BD4 : 0x02BE01A4
0x00289BD8 : 0x02BE0000
0x00289BDC : 0x101D5488
0x00289BE0 : 0x05BE0000
0x00289BE4 : 0x003A0037
0x00289BE8 : 0x00000032
0x00289BEC : 0x00289CD8
0x00289BF0 : 0x00001A77
0x00289BF4 : 0x00000000
0x00289BF8 : 0x000006F4
0x00289BFC : 0x00360038
0x00289C00 : 0x00000032
0x00289C04 : 0x05BE0000
0x00289C08 : 0x101D5488
0x00289C0C : 0x02BE7AF8
0x00289C10 : 0x77483C74
0x00289C14 : 0x00000018
0x00289C18 : 0x773A028C
0x00289C1C : 0x00000000
0x00289C20 : 0x02C72F80
0x00289C24 : 0x02BE77E8
0x00289C28 : 0x02BE7904
0x00289C2C : 0x02C92210
0x00289C30 : 0x00289C48
0x00289C34 : 0x7748BB15
0x00289C38 : 0x00000008
0x00289C3C : 0x00000000
0x00289C40 : 0x00000000
0x00289C44 : 0x00000000
0x00289C48 : 0x00289CC8
0x00289C4C : 0x7748BA97
0x00289C50 : 0x00000000
0x00289C54 : 0x00000000
0x00289C58 : 0x77490E90
0x00289C5C : 0x00000000
0x00289C60 : 0x00289D40
0x00289C64 : 0x00000008
0x00289C68 : 0x7748BAB5
0x00289C6C : 0x773A02AC
0x00289C70 : 0x00000004
0x00289C74 : 0x00000001
0x00289C78 : 0x00000000
0x00289C7C : 0x00000000
0x00289C80 : 0x00000000
0x00289C84 : 0x00000000
0x00289C88 : 0x00000000
0x00289C8C : 0x00000000
0x00289C90 : 0x00000004
0x00289C94 : 0x00289D84
0x00289C98 : 0x7748389E
0x00289C9C : 0x00000000
0x00289CA0 : 0x77490E90
0x00289CA4 : 0x00000000
0x00289CA8 : 0x00000000
0x00289CAC : 0x00BE0000
0x00289CB0 : 0x00289C6C
0x00289CB4 : 0x00000002
0x00289CB8 : 0x00289E78
0x00289CBC : 0x774C1ECD
0x00289CC0 : 0x00555CEC
0x00289CC4 : 0x76276B9E
0x00289CC8 : 0x7628E54C
0x00289CCC : 0x0000023C
0x00289CD0 : 0x00001670
0x00289CD4 : 0x00000F84
0x00289CD8 : 0x00289E88
0x00289CDC : 0x10880082
____________

My works

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


Responsible
Supreme Hero
posted November 13, 2011 07:34 PM

Sometimes a map gets corrupted and crashes and the last executed ERM was not the real cause (the error message will show it whether it is the cause or not).  To test whether it is, if you post or email me the saved game I can disable the script which contains those commands and see what happens.

I have Era 1.8 installed.  What version of Era are you using (or is it TE)?

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


Promising
Famous Hero
posted November 13, 2011 07:37 PM

Delete all the stack frame.. I don't think this can help in any way..

Did you use any custom scripts? I don't remember any of them using SaveGame function.

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


Honorable
Supreme Hero
posted November 13, 2011 07:46 PM

Try to delete script98.erm and test again.

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


Promising
Famous Hero
posted November 13, 2011 07:55 PM

@Berserker: I posted this in edit of my older post, but you probably didn't notice this, so I bump my message again:
Quote:

@Berserker Do you know how are files h3wog.lod and h3custom.lod loaded?

That code for loading these files was decompiled to this:
Quote:

   if ( LoadFile("h3custom.lod", 1) )
     AddLod(5);



So I created a lod file test.lod with dialog template test.txt and wrote a test script to load my file:


Quote:
ZVSE
!?PI;
!!VRz1:S^test.lod^;
!!SN:Xz1;
!!SN:X?v1;
!!SN:E7815012/1/v1/1; LoadFile("test.lod", 1);
!!SN:E7692379/1/6; AddLod(6)
!!DL1:N^test.txt^;
!!DL1:S1;



However this didn't work as I expected and I got an error from "GetSpreadsheet". What else has to be done to make new lod work?


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


Adventuring Hero
posted November 14, 2011 05:52 AM

@Jim

I have the era from the era + wog package, it is 1.8 or 1.81 i don't remember

I mailed you the map, if you absolutly need a save i'll make one for you

@Bersey
Deleting srcipt 98 don't change anything, but if i understand correctly it just serve to auto save ?
____________

My works

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


Honorable
Supreme Hero
posted November 14, 2011 12:12 PM

Quote:
@Berserker Do you know how are files h3wog.lod and h3custom.lod loaded?

That code for loading these files was decompiled to this:

Look at c:\Era\Tools\Era\Sources\Era 1.9 Delphi\lodman.pas

Era 1.91 automatically loads all lods with *.pak extension and gives them priority over standard ones.

There is global table of static C++ structures TLod (400 bytes each one). All references to this table are redirected in wog to 28077D0. Game calls constructors for all 8 default lods (ZVS renamed two of them to h3wog and h3custom). Then lods are registered as containing defs/bmps-txts/wav-s. ZvsAddLodToList registers lods as having items of all three types.

Quote:
I got the crash log and it says something about angel.dll

Crash is in heroes section.

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


Hired Hero
posted November 14, 2011 01:01 PM

HI!

I have a new question. If I use !# and I load a saved file will it run again? Or only run when I wogified a map? If I make a new hero use !# and in campaign loaded the new map will this recalculate the heroes parameters or uses the settings in maps or what else?

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


Responsible
Supreme Hero
posted November 14, 2011 03:54 PM

Quote:
If I use !# and I load a saved file will it run again?



Click on Tutorials in ERM Help and do a search (Ctrl-F) for !#.  You will see this:

"Finally, instructions are just like receivers, except that they run only one time- when the map begins. They always begin with !#."

Really, there is very little I can tell you which is not in ERM Help.  I don't know why people who want to learn ERM won't read it.

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


Hired Hero
posted November 14, 2011 07:41 PM

I can read and I am a programmer. I did some bank softwares in my country. But you do not answers my question or did not understand.
If ir run when the map are loaded first then is it run when I load a saved game because then the map were loaded again. Some maked ERM working badly when uses in campaign. Changes the parameters of a hero. If a hero has for example 10 spell power in the next scene he has 2 becasuse not use !# but use !!.
I asked If I change !! to !# how will it works? You do not know it I think. Some crash will not crash if I started a new game used wogify and after it I load the old game. I think it is realy error (!# works not good).
I am 43 year old man and has 2 childer and i working at 7 to 17. I making this for my hobby not to be expert. So I only ask not for trouble you.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 407 pages long: 1 50 100 ... 113 114 115 116 117 ... 150 200 250 300 350 400 407 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.7619 seconds