Announcement

Collapse
No announcement yet.

PROJECT: Playest II

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

  • Originally posted by J Bytheway
    Well, if we did then we must have introduced another .

    I'll check and see if the fix was included properly...
    The fix appears to be there. I guess it must have introduced some other problem...

    Comment


    • Can someone who has tried it confirm: Is it safe to change the answer to the 'mods' question in my mini-FAQ to something a little more optimistic, like:

      Although not all have been tested thoroughly, most mods should work with this playtest version without any changes.

      Comment


      • I'd confirm that. I have done quite enough playtesting with my usual configuration (SAP2 + Goodmod), and I have also ran medmod. So yes, I think your statement above seems to go .
        Solver, WePlayCiv Co-Administrator
        Contact: solver-at-weplayciv-dot-com
        I can kill you whenever I please... but not today. - The Cigarette Smoking Man

        Comment


        • Currently playing Call to Conquest, no problems so far, the merging AI SLIC code seems to work fine and they are conquering each other cities often, I´m on an island a bit far away and with tech advantange over them so I cant see how good they would be against me (I killed the only other AI in the same island I appeared almost at the beggining of the game)
          The Party seeks power entirely for its own sake. We are not interested in the good of others; we are interested solely in power. Not wealth or luxury or long life or happiness: only power, pure power.

          Join Eventis, the land of spam and unspeakable horrors!

          Comment


          • Terraform crash Error


            Hi,

            I had a crash on a game (year 2002) :

            0x007714c4 [?FindBestTileImprovement@Governor@@ABE_NABVMapPoin t@@AAUTiGoal@1@AAJ22PAVCityData@@@Z + 0x224]
            0x00771059 [?PlaceTileImprovements@Governor@@QAEXXZ + 0x189]
            0x007783fc [?BeginTurn@CtpAi@@SAXJ@Z + 0x1ac]
            0x00503ed5 [?GEVHookCallback@BeginTurnEvent@@EAE?AW4GAME_EVENT _HOOK_DISPOSITION@@W4GAME_EVENT@@PAVGameEventArgLi st@@@Z + 0x85]
            0x00563769 [?Activate@GameEventHook@@QAE?AW4GAME_EVENT_ERR@@PA VGameEventArgList@@AAJ@Z + 0x29]
            0x005641b2 [?ActivateHook@GameEventManager@@QAE?AW4GAME_EVENT_ ERR@@W4GAME_EVENT@@PAVGameEventArgList@@AAJ@Z + 0x22]
            0x0056242e [?Process@GameEvent@@QAE?AW4GAME_EVENT_ERR@@AAH@Z + 0x3e]
            0x00563f17 [?Process@GameEventManager@@QAE?AW4GAME_EVENT_ERR@@ XZ + 0x87]
            0x00563e57 [?ArglistAddEvent@GameEventManager@@QAE?AW4GAME_EVE NT_ERR@@W4GAME_EVENT_INSERT@@W4GAME_EVENT@@PAVGame EventArgList@@@Z + 0x1c7]
            0x00563c6c [?AddEvent@GameEventManager@@QAA?AW4GAME_EVENT_ERR@ @W4GAME_EVENT_INSERT@@W4GAME_EVENT@@ZZ + 0xcc]
            0x00432d75 [?dh_endTurn@@YAXPAVDQAction@@PAVSequence@@W4DHEXEC UTE@@@Z + 0x35]
            0x0042b610 [?HandleNextAction@Director@@QAEXXZ + 0xe0]
            0x0042c807 [?ProcessActiveUnits@Director@@QAEKXZ + 0x47]
            0x0042b4ab [?Process@Director@@QAEXXZ + 0x2b]
            0x0040c7f2 [?Process@CivApp@@QAEJXZ + 0x112]
            0x004074b8 [?CivWinMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x3a8]
            0x00406f75 [WinMain@16 + 0x65]
            0x0079c6dc [WinMainCRTStartup + 0x134]
            0x77e614c7 [__onexitbegin + 0x7736152f]


            it seems the effect pointer is null.

            I changed for the moment to :

            Code:
            effect = terrainutil_GetTerrainEffect(rec, pos);
            			if(effect)
            			{
            			shouldTerraform =   shouldTerraform
            			                && !effect->GetBonusFood()
            			                && !effect->GetBonusProduction()
            			                && !effect->GetBonusGold()
            			                || !effect->GetEndgame();
            			}
            			else
            			{
            				shouldTerraform = false;
            			}
            Martin, could you check the problem ?
            Attached Files

            Comment


            • Still the annoying fort bug here. If an enemy has built forts, the tiles around it will stay their territory, no matter if they die or whatever I do.
              Solver, WePlayCiv Co-Administrator
              Contact: solver-at-weplayciv-dot-com
              I can kill you whenever I please... but not today. - The Cigarette Smoking Man

              Comment


              • Originally posted by calvitix
                I had a crash on a game (year 2002) :
                And I had no crash. I tried the savegame hit the end turn button while being the Romans and also while being the Japaneses, and I also let the game play while I was the Barbarians for 60 turns. But still no crash.

                Originally posted by calvitix
                it seems the effect pointer is null.

                I changed for the moment to :

                Code:
                effect = terrainutil_GetTerrainEffect(rec, pos);
                			if(effect)
                			{
                			shouldTerraform =   shouldTerraform
                			                && !effect->GetBonusFood()
                			                && !effect->GetBonusProduction()
                			                && !effect->GetBonusGold()
                			                || !effect->GetEndgame();
                			}
                			else
                			{
                				shouldTerraform = false;
                			}
                shouldTerraform = false? Well in that case I would ignore it. However as the stuff does not do what it should do I am going to redesign that part of the code.

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

                Comment


                • For the record... it doesn't seem to me that the delay when moving units over longer distances has been fixed. I'm not sure if this a pathfinder problem that we can fix, or something else, but nonetheless, it stays.
                  Solver, WePlayCiv Co-Administrator
                  Contact: solver-at-weplayciv-dot-com
                  I can kill you whenever I please... but not today. - The Cigarette Smoking Man

                  Comment


                  • Originally posted by Solver
                    For the record... it doesn't seem to me that the delay when moving units over longer distances has been fixed. I'm not sure if this a pathfinder problem that we can fix, or something else, but nonetheless, it stays.
                    Well actual there are still delays in, Fromafar implemented a suboptimal version of the aStar algorithm, and I think it also causes some slow down, and there is also a non path problem, for instance if the AI does not find a parth then the recalculation could take ages, that is espeacilly a problem if you play the Barbarians. And another part that could be improved would be the access of tile improvements. You have there an object list that contains finished tile improvements, unfinished tile improvements and trade routes. To figure out the number of tile improvements you go trhough the list and count, when you want to access an tile improvement you go once again through that list and the return the nth improvement you wanted. And if you want to acees all tile improvements you do it as much as you have tile improvements in that cell.

                    And maybe we should figure out how we can assign explore goals more efficiently.

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

                    Comment


                    • Damn i don't understand : it worked yesterdays, and now, it don't work !

                      When i try to launch CTP2 (original game with Modswapper) there's some error :

                      "Concept.txt line 9 : could not find "Concept_classis_age" in string data base.

                      Civilization.txt :
                      Coul not find Greek_city_31 in string data base.

                      Civilization.txt line 92 :
                      Expected number of civilization not found

                      Unable to init the data base"

                      I tried to launch CTP2 with the icon, or with modswapper or with the start menu : same error each time...

                      I try to reinstall all and i will tell you if it's ok.

                      Comment


                      • Originally posted by Martin Gühmann

                        Originally posted by Fromafar
                        The same problem may occur with the age of the city. Old cities will be improved quite heavily, because farms are available quite early, and there is no competition at the start. For more recent cities, you will have competition with both other improvements (roads) and other cities. And, to make matters worse, the older cities tend to be larger, which makes their non-usage penalty smaller.
                        Actual this problem is even worse, cities with just one pop and surrounded by forest or hills and one grassland tile need a food boost more then a city of size 15 a production boost. But in fact the penalty is much stronger for the 1 pop city then for the 15 pop city, one thing I could do would be to add a ring dependent sort factor to the greater function of the TiGoal struct. That way I could take the ring in consideration for food prod and gold improvements and I can ignore it for road improvmenets.
                        Maybe the problem could be solved by disabling the non usage penalty for the first ring. But then what is about bigger cities, they also need some food improvements.

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

                        Comment


                        • As they told me I write here my crash.txt:
                          0x004487db [?DrawTransitionTile@TiledMap@@QAEXPAVaui_Surface@@ AAVMapPoint@@JJ@Z + 0x22b]
                          0x00437133 [?CalculateWrap@ResourceMap@@QAEJPAVaui_Surface@@JJ JJ@Z + 0xc3]
                          0x00436d6e [?DrawATile@ResourceMap@@SAHPAVaui_Surface@@AAVMapP oint@@PAX@Z + 0xee]
                          0x00436f2d [?DrawResourceMapThing@ResourceMap@@QAEHPAVaui_Surf ace@@P6AH0AAVMapPoint@@PAX@Z@Z + 0x7d]
                          0x00436447 [?DrawSurface@ResourceMap@@QAEJXZ + 0x167]
                          0x006d38b1 [?Update@CityWindow@@QAEXXZ + 0x6d1]
                          0x006d2c44 [?Display@CityWindow@@SA?AW4AUI_ERRCODE@@PAVCityDat a@@@Z + 0x64]
                          0x00667a4e [?ContextMenuCallback@@YAXPAVctp2_Menu@@W4CTP2_MENU _ACTION@@JPAX@Z + 0xfe]
                          0x006597d0 [?ListCallback@ctp2_Menu@@AAEXPAVaui_Control@@KK@Z + 0x90]
                          0x00659807 [?StaticListCallback@ctp2_Menu@@CAXPAVaui_Control@@ KKPAX@Z + 0x17]
                          0x005e31fa [?SendSelectCallback@aui_ListBox@@IAEXW4AUI_LISTBOX _ACTION@@K@Z + 0x13a]
                          0x005e4957 [?MouseLDropInside@aui_ListBox@@MAAXPAUaui_MouseEve nt@@@Z + 0xa7]
                          0x005f4182 [?MouseDispatch@aui_Region@@QAEXPAUaui_MouseEvent@@ H@Z + 0x322]
                          0x005f253b [?HandleMouseEvent@aui_Region@@QAE?AW4AUI_ERRCODE@@ PAUaui_MouseEvent@@H@Z + 0x11b]
                          0x005f24ac [?HandleMouseEvent@aui_Region@@QAE?AW4AUI_ERRCODE@@ PAUaui_MouseEvent@@H@Z + 0x8c]
                          0x00602489 [?HandleMouseEvents@aui_UI@@QAE?AW4AUI_ERRCODE@@JPA Uaui_MouseEvent@@@Z + 0x99]
                          0x00602ac3 [?Process@aui_UI@@UAE?AW4AUI_ERRCODE@@XZ + 0x23]
                          0x0040c500 [?ProcessUI@CivApp@@QAEJKAAK@Z + 0x1a0]
                          0x0040c902 [?Process@CivApp@@QAEJXZ + 0x112]
                          0x004075c8 [?CivWinMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x3a8]
                          0x00407085 [WinMain@16 + 0x65]
                          0x0079b81c [WinMainCRTStartup + 0x134]
                          0x77e614c7 [__onexitbegin + 0x7736256f]

                          Comment


                          • Next one:

                            0x004aa9e9 [?GameObj_Access@@YAPAVGAMEOBJ@@PAV1@K@Z + 0x9]
                            0x004daf58 [?GetCityData@Unit@@QBEPAVCityData@@XZ + 0x18]
                            0x004148d6 [?Draw@UnitActor@@QAEHH@Z + 0x236]
                            0x0043d220 [?PaintUnitActor@TiledMap@@QAEXPAVUnitActor@@H@Z + 0x40]
                            0x0042ce6c [?DrawActiveUnits@Director@@QAEXPAUtagRECT@@J@Z + 0x8c]
                            0x0043e3ac [?RepaintSprites@TiledMap@@QAEJPAVaui_Surface@@PAUt agRECT@@_N@Z + 0xac]
                            0x0067191b [?background_draw_handler@@YA?AW4AUI_ERRCODE@@PAX@Z + 0xbb]
                            0x006151bd [?DrawThis@Background@@UAE?AW4AUI_ERRCODE@@PAVaui_S urface@@JJ@Z + 0xd]
                            0x0060673b [?Draw@aui_Window@@UAE?AW4AUI_ERRCODE@@PAVaui_Surfa ce@@JJ@Z + 0x2b]
                            0x0040c4e5 [?ProcessUI@CivApp@@QAEJKAAK@Z + 0x185]
                            0x0040c902 [?Process@CivApp@@QAEJXZ + 0x112]
                            0x004075c8 [?CivWinMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x3a8]
                            0x00407085 [WinMain@16 + 0x65]
                            0x0079b81c [WinMainCRTStartup + 0x134]
                            0x77e614c7 [__onexitbegin + 0x7736256f]

                            Comment


                            • Well after reinstall game, i still have the problem i said in my post (reinstall games without patch 1.1, and copy Apolyton Files Source Project).

                              "Concept.txt line 9 : could not find "Concept_classic_age" in string data base.

                              Civilization.txt :
                              Coul not find Greek_city_31 in string data base.

                              Civilization.txt line 92 :
                              Expected number of civilization not found

                              Unable to init the data base"

                              What can i do for this ? I checked files and i saw "concept_classic_age" string and others string in files. So I don't understand why i can't launch the game

                              Notice that yesterday, game worked. And today, without any changes, it don't !

                              Comment


                              • Welcome FMP thE mAd,

                                Well this problem is linked to the string files, the program is checking the strings and deosn't find the listed ones at the good place or can't find the translated strings at all.

                                I posted the missing strings in French in the "Translation Thread" a few weeks ago but I also asked "those who know" to check if I had put them at the right place in the right files. I don't think I have forgotten to translate something but it seems that I have not placed the strings at the good place.

                                (I know Martin, here are some and )
                                "Democracy is the worst form of government there is, except for all the others that have been tried." Sir Winston Churchill

                                Comment

                                Working...
                                X