View Issue Details

IDProjectCategoryView StatusLast Update
0000382Populous: The BeginningGeneralpublic2017-08-31 16:08
ReporterBrandan Assigned ToBrandan  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Summary0000382: Building Dwellers cleanup
DescriptionSomethings something other than a T_PERSON can be inside a building. This makes the game real sad.

Additional Information     pop3b.exe!remove_all_persons_commands(Thing * t_thing) Line 3217 C++
     pop3b.exe!command_person_go_into_building(Thing * t_thing, const Thing * b_thing) Line 7206 C++
> pop3b.exe!computer_move_people_into_sensible_houses::__l5::bool <lambda>(Thing *)::__l34::<lambda>(Thing * dt) Line 691 C++
     pop3b.exe!std::_Func_impl<bool <lambda>(Thing *),std::allocator<int>,bool,Thing *>::_Do_call(Thing * && <_Args_0>) Line 214 C++
     pop3b.exe!<lambda_67dd6c3918fdd7d37db388ead980948e>::operator()<<lambda_71e1d7be589cfaa02255fc8421596db7> >(const ObjectList::processList::__l2::<lambda_71e1d7be589cfaa02255fc8421596db7> & nextCpy) Line 380 C++
     pop3b.exe!ObjectList::processList(unsigned short pos, bool forwardDirection, const std::function<bool __cdecl(Thing *)> & f) Line 399 C++
     pop3b.exe!ObjectList::processList(const std::function<bool __cdecl(Thing *)> & f) Line 317 C++
     pop3b.exe!ObjectTraversal::ProcessGlobalSpecialList(unsigned char pn, unsigned char list, const std::function<bool __cdecl(Thing *)> & f) Line 46 C++
     pop3b.exe!computer_move_people_into_sensible_houses::__l5::<lambda>(Thing * t) Line 734 C++
     pop3b.exe!std::_Func_impl<bool <lambda>(Thing *),std::allocator<int>,bool,Thing *>::_Do_call(Thing * && <_Args_0>) Line 214 C++
     pop3b.exe!<lambda_67dd6c3918fdd7d37db388ead980948e>::operator()<<lambda_71e1d7be589cfaa02255fc8421596db7> >(const ObjectList::processList::__l2::<lambda_71e1d7be589cfaa02255fc8421596db7> & nextCpy) Line 380 C++
     pop3b.exe!ObjectList::processList(unsigned short pos, bool forwardDirection, const std::function<bool __cdecl(Thing *)> & f) Line 399 C++
     pop3b.exe!ObjectList::processList(const std::function<bool __cdecl(Thing *)> & f) Line 317 C++
     pop3b.exe!ObjectTraversal::ProcessGlobalSpecialList(unsigned char pn, unsigned char list, const std::function<bool __cdecl(Thing *)> & f) Line 46 C++
     pop3b.exe!computer_move_people_into_sensible_houses(Player * t_player) Line 745 C++
     pop3b.exe!process_computer_player(Player * t_player) Line 147 C++
     pop3b.exe!process_computer_players() Line 86 C++
     pop3b.exe!game_inner_loop() Line 1722 C++
     pop3b.exe!do_gameturn_process() Line 1685 C++
     pop3b.exe!process_main_game() Line 736 C++
     pop3b.exe!game() Line 460 C++
     pop3b.exe!PopTB::main(const std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > > & args) Line 17 C++
     pop3b.exe!Poco::Util::Application::run(void) C++
     pop3b.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * __formal, char * lpCmdLine, int nCmdShow) Line 62 C++
     pop3b.exe!__scrt_common_main_seh() Line 253 C++
     kernel32.dll!@BaseThreadInitThunk@12() Unknown
     ntdll.dll!__RtlUserThreadStart() Unknown
     ntdll.dll!__RtlUserThreadStart@8() Unknown
TagsNo tags attached.
Build Number2466

Activities

Brandan

2017-07-13 01:58

administrator  

CLPBRDhKQXHG.png (26,867 bytes)   
CLPBRDhKQXHG.png (26,867 bytes)   

Brandan

2017-07-13 16:24

administrator   ~0000191

// Lets test all huts
        auto fs = [](Thing * t)
        {
            Thing* t2;
            for (auto idx : t->u.Bldg->Dwellers)
            {
                if (idx)
                {
                    t2 = THING_IDX_2_PTR_GLOBAL(idx);
                    if (t->Owner != t2->Owner || t->Type != T_BUILDING)
                        report_msg_error(0, "Dweller error");
                    return false;
                }
            }
            return true;
        };
        PROCESS_TYPE(T_BUILDING, fs);

At the end of turn, concludes, it occurs in the middle of the turn.

Issue History

Date Modified Username Field Change
2017-07-13 01:58 Brandan New Issue
2017-07-13 01:58 Brandan File Added: CLPBRDhKQXHG.png
2017-07-13 16:24 Brandan Note Added: 0000191
2017-08-31 16:08 Brandan Status new => resolved
2017-08-31 16:08 Brandan Resolution open => fixed
2017-08-31 16:08 Brandan Assigned To => Brandan