Current time: 22.04.2024, 05:04 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
ERA II
» WoG Era 2: Русская и Английская версии
Author Message
Berserker Offline
Administrators

Posts: 16488
Post: #2236

2.47.1 17:46 02.01.2016
[+] Added default values for most of heroes3.ini parameters. No crashes anymore on missing values or even missing heroes3.ini.
[+] Added 'default era settings.ini', which values are used if corresponding parameters are missing in heroes3.ini.
[+] Backported saved game sections debugging capabilities with "Debug.DumpSavegameSections" ini option.
[+] New directory "Debug\Era" must exist in order for debug functions to work.
[+] Backported dump event list, dump patches, dump erm memory and dump PE modules capabilities from 2.5x branch (F11 key).
[-] Fixed bug with combined artifact (# > 143) dismounting in heroes meeting screen.

Перед вылетом или битвой, в которой может быть вылет, нужно нажать F11. Мне нужен будет архив папки Debug, помимо адреса вылета. Там же много полезной информации для разработчика.
02.01.2016 19:50
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16488
Post: #2237

http://rghost.ru/6by955MVz
Обновление к предыдущему посту: UN:J3 патч откатан обратно.

Я весьма удивлён, но в самом деле, какой-то из релизов Эры сделал (частично?) рабочим F12 для карт со встроенными скриптами. Что там с обновлением скриптов карты происходит — хз, но раньше всегда были ошибки.
02.01.2016 20:08
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16488
Post: #2238

Требуется вручную создать папку Debug\Era (путь от корня).
2.47.2 22:37 02.01.2016.rar
[+] Added comprehensive exception handling with various contexts dumping.

Теперь при исключении будет создан полный набор файлов с полезной информацией для диагностики проблемы.
Пример файлов, автоматически создаваемых в Debug\Era:

erm memory dump.txt
event list.txt
exception context.txt
log.txt
patch list.txt
pe modules.txt

Пример сообщения об исключении:

Failed to write data at 25.
EIP: Era.3926B. Code: C0000005

> Registers
EAX: 00000025
ECX: 04D90420
EDC: 00000002
EBX: FFFFFFFF
ESP: 0022A1A0
EBP: 0022A1A8
ESI: 00000000
EDI: 00000001

> Callstack
H3era.004F051B
H3era.004F824F
H3era.0061A964
Kernel32.16037

> Stack
0022A18C: 00000000
0022A190: 00000000
0022A194: 00000000
0022A198: 00000000
0022A19C: 00000000
0022A1A0*: FFFFFFFF
0022A1A4: 00000001
0022A1A8: 0022FEE8
0022A1AC: H3era.004F051B
0022A1B0: 00278C30
0022A1B4: 04D90420
...

Все адреса указываются, при возможности, относительно модулей. По ним можно производить отладку плагинов и библиотек. Map-файл нужен, чтобы определить точный файл с кодом и строку. Пока ещё не автоматически.
03.01.2016 00:49
Find all posts by this user Quote this message in a reply
Bes Offline

Posts: 5422
Post: #2239

на всякий случай напомню про существование темы http://wforum.heroes35.net/showthread.php?tid=4736
может там и будешь посты добавлять?
а тут обсуждать...
03.01.2016 04:09
Visit this user's website Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16488
Post: #2240

Бес, ты умница. А я-то всё искал те выпуски…
03.01.2016 16:25
Find all posts by this user Quote this message in a reply
igrik Offline
Administrators

Posts: 2814
Post: #2241

О Берс вернулся!
Рад видеть тебя!


game bug fixes extended.dll || My Plugins || My GitHub
03.01.2016 19:34
Visit this user's website Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16488
Post: #2242

И я тебя Ab
03.01.2016 23:26
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #2243

We missed you
04.01.2016 00:01
Find all posts by this user Quote this message in a reply
Bes Offline

Posts: 5422
Post: #2244

Laie_79
Приветствуем тебя, Владыка кода!
04.01.2016 00:58
Visit this user's website Find all posts by this user Quote this message in a reply
SyDr Offline

Posts: 1052
Post: #2245

Привет, Берс!

Может, хоть твоё возвращение промотивирует меня допилить новую версию ММ 96-copy.
04.01.2016 08:49
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16488
Post: #2246

Я вас всех тоже рад видеть, ребят )
*Val*, my precious )).

SyDr, давай, навёрстывай! )

Мне осталось прикрутить отладочные карты и уже легче будет с отловом багов. А если ещё и добить начатое для 2.55 журналирование последних ЕРМ команд и событий, так и вовсе. Ну и релизить же нужно, а то прогресс стоит на месте.
04.01.2016 23:25
Find all posts by this user Quote this message in a reply
Barin Offline

Posts: 803
Post: #2247

Berserker, в Эре когда-нибудь будет уделено внимание видеопроигрыванию в игре, или в этой области останется всё как есть. Столкнулся с проблемой http://wforum.heroes35.net/showthread.ph...2#pid92902 Казалось бы, полезная фишка придумана в ERM - показ avi + гифки, но как-то всё это дело хромает.
(This post was last modified: 04.01.2016 23:41 by Barin.)
04.01.2016 23:37
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #2248

2.55 had a very annoying bug with dispel, to which I didn't find the reason yet.
05.01.2016 00:16
Find all posts by this user Quote this message in a reply
Barin Offline

Posts: 803
Post: #2249

Valery, в твоих mods есть avi? gif? Они не показывают ошибку как у меня? Ссылка: http://wforum.heroes35.net/showthread.ph...2#pid92902
(This post was last modified: 05.01.2016 00:41 by Barin.)
05.01.2016 00:40
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16488
Post: #2250

Barin, у других работало. Вы уж простите, времени на отладку конкретно Вашего случая у меня недостаточно Bad
Valery, yep, I remember, Same thing, hard to debug and, to say the truth, is not the most important issue, though, maybe annoying.
05.01.2016 00:41
Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Forum Jump:

Powered by MyBB Copyright © 2002-2024 MyBB Group