Announcement

Collapse
No announcement yet.

Hamachi and CTP2

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #31
    Originally posted by Maquiladora
    (it still works doesn't it?)
    Yes it still works, I just tested it, with an up-to-date mIRC. So far no problems. We may have to share the channel with some other people, but the don't seem to be very active. I have no idea how I could set the topic in the channel, but I guess that doesn't matter so much.

    Originally posted by Maquiladora
    Anytime, as long as I know beforehand, just name an hour tomorrow or the next days and I'll be in the chat [...].
    But obviously not in the middle of the night when I'm sleeping - I'm 7hrs behind Germany I think, I posted this at 6:18pm my time anyway.
    I hope the posting time is a good time for you, we can use it for, today (or tomorrow, depending on were you are living ).

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

    Comment


    • #32
      6:18pm my time today? It gives me time to watch all the football so that is fine.

      I'll download mIRC again too, I didn't like the Java chat room last time I tried it.

      I'll also make a clean install with the playtest, just to be sure.
      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 Maquiladora
        I'll also make a clean install with the playtest, just to be sure.
        Well, since I upgraded my compiler I don't have a so clean install here.

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

        Comment


        • #34
          OK, Maq here are my Internet options:
          Attached Files
          Civ2 military advisor: "No complaints, Sir!"

          Comment


          • #35
            My crash.txt from the MP testing with Martin:

            Code:
            Version 2008-05-24
              0x7c910f29  [__onexitbegin + 0x7bf4ad31]
              0x7c910d5c  [__onexitbegin + 0x7bf4ab64]
              0x77c2c2de  [__onexitbegin + 0x772660e6]
              0x00402191  [??3@YAXPAX@Z + 0x11]
              0x0045d180  [??1StringRecord@@QAE@XZ + 0x10]
              0x0045d12b  [??_EStringDB@@UAEPAXI@Z + 0xb]
              0x0070d253  [?clear@allocated@@YAXAAPAV?$CTPDatabase@VImprovementListRecord@@@@@Z + 0x13]
              0x0040a4b8  [?CleanupAppDB@CivApp@@QAEXXZ + 0x248]
              0x7e418734  [__onexitbegin + 0x7da5253c]
              0x7e418816  [__onexitbegin + 0x7da5261e]
              0x7e41c63f  [__onexitbegin + 0x7da56447]
              0x7e41f65d  [__onexitbegin + 0x7da59465]
              0x73781967  [__onexitbegin + 0x72dbb76f]
              0x7e418734  [__onexitbegin + 0x7da5253c]
              0x7e418816  [__onexitbegin + 0x7da5261e]
              0x7e4189cd  [__onexitbegin + 0x7da527d5]
              0x7e4196c7  [__onexitbegin + 0x7da534cf]
              0x00406fc2  [?CivMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x3d2]
              0x004069e5  [WinMain@16 + 0x65]
              0x007ff0dc  [WinMainCRTStartup + 0x134]
              0x7c816fd7  [__onexitbegin + 0x7be50ddf]
            but this is just the one I got exiting the game I guess, not the one I wanted from in-game.
            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


            • #36
              Here is my crash.txt:

              Code:
              Version 2008-05-23
                0x0049a4c6  [?GetRoundsToNextDisaster@Pollution@@QAEHXZ + 0x66]
                0x0043e418  [?AddTail@?$PointerList@VProfileVar@@@@QAEXPAVProfileVar@@@Z + 0x38]
                0x006e589f  [_ehhandler$?Unpacketize@NetCellList@@UAEXGPAEG@Z + 0x9]
                0x00687a7d  [?Change@?$ns_ListBox@VGame@NETFunc@@Vns_Game@@@@UAEXPAVGame@NETFunc@@@Z + 0x5d]
                0x00678c7b  [?Handle@Players@NETFunc@@QAE_NPAVMessage@2@@Z + 0x17b]
                0x0040be13  [?dh_morphUnit@@YAXPAVDQAction@@PAVSequence@@W4DHEXECUTE@@@Z + 0x33]
                0x0040c1cb  [?dh_message@@YAXPAVDQAction@@PAVSequence@@W4DHEXECUTE@@@Z + 0xbb]
                0x00406f84  [?InitializeGame@CivApp@@QAEHAAVCivArchive@@@Z + 0x634]
                0x004069e5  [?InitializeGame@CivApp@@QAEHAAVCivArchive@@@Z + 0x95]
                0x007ff0dc  [?gPixelTable@@3PAY1EA@EA@FA + 0x151ec]
                0x7c816fd7  [__onexitbegin + 0x7bf7bd8f]
              Civ2 military advisor: "No complaints, Sir!"

              Comment


              • #37
                The chat transcript:

                01[01:17] <MartinGuehmann> Hi, everyone.
                [01:17] <maq> hi martin
                [01:18] <maq> I was just testing MP
                01[01:18] <MartinGuehmann> Ok, I have started CTP2 and entered one of the servers.
                [01:18] <maq> OK I'll go there now
                01[01:18] <MartinGuehmann> So that is the game I see there.
                [01:18] <maq> yes
                [01:18] <maq> see you there
                01[01:19] <MartinGuehmann> For some reason I cannot enter the lobby.
                01[01:19] <MartinGuehmann> But I was already in
                [01:20] <maq> hmmm
                [01:20] <maq> did you try restarting the game?
                01[01:20] <MartinGuehmann> I was just in, and changed for chatting here
                01[01:21] <MartinGuehmann> And then I got the message that entering the lobby has failed
                [01:21] <maq> that is weird
                01[01:21] <MartinGuehmann> I am trying to enter the lobby again
                01[01:21] <MartinGuehmann> If this failes I'll restart CTP2
                [01:21] <maq> OK
                01[01:23] <MartinGuehmann> Still, leaving the lobby, I don't know why this takes so long
                [01:24] <maq> I'm not having any problems, leaving or joining
                [01:24] <maq> could it be your type of connection?
                01[01:25] <MartinGuehmann> Well, that could be
                [01:26] <maq> actually now I'm having problems, probably because I was kicked from the server
                [01:26] <maq> I'm trying to leave and rejoin now
                01[01:26] <MartinGuehmann> I used the executable I published and I can at least enter the lobby
                01[01:27] <MartinGuehmann> But the executable I compiled with VC9 doesn't allow me to enter at all
                01[01:27] <MartinGuehmann> It says that I would have to dial up
                [01:27] <maq> Isn't there something in the FAQ about that problem?
                01[01:27] <MartinGuehmann> I hope
                01[01:27] <MartinGuehmann> Let's see
                [01:28] <maq> I restarted CtP2 and I can rejoin the server normally again
                [01:28] <maq> I'll wait outside until you can join
                01[01:29] <MartinGuehmann> OK, I found it in the FAQ
                01[01:29] <MartinGuehmann> So let's try
                [01:29] <maq> OK
                01[01:33] <MartinGuehmann> Do I need to restart my computer, so that the new settings take effect?
                [01:34] <maq> I don't know, I would try.
                [01:34] <maq> I don't understand why it worked before though
                01[01:34] <MartinGuehmann> OK, let's try, otherwise I have to ask you how those settings exactly look like
                [01:34] <maq> OK
                Session Close: Tue Jun 10 01:34:53 2008

                Session Start: Tue Jun 10 01:38:32 2008
                01[01:38] <Martin_Guehmann> OK, I am back in chat
                [01:38] <maq> ok
                01[01:40] <Martin_Guehmann> Same problem
                [01:40] <maq> Hmmm
                [01:40] <maq> Do you get the same problem with the 24th May playtest?
                01[01:41] <Martin_Guehmann> Well, I tried the playtest before
                [01:42] <maq> Is that what you used when you got into the lobby?
                01[01:42] <Martin_Guehmann> One thing I can do is to post in the Hamachi thread the options I see and were I ticked the box
                01[01:42] <Martin_Guehmann> That's the one I used to get into the lobby
                01[01:42] <Martin_Guehmann> But I had to use a little trick to do that
                [01:43] <maq> what was that?
                01[01:44] <Martin_Guehmann> That was a VPN connection to my university
                [01:44] <maq> Oh OK
                [01:45] <maq> Yes I see that here
                [01:45] <maq> Post a picture of those options then, I don't know if it will help though
                [01:45] <maq> I don't even know what to look for
                01[01:48] <Martin_Guehmann> OK, my internet options are posted
                01[01:49] <Martin_Guehmann> In the FAQ it is question 58
                [01:50] <maq> Hmm, I have no idea about VPN
                [01:51] <maq> Obviously the server is having problems communicating back to you
                01[01:51] <Martin_Guehmann> VPN: virtual public network or so
                [01:52] <maq> Yes I know what it means I just don't have any experience using them
                01[01:52] <Martin_Guehmann> OK
                01[01:52] <Martin_Guehmann> Actually if it tells me that I have to connect then it is a problem on my end
                [01:53] <maq> I never had that error so I don't know.
                [01:53] <maq> So is your connection blocking communication with the server?
                01[01:53] <Martin_Guehmann> Its a cable modem, with an integrated router
                01[01:54] <Martin_Guehmann> I guess it is rather a problem with my computer
                01[01:54] <Martin_Guehmann> Did you look at at the picture and did you try to find the stuff on your computer?
                [01:55] <maq> Well I don't have any connections where you have "T-Online" etc. Mine is empty, and I don't have "Automaticly detect settings" ticked either.
                [01:56] <maq> So I'm not being very useful
                01[01:57] <Martin_Guehmann> Well, I ticked Automatically detect settings because of the FAQ
                [01:57] <maq> So how did you get it to work before?
                [01:57] <maq> And can you do that again?
                01[01:58] <Martin_Guehmann> Well I can try it again
                [01:59] <maq> At least so we can join a game
                01[01:59] <Martin_Guehmann> But first can you have a look on FAQ 58 and tell me whether I have overlooked something
                [01:59] <maq> No, it all looks fine
                [02:00] <maq> Exactly as it says.
                01[02:00] <Martin_Guehmann> OK, I'll try that again
                [02:00] <maq> OK
                01[02:01] <Martin_Guehmann> OK, I am in the lobby
                [02:02] <maq> OK I'll go there now
                [02:05] <maq> OK I crashed right to desktop as soon as it says "waiting for other players"
                01[02:05] <Martin_Guehmann> Yes, I got also a crash, a missing game object
                [02:05] <maq> I also have a crash.txt
                01[02:05] <Martin_Guehmann> Let's see what we have in
                [02:05] <maq> Do we have incompatible versions?
                [02:06] <maq> Do you want me to post the crash.txt in the hamachi thread?
                01[02:06] <Martin_Guehmann> I see GetRoundsToNextDisaster made the crash
                01[02:06] <Martin_Guehmann> If you can say me what the top line is
                01[02:06] <Martin_Guehmann> Then probably not
                [02:06] <maq> 0x00617d97 [?Packetize@NetCellList@@UAEXPAEAAG@Z + 0x177]
                [02:07] <maq> no mention of getroundstonextdisaster
                01[02:07] <Martin_Guehmann> So different messages on client and host
                [02:07] <maq> Yeah.
                01[02:07] <Martin_Guehmann> I guess your version of the crash.txt has already been posted
                [02:07] <maq> Do you want to try and host?
                01[02:07] <Martin_Guehmann> OK, I guess I have to dust up MSVC6
                [02:08] <maq> Oh OK
                01[02:09] <Martin_Guehmann> Well, I use a version with modified source, so that I don't have to compile a whole debug version
                [02:10] <maq> Oh OK
                [02:11] <maq> So what do we do now?
                01[02:12] <Martin_Guehmann> I am starting the debug version
                [02:12] <maq> OK
                01[02:13] <Martin_Guehmann> And then we'll try again
                01[02:13] <Martin_Guehmann> I am in the lobby
                [02:13] <maq> OK I'll go there now
                01[02:15] <Martin_Guehmann> Access violation
                01[02:15] <Martin_Guehmann> Let's see what I can do
                01[02:15] <Martin_Guehmann> with the debugger
                [02:16] <maq> You got kicked?
                [02:16] <maq> I'm still in the game, but I guess I should exit?
                01[02:16] <Martin_Guehmann> Not yet
                01[02:17] <Martin_Guehmann> The game still runs
                01[02:17] <Martin_Guehmann> or better is halted
                01[02:17] <Martin_Guehmann> But at least it looks like I added this bug
                [02:17] <maq> OK, so I'll wait in game?
                [02:17] <maq> Your AI is open
                01[02:20] <Martin_Guehmann> That could take a while
                [02:21] <maq> Well I have to keep going back to keep the connection to the server active
                [02:21] <maq> Are you trying to rejoin?
                01[02:22] <Martin_Guehmann> Well, there seems rather to be a problem, with this version of the executable
                01[02:22] <Martin_Guehmann> The code seems to be alright, it should catch the problem I encountered here
                [02:23] <maq> OK, so I can leave the game?
                01[02:24] <Martin_Guehmann> Yes
                [02:24] <maq> OK
                01[02:24] <Martin_Guehmann> I think I stop with this executable
                01[02:24] <Martin_Guehmann> and try the debug version of the VC9
                [02:24] <maq> OK
                01[02:26] <Martin_Guehmann> OK debug exe is loading
                [02:27] <maq> OK
                01[02:27] <Martin_Guehmann> But no luck
                [02:27] <maq> Oh...
                01[02:29] <Martin_Guehmann> Maybe google, but what are the keywords
                [02:30] <maq> ?
                01[02:30] <Martin_Guehmann> Good question
                [02:30] <maq>
                [02:31] <maq> I'm confused what you're doing now, but I'll wait
                01[02:31] <Martin_Guehmann> Well, actually it's pretty late here now, and I really should go to bed
                01[02:31] <Martin_Guehmann> Probably we can post the chat transscrpt
                01[02:32] <Martin_Guehmann> Maybe someone else has an idea
                [02:32] <maq> OK
                [02:33] <maq> I'll post my crash.txt anyway, even though it looks similar to bastain's
                01[02:33] <Martin_Guehmann> Maybe the crash.txt helps
                [02:33] <maq> Well hopefully
                01[02:33] <Martin_Guehmann> OK, I'll post mine too
                [02:33] <maq> so do we need to try anything again, another day?
                01[02:33] <Martin_Guehmann> Probably yes
                [02:34] <maq> OK, just tell me when
                01[02:34] <Martin_Guehmann> But not tomorrow since, I don't have time
                01[02:34] <Martin_Guehmann> And first I should establish the connection
                [02:34] <maq> OK then
                01[02:35] <Martin_Guehmann> Maybe Thursday
                [02:35] <maq> I posted my crash.txt
                [02:35] <maq> Yes, that's fine, just let me know the time and I'll be here again
                [02:36] <maq> Oh wait, my crash.txt is a stupid one from exiting the game... lol
                [02:36] <maq> Overwrote my original crash.txt too
                [02:36] <maq> I should have posted it earlier.
                01[02:37] <Martin_Guehmann> Probably we have to look into that too
                [02:38] <maq> Yeah I guess
                [02:39] <maq> OK, post on Thursday or when you're free and we can try again
                01[02:40] <Martin_Guehmann> Yes, so I just need to post the chat transcript and then see you
                [02:40] <maq> OK
                Last edited by Martin Gühmann; June 9, 2008, 20:49.
                Civ2 military advisor: "No complaints, Sir!"

                Comment


                • #38
                  Btw...thanx for your time to fix that problem!

                  Comment


                  • #39
                    I'm just waiting for Martin to say when he's free, so we can test it again.
                    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


                    • #40
                      Originally posted by Maquiladora
                      I'm just waiting for Martin to say when he's free, so we can test it again.
                      Well, we could try it within the next two hours, I have to prepare the MSVC6 builds first, so I will check the chat then. That maybe in 10 to 20 minutes.

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

                      Comment


                      • #41
                        OK, I have compiled revision 875 for both final and debug version compiled under MSVC6, all I need is someone to test. For now I am in the Apolyton chat channel. In the meantime I work a little bit on the AI.

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

                        Comment


                        • #42
                          My first crash.txt:

                          Code:
                          Version 2008-05-24
                            0x00617d97  [?Packetize@NetCellList@@UAEXPAEAAG@Z + 0x177]
                            0x00633341  [?ChunkList@Network@@QAEXGPAV?$PointerList@VPacketizer@@@@@Z + 0xb1]
                            0x0062b9fd  [?SetReady@Network@@QAEXG@Z + 0x53d]
                            0x0062fa90  [?ProcessNewPlayer@Network@@QAEXG@Z + 0x510]
                            0x0062573f  [?Unpacketize@NetReport@@UAEXGPAEG@Z + 0x4f]
                            0x0062ac5a  [?PacketReady@Network@@UAEXHPAEH@Z + 0x8a]
                            0x0063786a  [?Idle@NetThread@@UAE?AW4NET_ERR@@XZ + 0x1aa]
                            0x006295f4  [?Process@Network@@QAEXXZ + 0x1f4]
                            0x0040c1b5  [?Process@CivApp@@QAEHXZ + 0x105]
                            0x00406f84  [?CivMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x394]
                            0x004069e5  [WinMain@16 + 0x65]
                            0x007ff0dc  [WinMainCRTStartup + 0x134]
                            0x7c816fd7  [__onexitbegin + 0x7be50ddf]
                          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


                          • #43
                            OK, well made some progress, today. Here is a modified executable. So that anyone who wants to test can do it.

                            Edit: Removed link, the latest version of the CTP2 Apolyton Edition can be found here.

                            We both were able to join an MP-game. We found that there is something wrong with the Chat window color assignment and we tried to play a turn.

                            So I tried to found a city, which made the game crash with the following not much saying crash.txt:

                            Code:
                            Version 2008-06-18
                              0x7c9206c3  [__onexitbegin + 0x7bf5a3cb]
                              0x77bfc3c9  [__onexitbegin + 0x772360d1]
                              0x77bfc3e7  [__onexitbegin + 0x772360ef]
                              0x77bfc42e  [__onexitbegin + 0x77236136]
                              0x77c16147  [__onexitbegin + 0x7724fe4f]
                              0x00403940  [?Debug_AddFunction@@YAXPADI@Z + 0x30]
                              0x00403ab5  [?Debug_FunctionNameOpen@@YAHPAD@Z + 0x115]
                              0x0040427c  [?c3debug_ExceptionStackTrace@@YAPADPAU_EXCEPTION_POINTERS@@@Z + 0x1c]
                              0x00406af8  [?main_CivExceptionHandler@@YAJPAU_EXCEPTION_POINTERS@@@Z + 0x98]
                              0x00406a08  [WinMain@16 + 0x88]
                              0x007ff0fc  [WinMainCRTStartup + 0x134]
                              0x7c816fd7  [__onexitbegin + 0x7be50cdf]
                            Last edited by Martin Gühmann; October 8, 2008, 13:39.
                            Civ2 military advisor: "No complaints, Sir!"

                            Comment

                            Working...
                            X