Announcement

Collapse
No announcement yet.

CTP2 Apolyton Edition: Revision 1013 (25-Jul-2009)

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #31
    Crashtest Report

    I am trying hard to get my Mod running without crashes, but the current result is that I am producing slightly different crashes.

    The setting:

    - a fair amount of modifications (SLIC- and text-wise)
    - ultra-gigantic map (140 x 280), 20 civs
    - debug SLIC on (no complaints)
    - debug SLIC events off (it always complains but doesn't give me a hint where to look for the problem)
    - /attach 1 /rnd 400 (but always crashes after 100-130 turns)

    Funnily (some of) the crashes seem to be related to event handling, somehow, but I still have no idea how. I mean, I know I'm dealing with events, using them as triggers, triggering them and even suppressing their execution (return STOP) ... but everything as described in the manual

    The good news is: The game runs extremely fast and smoothly and everything works to my satisfaction until the crash

    Anyway, here's the crash collection:

    Code:
    Version 2009-07-24
      0x7c921689  [__onexitbegin + 0x7bf4f331]
      0x7c92a3f5  [__onexitbegin + 0x7bf5809d]
      0x7c921937  [__onexitbegin + 0x7bf4f5df]
      0x77bfc3c9  [__onexitbegin + 0x7722a071]
      0x77bfc3e7  [__onexitbegin + 0x7722a08f]
      0x77bfc42e  [__onexitbegin + 0x7722a0d6]
      0x0052c69e  [?getData_ZFS@ProjectFile@@AAEPAXPAUPFEntry@@AAI@Z + 0x3e]
      0x0052c8ae  [?getData@ProjectFile@@QAEPAXPBDAAIW4C3DIR@@@Z + 0xee]
      0x007af821  [??0CivSound@@QAE@ABIABH@Z + 0xa1]
      0x007b092c  [?AddLoopingSound@SoundManager@@QAEXABW4SOUNDTYPE@@ABIABHHH@Z + 0x16c]
      0x00415fe3  [?ActionMove@UnitActor@@UAE_NPAVAction@@@Z + 0x193]
      0x004311f6  [?dh_move@@YAXPAVDQAction@@PAVSequence@@W4DHEXECUTE@@@Z + 0x116]
      0x0042b833  [?HandleNextAction@Director@@QAEXXZ + 0xc3]
      0x0040c21b  [?Process@CivApp@@QAEHXZ + 0x11b]
      0x006ed1ee  [?CheckForEasterEggs@ChatWindow@@QAEHPAD@Z + 0x12e]
      0x006ed066  [?ChatCallback@ChatWindow@@SAXPAVaui_Control@@IIPAX@Z + 0x66]
      0x006778b2  [?TextFieldWindowProc@@YGJPAUHWND__@@IIJ@Z + 0xa2]
      0x7e368734  [__onexitbegin + 0x7d9963dc]
      0x7e368816  [__onexitbegin + 0x7d9964be]
      0x7e3689cd  [__onexitbegin + 0x7d996675]
      0x7e3696c7  [__onexitbegin + 0x7d99736f]
      0x00406f52  [?CivMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x3d2]
      0x00406975  [WinMain@16 + 0x65]
      0x0080a09c  [WinMainCRTStartup + 0x134]
      0x7c817077  [__onexitbegin + 0x7be44d1f]
    
    Version 
      0x7c921689  [__onexitbegin + 0x7bf4f331]
      0x7c92a3f5  [__onexitbegin + 0x7bf5809d]
      0x7c921937  [__onexitbegin + 0x7bf4f5df]
      0x77bfc3c9  [__onexitbegin + 0x7722a071]
      0x77bfc3e7  [__onexitbegin + 0x7722a08f]
      0x77bfc42e  [__onexitbegin + 0x7722a0d6]
      0x00403900  [?Debug_AddFunction@@YAXPADI@Z + 0x10]
      0x00403a95  [?Debug_FunctionNameOpen@@YAHPAD@Z + 0x115]
      0x0040425c  [?c3debug_ExceptionStackTrace@@YAPADPAU_EXCEPTION_POINTERS@@@Z + 0x1c]
      0x00406a88  [?main_CivExceptionHandler@@YAJPAU_EXCEPTION_POINTERS@@@Z + 0x98]
      0x00406998  [WinMain@16 + 0x88]
      0x0080a09c  [WinMainCRTStartup + 0x134]
      0x7c817077  [__onexitbegin + 0x7be44d1f]
    
    Version 2009-07-24
      0x7c921689  [__onexitbegin + 0x7bf4f331]
      0x7c92a3f5  [__onexitbegin + 0x7bf5809d]
      0x7c921937  [__onexitbegin + 0x7bf4f5df]
      0x77bfc3c9  [__onexitbegin + 0x7722a071]
      0x77bfc3e7  [__onexitbegin + 0x7722a08f]
      0x77bfc42e  [__onexitbegin + 0x7722a0d6]
      0x0040214d  [??2@YAPAXI@Z + 0xd]
      0x007f32e8  [?AddRoadPriority@Governor@@QAE_NAAVPath@@ABN@Z + 0x168]
      0x007f3710  [?ComputeRoadPriorities@Governor@@QAEXXZ + 0x2b0]
      0x007fc52d  [?BeginTurn@CtpAi@@SAXH@Z + 0x20d]
      0x007fb87e  [?GEVHookCallback@CtpAi_BeginTurnEvent@@EAE?AW4GAME_EVENT_HOOK_DISPOSITION@@W4GAME_EVENT@@PAVGameEventArgList@@@Z + 0x1e]
      0x00580407  [?Activate@GameEventHook@@QBE?AW4GAME_EVENT_ERR@@PAVGameEventArgList@@HAAH@Z + 0x37]
      0x00580dc8  [?ActivateHook@GameEventManager@@QAE?AW4GAME_EVENT_ERR@@W4GAME_EVENT@@PAVGameEventArgList@@HAAH@Z + 0x28]
      0x0057eeed  [?Process@GameEvent@@QAE?AW4GAME_EVENT_ERR@@XZ + 0x2d]
      0x00580840  [?AddEvent@GameEventManager@@QAA?AW4GAME_EVENT_ERR@@W4GAME_EVENT_INSERT@@W4GAME_EVENT@@ZZ + 0xd0]
      0x00433175  [?dh_endTurn@@YAXPAVDQAction@@PAVSequence@@W4DHEXECUTE@@@Z + 0x35]
      0x0042b833  [?HandleNextAction@Director@@QAEXXZ + 0xc3]
      0x0040c21b  [?Process@CivApp@@QAEHXZ + 0x11b]
      0x006ed1ee  [?CheckForEasterEggs@ChatWindow@@QAEHPAD@Z + 0x12e]
      0x006ed066  [?ChatCallback@ChatWindow@@SAXPAVaui_Control@@IIPAX@Z + 0x66]
      0x006778b2  [?TextFieldWindowProc@@YGJPAUHWND__@@IIJ@Z + 0xa2]
      0x7e368734  [__onexitbegin + 0x7d9963dc]
      0x7e368816  [__onexitbegin + 0x7d9964be]
      0x7e3689cd  [__onexitbegin + 0x7d996675]
      0x7e3696c7  [__onexitbegin + 0x7d99736f]
      0x00406f52  [?CivMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x3d2]
      0x00406975  [WinMain@16 + 0x65]
      0x0080a09c  [WinMainCRTStartup + 0x134]
      0x7c817077  [__onexitbegin + 0x7be44d1f]
    
    Version 2009-07-24
      0x007e0475  [?Remove_Matches@Goal@@QAEXXZ + 0x15]
      0x007db730  [?Prioritize_Goals@Scheduler@@QAE_NXZ + 0x70]
      0x007daf58  [?Process_Goal_Changes@Scheduler@@QAEXXZ + 0x138]
      0x007fb303  [?GEVHookCallback@CtpAi_BeginSchedulerEvent@@EAE?AW4GAME_EVENT_HOOK_DISPOSITION@@W4GAME_EVENT@@PAVGameEventArgList@@@Z + 0x73]
      0x00580407  [?Activate@GameEventHook@@QBE?AW4GAME_EVENT_ERR@@PAVGameEventArgList@@HAAH@Z + 0x37]
      0x00580dc8  [?ActivateHook@GameEventManager@@QAE?AW4GAME_EVENT_ERR@@W4GAME_EVENT@@PAVGameEventArgList@@HAAH@Z + 0x28]
      0x0057eeed  [?Process@GameEvent@@QAE?AW4GAME_EVENT_ERR@@XZ + 0x2d]
      0x0040c301  [?Process@CivApp@@QAEHXZ + 0x201]
      0x006ed1ee  [?CheckForEasterEggs@ChatWindow@@QAEHPAD@Z + 0x12e]
      0x006ed066  [?ChatCallback@ChatWindow@@SAXPAVaui_Control@@IIPAX@Z + 0x66]
      0x006778b2  [?TextFieldWindowProc@@YGJPAUHWND__@@IIJ@Z + 0xa2]
      0x7e368734  [__onexitbegin + 0x7d9963dc]
      0x7e368816  [__onexitbegin + 0x7d9964be]
      0x7e3689cd  [__onexitbegin + 0x7d996675]
      0x7e3696c7  [__onexitbegin + 0x7d99736f]
      0x00406f52  [?CivMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x3d2]
      0x00406975  [WinMain@16 + 0x65]
      0x0080a09c  [WinMainCRTStartup + 0x134]
      0x7c817077  [__onexitbegin + 0x7be44d1f]
    
    Version 2009-07-24
      0x7c921689  [__onexitbegin + 0x7bf4f331]
      0x7c92a3f5  [__onexitbegin + 0x7bf5809d]
      0x7c921937  [__onexitbegin + 0x7bf4f5df]
      0x77bfc3c9  [__onexitbegin + 0x7722a071]
      0x77bfc3e7  [__onexitbegin + 0x7722a08f]
      0x77bfc42e  [__onexitbegin + 0x7722a0d6]
      0x0040214d  [??2@YAPAXI@Z + 0xd]
      0x007fa655  [?AddForeignerGoalsForCity@CtpAi@@SAXABVUnit@@H@Z + 0xd5]
      0x007fa3da  [?GEVHookCallback@CtpAi_CreateCityEvent@@EAE?AW4GAME_EVENT_HOOK_DISPOSITION@@W4GAME_EVENT@@PAVGameEventArgList@@@Z + 0x7a]
      0x00580407  [?Activate@GameEventHook@@QBE?AW4GAME_EVENT_ERR@@PAVGameEventArgList@@HAAH@Z + 0x37]
      0x00580dc8  [?ActivateHook@GameEventManager@@QAE?AW4GAME_EVENT_ERR@@W4GAME_EVENT@@PAVGameEventArgList@@HAAH@Z + 0x28]
      0x0057eeed  [?Process@GameEvent@@QAE?AW4GAME_EVENT_ERR@@XZ + 0x2d]
      0x00580840  [?AddEvent@GameEventManager@@QAA?AW4GAME_EVENT_ERR@@W4GAME_EVENT_INSERT@@W4GAME_EVENT@@ZZ + 0xd0]
      0x00433175  [?dh_endTurn@@YAXPAVDQAction@@PAVSequence@@W4DHEXECUTE@@@Z + 0x35]
      0x0042b833  [?HandleNextAction@Director@@QAEXXZ + 0xc3]
      0x0040c21b  [?Process@CivApp@@QAEHXZ + 0x11b]
      0x006ed1ee  [?CheckForEasterEggs@ChatWindow@@QAEHPAD@Z + 0x12e]
      0x006ed066  [?ChatCallback@ChatWindow@@SAXPAVaui_Control@@IIPAX@Z + 0x66]
      0x006778b2  [?TextFieldWindowProc@@YGJPAUHWND__@@IIJ@Z + 0xa2]
      0x7e368734  [__onexitbegin + 0x7d9963dc]
      0x7e368816  [__onexitbegin + 0x7d9964be]
      0x7e3689cd  [__onexitbegin + 0x7d996675]
      0x7e3696c7  [__onexitbegin + 0x7d99736f]
      0x00406f52  [?CivMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x3d2]
      0x00406975  [WinMain@16 + 0x65]
      0x0080a09c  [WinMainCRTStartup + 0x134]
      0x7c817077  [__onexitbegin + 0x7be44d1f]
    
    Version 2009-07-24
      0x7c9469da  [__onexitbegin + 0x7bf74682]
      0x77bfc3c9  [__onexitbegin + 0x7722a071]
      0x77bfc3e7  [__onexitbegin + 0x7722a08f]
      0x77bfc42e  [__onexitbegin + 0x7722a0d6]
      0x0040214d  [??2@YAPAXI@Z + 0xd]
      0x0057efa2  [??0GameEventArgList@@QAE@PAPADW4GAME_EVENT@@@Z + 0xa2]
      0x0058081e  [?AddEvent@GameEventManager@@QAA?AW4GAME_EVENT_ERR@@W4GAME_EVENT_INSERT@@W4GAME_EVENT@@ZZ + 0xae]
      0x004bac67  [?BeginTurnEnemyUnits@Player@@QAEXXZ + 0x117]
      0x004cd1b0  [?BeginTurn@Player@@QAEXXZ + 0x350]
      0x0050d3e0  [?GEVHookCallback@BeginTurnEvent@@EAE?AW4GAME_EVENT_HOOK_DISPOSITION@@W4GAME_EVENT@@PAVGameEventArgList@@@Z + 0xb0]
      0x00580407  [?Activate@GameEventHook@@QBE?AW4GAME_EVENT_ERR@@PAVGameEventArgList@@HAAH@Z + 0x37]
      0x00580dc8  [?ActivateHook@GameEventManager@@QAE?AW4GAME_EVENT_ERR@@W4GAME_EVENT@@PAVGameEventArgList@@HAAH@Z + 0x28]
      0x0057eeed  [?Process@GameEvent@@QAE?AW4GAME_EVENT_ERR@@XZ + 0x2d]
      0x00580840  [?AddEvent@GameEventManager@@QAA?AW4GAME_EVENT_ERR@@W4GAME_EVENT_INSERT@@W4GAME_EVENT@@ZZ + 0xd0]
      0x00433175  [?dh_endTurn@@YAXPAVDQAction@@PAVSequence@@W4DHEXECUTE@@@Z + 0x35]
      0x0042b833  [?HandleNextAction@Director@@QAEXXZ + 0xc3]
      0x0040c21b  [?Process@CivApp@@QAEHXZ + 0x11b]
      0x006ed1ee  [?CheckForEasterEggs@ChatWindow@@QAEHPAD@Z + 0x12e]
      0x006ed066  [?ChatCallback@ChatWindow@@SAXPAVaui_Control@@IIPAX@Z + 0x66]
      0x006778b2  [?TextFieldWindowProc@@YGJPAUHWND__@@IIJ@Z + 0xa2]
      0x7e368734  [__onexitbegin + 0x7d9963dc]
      0x7e368816  [__onexitbegin + 0x7d9964be]
      0x7e3689cd  [__onexitbegin + 0x7d996675]
      0x7e3696c7  [__onexitbegin + 0x7d99736f]
      0x00406f52  [?CivMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x3d2]
      0x00406975  [WinMain@16 + 0x65]
      0x0080a09c  [WinMainCRTStartup + 0x134]
      0x7c817077  [__onexitbegin + 0x7be44d1f]
    P.S.: If anyone is interested, I could provide a pre-alpha version of the above mentioned Mod for download (not because I want to release it as such, but only in case it could be useful for scientific research & debugging).
    The modding knowledgebase: CTP2 Bureau (with CTP2 AE Modding Wiki). Modern Times Mod (work in progress): MoT-Mod for CTP2.

    Comment


    • #32
      Originally posted by BureauBert View Post

      - debug SLIC events off (it always complains but doesn't give me a hint where to look for the problem)
      I think it's just to fix the event internally, nothing you can do through slic to avoid them.

      P.S.: If anyone is interested, I could provide a pre-alpha version of the above mentioned Mod for download (not because I want to release it as such, but only in case it could be useful for scientific research & debugging).
      It might be useful, along with the save game then we can run it in the debugger. I don't have much time for CtP2 at the moment though, and perhaps Martin can tell what's wrong just from those crash logs anyway.
      Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
      CtP2 AE Wiki & Modding Reference
      One way to compile the CtP2 Source Code.

      Comment


      • #33
        Originally posted by cap601 View Post
        I just started a new game and came across the following incident of a slaver apparently walking on water. I was attempting to move the settler to the hoplite when the slaver appeared and the move cancelled. I think I may have come across this in previous playtests but forgotten to report it. I've attached the save file if it's any help.
        They're really in that position, it's the graphic that is out of place

        PS: What happened to the occupying options? It was very nice when you could decide to liberalize, destroy or occupy

        Comment


        • #34
          The only two problems I have noticed are one with attempting to load build queues causes a crash to desktop with no error message and the "maximum number of civs at the same time" option does not work correctly, If say I decided to allow 32 civs in the game but only 10 at the same time, even tho I have set the settings correctly, it will always allow the 32 civs at the same time.

          I hope that all made sence.

          Comment


          • #35
            Originally posted by ~ Hiro Osric ~ View Post
            The only two problems I have noticed are one with attempting to load build queues causes a crash to desktop with no error message
            Who cares about error messages to you have a crash.txt? If yes, post its content here.

            Originally posted by ~ Hiro Osric ~ View Post
            and the "maximum number of civs at the same time" option does not work correctly, If say I decided to allow 32 civs in the game but only 10 at the same time, even tho I have set the settings correctly, it will always allow the 32 civs at the same time.

            I hope that all made sence.
            What's wrong about the first thing is the number of players you are starting with and the second thing is the number of players that can be in the game, when new civs are created. If you have reached that limit, then every revolting city is given to the Barbarians otherwise, it is given to a new civ.

            -Martin
            Civ2 military advisor: "No complaints, Sir!"

            Comment


            • #36
              Originally posted by LemurMadness View Post
              PS: What happened to the occupying options? It was very nice when you could decide to liberalize, destroy or occupy
              Propably you didn't enable them on the rules screen.

              -Martin
              Civ2 military advisor: "No complaints, Sir!"

              Comment


              • #37
                Originally posted by Martin Gühmann View Post
                Propably you didn't enable them on the rules screen.

                -Martin
                Oh, I see them now. Silly me

                By the way, loading ANY queue causes the game to crash.

                Comment


                • #38
                  Originally posted by Martin Gühmann View Post
                  Who cares about error messages to you have a crash.txt? If yes, post its content here.
                  No, I do not, sorry. For future problem reporting reasons, where would I find a crash.txt file?

                  And is there any way to get the scenarios to work?
                  Last edited by Martin Gühmann; August 21, 2009, 15:13.

                  Comment


                  • #39
                    Originally posted by ~ Hiro Osric ~ View Post
                    No, I do not, sorry. For future problem reporting reasons, where would I find a crash.txt file?

                    And is there any way to get the scenarios to work?
                    After a crash you find a crash.txt in a folder called: ..\ctp2_programm\ctp\logs\

                    If there is no crash.txt check whether you have a line in the userprofile.txt in your ..\ctp2_program\ctp\ folder that says:

                    EnableLogs=Yes

                    If it says EnableLogs=No then edit accordingly.

                    -Martin
                    Civ2 military advisor: "No complaints, Sir!"

                    Comment


                    • #40
                      Originally posted by Martin Gühmann View Post
                      After a crash you find a crash.txt in a folder called: ..\ctp2_programm\ctp\logs\

                      If there is no crash.txt check whether you have a line in the userprofile.txt in your ..\ctp2_program\ctp\ folder that says:

                      EnableLogs=Yes

                      If it says EnableLogs=No then edit accordingly.

                      -Martin
                      After enabling "logs" and recreating the crash here is the contents of the crash.txt:

                      Version 2009-07-25
                      0x00490748 [?LoadQueue@CityData@@QAEHPBD@Z + 0x18]
                      0x00705567 [?LoadQueryCallback@EditQueue@@SAX_NPAX@Z + 0x87]
                      0x0075c780 [?Query@MessageBoxDialog@@SAXPBD0P6AX_NPAX@Z200@Z + 0xd0]
                      0x007053fe [?LoadCallback@EditQueue@@SAXPAVaui_Control@@IIPAX@ Z + 0xae]
                      0x0064b14b [?MouseLDropInside@aui_Button@@MAEXPAUaui_MouseEven t@@@Z + 0xdb]
                      0x006ce7a8 [?MouseLDropInside@ctp2_Button@@UAEXPAUaui_MouseEve nt@@@Z + 0x18]
                      0x0066dc55 [?MouseDispatch@aui_Region@@QAEXPAUaui_MouseEvent@@ H@Z + 0x2c5]
                      0x0066c105 [?HandleMouseEvent@aui_Region@@QAE?AW4AUI_ERRCODE@@ PAUaui_MouseEvent@@H@Z + 0x115]
                      0x0066c078 [?HandleMouseEvent@aui_Region@@QAE?AW4AUI_ERRCODE@@ PAUaui_MouseEvent@@H@Z + 0x88]
                      0x0067b1b9 [?HandleMouseEvents@aui_UI@@QAE?AW4AUI_ERRCODE@@HPA Uaui_MouseEvent@@@Z + 0x99]
                      0x0067b7fd [?Process@aui_UI@@UAE?AW4AUI_ERRCODE@@XZ + 0x2d]
                      0x0040bdf3 [?ProcessUI@CivApp@@AAEHIAAI@Z + 0x1b3]
                      0x0040c21b [?Process@CivApp@@QAEHXZ + 0x11b]
                      0x00406f14 [?CivMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x394]
                      0x00406975 [WinMain@16 + 0x65]
                      0x0080a09c [WinMainCRTStartup + 0x134]
                      0x7c817077 [__onexitbegin + 0x7be44d1f]

                      It only crashes with new cities, I thought I would point that out.

                      Comment


                      • #41
                        Originally posted by ~ Hiro Osric ~ View Post
                        It only crashes with new cities, I thought I would point that out.
                        Actually, it crashes when you try to load a build queue and the city's build queue is empty. Anyway, I fixed it, it is going to be part of the next version of the Apolyton Edition.

                        -Martin
                        Civ2 military advisor: "No complaints, Sir!"

                        Comment


                        • #42
                          I have produced some more crash variants (same setting as described above) -- will stop crashtesting for a while now and try to finish some other stuff with my Mod

                          Code:
                          Version 2009-07-24
                            0x7c9469da  [__onexitbegin + 0x7bf74682]
                            0x77bfc3c9  [__onexitbegin + 0x7722a071]
                            0x77bfc3e7  [__onexitbegin + 0x7722a08f]
                            0x77bfc42e  [__onexitbegin + 0x7722a0d6]
                            0x0040214d  [??2@YAPAXI@Z + 0xd]
                            0x007fafe5  [?AddGoalsForArmy@CtpAi@@SAXABVArmy@@@Z + 0xf5]
                            0x007facf7  [?GEVHookCallback@CtpAi_CreatedArmyEvent@@EAE?AW4GAME_EVENT_HOOK_DISPOSITION@@W4GAME_EVENT@@PAVGameEventArgList@@@Z + 0x67]
                            0x00580407  [?Activate@GameEventHook@@QBE?AW4GAME_EVENT_ERR@@PAVGameEventArgList@@HAAH@Z + 0x37]
                            0x00580dc8  [?ActivateHook@GameEventManager@@QAE?AW4GAME_EVENT_ERR@@W4GAME_EVENT@@PAVGameEventArgList@@HAAH@Z + 0x28]
                            0x0057eeed  [?Process@GameEvent@@QAE?AW4GAME_EVENT_ERR@@XZ + 0x2d]
                            0x00580840  [?AddEvent@GameEventManager@@QAA?AW4GAME_EVENT_ERR@@W4GAME_EVENT_INSERT@@W4GAME_EVENT@@ZZ + 0xd0]
                            0x00433175  [?dh_endTurn@@YAXPAVDQAction@@PAVSequence@@W4DHEXECUTE@@@Z + 0x35]
                            0x0042b833  [?HandleNextAction@Director@@QAEXXZ + 0xc3]
                            0x0040c21b  [?Process@CivApp@@QAEHXZ + 0x11b]
                            0x006ed1ee  [?CheckForEasterEggs@ChatWindow@@QAEHPAD@Z + 0x12e]
                            0x006ed066  [?ChatCallback@ChatWindow@@SAXPAVaui_Control@@IIPAX@Z + 0x66]
                            0x006778b2  [?TextFieldWindowProc@@YGJPAUHWND__@@IIJ@Z + 0xa2]
                            0x7e368734  [__onexitbegin + 0x7d9963dc]
                            0x7e368816  [__onexitbegin + 0x7d9964be]
                            0x7e3689cd  [__onexitbegin + 0x7d996675]
                            0x7e3696c7  [__onexitbegin + 0x7d99736f]
                            0x00406f52  [?CivMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x3d2]
                            0x00406975  [WinMain@16 + 0x65]
                            0x0080a09c  [WinMainCRTStartup + 0x134]
                            0x7c817077  [__onexitbegin + 0x7be44d1f]
                          
                          Version 2009-07-24
                            0x007e04fd  [?Remove_Match@Goal@@QAEXABQAVAgent@@@Z + 0xd]
                            0x007dacf8  [?Process_Agent_Changes@Scheduler@@QAEXXZ + 0x88]
                            0x007fb2ec  [?GEVHookCallback@CtpAi_BeginSchedulerEvent@@EAE?AW4GAME_EVENT_HOOK_DISPOSITION@@W4GAME_EVENT@@PAVGameEventArgList@@@Z + 0x5c]
                            0x00580407  [?Activate@GameEventHook@@QBE?AW4GAME_EVENT_ERR@@PAVGameEventArgList@@HAAH@Z + 0x37]
                            0x00580dc8  [?ActivateHook@GameEventManager@@QAE?AW4GAME_EVENT_ERR@@W4GAME_EVENT@@PAVGameEventArgList@@HAAH@Z + 0x28]
                            0x0057eeed  [?Process@GameEvent@@QAE?AW4GAME_EVENT_ERR@@XZ + 0x2d]
                            0x0040c301  [?Process@CivApp@@QAEHXZ + 0x201]
                            0x006ed1ee  [?CheckForEasterEggs@ChatWindow@@QAEHPAD@Z + 0x12e]
                            0x006ed066  [?ChatCallback@ChatWindow@@SAXPAVaui_Control@@IIPAX@Z + 0x66]
                            0x006778b2  [?TextFieldWindowProc@@YGJPAUHWND__@@IIJ@Z + 0xa2]
                            0x7e368734  [__onexitbegin + 0x7d9963dc]
                            0x7e368816  [__onexitbegin + 0x7d9964be]
                            0x7e3689cd  [__onexitbegin + 0x7d996675]
                            0x7e3696c7  [__onexitbegin + 0x7d99736f]
                            0x00406f52  [?CivMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x3d2]
                            0x00406975  [WinMain@16 + 0x65]
                            0x0080a09c  [WinMainCRTStartup + 0x134]
                            0x7c817077  [__onexitbegin + 0x7be44d1f]
                          
                          Version 2009-07-24
                            0x007e0313  [?Rollback_All_Agents@Goal@@QAEXXZ + 0x13]
                            0x007daf58  [?Process_Goal_Changes@Scheduler@@QAEXXZ + 0x138]
                            0x007fb303  [?GEVHookCallback@CtpAi_BeginSchedulerEvent@@EAE?AW4GAME_EVENT_HOOK_DISPOSITION@@W4GAME_EVENT@@PAVGameEventArgList@@@Z + 0x73]
                            0x00580407  [?Activate@GameEventHook@@QBE?AW4GAME_EVENT_ERR@@PAVGameEventArgList@@HAAH@Z + 0x37]
                            0x00580dc8  [?ActivateHook@GameEventManager@@QAE?AW4GAME_EVENT_ERR@@W4GAME_EVENT@@PAVGameEventArgList@@HAAH@Z + 0x28]
                            0x0057eeed  [?Process@GameEvent@@QAE?AW4GAME_EVENT_ERR@@XZ + 0x2d]
                            0x0040c301  [?Process@CivApp@@QAEHXZ + 0x201]
                            0x006ed1ee  [?CheckForEasterEggs@ChatWindow@@QAEHPAD@Z + 0x12e]
                            0x006ed066  [?ChatCallback@ChatWindow@@SAXPAVaui_Control@@IIPAX@Z + 0x66]
                            0x006778b2  [?TextFieldWindowProc@@YGJPAUHWND__@@IIJ@Z + 0xa2]
                            0x7e368734  [__onexitbegin + 0x7d9963dc]
                            0x7e368816  [__onexitbegin + 0x7d9964be]
                            0x7e3689cd  [__onexitbegin + 0x7d996675]
                            0x7e3696c7  [__onexitbegin + 0x7d99736f]
                            0x00406f52  [?CivMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x3d2]
                            0x00406975  [WinMain@16 + 0x65]
                            0x0080a09c  [WinMainCRTStartup + 0x134]
                            0x7c817077  [__onexitbegin + 0x7be44d1f]
                          
                          Version 2009-07-24
                            0x007db289  [?Add_New_Goal@Scheduler@@QAEXABQAVGoal@@@Z + 0x29]
                            0x007fa6a9  [?AddForeignerGoalsForCity@CtpAi@@SAXABVUnit@@H@Z + 0x129]
                            0x007fa3da  [?GEVHookCallback@CtpAi_CreateCityEvent@@EAE?AW4GAME_EVENT_HOOK_DISPOSITION@@W4GAME_EVENT@@PAVGameEventArgList@@@Z + 0x7a]
                            0x00580407  [?Activate@GameEventHook@@QBE?AW4GAME_EVENT_ERR@@PAVGameEventArgList@@HAAH@Z + 0x37]
                            0x00580dc8  [?ActivateHook@GameEventManager@@QAE?AW4GAME_EVENT_ERR@@W4GAME_EVENT@@PAVGameEventArgList@@HAAH@Z + 0x28]
                            0x0057eeed  [?Process@GameEvent@@QAE?AW4GAME_EVENT_ERR@@XZ + 0x2d]
                            0x00580840  [?AddEvent@GameEventManager@@QAA?AW4GAME_EVENT_ERR@@W4GAME_EVENT_INSERT@@W4GAME_EVENT@@ZZ + 0xd0]
                            0x00433175  [?dh_endTurn@@YAXPAVDQAction@@PAVSequence@@W4DHEXECUTE@@@Z + 0x35]
                            0x0042b833  [?HandleNextAction@Director@@QAEXXZ + 0xc3]
                            0x0040c21b  [?Process@CivApp@@QAEHXZ + 0x11b]
                            0x006ed1ee  [?CheckForEasterEggs@ChatWindow@@QAEHPAD@Z + 0x12e]
                            0x006ed066  [?ChatCallback@ChatWindow@@SAXPAVaui_Control@@IIPAX@Z + 0x66]
                            0x006778b2  [?TextFieldWindowProc@@YGJPAUHWND__@@IIJ@Z + 0xa2]
                            0x7e368734  [__onexitbegin + 0x7d9963dc]
                            0x7e368816  [__onexitbegin + 0x7d9964be]
                            0x7e3689cd  [__onexitbegin + 0x7d996675]
                            0x7e3696c7  [__onexitbegin + 0x7d99736f]
                            0x00406f52  [?CivMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x3d2]
                            0x00406975  [WinMain@16 + 0x65]
                            0x0080a09c  [WinMainCRTStartup + 0x134]
                            0x7c817077  [__onexitbegin + 0x7be44d1f]
                          The modding knowledgebase: CTP2 Bureau (with CTP2 AE Modding Wiki). Modern Times Mod (work in progress): MoT-Mod for CTP2.

                          Comment


                          • #43
                            Increase the priority for slave attacks
                            Martin, do you feel the AI is not using enough slavers? In my latest game, I had plenty of slavers of all AIs running through my territory. Or does this just lead to the exisiting slavers attacking more often?

                            Comment


                            • #44
                              Ok, I thought I'd give it one more try: Same setting as described above, but without any SLIC :

                              Code:
                              Version 2009-07-24
                                0x7c921689  [__onexitbegin + 0x7bf4f331]
                                0x7c92a3f5  [__onexitbegin + 0x7bf5809d]
                                0x7c921937  [__onexitbegin + 0x7bf4f5df]
                                0x77bfc3c9  [__onexitbegin + 0x7722a071]
                                0x77bfc3e7  [__onexitbegin + 0x7722a08f]
                                0x77bfc42e  [__onexitbegin + 0x7722a0d6]
                                0x77c12ed2  [__onexitbegin + 0x77240b7a]
                                0x77c0ecd3  [__onexitbegin + 0x7723c97b]
                                0x77c116f9  [__onexitbegin + 0x7723f3a1]
                                0x77c11765  [__onexitbegin + 0x7723f40d]
                                0x00401549  [?c3files_fwrite@@YAIPBXIIPAU_iobuf@@@Z + 0x19]
                                0x005280d9  [?Save@GameFile@@QAEIPBDPAVSaveInfo@@@Z + 0x749]
                                0x0040ca7b  [?AutoSave@CivApp@@QAEXH_N@Z + 0x17b]
                                0x004cc160  [?GEVHookCallback@FinishBuildPhaseEvent@@EAE?AW4GAME_EVENT_HOOK_DISPOSITION@@W4GAME_EVENT@@PAVGameEventArgList@@@Z + 0x70]
                                0x00580407  [?Activate@GameEventHook@@QBE?AW4GAME_EVENT_ERR@@PAVGameEventArgList@@HAAH@Z + 0x37]
                                0x00580dc8  [?ActivateHook@GameEventManager@@QAE?AW4GAME_EVENT_ERR@@W4GAME_EVENT@@PAVGameEventArgList@@HAAH@Z + 0x28]
                                0x0057eeed  [?Process@GameEvent@@QAE?AW4GAME_EVENT_ERR@@XZ + 0x2d]
                                0x00580840  [?AddEvent@GameEventManager@@QAA?AW4GAME_EVENT_ERR@@W4GAME_EVENT_INSERT@@W4GAME_EVENT@@ZZ + 0xd0]
                                0x00433175  [?dh_endTurn@@YAXPAVDQAction@@PAVSequence@@W4DHEXECUTE@@@Z + 0x35]
                                0x0042b833  [?HandleNextAction@Director@@QAEXXZ + 0xc3]
                                0x0040c21b  [?Process@CivApp@@QAEHXZ + 0x11b]
                                0x006ed1ee  [?CheckForEasterEggs@ChatWindow@@QAEHPAD@Z + 0x12e]
                                0x006ed066  [?ChatCallback@ChatWindow@@SAXPAVaui_Control@@IIPAX@Z + 0x66]
                                0x006778b2  [?TextFieldWindowProc@@YGJPAUHWND__@@IIJ@Z + 0xa2]
                                0x7e368734  [__onexitbegin + 0x7d9963dc]
                                0x7e368816  [__onexitbegin + 0x7d9964be]
                                0x7e3689cd  [__onexitbegin + 0x7d996675]
                                0x7e3696c7  [__onexitbegin + 0x7d99736f]
                                0x00406f52  [?CivMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x3d2]
                              There's that "GameEvent..."-stuff happening, again, around turn 60 or so ...
                              The modding knowledgebase: CTP2 Bureau (with CTP2 AE Modding Wiki). Modern Times Mod (work in progress): MoT-Mod for CTP2.

                              Comment


                              • #45
                                Originally posted by mapfi View Post
                                Martin, do you feel the AI is not using enough slavers? In my latest game, I had plenty of slavers of all AIs running through my territory. Or does this just lead to the exisiting slavers attacking more often?
                                Don't you protect your cities with walls? In the current version this reduces the success of slavers to zero. But this is a bug. In fact it is only supposed to half the success chance of slavers. Since I have added a penalty for the cities with walls the slavers didn't slave raid so much instead of it they rather went onto exploration. But of course they should enslave other people. So I just increased their priorities to for slave raiding. I did not increase the number of slavers the AI is supposed to build.

                                Except I will have to do something of that sort in particular separating the special build lists, so that the AIs will not only build lawyers or only build clergies but also slavers.

                                -Martin
                                Civ2 military advisor: "No complaints, Sir!"

                                Comment

                                Working...
                                X