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 150 ... 198 199 200 201 202 ... 250 300 350 400 407 · «PREV / NEXT»
OxFEA
OxFEA


Promising
Famous Hero
feanor on DF2.ru
posted April 05, 2013 08:59 PM

Use IDA + HexRays + idb from WoG-team for reversing.


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


Hired Hero
posted April 06, 2013 03:35 PM

Is there any way to simulate casting Visions without giving any message? I've tried
!!HE-1:I?y-1;
!!OW:S1/2; //Cast Visions
!!HE-1:Iy-1;
but that opens a message box that says "Right click on any enemy to view them".

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


Admirable
Omnipresent Hero
Wog refugee
posted April 06, 2013 03:52 PM

Work around, I think. Play sound, set flag, then CM0 on monsters, display number and level of aggression.

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


Hired Hero
posted April 06, 2013 04:49 PM

Is there any way to instantly close the message after it's opened, then?

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


Promising
Famous Hero
feanor on DF2.ru
posted April 06, 2013 04:53 PM

!!UN:C6919480/4/?y10;
!!VRy11:S<hero_id> *1170 +297 +136736 +y10;
!!UN:Cy11/4/2; ..0,1,2 - visions level

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


Hired Hero
posted April 06, 2013 05:06 PM

Quote:
!!UN:C6919480/4/?y10;
!!VRy11:S<hero_id> *1170 +297 +136736 +y10;
!!UN:Cy11/4/2; ..0,1,2 - visions level

Okay... UN:C is powerful, but unreadable, isn't it? Also, for <hero_id>, -1 is not current, right? Crash seems more likely.

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


Admirable
Omnipresent Hero
Wog refugee
posted April 06, 2013 05:09 PM

Works perfectly here, thanks OxFea:

!?CM0;
!!OW:A-1/?y1;
!!UN:C6919480/4/?y10;
!!VRy11:Sy1 *1170 +297 +136736 +y10;
!!UN:Cy11/4/2; ..0,1,2 - visions level
____________
Era II mods and utilities

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


Hired Hero
posted April 06, 2013 05:13 PM

Might be good to add a !!FU&<hero_id>=-1:E; just to be safe, but yeah, it works perfect. Also, hypnotized troops seems to be able to retaliate even though the description says they don't. I haven't managed to find some way to fix it, but I guess there is some?

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


Promising
Famous Hero
feanor on DF2.ru
posted April 06, 2013 05:26 PM

Quote:
UN:C is powerful, but unreadable, isn't it?

ERM is unreadable at all

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


Hired Hero
posted April 06, 2013 05:32 PM

Quote:
Quote:
UN:C is powerful, but unreadable, isn't it?

ERM is unreadable at all
Yeah, but most of the commands at least make some sense... For example, !!DB:L1; (I just made that up, it stands for DeBug:Location) would be a lot easier to read than !!UN:C6916632/4/9; (makes the right-click hint of a map square contain the coordinates). Though I guess that's not relevant.

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


Hired Hero
posted April 06, 2013 06:10 PM

How do I remove a spell effect from a creature stack? And what's the difference between BM:G and BM:M?

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


Supreme Hero
Work at Magic Dimmension
posted April 06, 2013 07:56 PM

where i can get this idb? or any debbuging info with names of functions? it would be a lot easier playing wit olly if I would have that... (olly supports borland debugger info, and I hope it's the one, else somebody may convert it with IDA pro ).

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


Promising
Famous Hero
feanor on DF2.ru
posted April 07, 2013 12:26 AM

Decompilated:
https://dl.dropbox.com/u/61759222/HoMM/Heroes3f.c

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


Hired Hero
posted April 07, 2013 09:25 AM
Edited by Caagr98 at 15:46, 07 Apr 2013.

Is that vanilla, WoG, Era, or something else?

EDIT: I can't find the strings "wog", "npc" (commander), "erm", or "3.5" (WoG is version 3.58/3.59), so I guess it's vanilla?

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


Hired Hero
posted April 07, 2013 03:49 PM

Is there any way to make combo artefact not use any other slots than the one it is in (no locked slots)? I know that I should make sure you can't dissassemble it if there are any other artefacts in the slots, of course. (probably disable the click?)

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


Admirable
Omnipresent Hero
Wog refugee
posted April 07, 2013 04:00 PM

I don't see how this could be done without work around. What I would do:

1) Create new combo in tables
2) Script it
3) When click and ask if you want to create combo, delete all artefacts and lock a slot with combo curse, then enable hint with right-click on locked slot.

Now not sure if deleting artefacts before enabling the combo does not trigger locked slot bug, hard to say without testing. Or maybe OxFea will again find some black magic, because in erm there is no such option.
____________
Era II mods and utilities

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


Hired Hero
posted April 07, 2013 06:10 PM

Quote:
Or maybe OxFea will again find some black magic, because in erm there is no such option.
So UN:C means black magic? Good to know. Hmm... Is the currently held artefact stored in any other way than the cursor? If it isn't (which I doubt), I have a method that might work... (Yes, it's an ugly workaround.) Though 4074 can probably find a better way.

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


Hired Hero
posted April 07, 2013 06:24 PM

Some old (or maybe not) unanswered questions:
Hypnotized troops seems to be able to retaliate even though the description says they don't. I haven't managed to find some way to fix it, but I guess there is some?
How do I remove a spell effect from a creature stack? And what's the difference between BM:G and BM:M?

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


Admirable
Omnipresent Hero
Wog refugee
posted April 08, 2013 10:35 PM

BM:R stores the number of retaliations, maybe you could set it to zero in BG trigger if creature has hypnotize applied. Try.
I don't know any way to remove a spell in real time other than dispel. BM:G says  zero value means no applied, but does not remove the spell, or maybe does but only at start of round, test.
____________
Era II mods and utilities

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


Hired Hero
posted April 09, 2013 08:16 AM

And how do I set a yellow square to be solid/not solid, like border gates? For nonsolid, I guess I should remove it? And is there any trigger that is called when you change active hero?

 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 150 ... 198 199 200 201 202 ... 250 300 350 400 407 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.4147 seconds