Announcement

Collapse
No announcement yet.

PROJECT: Playtest (Thread No. 6)

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

  • Originally posted by MisterEd
    I couldn't get it to work at all. I unzipped the latest AE playtest into my AOM folder, but the game crashes on the 1st turn.
    So, do you have a crash.txt?

    By the way, I fixed the Combat screen related error message.

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

    Comment


    • Originally posted by Martin Gühmann So, do you have a crash.txt?
      As a matter of fact I do, here's what it says:
      Version 2008-02-11
      0x00579bae [??0GameEvent@@QAE@W4GAME_EVENT@@PAVGameEventArgLis t@@H0@Z + 0x6e]
      0x0057b799 [?ArglistAddEvent@GameEventManager@@QAE?AW4GAME_EVE NT_ERR@@W4GAME_EVENT_INSERT@@W4GAME_EVENT@@PAVGame EventArgList@@@Z + 0xa9]
      0x0057b6c6 [?AddEvent@GameEventManager@@QAA?AW4GAME_EVENT_ERR@ @W4GAME_EVENT_INSERT@@W4GAME_EVENT@@ZZ + 0xd6]
      0x00564750 [?Call@Slic_GrantAdvance@@UAE?AW4SFN_ERROR@@PAVSlic ArgList@@@Z + 0x160]
      0x0055a7fa [?DoInstruction@SlicFrame@@QAEHW4SOP@@@Z + 0xb5a]
      0x0055b63c [?Run@SlicFrame@@QAEHXZ + 0x4c]
      0x0053df3a [?Execute@SlicEngine@@QAEXPAVSlicObject@@@Z + 0x8a]
      0x00574890 [?GEVHookCallback@SlicSegment@@UAE?AW4GAME_EVENT_HO OK_DISPOSITION@@W4GAME_EVENT@@PAVGameEventArgList@ @@Z + 0x80]
      0x0057b267 [?Activate@GameEventHook@@QBE?AW4GAME_EVENT_ERR@@PA VGameEventArgList@@HAAH@Z + 0x37]
      0x0057bc48 [?ActivateHook@GameEventManager@@QAE?AW4GAME_EVENT_ ERR@@W4GAME_EVENT@@PAVGameEventArgList@@HAAH@Z + 0x28]
      0x00579d4d [?Process@GameEvent@@QAE?AW4GAME_EVENT_ERR@@XZ + 0x2d]
      0x0057b6c6 [?AddEvent@GameEventManager@@QAA?AW4GAME_EVENT_ERR@ @W4GAME_EVENT_INSERT@@W4GAME_EVENT@@ZZ + 0xd6]
      0x0040b2e3 [?InitializeGame@CivApp@@QAEHAAVCivArchive@@@Z + 0x6b3]
      0x0040d35d [?Execute@StartGameAction@@UAEXPAVaui_Control@@II@Z + 0xd]
      0x0040c1bf [?ProcessUI@CivApp@@AAEHIAAI@Z + 0x19f]
      0x0040c55b [?Process@CivApp@@QAEHXZ + 0x11b]
      0x00406f94 [?CivMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x394]
      0x004069f5 [WinMain@16 + 0x65]
      0x007fe62c [WinMainCRTStartup + 0x134]
      0x7c816fd7 [__onexitbegin + 0x7be51fdf]

      Originally posted by Martin Gühmann By the way, I fixed the Combat screen related error message.
      Sweet

      Comment


      • I often generate a crash.txt even when I just exit the game after a playing a scenario involving SLIC with the AE.

        At first I thought it was the bad SLIC I had written for my scenario, but it happens with the Activision scenarios too.

        This is the crash.txt when I exit after the Alexander scenario:

        Code:
        Version 2008-02-11
          0x7c910f29  [__onexitbegin + 0x7bf4bf31]
          0x7c910d5c  [__onexitbegin + 0x7bf4bd64]
          0x77c2c2de  [__onexitbegin + 0x772672e6]
          0x004021a1  [??3@YAXPAX@Z + 0x11]
          0x00573ecb  [??1SlicSegment@@QAE@XZ + 0x9b]
          0x00574dd2  [??1?$Pool@VSlicSegment@@@@QAE@XZ + 0x62]
          0x00574d52  [?Cleanup@SlicSegment@@SAXXZ + 0x12]
          0x77d48709  [__onexitbegin + 0x77383711]
          0x77d487eb  [__onexitbegin + 0x773837f3]
          0x77d4c00e  [__onexitbegin + 0x77387016]
          0x77d4e366  [__onexitbegin + 0x7738936e]
          0x73781967  [__onexitbegin + 0x72dbc96f]
          0x77d48709  [__onexitbegin + 0x77383711]
          0x77d487eb  [__onexitbegin + 0x773837f3]
          0x77d489a5  [__onexitbegin + 0x773839ad]
          0x77d4bccc  [__onexitbegin + 0x77386cd4]
          0x00406fd2  [?CivMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x3d2]
          0x004069f5  [WinMain@16 + 0x65]
          0x007fe62c  [WinMainCRTStartup + 0x134]
          0x7c816d4f  [__onexitbegin + 0x7be51d57]
        I also get this SLIC error when starting the Alex scenario:
        Attached Files
        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


        • Originally posted by MisterEd
          As a matter of fact I do, here's what it says:
          I fixed this one, looks like it only occurred if DebugSlic was set to No.

          This will be in the next playtest. Until its release you can enable it in your userprofile.txt. To do it: Open the userprofile.txt in your ..\ctp2_program\ctp\ directory with any text editor of your choice and change the line: DebugSlic=No to DebugSlic=Yes. And make also sure that DebugSlicEvents is set to No. The slic that comes with AOM has still some problems, whether the problems are caused by the executable or the slic itself, I have no idea.

          Originally posted by Maquiladora
          I often generate a crash.txt even when I just exit the game after a playing a scenario involving SLIC with the AE.
          Unfortunately, this doesn't tell me anything except that it is somehow slic related, which is not much more.

          Originally posted by Maquiladora
          I also get this SLIC error when starting the Alex scenario:
          The problem here is that alexUnit hasn't been initialized at that point. Therefore it doesn't work as the author states.

          So that one has been always in, the only thing that changed is that it is now reported.

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

          Comment


          • Originally posted by Martin Gühmann I fixed this one, looks like it only occurred if DebugSlic was set to No. This will be in the next playtest. Until its release you can enable it in your userprofile.txt.
            Did that and it stopped the crash on new game creation, but now I get these errors which prevent a new game from starting.

            ---------------------------
            Slic Error
            ---------------------------
            In object AOM_StartMessages, function _DisableTrigger: Wrong type of argument

            Continue?
            ---------------------------
            Yes No
            ---------------------------
            ---------------------------
            SLIC Error
            ---------------------------
            C:\Program Files\Activision\AOM_5.05.05\ctp2_data\default\gam edata\AOM2_misc3.slc:1725: Array index 0 out of bounds

            Continue?
            ---------------------------
            Yes No
            ---------------------------
            ---------------------------
            SLIC Error
            ---------------------------
            C:\Program Files\Activision\AOM_5.05.05\ctp2_data\default\gam edata\AOM2_WatchTower6.slc:1325: Array index 0 out of bounds

            Continue?
            ---------------------------
            Yes No
            ---------------------------

            Comment


            • Liberate causes crash

              Playing just a straight up game of AE, captured Paris, wondered what "Liberate" actually did, clicked it, crashed, and got the following crash.txt

              Version 2008-02-11
              0x00579bae [??0GameEvent@@QAE@W4GAME_EVENT@@PAVGameEventArgLis t@@H0@Z + 0x6e]
              0x0057b799 [?ArglistAddEvent@GameEventManager@@QAE?AW4GAME_EVE NT_ERR@@W4GAME_EVENT_INSERT@@W4GAME_EVENT@@PAVGame EventArgList@@@Z + 0xa9]
              0x0057b6c6 [?AddEvent@GameEventManager@@QAA?AW4GAME_EVENT_ERR@ @W4GAME_EVENT_INSERT@@W4GAME_EVENT@@ZZ + 0xd6]
              0x006b8abc [?Deselect@SelectedItem@@QAEXH@Z + 0x8c]
              0x004e1ec5 [?ResetCityOwner@UnitData@@QAEXABVUnit@@HHW4CAUSE_R EMOVE_CITY@@@Z + 0x85]
              0x004d9fb7 [?ResetCityOwner@Unit@@QAEXHHW4CAUSE_REMOVE_CITY@@@ Z + 0x37]
              0x0056bc2a [?Call@Slic_Liberate@@UAE?AW4SFN_ERROR@@PAVSlicArgL ist@@@Z + 0x10a]
              0x0055a7fa [?DoInstruction@SlicFrame@@QAEHW4SOP@@@Z + 0xb5a]
              0x0055b6a5 [?RunAt@SlicFrame@@QAEHH@Z + 0x55]
              0x00534c29 [?Callback@SlicButton@@QAEXXZ + 0x99]
              0x0071998e [?Execute@MessageModalResponseAction@@UAEXPAVaui_Co ntrol@@II@Z + 0x5e]
              0x00645981 [?MouseLDropInside@aui_Button@@MAEXPAUaui_MouseEven t@@@Z + 0xf1]
              0x006c8c38 [?MouseLDropInside@ctp2_Button@@UAEXPAUaui_MouseEve nt@@@Z + 0x18]
              0x00668205 [?MouseDispatch@aui_Region@@QAEXPAUaui_MouseEvent@@ H@Z + 0x2c5]
              0x006666f5 [?HandleMouseEvent@aui_Region@@QAE?AW4AUI_ERRCODE@@ PAUaui_MouseEvent@@H@Z + 0x115]
              0x00666668 [?HandleMouseEvent@aui_Region@@QAE?AW4AUI_ERRCODE@@ PAUaui_MouseEvent@@H@Z + 0x88]
              0x006755a9 [?HandleMouseEvents@aui_UI@@QAE?AW4AUI_ERRCODE@@HPA Uaui_MouseEvent@@@Z + 0x99]
              0x00675be3 [?Process@aui_UI@@UAE?AW4AUI_ERRCODE@@XZ + 0x23]
              0x0040c1bf [?ProcessUI@CivApp@@AAEHIAAI@Z + 0x19f]
              0x0040c55b [?Process@CivApp@@QAEHXZ + 0x11b]
              0x00406f94 [?CivMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x394]
              0x004069f5 [WinMain@16 + 0x65]
              0x007fe62c [WinMainCRTStartup + 0x134]
              0x7c816fd7 [__onexitbegin + 0x7be51fdf]

              Comment


              • Raze causes crash also

                Version 2008-02-11
                0x00579bae [??0GameEvent@@QAE@W4GAME_EVENT@@PAVGameEventArgLis t@@H0@Z + 0x6e]
                0x0057b799 [?ArglistAddEvent@GameEventManager@@QAE?AW4GAME_EVE NT_ERR@@W4GAME_EVENT_INSERT@@W4GAME_EVENT@@PAVGame EventArgList@@@Z + 0xa9]
                0x0057b6c6 [?AddEvent@GameEventManager@@QAA?AW4GAME_EVENT_ERR@ @W4GAME_EVENT_INSERT@@W4GAME_EVENT@@ZZ + 0xd6]
                0x004929f8 [?AdjustSizeIndices@CityData@@QAEXXZ + 0x138]
                0x00492d14 [?ChangePopulation@CityData@@QAEXH@Z + 0x64]
                0x0056b4fe [?Call@Slic_KillCity@@UAE?AW4SFN_ERROR@@PAVSlicArgL ist@@@Z + 0x12e]
                0x0055a7fa [?DoInstruction@SlicFrame@@QAEHW4SOP@@@Z + 0xb5a]
                0x0055b6a5 [?RunAt@SlicFrame@@QAEHH@Z + 0x55]
                0x00534c29 [?Callback@SlicButton@@QAEXXZ + 0x99]
                0x0071998e [?Execute@MessageModalResponseAction@@UAEXPAVaui_Co ntrol@@II@Z + 0x5e]
                0x00645981 [?MouseLDropInside@aui_Button@@MAEXPAUaui_MouseEven t@@@Z + 0xf1]
                0x006c8c38 [?MouseLDropInside@ctp2_Button@@UAEXPAUaui_MouseEve nt@@@Z + 0x18]
                0x00668205 [?MouseDispatch@aui_Region@@QAEXPAUaui_MouseEvent@@ H@Z + 0x2c5]
                0x006666f5 [?HandleMouseEvent@aui_Region@@QAE?AW4AUI_ERRCODE@@ PAUaui_MouseEvent@@H@Z + 0x115]
                0x00666668 [?HandleMouseEvent@aui_Region@@QAE?AW4AUI_ERRCODE@@ PAUaui_MouseEvent@@H@Z + 0x88]
                0x006755a9 [?HandleMouseEvents@aui_UI@@QAE?AW4AUI_ERRCODE@@HPA Uaui_MouseEvent@@@Z + 0x99]
                0x00675be3 [?Process@aui_UI@@UAE?AW4AUI_ERRCODE@@XZ + 0x23]
                0x0040c1bf [?ProcessUI@CivApp@@AAEHIAAI@Z + 0x19f]
                0x0040c55b [?Process@CivApp@@QAEHXZ + 0x11b]
                0x00406f94 [?CivMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x394]
                0x004069f5 [WinMain@16 + 0x65]
                0x007fe62c [WinMainCRTStartup + 0x134]
                0x7c816fd7 [__onexitbegin + 0x7be51fdf]

                Comment


                • "liberate" is supposed to (and used to when I tested it give the city to the barbarians. The thinking there was that if you got a city you couldn't hold you could give it up to the barbarians if they survived maybe later on they would become a civ. it was the best i could do. I was looking to make the code create a new civ and add units but it never worked.
                  Formerly known as "E" on Apolyton

                  See me at Civfanatics.com

                  Comment


                  • Originally posted by Maquiladora
                    I also get this SLIC error when starting the Alex scenario:
                    This is because the original Activision Slic code to center on the Alexander unit was broken. The Slic code text in scenario.slc has been corrected, but the broken code is still embedded in compiled form in savegame.c2g. This file is loaded when selecting the scenario and will trigger the error message. You may ignore the error message: at the start of a new game, the Slic code is reparsed from the text files, and the corrected code will be used in the actual game.

                    Comment


                    • Originally posted by Fromafar

                      This is because the original Activision Slic code to center on the Alexander unit was broken. The Slic code text in scenario.slc has been corrected, but the broken code is still embedded in compiled form in savegame.c2g. This file is loaded when selecting the scenario and will trigger the error message. You may ignore the error message: at the start of a new game, the Slic code is reparsed from the text files, and the corrected code will be used in the actual game.
                      Yeah I noticed this when creating a scenario with SLIC. Even when I didn't run the scenario with the SLIC, it would still generate a SLIC-related crash.txt when exiting because it was embedded in the save. I would just reload the save (without scenario.slc loaded) and reloadslic through the chat window and then re-save a clean savegame.c2g, which was significantly smaller in size too.

                      Is it worth doing this with the Alexander savegame.c2g? Or is this good procedure even?
                      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


                      • Since the Slic code is reparsed anyway when starting a new game, there is no need for the savegame.c2g to contain any embedded Slic code at all. It sure looks like bad practice to include something unused which may cause errors or annoying pop-ups.

                        The main advantage of keeping the existing file is that it contains a save game in an official (albeit very old - actually from some pre-1.0 release) Activision format. This makes starting the Alexander scenario an easy test case to find out whether source code "improvements" cause save game format incompatibilities.

                        Comment


                        • should we make a working Ale scenario an a test/debug one then? Maq you up for it?
                          Formerly known as "E" on Apolyton

                          See me at Civfanatics.com

                          Comment


                          • The rest of the Alex scenario works fine doesn't it? Has anyone played it all the way through with the AE yet?

                            If there are other problems then it might be better to re-save a clean savegame.c2g to distribute with the AE, even if just under a different name or something.
                            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


                            • I got this error after ending the first turn while trying the WOTR scenario with AE, and with all the SLIC disabled:
                              Attached Files
                              "

                              Comment


                              • I was playing a normal game with 25 civs when the game crashed multiple times:

                                Version 2008-02-11
                                0x004963bf [?RiotCasualties@CityData@@QAEXXZ + 0xaf]
                                0x0048bd55 [?BeginTurn@CityData@@QAE_NXZ + 0x525]
                                0x004e1baf [?BeginTurnCity@UnitData@@QAEXABVUnit@@AAVUnitDynam icArray@@@Z + 0xf]
                                0x004da1dd [?BeginTurnCity@Unit@@QAEXAAVUnitDynamicArray@@@Z + 0x2d]
                                0x0049809d [?GEVHookCallback@CityBeginTurnEvent@@EAE?AW4GAME_E VENT_HOOK_DISPOSITION@@W4GAME_EVENT@@PAVGameEventA rgList@@@Z + 0x4d]
                                0x0057b267 [?Activate@GameEventHook@@QBE?AW4GAME_EVENT_ERR@@PA VGameEventArgList@@HAAH@Z + 0x37]
                                0x0057bc48 [?ActivateHook@GameEventManager@@QAE?AW4GAME_EVENT_ ERR@@W4GAME_EVENT@@PAVGameEventArgList@@HAAH@Z + 0x28]
                                0x00579d4d [?Process@GameEvent@@QAE?AW4GAME_EVENT_ERR@@XZ + 0x2d]
                                0x0057b6c6 [?AddEvent@GameEventManager@@QAA?AW4GAME_EVENT_ERR@ @W4GAME_EVENT_INSERT@@W4GAME_EVENT@@ZZ + 0xd6]
                                0x00432cd5 [?dh_endTurn@@YAXPAVDQAction@@PAVSequence@@W4DHEXEC UTE@@@Z + 0x35]
                                0x0042b3a3 [?HandleNextAction@Director@@QAEXXZ + 0xc3]
                                0x0040c55b [?Process@CivApp@@QAEHXZ + 0x11b]
                                0x00406f94 [?CivMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x394]
                                0x004069f5 [WinMain@16 + 0x65]
                                0x007fe62c [WinMainCRTStartup + 0x134]
                                0x7c816fd7 [__onexitbegin + 0x7be51fdf]

                                0x004963bf [?RiotCasualties@CityData@@QAEXXZ + 0xaf]
                                0x0048bd55 [?BeginTurn@CityData@@QAE_NXZ + 0x525]
                                0x004e1baf [?BeginTurnCity@UnitData@@QAEXABVUnit@@AAVUnitDynam icArray@@@Z + 0xf]
                                0x004da1dd [?BeginTurnCity@Unit@@QAEXAAVUnitDynamicArray@@@Z + 0x2d]
                                0x0049809d [?GEVHookCallback@CityBeginTurnEvent@@EAE?AW4GAME_E VENT_HOOK_DISPOSITION@@W4GAME_EVENT@@PAVGameEventA rgList@@@Z + 0x4d]
                                0x0057b267 [?Activate@GameEventHook@@QBE?AW4GAME_EVENT_ERR@@PA VGameEventArgList@@HAAH@Z + 0x37]
                                0x0057bc48 [?ActivateHook@GameEventManager@@QAE?AW4GAME_EVENT_ ERR@@W4GAME_EVENT@@PAVGameEventArgList@@HAAH@Z + 0x28]
                                0x00579d4d [?Process@GameEvent@@QAE?AW4GAME_EVENT_ERR@@XZ + 0x2d]
                                0x0057b6c6 [?AddEvent@GameEventManager@@QAA?AW4GAME_EVENT_ERR@ @W4GAME_EVENT_INSERT@@W4GAME_EVENT@@ZZ + 0xd6]
                                0x00432cd5 [?dh_endTurn@@YAXPAVDQAction@@PAVSequence@@W4DHEXEC UTE@@@Z + 0x35]
                                0x0042b3a3 [?HandleNextAction@Director@@QAEXXZ + 0xc3]
                                0x0040c55b [?Process@CivApp@@QAEHXZ + 0x11b]
                                0x00406f94 [?CivMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x394]
                                0x004069f5 [WinMain@16 + 0x65]
                                0x007fe62c [WinMainCRTStartup + 0x134]
                                0x7c816fd7 [__onexitbegin + 0x7be51fdf]

                                And another:

                                Version 2008-02-11
                                0x004963bf [?RiotCasualties@CityData@@QAEXXZ + 0xaf]
                                0x0048bd55 [?BeginTurn@CityData@@QAE_NXZ + 0x525]
                                0x004e1baf [?BeginTurnCity@UnitData@@QAEXABVUnit@@AAVUnitDynam icArray@@@Z + 0xf]
                                0x004da1dd [?BeginTurnCity@Unit@@QAEXAAVUnitDynamicArray@@@Z + 0x2d]
                                0x0049809d [?GEVHookCallback@CityBeginTurnEvent@@EAE?AW4GAME_E VENT_HOOK_DISPOSITION@@W4GAME_EVENT@@PAVGameEventA rgList@@@Z + 0x4d]
                                0x0057b267 [?Activate@GameEventHook@@QBE?AW4GAME_EVENT_ERR@@PA VGameEventArgList@@HAAH@Z + 0x37]
                                0x0057bc48 [?ActivateHook@GameEventManager@@QAE?AW4GAME_EVENT_ ERR@@W4GAME_EVENT@@PAVGameEventArgList@@HAAH@Z + 0x28]
                                0x00579d4d [?Process@GameEvent@@QAE?AW4GAME_EVENT_ERR@@XZ + 0x2d]
                                0x0057b6c6 [?AddEvent@GameEventManager@@QAA?AW4GAME_EVENT_ERR@ @W4GAME_EVENT_INSERT@@W4GAME_EVENT@@ZZ + 0xd6]
                                0x00432cd5 [?dh_endTurn@@YAXPAVDQAction@@PAVSequence@@W4DHEXEC UTE@@@Z + 0x35]
                                0x0042b3a3 [?HandleNextAction@Director@@QAEXXZ + 0xc3]
                                0x0042c557 [?ProcessActiveUnits@Director@@QAEIXZ + 0x47]
                                0x0042b267 [?Process@Director@@QAEXXZ + 0x27]
                                0x0040c55b [?Process@CivApp@@QAEHXZ + 0x11b]
                                0x00406f94 [?CivMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x394]
                                0x004069f5 [WinMain@16 + 0x65]
                                0x007fe62c [WinMainCRTStartup + 0x134]
                                0x7c816fd7 [__onexitbegin + 0x7be51fdf]
                                Last edited by EPW; March 22, 2008, 02:06.
                                "

                                Comment

                                Working...
                                X