MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003021VCMIAI - Adventure Mappublic2018-11-02 09:342018-11-03 14:19
ReporterPovelitel 
Assigned ToDydzio 
PrioritynormalSeveritycrashReproducibilityrandom
StatusassignedResolutionopen 
Platform64OSWindowsOS Version10
Product Version0.99 
Target VersionFixed in Version 
Summary0003021: Often Crash on this map
DescriptionProblem with MapObjectsEvaluator

 if(obj->ID == Obj::CREATURE_GENERATOR1 || obj->ID == Obj::CREATURE_GENERATOR4)

VCAI.dll!MapObjectsEvaluator::getObjectValue(const CGObjectInstance * obj)Строка 59 C++
    VCAI.dll!VisitObjEngine::evaluate(Goals::VisitObj & goal)Строка 375 C++
    VCAI.dll!FuzzyHelper::setPriority(Goals::TSubgoal & g)Строка 167 C++
    VCAI.dll!VCAI::mainLoop()Строка 867 C++
    VCAI.dll!VCAI::makeTurn()Строка 834 C++
Steps To ReproduceI recomend use autoskip. Don't reproducible from loading autosave, but happen very often if continue game.
TagsNo tags attached.
Attached Files? file icon THE CHAIN WARS Лодкодроч.h3m [^] (26,649 bytes) 2018-11-02 09:34
rar file icon logs.rar [^] (1,797,689 bytes) 2018-11-03 08:55

- Relationships

-  Notes
(0007664)
Dydzio (developer)
2018-11-02 13:10

I was unable to reproduce this bug so far, but found another problems with AI when testing this...
(0007665)
Dydzio (developer)
2018-11-02 13:28
edited on: 2018-11-02 14:19

Managed to reproduce - AI is trying to evaluate removed object. Bug is not in MapObjectsEvaluator. This bug will never reproduce from any save.

(0007666)
Dydzio (developer)
2018-11-02 15:42

Might be fixed in https://github.com/vcmi/vcmi/pull/513 [^] - need testing.
(0007669)
Povelitel (updater)
2018-11-03 08:54

still happening
(0007670)
Dydzio (developer)
2018-11-03 14:19

Next PR with fix... Maybe this time it will work... https://github.com/vcmi/vcmi/pull/515 [^]

- Issue History
Date Modified Username Field Change
2018-11-02 09:34 Povelitel New Issue
2018-11-02 09:34 Povelitel Status new => assigned
2018-11-02 09:34 Povelitel Assigned To => Dydzio
2018-11-02 09:34 Povelitel File Added: THE CHAIN WARS Лодкодроч.h3m
2018-11-02 13:10 Dydzio Note Added: 0007664
2018-11-02 13:28 Dydzio Note Added: 0007665
2018-11-02 14:19 Dydzio Note Edited: 0007665 View Revisions
2018-11-02 15:42 Dydzio Note Added: 0007666
2018-11-03 08:54 Povelitel Note Added: 0007669
2018-11-03 08:55 Povelitel File Added: logs.rar
2018-11-03 14:19 Dydzio Note Added: 0007670

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2018 MantisBT Team
Hosting provided by DigitalOcean