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: I need help from experts
Thread: I need help from experts
SAG
SAG


Promising
Supreme Hero
WCL owner
posted December 22, 2008 10:35 AM

I need help from experts

Hi folks!
I participate in developing new version of HoMM3 T.E. version and need help from those people who have experience of searching information in PC memory.
What is objective: to fix bug with non-level 1 starting heroes on random maps. It appears if starting hero is the same as with hero in Prison.
What is proposed solution: starting heroes should be marked as "disabled", just like campaign heroes are disabled. So, random map generator will not put these heroes into Prisons and therefore there will be no bug.
What are the problems: there should exist array in memory in which all heroes are listed as enabled or disabled. Currently, address and structure of this array is unknown.
Most likely:
- array is either 1-bit-per hero or 1-byte-per hero or 4-byte-per hero;
- enabled =1, disabled =0;
- heroes names perhaps not a part of array, only reference by hero numbers
- Map editor may be a help (you can enable/disable heroes and track changes in memory)
I used Artmoney program to find this array, but failed (this is my first experience of searching data in memory).

Please help to find address and structure of this array!

Thanks in advance!

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


Famous Hero
posted December 22, 2008 02:15 PM

I suggest modifying only some variables, not the whole game. For instance, improve the double-word which stores the hero levels. It will be a nice change (But I think it is already developer by VCMI).
____________

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


Promising
Supreme Hero
WCL owner
posted December 22, 2008 03:41 PM

Quote:
I suggest modifying only some variables, not the whole game.

Right. I need to change only few bytes (bits?).
Quote:

For instance, improve the double-word which stores the hero levels. It will be a nice change (But I think it is already developer by VCMI).

I don't understand your idea. By the way I don't think that VCMI will produce playable product...maybe if they will open sources then they will have some chance, not many though

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


Admirable
Omnipresent Hero
Wog refugee
posted December 22, 2008 04:47 PM
Edited by Salamandre at 17:55, 22 Dec 2008.

Do a private message to BAD. He is the expert with memory bytes working programs.
____________
Era II mods and utilities

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


Famous Hero
posted December 22, 2008 06:03 PM

They're bits. The bytes are only for memory, how can you use memory to improve a game?
____________

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


Responsible
Legendary Hero
Castle/Haven player
posted December 22, 2008 06:09 PM

kill me
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted December 22, 2008 06:12 PM

According to THIS they are bytes and it is about game memory. But is it important?

That guy knows how to work with them.
____________
Era II mods and utilities

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


Famous Hero
posted December 22, 2008 06:13 PM

RADAR
____________

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


Responsible
Supreme Hero
posted December 23, 2008 03:58 PM

This array contains 156 bytes (LM Oracle program reads it). But I can't recall the address at the moment. As far as I remember, 40h/41h - enabled/disabled.

 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.0295 seconds