Folgenden Stack habe ich.
Code:
CvGameCoreDLL.dll!CvTeam::isHasMet(TeamTypes eIndex=0xffffffff) Zeile 3975 + 0x39 Bytes C++
> CvGameCoreDLL.dll!CyTeam::isHasMet(int eIndex=0xffffffff) Zeile 622 + 0x16 Bytes C++
CvGameCoreDLL.dll!boost::python::detail::invoke<boost::python::to_python_value<bool const &>,bool (__thiscall CyTeam::*)(int),boost::python::arg_from_python<CyTeam &>,boost::python::arg_from_python<int> >(boost::python::detail::invoke_tag_<0,1> __formal={...}, const boost::python::to_python_value<bool const &> & rc={...}, bool (int)* & f=0x05ce88a3, boost::python::arg_from_python<CyTeam &> & tc={...}, boost::python::arg_from_python<int> & ac0={...}) Zeile 88 + 0x1c Bytes C++
CvGameCoreDLL.dll!boost::python::detail::caller_arity<2>::impl<bool (__thiscall CyTeam::*)(int),boost::python::default_call_policies,boost::mpl::vector3<bool,CyTeam &,int> >::operator()(_object * args_=0x056a9c88, _object * __formal=0x00000000) Zeile 199 + 0x2f Bytes C++
CvGameCoreDLL.dll!boost::python::objects::caller_py_function_impl<boost::python::detail::caller<bool (__thiscall CyTeam::*)(int),boost::python::default_call_policies,boost::mpl::vector3<bool,CyTeam &,int> > >::operator()(_object * args=0x056a9c88, _object * kw=0x00000000) Zeile 39 C++
[...]
CvGameCoreDLL.dll!CvDllPythonEvents::postEvent(CyArgsList & eventData={...}) Zeile 24 + 0x4a Bytes C++
CvGameCoreDLL.dll!CvDllPythonEvents::reportGenericEvent(const char * szEventName=0x068a2fe4, void * pyArgs=0x02e37f30) Zeile 1148 C++
CvGameCoreDLL.dll!CvEventReporter::genericEvent(const char * szEventName=0x068a2fe4, void * pyArgs=0x02e37f30) Zeile 40 C++
CvGameCoreDLL.dll!CvGame::update() Zeile 2148 C++
Wie kann ich rausfinden, wo der Fehler in Python liegt? Den Fehler gibt es schon länger in Base, aber ich finde den Ursprung einfach nicht. Es gibt einfach zu viele Möglichkeiten. Der eigentliche Fehler ist, dass kein Team übergeben wird.
edit: Das war, glaub ich, beim erstkontakt. Der Fehler tritt aber nich nur dort auf.