|
|
Nmesa
Hired Hero
|
posted November 16, 2018 07:50 PM |
|
|
phoenix4ever said: Is it possible to make Eagle Eye learn spells from enemy creatures and to learn spells immediately after they are cast, not after the battle??
There is a plugin for that, except learning spells from creatures.
http://handbookhmm.ru/forum/viewtopic.php?f=56&t=529
|
|
Morglin
Adventuring Hero
|
posted November 16, 2018 08:29 PM |
|
|
I know that post but I have a question. What is this address: 0063EC80 (0023ECC0 in .exe)? Isn't that building dependencies in HotA? I edited it, and it works:
|
|
phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted November 17, 2018 01:43 AM |
|
|
Nmesa said:
There is a plugin for that, except learning spells from creatures.
http://handbookhmm.ru/forum/viewtopic.php?f=56&t=529
Right, but sadly newer versions of HD Mod does'nt support Plug-ins anymore and I would like to have the newest version for stability and bug fixes, but perhaps there is a way to do it myself...
|
|
planetavril
Famous Hero
|
posted November 17, 2018 02:36 PM |
|
|
excuse the question perhaps stupid, I would like to replace a city as did the inhabitant of morglin, how to calculate the coordinates from pixels in binary code?
example if x is 375, in the binary code that I have to write?
|
|
Maurice
Hero of Order
Part of the furniture
|
posted November 17, 2018 06:43 PM |
|
Edited by Maurice at 18:44, 17 Nov 2018.
|
planetavril said: excuse the question perhaps stupid, I would like to replace a city as did the inhabitant of morglin, how to calculate the coordinates from pixels in binary code?
example if x is 375, in the binary code that I have to write?
What exactly do you mean? Do you mean to replace one Town with another, in the .exe file?
Just straight up, 375 in decimals is 101110111 in binary and 0177h in hexadecimals.
But before you're going to search for those values, you will need to know what you're looking for. Most of the games' variables, for instance, are using Little Endian byte representation format, which means that a hexadecimal value of 0177h is actually written as 7701h in the executable.
|
|
planetavril
Famous Hero
|
posted November 17, 2018 06:55 PM |
|
|
I would like to replace a city in the exe file,
really time ago I was almost able to add the Egyptian bastion as the eleventh city in hota but not knowing how to enter the coordinates I started the game I entered with the hero in the city but when I was buying a building was blocked
how to calculate the x, y coordinates in hexadecimal?
|
|
Morglin
Adventuring Hero
|
posted November 18, 2018 02:25 AM |
|
|
In first post you have Polish tutorial that contains info about changing coordinates. You should be able to understand it via Google Translate.
|
|
planetavril
Famous Hero
|
posted November 18, 2018 08:36 AM |
|
|
|
planetavril
Famous Hero
|
posted November 18, 2018 11:10 PM |
|
|
I was looking at the previous posts, how to get this result by editing in hex
can it be done in hex or should it be changed with olly dbg?
|
|
phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted November 18, 2018 11:33 PM |
|
|
Mass Slayer (and Mass Magic Mirror) is easy to hex edit, I can post how tomorrow if you wish.
|
|
planetavril
Famous Hero
|
posted November 19, 2018 07:28 AM |
|
|
thanks,
you know where to find good assembly guides and for hex modding?
|
|
phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted November 19, 2018 11:21 AM |
|
|
Mass Slayer: (Only at expert Fire Magic) Find 2871E4 in the exe and change 15 -> 45
Mass Magic Mirror: (Only at expert Air Magic) Find 2867CC in the exe and change 15 -> 45
You can change description of both in the sptraits.txt file, located in HotA_Ing.lod if you want.
|
|
planetavril
Famous Hero
|
posted November 19, 2018 03:05 PM |
|
|
thanks,Where to find the offset with the number of cities in the game?
and if it is possible to have the link to town_dependencies.h?
|
|
phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted November 19, 2018 03:47 PM |
|
|
Sorry don't know anything about that, I would like to change town dependencies myself...
|
|
planetavril
Famous Hero
|
posted November 19, 2018 07:02 PM |
|
|
I tried to change the offsets that wrote morglin at the top of the page, but I must be wrong to change it does not work, I will try again later
|
|
Morglin
Adventuring Hero
|
posted November 19, 2018 08:39 PM |
|
|
|
phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted November 19, 2018 10:04 PM |
|
|
Okay it's nice enough with this building dependency list and it makes pretty good sense. But where do we find it in the exe, for example Pit Lord building or Sprite building??
|
|
Morglin
Adventuring Hero
|
posted November 20, 2018 12:21 AM |
|
Edited by Morglin at 00:29, 20 Nov 2018.
|
It starts from Castle buildings. First is Mage Guilds, later Shipyard, Tavern and Brotherhood of the Sword (Castle special building) - 16 00 00 00 05 00 00 00. 16 (22) is building number, 05 (Tavern) means requirments.
If you have enough patience, this should be enough for finding whatever building you want.
|
|
phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted November 20, 2018 10:38 AM |
|
|
Hmm so Brotherhood Of The Sword is building 22, but somehow 22 gets turned in to 16, does that mean I should subtract 6 from the building number every time? The 5 (05) is the Tavern requirement correct?
|
|
Morglin
Adventuring Hero
|
posted November 20, 2018 12:01 PM |
|
Edited by Morglin at 12:03, 20 Nov 2018.
|
Hexadecimal number 16 is decimal number 22.
https://en.m.wikipedia.org/wiki/Hexadecimal
You can use Windows calculator to convert numbers. Also I'm sorry for such short answers but as you can see, I'm not good at writing in English.
|
|
|