MantisBT - VCMI
View Issue Details
0001321VCMIMechanics - Battlespublic2013-06-16 14:242022-04-11 17:39
Eternal Sorrow 
Ivan 
highmajorsometimes
closedfixed 
PCWindows8
0.93 
0.94 
0001321: Server encountered a error: cannot shoot.
Subj. VCMI spams this message during battle (not every of them) fnd into console. And it's true, I cannot shoot. Ranged units behave as they are melee.
1. Start any map.
2. Enter battle.
3. If you will be (un)lucky, you'd see this.
No tags attached.
zip logs.zip (280,907) 2013-06-16 14:24
https://bugs.vcmi.eu/file_download.php?file_id=1375&type=bug
Issue History
2013-06-16 14:24Eternal SorrowNew Issue
2013-06-16 14:24Eternal SorrowStatusnew => assigned
2013-06-16 14:24Eternal SorrowAssigned To => Tow
2013-06-16 14:24Eternal SorrowFile Added: logs.zip
2013-06-16 14:58WarmongerNote Added: 0003706
2013-06-16 15:08WarmongerNote Edited: 0003706bug_revision_view_page.php?bugnote_id=3706#r2322
2013-06-17 00:18Eternal SorrowNote Added: 0003707
2013-06-17 04:30WarmongerNote Added: 0003708
2013-06-17 04:30WarmongerAssigned ToTow =>
2013-06-17 04:30WarmongerCategoryAI - Battles => Mechanics - Battles
2013-06-17 04:30WarmongerNote Edited: 0003708bug_revision_view_page.php?bugnote_id=3708#r2324
2013-06-17 07:07Eternal SorrowNote Added: 0003709
2013-06-17 09:40WarmongerNote Added: 0003711
2013-06-17 09:47Eternal SorrowNote Added: 0003712
2013-06-17 09:50WarmongerNote Added: 0003713
2013-06-17 09:57Eternal SorrowNote Added: 0003714
2013-06-17 10:36IvanNote Added: 0003715
2013-06-17 10:48Eternal SorrowNote Added: 0003716
2013-06-17 10:53IvanNote Added: 0003717
2013-06-17 10:53IvanAssigned To => Ivan
2013-06-17 11:16Eternal SorrowNote Added: 0003718
2013-06-17 15:22IvanNote Added: 0003719
2013-06-23 19:38IvanNote Added: 0003721
2013-06-23 19:38IvanStatusassigned => resolved
2013-06-23 19:38IvanResolutionopen => fixed
2013-06-23 19:39IvanFixed in Version => 0.94
2022-04-11 17:39PovelitelStatusresolved => closed

Notes
(0003706)
Warmonger   
2013-06-16 14:58   
(edited on: 2013-06-16 15:08)
Details, please. Which map, which units, against what kind of enemy. Preferably provide save when this is reproductible.

Is this AI or mechanics issue? When does the message appear?

(0003707)
Eternal Sorrow   
2013-06-17 00:18   
Message appears when battle begins. I don't think it's AI issue. While tryed to reproduse, game crashed twice. Please make it more stable, then release.
(0003708)
Warmonger   
2013-06-17 04:30   
We are trying, but for that we need detailed bug reports. Please answer my questions.

(0003709)
Eternal Sorrow   
2013-06-17 07:07   
This time crashed when I tried to hire new hero in tavern (exactly when I clicked on tavern). Map I'm trying to play is "Always ready!" or something like that, the first map in list when filtered to show only small maps.
(0003711)
Warmonger   
2013-06-17 09:40   
If that's a different bug, start new issue.

Bug reports are useful only when they are detailed and allow us to reproduce the bug easily (or know they are not reproductible).
(0003712)
Eternal Sorrow   
2013-06-17 09:47   
If game crashes approximately after a minute of playing and every time different ways, I should open new bug for every crash? Why you don't just try to run it and play by yourself?
(0003713)
Warmonger   
2013-06-17 09:50   
1. Because the fact that game crashes for you doesn't mean it also crashes for anybody else.
2. The game is big and complex, while the time of developers is limited and precious. That's true for all open-source projects.
(0003714)
Eternal Sorrow   
2013-06-17 09:57   
I'm sorry, I can't help you. My knowledge of English doesn't allow me to write detailed bug reports for every crash. Besides, after so many crashes I don't want to run it anymore.
(0003715)
Ivan   
2013-06-17 10:36   
Что-то мне эти логи напоминают :)
Ответ тут: http://forum.vcmi.eu/viewtopic.php?p=9492#9492 [^]

Думаю к следующему релизу исправлю.

English:
Looks extremely similar to bug found in Russian thread on forum - some localization weirdness that VCMI can't handle.
(0003716)
Eternal Sorrow   
2013-06-17 10:48   
Так. По русски гораздо проще)
Я так понимаю, проблемы с локализацией вызывают краши. А то, что юниты стрелять не могут, это тоже сязано с локализацией?
(0003717)
Ivan   
2013-06-17 10:53   
Да. Некоторые из абилок читаются из русскоязычных файлов которые VCMI правильно прочитать не может. То же относится к, скажем, параметрам существ и героев.

На следующей неделе постараюсь с этим багом разобраться.
(0003718)
Eternal Sorrow   
2013-06-17 11:16   
Я заменил текстовые файлы на английские из того поста. Краши прекратились по большей части. Но только что игра упала, когда герой-бот подошел к гильдии воров. Это связано с этим багом?
(0003719)
Ivan   
2013-06-17 15:22   
Скорее всего что-то другое. Английские текстовики должны полностью локализацию заменить.

И по поводу багрепортов:
1) Желательно всегда добавлять логи
2) Если баг повторяется, то докинуть название карты и/или сохраненную игру (состоит из двух файлов). Если нет - то добавить файл *.dmp

Ну и по возможности - на английском. Русскоязычных тут не много.
(0003721)
Ivan   
2013-06-23 19:38   
fixed, rev. 3422
VCMI should work with this localization without any obvious bugs.