[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-games-devel
Subject: [Kde-games-devel] KGame problem
From: Jens Hoefkens <hoefkens () msu ! edu>
Date: 2001-08-14 21:46:00
[Download RAW message or body]
Hi Folks.
While working more with KGame, I encountered a small problem with
KGame. When I call KGame::connectToServer("localhost", 10500) without
a corresponding server listening on localost:10500, the program
crashes with the following output:
Now, it should be noted that the call to KGame::connectToServer
actually returns true...
Could one of the KGame wizzards have a look into this, please?
Thanks,
Jens.
===========================================================================
libkdegames (KGame): CREATE(KMessageServer=0x80ddac8) cookie=8273 sizeof(this)=40
libkdegames (KGame): =====>KMessageServer::addClient 1
libkdegames (KGame): CREATE(KGameNetwork=0x80dda98) cookie=8273 sizeof(this)=40
libkdegames (KGame): CREATE(KGame=0x80dda98) sizeof(this)=44
libkdegames (KGame): CREATE KGamePropertyHandler(0x80deb10)
libkdegames (KGame): Connecting SLOT 1sendProperty(QDataStream&, bool& )
libkdegames (KGame): Connecting SLOT 1emitSignal(KGamePropertyBase *)
libkdegames (KGame): WARNING: we are server but we are trying to connect to another \
server! make sure that all clients connect to that server! quitting the local server \
now... libkdegames (KGame): KMessageClient::setServer: We are changing the server!
libkdegames (KGame): DESTRUCT(KMessageServer=0x80ddac8)
libkdegames (KGame): ------------------ KMESSAGESERVER -----------------------
libkdegames (KGame): MaxClients : -1
libkdegames (KGame): NoOfClients : 0
libkdegames (KGame): ---------------------------------------------------
libkdegames (KGame): DESTRUCT(KMessageServer=0x80ddac8) done
libkdegames (KGame): connected to localhost:10500
libkdegames (KGame): KMessageClient::removeBrokenConnection: Deleting the connection \
object libkdegames (KGame): +++++++++++KGame::slotServerDisconnected
libkdegames (KGame): Playerlist of client=0 count
libkdegames (KGame): CREATE(KMessageServer=0x80b0e60) cookie=8273 sizeof(this)=40
libkdegames (KGame): KGameNetwork::setMaster(): Client already exists!
libkdegames (KGame): KMessageClient::setServer: We are changing the server!
libkdegames (KGame): =====>KMessageServer::addClient 1
libkdegames (KGame): our game id is now 1
pure virtual method called
_______________________________________________
Kde-games-devel mailing list
Kde-games-devel@master.kde.org
http://master.kde.org/mailman/listinfo/kde-games-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic