|
Thread: I need help from experts | |
|
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!
|
|
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).
____________
|
|
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
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted December 22, 2008 04:47 PM |
|
|
|
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?
____________
|
|
radar
Responsible
Legendary Hero
Castle/Haven player
|
posted December 22, 2008 06:09 PM |
|
|
|
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
|
|
Hell_Wizard
Famous Hero
|
posted December 22, 2008 06:13 PM |
|
|
RADAR
____________
|
|
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.
|
|
|