Game Development Community

Server and client....learn....

by CIMO · in General Discussion · 09/15/2006 (1:14 pm) · 6 replies

I use this in "serverConnection.cs"
function GameConnection::initialControlSet(%this)
{
   $count = 0;
	echo ("*** Initial Control Object");

   // The first control object has been set by the server
   // and we are now ready to go.

   // first check if the editor is active
   if (!Editor::checkActiveLoadDone())
   {
	if (Canvas.getContent() != PlayGui.getId())
		Canvas.setContent(PlayGui);
   }
   if ($SinglePlayerMap == False && $count < 1)
   {
	Canvas.pushDialog(KitSelectDlg);
	$count = 1;
   }
}
If the server select a join player in client the GUI remaing and OK
BUT
If client select a GUI in server delete!!!!!
WHY
I would to remaing in client if server select a join player and if client select a join player the GUI remain on server....
Any help me? PLEASE!!!!!

#1
09/15/2006 (2:24 pm)
PLEASE.....any help me?..please...It's important..i learn..
#2
09/15/2006 (4:16 pm)
But never HELP PEASE .. just a moment
#3
09/16/2006 (3:12 pm)
Cimo, I don't think you are allowed to post code in these public forums... I've been told off myself for this :)

Suggest you try posting in the Owners forums where someone knowledgeable is more likely to see and answer your query!

Gords
#4
09/16/2006 (4:37 pm)
Its not against the EULA to post script in a public forum. If it were C++, then it would be required to be posted in the private forums.

-Jase
#5
09/16/2006 (4:52 pm)
Might help if I READ the EULA one of these days :)
#6
09/17/2006 (8:05 am)
Ahhh ok ok sorry sorry now i understood =) THANKS =)