But still having crash with it:
- Код: Выделить всё
dlg->CallHDProc(my_msg);
Объявления | ||
---|---|---|
Друзья, если не получается зарегистрироваться, напишите на почту vdv_forever@bk.ru. Я оторву свою задницу от всех дел и обязательно Вас активирую! Добро пожаловать на геройский форум! |
|
Re: Как создать плагин для HD модаCan you send me the dll?
|
Re: Как создать плагин для HD модаRoseKavalier писал(а):
|
|
Re: Как создать плагин для HD модаIt seems I can't count lol
Offset to dlg_proc is0x70 not 0x6C |
|
Re: Как создать плагин для HD модаHi all, it's my first post here, I created just while ago first plugin for HD mod - excellent tutorial
I want to create tool for printing statistics (diagrams) of game progress. I'll extract that informations from save files. I have problem with too little saves (one save for turn is way too little) from single game. So I'm looking way to create plugin which will save game after every 1 minute (with condition that there is no battle in current moment). I have programming background, but zero experience with reverse engineering. Can you guys advice how to start? If it is incredibly difficult, I would be grateful for info too. |
Re: Как создать плагин для HD модаFor your purposes it's way easier to read info directly from RAM. I don't recommend messing with save files. There is a small example of how you can print info from RAM to a game statistics window. You may even setup a timer to read info every few (milli)seconds.
How to find what to read? See this topic, there are lots of examples here. |
|
Re: Как создать плагин для HD модаThanks for advice!
So if I understand correctly reading statistics from file'll be much harder than creating plugin to read statistics from RAM. Or did I misunderstand and saving file per 1 minute is a mess? |
Re: Как создать плагин для HD модаBasically saving a game and then parsing the save file is redundant. You just read data from a disk instead of reading it directly from RAM. Reading from RAM is more flexible way to do what you want, as you can read only what you need at a moment. You can even read data when a specific event is triggered, further reducing the amount of data to analyze.
|
|
Re: Как создать плагин для HD модаYeah, you have right. I want to separate displaying statistics from collecting statistics.
So I need plugin to collect more information about current game state and if it easier to just get info from RAM and collect into file then it's the way. I'm worry about only one thing if I won't do more saves it will be difficult to load game in some interesting points after review my stats. On example to check if I can better win very difficult battle. |
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 2