Seite 8 von 32 ErsteErste ... 45678910111218 ... LetzteLetzte
Ergebnis 106 bis 120 von 473

Thema: Debug-Dll

  1. #106
    Moderator Avatar von Kathy
    Registriert seit
    11.10.07
    Beiträge
    17.028
    So, ich hatte nun die MissionsInfo.xml angepasst, nun kommt das Spiel im Debugvorgang bis zum Spielstart. Ich denke, dass ich für weitere Tests das laufende Spiel nehmen werde, das wird kaum während der Woche passieren. Ich möchte grad nicht ein neues Spiel bis zum nächsten Bug losspielen, ich danke, das kommt bei meiner Story schneller.

  2. #107
    Civ4 BASE Coder Avatar von rucivfan
    Registriert seit
    10.07.11
    Ort
    Antarktika
    Beiträge
    19.017
    Aus diesem Grund sollte man auch nur die KI spielen lassen. Dann kann auch nebenbei mal laufen. Man muss nur ab und zu nachschauen, ob es einen Fehler gibt. Das wurde hier schon mal genannt.

  3. #108
    Moderator Avatar von Kathy
    Registriert seit
    11.10.07
    Beiträge
    17.028
    Wie macht man das am effektivsten? Ich denke mal, Spiel starten, sich im WB mit Gipfeln einkreisen, Bauprojekt auf Wohlstand, Forschung auf Zukunftstech und dann den Ende-der-Runde-Button ausschalten ist nur die zweitbeste Wahl, aber die Beste kenne ich nicht.

  4. #109
    Registrierter Benutzer Avatar von Builder
    Registriert seit
    05.12.08
    Beiträge
    3.480
    Ich meine das alle Spieler auf KI gestellt werden können. Dann sollte das Spiel laufen bis es einen Sieger gibt.
    "Vegetarisch" ist indianisch und heißt "zu blöd zum Jagen"

    Bekennender Steam Hasser;)

  5. #110
    Civ4 BASE Coder Avatar von rucivfan
    Registriert seit
    10.07.11
    Ort
    Antarktika
    Beiträge
    19.017
    Ich kenn die Bezeichnung der Kombonente nicht, aber in Base drücke ich einfach strg + shift + x und die KI übernimmt. Man muss nur eventuell die Startbedingungen angleichen.

    - Mit STRG+SHIFT+X kann die KI die Kontrolle über das eigene Reich temporär übernehmen
    - Mit STRG+SHIFT+P kann man eine neue Zivilisation auswählen

  6. #111
    Moderator Avatar von Kathy
    Registriert seit
    11.10.07
    Beiträge
    17.028
    Leider habe ich nichts in den Startbedingungen, was man dazu anpassen könnte - kann es sein, dass das BASE-Spezifisch ist?

    Strg + Shift + X bewirkt bei mir jedenfalls gar nichts.

    Edit: Ich kann auch nicht, wie Builder vorschlug, alle Spieler auf KI stellen, der erste bleibt immer menschlich.

  7. #112
    Moderator Avatar von Kathy
    Registriert seit
    11.10.07
    Beiträge
    17.028
    So, auch ohne Autoplay hatte der nächste Rundenwechsel ein Problem ergeben. Hier das Stack:

    PHP-Code:
    >    CvGameCoreDLL.dll!CvGlobals::getInfoTypeForString(const char szTypebool hideAssert)  Zeile 3616 0x6b Bytes    C++
         
    CvGameCoreDLL.dll!CyGlobalContext::getInfoTypeForString(const char szInfoType)  Zeile 402    C++
         
    CvGameCoreDLL.dll!boost::python::detail::invoke<boost::python::to_python_value<int const &>,int (__thiscall CyGlobalContext::*)(char const *)const ,boost::python::arg_from_python<CyGlobalContext &>,boost::python::arg_from_python<char const *> >(boost::python::detail::invoke_tag_<0,1__formal, const boost::python::to_python_value<int const &> & rcint (const char *)* & fboost::python::arg_from_python<CyGlobalContext &> & tcboost::python::arg_from_python<char const *> & ac0)  Zeile 88 0x1a Bytes    C++
         
    CvGameCoreDLL.dll!boost::python::detail::caller_arity<2>::impl<int (__thiscall CyGlobalContext::*)(char const *)const ,boost::python::default_call_policies,boost::mpl::vector3<int,CyGlobalContext &,char const *> >::operator()(_object args__object __formal)  Zeile 199 0x2f Bytes    C++
         
    CvGameCoreDLL.dll!boost::python::objects::caller_py_function_impl<boost::python::detail::caller<int (__thiscall CyGlobalContext::*)(char const *)const ,boost::python::default_call_policies,boost::mpl::vector3<int,CyGlobalContext &,char const *> > >::operator()(_object args_object kw)  Zeile 39    C++
         
    boost_python-vc71-mt-1_32.dll!1000ea8d()     
         [
    Unten angegebene Rahmen sind möglicherweise nicht korrekt und/oder fehlenkeine Symbole geladen für boost_python-vc71-mt-1_32.dll]    
         
    boost_python-vc71-mt-1_32.dll!1000eb45()     
         
    boost_python-vc71-mt-1_32.dll!100136c1()     
         
    boost_python-vc71-mt-1_32.dll!10013766()     
         
    boost_python-vc71-mt-1_32.dll!1000eb8c()     
         
    boost_python-vc71-mt-1_32.dll!1000ebd0()     
         
    python24.dll!1e0193cc()     
         
    python24.dll!1e026702()     
         
    python24.dll!1e02767e()     
         
    python24.dll!1e0293b7()     
         
    python24.dll!1e02a3bc()     
         
    python24.dll!1e0264b6()     
         
    python24.dll!1e02766c()     
         
    python24.dll!1e0293b7()     
         
    python24.dll!1e02645b()     
         
    python24.dll!1e02766c()     
         
    python24.dll!1e0293b7()     
         
    python24.dll!1e02a3bc()     
         
    python24.dll!1e05f62f()     
         
    python24.dll!1e0193cc()     
         
    python24.dll!1e0262a6()     
         
    python24.dll!1e0193a1()     
         
    Civ4BeyondSword.exe!008d94f6()     
         
    Civ4BeyondSword.exe!008d9564()     
         
    Civ4BeyondSword.exe!008d9704()     
         
    Civ4BeyondSword.exe!004d4f5b()     
         
    Civ4BeyondSword.exe!004da0e8()     
         
    CvGameCoreDLL.dll!CvDllPythonEvents::postEvent(CyArgsList eventData)  Zeile 24 0x4a Bytes    C++
         
    CvGameCoreDLL.dll!CvDllPythonEvents::reportEndGameTurn(int iGameTurn)  Zeile 175    C++
         
    CvGameCoreDLL.dll!CvEventReporter::endGameTurn(int iGameTurn)  Zeile 100    C++
         
    CvGameCoreDLL.dll!CvGame::doTurn()  Zeile 5724    C++
         
    CvGameCoreDLL.dll!CvGame::update()  Zeile 2081    C++
         
    Civ4BeyondSword.exe!00415321()     
         
    KernelBase.dll!7724af21()     
         
    Civ4BeyondSword.exe!006846f7()     
         
    Civ4BeyondSword.exe!00411a7d()     
         
    Civ4BeyondSword.exe!00686bc8()     
         
    Civ4BeyondSword.exe!004d6f46()     
         
    Civ4BeyondSword.exe!008f497f()     
         
    kernel32.dll!76fc33aa()     
         
    ntdll.dll!77b89ef2()     
         
    ntdll.dll!77b89ec5()     
         
    Civ4BeyondSword.exe!00790074()     
         
    Civ4BeyondSword.exe!00790074()     
         
    Civ4BeyondSword.exe!0078006f()     
         
    Civ4BeyondSword.exe!0078006f()     
         
    Civ4BeyondSword.exe!0078006f()     
         
    Civ4BeyondSword.exe!0078006f()     
         
    Civ4BeyondSword.exe!0064006e()     
         
    Civ4BeyondSword.exe!0064006e()     
         
    Civ4BeyondSword.exe!0069006c()     
         
    Civ4BeyondSword.exe!0064006e()     
         
    Civ4BeyondSword.exe!0064005f()     
         
    Civ4BeyondSword.exe!0064005f()     
         
    Civ4BeyondSword.exe!0075006c()     
         
    Civ4BeyondSword.exe!0075006c()     
         
    Civ4BeyondSword.exe!0075006c()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0073005f()     
         
    Civ4BeyondSword.exe!0073005f()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064006e()     
         
    Civ4BeyondSword.exe!0064006e()     
         
    Civ4BeyondSword.exe!0064006e()     
         
    Civ4BeyondSword.exe!0064006e() 
    Der oberste verweist auf diesen Code:
    if(!hideAssert)
    {
    CvString szError;
    szError.Format("info type %s not found, Current XML file is: %s", szType, GC.getCurrentXMLFile().GetCString());
    FAssertMsg(strcmp(szType, "NONE")==0 || strcmp(szType, "")==0, szError.c_str());
    gDLL->logMsg("xml.log", szError);
    }
    Außerdem sagt die Meldung vorher, das "VICTORY_COMMERCIAL" nicht zu finden ist, eigenartigerweise in der Datei "EspionageMissionInfos.xml", nicht in der Datei "VictoryInfos.xml".
    Nichtsdestotrotz schaue ich mal, ob ich nicht beim Einbau der SuperSpies-Mod auch bei den Spionagemissionen geschlampt habe. Habe ich bestimmt.

  8. #113
    Moderator Avatar von Kathy
    Registriert seit
    11.10.07
    Beiträge
    17.028
    Auch nach der Änderung erhalte ich zum Rundenende einen Fehler, und zwar genau den gleichen:
    PHP-Code:
    >    CvGameCoreDLL.dll!CvGlobals::getInfoTypeForString(const char szTypebool hideAssert)  Zeile 3616 0x6b Bytes    C++
         
    CvGameCoreDLL.dll!CyGlobalContext::getInfoTypeForString(const char szInfoType)  Zeile 402    C++
         
    CvGameCoreDLL.dll!boost::python::detail::invoke<boost::python::to_python_value<int const &>,int (__thiscall CyGlobalContext::*)(char const *)const ,boost::python::arg_from_python<CyGlobalContext &>,boost::python::arg_from_python<char const *> >(boost::python::detail::invoke_tag_<0,1__formal, const boost::python::to_python_value<int const &> & rcint (const char *)* & fboost::python::arg_from_python<CyGlobalContext &> & tcboost::python::arg_from_python<char const *> & ac0)  Zeile 88 0x1a Bytes    C++
         
    CvGameCoreDLL.dll!boost::python::detail::caller_arity<2>::impl<int (__thiscall CyGlobalContext::*)(char const *)const ,boost::python::default_call_policies,boost::mpl::vector3<int,CyGlobalContext &,char const *> >::operator()(_object args__object __formal)  Zeile 199 0x2f Bytes    C++
         
    CvGameCoreDLL.dll!boost::python::objects::caller_py_function_impl<boost::python::detail::caller<int (__thiscall CyGlobalContext::*)(char const *)const ,boost::python::default_call_policies,boost::mpl::vector3<int,CyGlobalContext &,char const *> > >::operator()(_object args_object kw)  Zeile 39    C++
         
    boost_python-vc71-mt-1_32.dll!1000ea8d()     
         [
    Unten angegebene Rahmen sind möglicherweise nicht korrekt und/oder fehlenkeine Symbole geladen für boost_python-vc71-mt-1_32.dll]    
         
    boost_python-vc71-mt-1_32.dll!1000eb45()     
         
    boost_python-vc71-mt-1_32.dll!100136c1()     
         
    boost_python-vc71-mt-1_32.dll!10013766()     
         
    boost_python-vc71-mt-1_32.dll!1000eb8c()     
         
    boost_python-vc71-mt-1_32.dll!1000ebd0()     
         
    python24.dll!1e0193cc()     
         
    python24.dll!1e026702()     
         
    python24.dll!1e02767e()     
         
    python24.dll!1e0293b7()     
         
    python24.dll!1e02a3bc()     
         
    python24.dll!1e0264b6()     
         
    python24.dll!1e02766c()     
         
    python24.dll!1e0293b7()     
         
    python24.dll!1e02645b()     
         
    python24.dll!1e02766c()     
         
    python24.dll!1e0293b7()     
         
    python24.dll!1e02a3bc()     
         
    python24.dll!1e05f62f()     
         
    python24.dll!1e0193cc()     
         
    python24.dll!1e0262a6()     
         
    python24.dll!1e0193a1()     
         
    Civ4BeyondSword.exe!008d94f6()     
         
    Civ4BeyondSword.exe!008d9564()     
         
    Civ4BeyondSword.exe!008d9704()     
         
    Civ4BeyondSword.exe!004d4f5b()     
         
    Civ4BeyondSword.exe!004da0e8()     
         
    CvGameCoreDLL.dll!CvDllPythonEvents::postEvent(CyArgsList eventData)  Zeile 24 0x4a Bytes    C++
         
    CvGameCoreDLL.dll!CvDllPythonEvents::reportEndGameTurn(int iGameTurn)  Zeile 175    C++
         
    CvGameCoreDLL.dll!CvEventReporter::endGameTurn(int iGameTurn)  Zeile 100    C++
         
    CvGameCoreDLL.dll!CvGame::doTurn()  Zeile 5724    C++
         
    CvGameCoreDLL.dll!CvGame::update()  Zeile 2081    C++
         
    Civ4BeyondSword.exe!00415321()     
         
    KernelBase.dll!7724af21()     
         
    Civ4BeyondSword.exe!006846f7()     
         
    Civ4BeyondSword.exe!00411a7d()     
         
    Civ4BeyondSword.exe!00686bc8()     
         
    Civ4BeyondSword.exe!004d6f46()     
         
    Civ4BeyondSword.exe!008f497f()     
         
    kernel32.dll!76fc33aa()     
         
    ntdll.dll!77b89ef2()     
         
    ntdll.dll!77b89ec5()     
         
    Civ4BeyondSword.exe!00790074()     
         
    Civ4BeyondSword.exe!00790074()     
         
    Civ4BeyondSword.exe!0078006f()     
         
    Civ4BeyondSword.exe!0078006f()     
         
    Civ4BeyondSword.exe!0078006f()     
         
    Civ4BeyondSword.exe!0078006f()     
         
    Civ4BeyondSword.exe!0064006e()     
         
    Civ4BeyondSword.exe!0064006e()     
         
    Civ4BeyondSword.exe!0069006c()     
         
    Civ4BeyondSword.exe!0064006e()     
         
    Civ4BeyondSword.exe!0064005f()     
         
    Civ4BeyondSword.exe!0064005f()     
         
    Civ4BeyondSword.exe!0075006c()     
         
    Civ4BeyondSword.exe!0075006c()     
         
    Civ4BeyondSword.exe!0075006c()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0073005f()     
         
    Civ4BeyondSword.exe!0073005f()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064006e()     
         
    Civ4BeyondSword.exe!0064006e()     
         
    Civ4BeyondSword.exe!0064006e()     
         
    Civ4BeyondSword.exe!0064006e() 
    Hier etwas ausführlicher die Stelle, zu der er hinspringt:
    PHP-Code:
    //
    // Global Infos Hash Map
    //

    int CvGlobals::getInfoTypeForString(const charszTypebool hideAssert) const
        {
        
    FAssertMsg(szType"null info type string");
        
    InfosMap::const_iterator it m_infosMap.find(szType);
        if (
    it!=m_infosMap.end())
        {
            return 
    it->second;
        }

        if(!
    hideAssert)
        {
            
    CvString szError;
            
    szError.Format("info type %s not found, Current XML file is: %s"szTypeGC.getCurrentXMLFile().GetCString());
            
    FAssertMsg(strcmp(szType"NONE")==|| strcmp(szType"")==0szError.c_str());
            
    gDLL->logMsg("xml.log"szError);
        }

        return -
    1;


  9. #114
    Moderator Avatar von Kathy
    Registriert seit
    11.10.07
    Beiträge
    17.028
    Keine Ahnung, ob es etwas ausmacht, aber meine Debug-DLL hatte nur 40 Spieler, die aktive aber 48. Und beim Wirtschaftssieg gibt es in Python eine Stelle, wo für jeden Spieler -1 initiiert wurde. Also auch für die 8 nicht existierenden (und den 49, den Barbar). Ich kompiliere meine Debug-dll noch einmal mit 48 Spielern, vielleicht klappt es dann.

  10. #115
    Moderator Avatar von Kathy
    Registriert seit
    11.10.07
    Beiträge
    17.028
    Nein, das war auch nicht der Grund. Die Fehlermeldung lautet:

    std::basic_string<char,std::char_traits<char>,std::allocator<char> > = "info type VICTORY_COMMERCIAL not found, Current XML file is: xml\GameInfo/CIV4EspionageMissionInfo.xml"

    Ich verstehe es noch nicht ganz, VICTORY_COMMERCIAL hat in Civ4EspionageMissionInfos nichts zu suchen, und der Zahlenwert (8, weil es der 9. Eintrag in der Civ4VictoryInfos.xml ist) ist bei Civ4EspionageMissionInfos durchaus belegt.

    Der Fehler tritt übrigens beim Rundenwechsel auf.

    Edit: Verdammt, nein, es ist eben nicht definiert! VICTORY_COMMERCE ist definiert.

  11. #116
    Civ4 BASE Coder Avatar von rucivfan
    Registriert seit
    10.07.11
    Ort
    Antarktika
    Beiträge
    19.017
    Zitat Zitat von Kathy Beitrag anzeigen
    Leider habe ich nichts in den Startbedingungen, was man dazu anpassen könnte - kann es sein, dass das BASE-Spezifisch ist?

    Strg + Shift + X bewirkt bei mir jedenfalls gar nichts.

    Edit: Ich kann auch nicht, wie Builder vorschlug, alle Spieler auf KI stellen, der erste bleibt immer menschlich.
    Ich meinte, du musst die gleiche Modkombonente einbauen um auch so einfach die KI übernehmen zu lassen.

    Den Rest mit den Fehlern kann ich nicht nachvollziehen, was du gemacht hast.

  12. #117
    Civ4 BASE Coder Avatar von rucivfan
    Registriert seit
    10.07.11
    Ort
    Antarktika
    Beiträge
    19.017
    Zitat Zitat von Kathy Beitrag anzeigen
    Achtung Spoiler:
    Auch nach der Änderung erhalte ich zum Rundenende einen Fehler, und zwar genau den gleichen:
    PHP-Code:
    >    CvGameCoreDLL.dll!CvGlobals::getInfoTypeForString(const char szTypebool hideAssert)  Zeile 3616 0x6b Bytes    C++
         
    CvGameCoreDLL.dll!CyGlobalContext::getInfoTypeForString(const char szInfoType)  Zeile 402    C++
         
    CvGameCoreDLL.dll!boost::python::detail::invoke<boost::python::to_python_value<int const &>,int (__thiscall CyGlobalContext::*)(char const *)const ,boost::python::arg_from_python<CyGlobalContext &>,boost::python::arg_from_python<char const *> >(boost::python::detail::invoke_tag_<0,1__formal, const boost::python::to_python_value<int const &> & rcint (const char *)* & fboost::python::arg_from_python<CyGlobalContext &> & tcboost::python::arg_from_python<char const *> & ac0)  Zeile 88 0x1a Bytes    C++
         
    CvGameCoreDLL.dll!boost::python::detail::caller_arity<2>::impl<int (__thiscall CyGlobalContext::*)(char const *)const ,boost::python::default_call_policies,boost::mpl::vector3<int,CyGlobalContext &,char const *> >::operator()(_object args__object __formal)  Zeile 199 0x2f Bytes    C++
         
    CvGameCoreDLL.dll!boost::python::objects::caller_py_function_impl<boost::python::detail::caller<int (__thiscall CyGlobalContext::*)(char const *)const ,boost::python::default_call_policies,boost::mpl::vector3<int,CyGlobalContext &,char const *> > >::operator()(_object args_object kw)  Zeile 39    C++
         
    boost_python-vc71-mt-1_32.dll!1000ea8d()     
         [
    Unten angegebene Rahmen sind möglicherweise nicht korrekt und/oder fehlenkeine Symbole geladen für boost_python-vc71-mt-1_32.dll]    
         
    boost_python-vc71-mt-1_32.dll!1000eb45()     
         
    boost_python-vc71-mt-1_32.dll!100136c1()     
         
    boost_python-vc71-mt-1_32.dll!10013766()     
         
    boost_python-vc71-mt-1_32.dll!1000eb8c()     
         
    boost_python-vc71-mt-1_32.dll!1000ebd0()     
         
    python24.dll!1e0193cc()     
         
    python24.dll!1e026702()     
         
    python24.dll!1e02767e()     
         
    python24.dll!1e0293b7()     
         
    python24.dll!1e02a3bc()     
         
    python24.dll!1e0264b6()     
         
    python24.dll!1e02766c()     
         
    python24.dll!1e0293b7()     
         
    python24.dll!1e02645b()     
         
    python24.dll!1e02766c()     
         
    python24.dll!1e0293b7()     
         
    python24.dll!1e02a3bc()     
         
    python24.dll!1e05f62f()     
         
    python24.dll!1e0193cc()     
         
    python24.dll!1e0262a6()     
         
    python24.dll!1e0193a1()     
         
    Civ4BeyondSword.exe!008d94f6()     
         
    Civ4BeyondSword.exe!008d9564()     
         
    Civ4BeyondSword.exe!008d9704()     
         
    Civ4BeyondSword.exe!004d4f5b()     
         
    Civ4BeyondSword.exe!004da0e8()     
         
    CvGameCoreDLL.dll!CvDllPythonEvents::postEvent(CyArgsList eventData)  Zeile 24 0x4a Bytes    C++
         
    CvGameCoreDLL.dll!CvDllPythonEvents::reportEndGameTurn(int iGameTurn)  Zeile 175    C++
         
    CvGameCoreDLL.dll!CvEventReporter::endGameTurn(int iGameTurn)  Zeile 100    C++
         
    CvGameCoreDLL.dll!CvGame::doTurn()  Zeile 5724    C++
         
    CvGameCoreDLL.dll!CvGame::update()  Zeile 2081    C++
         
    Civ4BeyondSword.exe!00415321()     
         
    KernelBase.dll!7724af21()     
         
    Civ4BeyondSword.exe!006846f7()     
         
    Civ4BeyondSword.exe!00411a7d()     
         
    Civ4BeyondSword.exe!00686bc8()     
         
    Civ4BeyondSword.exe!004d6f46()     
         
    Civ4BeyondSword.exe!008f497f()     
         
    kernel32.dll!76fc33aa()     
         
    ntdll.dll!77b89ef2()     
         
    ntdll.dll!77b89ec5()     
         
    Civ4BeyondSword.exe!00790074()     
         
    Civ4BeyondSword.exe!00790074()     
         
    Civ4BeyondSword.exe!0078006f()     
         
    Civ4BeyondSword.exe!0078006f()     
         
    Civ4BeyondSword.exe!0078006f()     
         
    Civ4BeyondSword.exe!0078006f()     
         
    Civ4BeyondSword.exe!0064006e()     
         
    Civ4BeyondSword.exe!0064006e()     
         
    Civ4BeyondSword.exe!0069006c()     
         
    Civ4BeyondSword.exe!0064006e()     
         
    Civ4BeyondSword.exe!0064005f()     
         
    Civ4BeyondSword.exe!0064005f()     
         
    Civ4BeyondSword.exe!0075006c()     
         
    Civ4BeyondSword.exe!0075006c()     
         
    Civ4BeyondSword.exe!0075006c()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0073005f()     
         
    Civ4BeyondSword.exe!0073005f()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064006e()     
         
    Civ4BeyondSword.exe!0064006e()     
         
    Civ4BeyondSword.exe!0064006e()     
         
    Civ4BeyondSword.exe!0064006e() 
    Hier etwas ausführlicher die Stelle, zu der er hinspringt:
    PHP-Code:
    //
    // Global Infos Hash Map
    //

    int CvGlobals::getInfoTypeForString(const charszTypebool hideAssert) const
        {
        
    FAssertMsg(szType"null info type string");
        
    InfosMap::const_iterator it m_infosMap.find(szType);
        if (
    it!=m_infosMap.end())
        {
            return 
    it->second;
        }

        if(!
    hideAssert)
        {
            
    CvString szError;
            
    szError.Format("info type %s not found, Current XML file is: %s"szTypeGC.getCurrentXMLFile().GetCString());
            
    FAssertMsg(strcmp(szType"NONE")==|| strcmp(szType"")==0szError.c_str());
            
    gDLL->logMsg("xml.log"szError);
        }

        return -
    1;

    Irgend wo in deinen Python Code wird getInfoTypeForString aufgerufen. Der Fehler ist nicht im SDK, sondern bei den Pythonaufruf.


    edit: Um es genauer zu sagen, der Fehler wird zwar im SDK ausgelöst, aber im Pythoncode verursacht.

    edit2: Kann im Grunde ignoriert werden. Du suchst mit getInfoTypeForString einen Wert, der nicht gefunden wird. Aus irgend einen Grund stehen manchmal die Werte zu den Bezeichnungen in Civ 4 zeitweise nicht zur Verfügung.
    Geändert von rucivfan (12. Juli 2013 um 23:27 Uhr)

  13. #118
    Moderator Avatar von Kathy
    Registriert seit
    11.10.07
    Beiträge
    17.028
    Das Problem mit dem COMMERCIAL_VICTORY ist gelöst, es war tatsächlich eine Python-Datei. Jetzt bin ich soweit, dass das Spiel den ersten Rundenwechsel ohne Unterbrechung übersteht.

    Was das implementieren einer Modkomponente von BASE (oder woher die auch immer stammt) angeht, fühle ich mich nicht wohl. Ich müsste in dem Wust von SDK_Dateien die richtigen finden, dazu die richtigen Codeteile und die bei mir so einbauen, dass sich nichts überschneidet. So tief bin ich nicht in der SDK-Materie drin bisher.

  14. #119
    Moderator Avatar von Kathy
    Registriert seit
    11.10.07
    Beiträge
    17.028
    Mein Neuster Versuch, diesmal mit dem gespeicherten Spielstand.

    Hier das Stack, die Unterbrechung erfolgt schon beim Laden des Spielstandes:
    PHP-Code:
    >    ntdll.dll!777615de()     
         [
    Unten angegebene Rahmen sind möglicherweise nicht korrekt und/oder fehlenkeine Symbole geladen für ntdll.dll]    
         
    ntdll.dll!777615de()     
         
    ntdll.dll!7775014e()     
         
    KernelBase.dll!757bc41f()     
         
    KernelBase.dll!757bc41f()     
         
    KernelBase.dll!757bc41f()     
         
    KernelBase.dll!757bc41f()     
         
    msvcr71.dll!7c359aed()     
         
    msvcr71.dll!7c34218f()     
         
    ntdll.dll!77796124()     
         
    KernelBase.dll!757b8eaf()     
         
    Civ4BeyondSword.exe!006846f7()     
         
    Civ4BeyondSword.exe!00411a7d()     
         
    Civ4BeyondSword.exe!00407910()     
         
    Civ4BeyondSword.exe!00411d91()     
         
    Civ4BeyondSword.exe!004d6f35()     
         
    Civ4BeyondSword.exe!008f497f()     
         
    kernel32.dll!772433aa()     
         
    ntdll.dll!77779ef2()     
         
    ntdll.dll!77779ec5()     
         
    Civ4BeyondSword.exe!00790074()     
         
    Civ4BeyondSword.exe!00790074()     
         
    Civ4BeyondSword.exe!0078006f()     
         
    Civ4BeyondSword.exe!0078006f()     
         
    Civ4BeyondSword.exe!0078006f()     
         
    Civ4BeyondSword.exe!0078006f()     
         
    Civ4BeyondSword.exe!0064006e()     
         
    Civ4BeyondSword.exe!0064006e()     
         
    Civ4BeyondSword.exe!0069006c()     
         
    Civ4BeyondSword.exe!0064006e()     
         
    Civ4BeyondSword.exe!0064005f()     
         
    Civ4BeyondSword.exe!0064005f()     
         
    Civ4BeyondSword.exe!0075006c()     
         
    Civ4BeyondSword.exe!0075006c()     
         
    Civ4BeyondSword.exe!0075006c()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0073005f()     
         
    Civ4BeyondSword.exe!0073005f()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064002e()     
         
    Civ4BeyondSword.exe!0064006e()     
         
    Civ4BeyondSword.exe!0064006e()     
         
    Civ4BeyondSword.exe!0064006e()     
         
    Civ4BeyondSword.exe!0064006e() 
    Wenn ich auf die oberste Zeile Doppelklicke, springt er nirgendwo hin. Wie finde ich nun die Fehlerursache?

    Edit: Über "disassembly" kann ich mir etwas anzeigen lassen, wo er zu dieser Zeile springt:
    777615DE add esp,4
    Sagt das irgendetwas aus?

  15. #120
    Civ4 BASE Coder Avatar von rucivfan
    Registriert seit
    10.07.11
    Ort
    Antarktika
    Beiträge
    19.017
    Das heißt, der Fehler liegt nicht im SDK. Das kannst du mangels Informationen nicht beseitigen. Kannst du ein neues Spiel starten, speichern und laden?

    Disassembly bedeutet, es wird der Maschienencode in die Assembly Sprache übersetzt. Diese Informationen nützen dir aber wirklich nichts. Assembly ist weit weg von den Hochsprachen wie c++ und noch weiter weg von Python.

Seite 8 von 32 ErsteErste ... 45678910111218 ... LetzteLetzte

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •