|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted November 25, 2013 05:30 AM |
|
|
Thanks, is there any additional thing to do, as this triggers crash if reload game after running this code.
|
|
hawaiing
Adventuring Hero
|
posted November 25, 2013 06:12 AM |
|
|
Salamandre said: Thanks, is there any additional thing to do, as this triggers crash if reload game after running this code.
I test the following scripts.
doesn't get crash.
ZVSE
!?CM0&1000;
!!CM:F?y1 I?y2 S?y3;
!!FU|y1<>512/y2<>12/y3<>14:E; [R-Click end-turn button]
!!CM:R0;
!!UN:C6918840/4/?y1; [pAdvManager]
!!SN:E4302672/2/y1; [ShowOracleMap]
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted November 25, 2013 06:34 AM |
|
|
You are right, but it crashes the game when you visit an object which triggers this code. Looks like on right-click it works fine, will investigate about.
!$OB63/55&1000;
!!PO998:B0/?y1;
!!FU&y1<>36:E;
!!UN:C6918840/4/?y1; [pAdvManager]
!!SN:E4302672/2/y1; [ShowOracleMap]
This crashes the game on reload.
|
|
hawaiing
Adventuring Hero
|
posted November 25, 2013 06:50 AM |
|
|
Salamandre said: You are right, but it crashes the game when you visit an object which triggers this code. Looks like on right-click it works fine, will investigate about.
!$OB63/55&1000;
!!PO998:B0/?y1;
!!FU&y1<>36:E;
!!UN:C6918840/4/?y1; [pAdvManager]
!!SN:E4302672/2/y1; [ShowOracleMap]
This crashes the game on reload.
something strange
the following still OK.
!$OB63/55&1000;
!!UN:C6918840/4/?y1; [pAdvManager]
!!SN:E4302672/2/y1; [ShowOracleMap]
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted November 25, 2013 06:57 AM |
|
|
Thanks, I solved, looks like the PO screws it. Divided in two parts of code and now it works.
[...set SN:W on visit if PO right...]
Then:
!$OB63/55&1000;
!!SN:W^R99obelisk^/?y1;
!!FU&y1<0:E;
!!UN:C6918840/4/?y1; [pAdvManager]
!!SN:E4302672/2/y1; [ShowOracleMap]
!!SN:W^R99obelisk^/-1;
____________
Era II mods and utilities
|
|
xeen
Tavern Dweller
|
posted November 28, 2013 10:47 PM |
|
|
Is there any trigger that gets triggered if a specific hero loses in combat?
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted November 28, 2013 11:23 PM |
|
|
Not exactly, but you can check after each battle if he is alive.
|
|
xeen
Tavern Dweller
|
posted November 29, 2013 06:02 PM |
|
|
Thank you Salamandre, I figured it out.
Do you know if there is anyway to play .wav files that are longer than 10 seconds using ERM?
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted November 29, 2013 07:39 PM |
|
|
No, but you can replace one of the wav's triggered by one object (ex: mystical garden), which can be any length. Then, depending what you want, you can have that track when near that object ID.
|
|
tomkele
Tavern Dweller
|
posted December 14, 2013 03:54 AM |
|
|
WoG crashes
Hi there, I'm new to the forum and I seek help.
With almost every artifact that I pick up comes some error causing crash.
I THINK that it's caused by some kind of ERM thing but I don't really know because I'm green at this.
Quote: Time Stamp: Fri Dec 13 23:53:03 2013
Map Saved with:
WoG Version: 3 . 59
Built on Dec 12 2005
******************************_Exception_(trace_details)_******************************
### Location: 1 : 82
### Location: 8 : 28
EIP = {0x004E281D}, Access Violation. Attempt to {read} the inaccessible data at {0x0000014D}
The Latest Executed ERM Receiver:
UN63/?y-1; [Check if Passable Terrain script is enabled: y-1]
!!FU14009&y-1=1;
[Camp Fire is
Register Context:
After this there is a load of numbers and characters that I do not know what they are for.
Similiar error occur every random map I play. Game goes smoothly as far as I don't take any artifacts from the ground.
I will try to provide as much information as I can:
I'm playing on WindowsXP Home Edition SP3. Installed game in that order: HoMM3 Complete -> Era 2.46 -> HoMM3HD ; Also tried another order by swaping Era with HoMM3HD but that didn't help.
I'm using very few WoG modifications. Passable Terrain is disabled.
I can provide with save file and settings.dat if requested.
Would greatly appreciate some help here, I love few of WoG modifications but it's a shame that I can't play even one full month without crash.
____________
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted December 14, 2013 04:12 AM |
|
|
Here are two things you could do:
a) if crash is constant upload a save right before it occurs and specify the list of mods used.
b) install wog revised mod, press F12 when reloading game and see if still problems (should not).
I believe Bersy should release next era with wog revised at base, the original still has many problems and eats our energy when answering the obvious.
|
|
tomkele
Tavern Dweller
|
posted December 16, 2013 06:16 PM |
|
|
Sorry for taking so long.
I discovered what caused that error. Apparently it is caused by right-clicking at picked up artifact right after picking it up, as showed at that picture:
http://oi41.tinypic.com/2s9dutk.jpg
Next thing that happens is error.
Here are links for settings with currently selected modifications from WoG:
http://speedy.sh/CtKkj/settings.dat
And here is my save file that crashes if certain thing is done:
http://speedy.sh/YPVtb/6-Red.GM1
Now I know how to avoid that one error but if there is any solution to this problem I would be grateful.
____________
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted December 16, 2013 08:20 PM |
|
|
I can't reproduce the error, all ok here.
Edit: when I tried with HD mod, the message pops on the right side, weird. Try without HD and see if ok.
|
|
Bersy
Honorable
Supreme Hero
|
posted December 27, 2013 07:25 PM |
|
|
4E2C70 - thiscall (*hero) (*art => 8 bytes, slot or -1) - equip art
4E2E40 - thiscall (*hero) (slot) - unequip art
4E2AB0 - thiscall (*hero) (art, slot) - check if artifact can be put in the slot
!?FU56000; equip art
; x1 - hero or - 1 for current
; x2 - art type
; x3 - art subtype or -1 (usually for non-scrolls)
; x4 - slot or -1
!!HE-1&x1=-1:N?x1;
!!UN:C6919480/4/?y1; [y1 - BASE]
!!VRy2:Sx1*1170+y1+136736; [y2 - pointer to hero structure]
!!VRy5:S3*4+10784128-4; [y5 - pointer to y3]
!!VRy3:Sx2;
!!VRy4:Sx3;
!!SN:E5123184/2/y2/y5/x4;
!?FU56001; unequip art
; x1 - hero or - 1 for current
; x2 - slot
!!HE-1&x1=-1:N?x1;
!!UN:C6919480/4/?y1; [y1 - BASE]
!!VRy2:Sx1*1170+y1+136736; [y2 - pointer to hero structure]
!!SN:E5123648/2/y2/x2;
!?FU56002; check if artifact can be put in slot possible replacing existing art (like you do with mouse clicks)
; x1 - hero or - 1 for current
; x2 - art
; x3 - slot
; return v1 = 1 (yes) or 0 (no)
!!HE-1&x1=-1:N?x1;
!!UN:C6919480/4/?y1; [y1 - BASE]
!!VRy2:Sx1*1170+y1+136736; [y2 - pointer to hero structure]
!!SN:E5122736/2/y2/x2/x3;
!!VRv1:&1;
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted December 27, 2013 07:40 PM |
|
|
thanks a bunch, this will solve the switch artifacts nightmare I had in the last week.
____________
Era II mods and utilities
|
|
dtnmang
Hired Hero
|
posted January 03, 2014 03:27 PM |
|
|
Is it possible to make a script that gives Leadership a special sub-ability 'Forced March', with which you can get morale penalty for 3 full days but gain bonus movement points during those 3 days? It should have a cooldown for balance reasons.
____________
|
|
artu
Promising
Undefeatable Hero
My BS sensor is tingling again
|
posted January 03, 2014 04:02 PM |
|
|
Is there a way to cancel Power Lich's Death Ripple that comes with creature experience. I'm tired of it interrupting my Blind spells and strategy.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted January 03, 2014 04:25 PM |
|
|
You have to paste this in one of the active scripts:
!?GM0; [triggers on reload game]
!!EA65:B6//////////////; [clean 1st ability]
Then save game and reload.
____________
Era II mods and utilities
|
|
artu
Promising
Undefeatable Hero
My BS sensor is tingling again
|
posted January 09, 2014 10:58 PM |
|
|
Sal, since you change graphics a lot with ERM, thought I would give it a shot... Is it possible to implement the new town graphics of HoTA to Era. (Town's map interface changes when it's upgraded to castle or city hall).
The new Fort Hill would also be a nice addition.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted January 09, 2014 11:05 PM |
|
|
|
|