The Daily Click ::. Forums ::. Klik Coding Help ::. OINC Host server problem
 

Post Reply  Post Oekaki 
 

Posted By Message

Solgryn

Solgryn dot org

Registered
  20/12/2008
Points
  12572

GOTW Winner!VIP MemberWii OwnerIt's-a me, Mario!The Cake is a LieGOTM 2ND PLACE! - APRIL 2009GOTM 2ND PLACE - JUNE 2009PS3 OwnerKlikCast #15 Compo Winner!LOL Sign
You've Been Circy'd!GOTM WINNER - JANUARY 2010I am an April FoolGOTW MARCH 2010 WINNER!Santa Hat
6th June, 2009 at 20:07:21 -

Hey, I'm making this game called Blobomb and I'm working on online mode.

http://www.create-games.com/project.asp?view=main&id=1585

So, I got it working with public servers but now I wanted to let people host their own servers, with the c++ program given in the .zip file.

So, I can connect to the chat lobby and all but when I create a game it's like fifty fifty if it wants to connect to the channel or not... am I doing something wrong?

I am doing it like in this article:
http://www.create-games.com/article.asp?id=2104
That I wrote..

- create a game which players can see
- then next frame
- pick a character
- next frame
- connect to the localhost or whatever server, and connect to the channel (the name of the game)

It seems that it can connect but it cant connect to the channel, only sometimes ?

Also, at the server program it says that when I join game room, the player connects and then disconnects? WTH?? I dont even have a condition with the event disconnect.



It seems that the errors are like this: (It's like random which one I get and sometimes it works for one)

UNKOWN ERROR
(Detail)NO ERROR

SERVER FULL
(Detail)SERVER FULL

and then this interresting one:

You cannot HOST() and LISTEN() with the same UDP object
(Detail)SERVER FULL

How do I fix this one?

Edited by Solgryn

 
www.Solgryn.org

Image
   

Post Reply



 



Advertisement

Worth A Click