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: Strange error?
Thread: Strange error?
Lord_Immortal
Lord_Immortal


Famous Hero
DoR Dev Team
posted April 28, 2012 08:28 PM

Strange error?

I tried to replace the Lava Sharpshooter with the Creegan Captain from Might and Magic VII.I didn't touch the scripting part,only the graphics,but I get this error:

******************************_Exception_(trace_details)_******************************
### Location: 6 : 57

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

The Latest Executed ERM Receiver:

HE150:L2^h64.pcx^;  


Register Context:


EAX = 0x002287A0
EBX = 0x000001C2
ECX = 0x20396A60
EDX = 0x0C0C60CC
ESI = 0x00000040
EDI = 0x00000020
EBP = 0x0022876C
ESP = 0x0022874C

Stack Frame:

0x0022874C : 0x0C0C60B0
0x00228750 : 0x067BE820
0x00228754 : 0x002287A0
0x00228758 : 0x00000000
0x0022875C : 0x067BE820
0x00228760 : 0x002287A4
0x00228764 : 0x00494D7F
0x00228768 : 0x067BE820
0x0022876C : 0x002287B0
0x00228770 : 0x00494D7F
0x00228774 : 0x0C0C60B0
0x00228778 : 0x00000010
0x0022877C : 0x00000008
0x00228780 : 0x000001D0
0x00228784 : 0xFFFFFFC9
0x00228788 : 0x002287A0
0x0022878C : 0x00000001
0x00228790 : 0x0C0C6001
0x00228794 : 0x00000000
0x00228798 : 0xFFFFFFC9
0x0022879C : 0x067CABD4
0x002287A0 : 0x000000A8
0x002287A4 : 0x00000215
0x002287A8 : 0x067C4CC4
0x002287AC : 0x02B367A8
0x002287B0 : 0x00228C4C
0x002287B4 : 0x0043E255
0x002287B8 : 0x0C0C60B0
0x002287BC : 0x00000010
0x002287C0 : 0x00000008
0x002287C4 : 0x000001D0
0x002287C8 : 0xFFFFFFC9
0x002287CC : 0x00000000
0x002287D0 : 0x00000031
0x002287D4 : 0x00000001
0x002287D8 : 0x00000000
0x002287DC : 0x00000000
0x002287E0 : 0x067BE820
0x002287E4 : 0x00000015
0x002287E8 : 0x0064100C
0x002287EC : 0x00000000
0x002287F0 : 0x00228AE0
0x002287F4 : 0x7203BA12
0x002287F8 : 0x7207E1D6
0x002287FC : 0x00000000
0x00228800 : 0xFFFFFFFF
0x00228804 : 0x02B39A60
0x00228808 : 0x01000000
0x0022880C : 0x02B36850
0x00228810 : 0x02B36858
0x00228814 : 0x02B36854
0x00228818 : 0x02B3685C
0x0022881C : 0x02B369D4
0x00228820 : 0x02B369DC
0x00228824 : 0x02B369D8
0x00228828 : 0x02B369E0
0x0022882C : 0x02B36CC4
0x00228830 : 0x02B36CCC
0x00228834 : 0x02B36CC8
0x00228838 : 0x02B36CD0
0x0022883C : 0x00000001
0x00228840 : 0x00000000
0x00228844 : 0x00000000
0x00228848 : 0x00000000
0x0022884C : 0xFFFFFFFF
0x00228850 : 0x00000004
0x00228854 : 0x000000A8
0x00228858 : 0x00000200
0x0022885C : 0x0000001E
0x00228860 : 0x072A2580
0x00228864 : 0x00000000
0x00228868 : 0x00000000
0x0022886C : 0x00000000
0x00228870 : 0x00000001
0x00228874 : 0x00000000
0x00228878 : 0x02B39A40
0x0022887C : 0x002288B8
0x00228880 : 0x0000000B
0x00228884 : 0x00000000
0x00228888 : 0x00000000
0x0022888C : 0x00228C58
0x00228890 : 0x0043E4AF
0x00228894 : 0x02B367A8
0x00228898 : 0x002288C4
0x0022889C : 0x720799DC
0x002288A0 : 0x1000C200
0x002288A4 : 0x00000840
0x002288A8 : 0x02B36798
0x002288AC : 0x00000000
0x002288B0 : 0x02B39A60
0x002288B4 : 0x02B36798
0x002288B8 : 0x02B3D520
0x002288BC : 0x00000280
0x002288C0 : 0x00000052
0x002288C4 : 0x000002E7
0x002288C8 : 0x000000D3
0x002288CC : 0x02B3E0F8
0x002288D0 : 0x00000280
0x002288D4 : 0x00000052
0x002288D8 : 0x000002E7
0x002288DC : 0x000000D3
0x002288E0 : 0x01020000
0x002288E4 : 0x00000000
0x002288E8 : 0x00000064
0x002288EC : 0x00000000
0x002288F0 : 0x00CC0020
0x002288F4 : 0x00000000
0x002288F8 : 0x00000000
0x002288FC : 0x00000000
0x00228900 : 0x00000000
0x00228904 : 0x00000000
0x00228908 : 0x00000000
0x0022890C : 0x00000000
0x00228910 : 0x00000000
0x00228914 : 0x00000000
0x00228918 : 0x00000000
0x0022891C : 0x00000000
0x00228920 : 0x00000000
0x00228924 : 0x00000000
0x00228928 : 0x00000000
0x0022892C : 0x00000000
0x00228930 : 0x00000000
0x00228934 : 0x00000000
0x00228938 : 0x00000000
0x0022893C : 0x00000000
0x00228940 : 0x00000000
0x00228944 : 0x00000000
0x00228948 : 0x00000000
0x0022894C : 0x00000000
0x00228950 : 0x72076EB7
0x00228954 : 0x00000000
0x00228958 : 0x00000000
0x0022895C : 0x00000000
0x00228960 : 0x00000000
0x00228964 : 0x00000000
0x00228968 : 0x00000000
0x0022896C : 0x00000000
0x00228970 : 0x00000000
0x00228974 : 0x00000000
0x00228978 : 0x00000000
0x0022897C : 0x00000000
0x00228980 : 0x00000000
0x00228984 : 0x00000000
0x00228988 : 0x02B39A60
0x0022898C : 0x02B39A40
0x00228990 : 0x02B7BB6C
0x00228994 : 0x00000010
0x00228998 : 0x2053534D
0x0022899C : 0x00228B0C
0x002289A0 : 0x00000000
0x002289A4 : 0x63697672
0x002289A8 : 0x00007365
0x002289AC : 0x000000C6
0x002289B0 : 0x00000225
0x002289B4 : 0x02B3E0F8
0x002289B8 : 0x00000000
0x002289BC : 0x00000010
0x002289C0 : 0x00000000
0x002289C4 : 0x02B37370
0x002289C8 : 0x02B3A600
0x002289CC : 0x00228A68
0x002289D0 : 0x02B3E0F8
0x002289D4 : 0x00000000
0x002289D8 : 0x02B37370
0x002289DC : 0x00228A40
0x002289E0 : 0x720348F3
0x002289E4 : 0x00000000
0x002289E8 : 0x02B37370
0x002289EC : 0x02B3E0F8
0x002289F0 : 0x00228A68
0x002289F4 : 0x72034754
0x002289F8 : 0x072A2580
0x002289FC : 0x00000000
0x00228A00 : 0x00000000
0x00228A04 : 0x00000000
0x00228A08 : 0x00000000
0x00228A0C : 0x00000000
0x00228A10 : 0x00000000
0x00228A14 : 0x00000000
0x00228A18 : 0x00000000
0x00228A1C : 0x00000000
0x00228A20 : 0x00000000
0x00228A24 : 0x00000080
0x00228A28 : 0x00000000
0x00228A2C : 0x00000000
0x00228A30 : 0x00000000
0x00228A34 : 0x720AB518
0x00228A38 : 0x00000000
0x00228A3C : 0x02B37370
0x00228A40 : 0x00228A50
0x00228A44 : 0x72034785
0x00228A48 : 0x02B3A600
0x00228A4C : 0x00228B24
0x00228A50 : 0x00228AC8
0x00228A54 : 0x72034C20
0x00228A58 : 0x720AC590
0x00228A5C : 0x02B3E1D8
0x00228A60 : 0x02B3E0F8
0x00228A64 : 0x00000000
0x00228A68 : 0x02B36798
0x00228A6C : 0x02B3E0F8
0x00228A70 : 0x00000000
0x00228A74 : 0x00000001
0x00228A78 : 0x02B3E1D8
0x00228A7C : 0x072A2580
0x00228A80 : 0x00000000
0x00228A84 : 0x08C40028
0x00228A88 : 0x00000000
0x00228A8C : 0x72034754
0x00228A90 : 0x00000000
0x00228A94 : 0x720AC590
0x00228A98 : 0x02B3E1D8
0x00228A9C : 0x02B3E0F8
0x00228AA0 : 0x00000000
0x00228AA4 : 0x02B36798
0x00228AA8 : 0x02B3E0F8
0x00228AAC : 0x00000000
0x00228AB0 : 0x7203352E
0x00228AB4 : 0x00000000
0x00228AB8 : 0x00000000
0x00228ABC : 0x00000000
0x00228AC0 : 0x00000008
0x00228AC4 : 0x00228BA8
0x00228AC8 : 0x00228BA8
0x00228ACC : 0x00000000
0x00228AD0 : 0x08C40028
0x00228AD4 : 0x00228B18
0x00228AD8 : 0x720350AC
0x00228ADC : 0x720350B3
0x00228AE0 : 0x6BC06B91
0x00228AE4 : 0x00228C14
0x00228AE8 : 0x00228C58
0x00228AEC : 0x067CABD4
0x00228AF0 : 0x02B36798
0x00228AF4 : 0x02B3E1D8
0x00228AF8 : 0x00000000
0x00228AFC : 0x02B3E0F8
0x00228B00 : 0x00228AE0
0x00228B04 : 0x00228C58
0x00228B08 : 0x00228D54
0x00228B0C : 0x720A6F43
0x00228B10 : 0x19E1B049
0x00228B14 : 0xFFFFFFFE
0x00228B18 : 0x00000000
0x00228B1C : 0x067CABD4
0x00228B20 : 0x00228C4C
0x00228B24 : 0x00600772
0x00228B28 : 0x00000320
0x00228B2C : 0x00000258
0x00228B30 : 0x00000640


SEND THIS DUMP OR FILE "WOGCRASHLOG.TXT" (ZIPPED) TO {H3NL@NAROD.RU}

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


Honorable
Legendary Hero
the reckoning is at hand
posted April 28, 2012 09:12 PM
Edited by LizardWarrior at 21:12, 28 Apr 2012.

There is a problem with shooting frames,the replaced def must have as much shooting frames as the original one,if there are more or less the game crashes.
____________

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


Famous Hero
DoR Dev Team
posted April 29, 2012 12:28 PM

How do I change that,I mean,how do I make the game accept the frames of the actual def?

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


Honorable
Legendary Hero
the reckoning is at hand
posted April 29, 2012 12:39 PM

Increase/Decrease the number of frames of the def you want to put instead,sadly I don't know any other method.
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted April 29, 2012 12:47 PM

Only grand elves have restricted shoot frames (cranim). Other should work, upload your def.
____________
Era II mods and utilities

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


Famous Hero
DoR Dev Team
posted April 29, 2012 01:11 PM
Edited by Lord_Immortal at 13:13, 29 Apr 2012.

What about Lava Sharpshooters?Mine is the Might and Magic VII creegan captain from here,that replaces the Lava Sharpshooter.
Only that I reworked the def with H3DefTool so that the captain has ranged and spell cast animations too.

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


Admirable
Omnipresent Hero
Wog refugee
posted April 29, 2012 09:22 PM

Ok, I guess you don't need help then. I asked you to upload def, you give me link to browse 23 full defs pages and find kreegan capt. No time.
____________
Era II mods and utilities

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


Responsible
Supreme Hero
posted April 29, 2012 10:21 PM

All shooting creatures have a minimum number of frames in their shooting animation. That is easily edited in cranim.txt I do it all the time. In the txt there are columns for each creature. The last one has the number of frames after which the bolt is thrown. If the creature isn't a shooting one then the number will be zero. If the creature is a shooter then the number in the last column MUST be smaller than the shooting frames of that creature.

All Sharpshooters have 12 frames when shooting. The number in the last column of cranim.txt for the sharpshooters is 11 (11<12). That means that when the sharpshooter shoots the animation starts and in the 11th frame the bolt is released. If that number was larger than 12 (let's say 14) then the game would crash because it would seek the 14th frame to release the bolt (which would be nowhere to be found).

So, now you replaced the creature's def and it obviously has less shooting frames. You must see how many shooting frames it actually has (using defview) and then adjust the shooting number in cranim.txt accordingly. If the creature has 8 shooting frames then the last column in cranim.txt should have 7 or less in it. And so on.
____________
Not idly do the leaves of Lorien fall.

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


Famous Hero
DoR Dev Team
posted April 30, 2012 03:40 PM

Quote:
Ok, I guess you don't need help then. I asked you to upload def, you give me link to browse 23 full defs pages and find kreegan capt. No time.

It was exactly on the page I gave you,6th creature from bottom!

Quote:
All shooting creatures have a minimum number of frames in their shooting animation. That is easily edited in cranim.txt I do it all the time. In the txt there are columns for each creature. The last one has the number of frames after which the bolt is thrown. If the creature isn't a shooting one then the number will be zero. If the creature is a shooter then the number in the last column MUST be smaller than the shooting frames of that creature.

All Sharpshooters have 12 frames when shooting. The number in the last column of cranim.txt for the sharpshooters is 11 (11<12). That means that when the sharpshooter shoots the animation starts and in the 11th frame the bolt is released. If that number was larger than 12 (let's say 14) then the game would crash because it would seek the 14th frame to release the bolt (which would be nowhere to be found).

So, now you replaced the creature's def and it obviously has less shooting frames. You must see how many shooting frames it actually has (using defview) and then adjust the shooting number in cranim.txt accordingly. If the creature has 8 shooting frames then the last column in cranim.txt should have 7 or less in it. And so on.


Thanks.I will try.

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


Famous Hero
DoR Dev Team
posted April 30, 2012 03:51 PM
Edited by Lord_Immortal at 15:52, 30 Apr 2012.

Won't work,but,now that I think,I want them melee only,so,can you please tell me how to remove their ranged attack,and the flight ability of the Air Messenger(I may replace him with a walking unit).

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0437 seconds