The Daily Click ::. Forums ::. Klik Coding Help ::. MooGame glitch
 

Post Reply  Post Oekaki 
 

Posted By Message

WillWill

Give me stuff

Registered
  24/07/2006
Points
  552
8th April, 2007 at 06:56:10 -

How come I can't set the client username when I connect, sign on, and change name quickly? Should I entirely abandon the built-in MooGame name feature? It seems totally worthless to me.

 
http://www.morphboy.newgrounds.com/
^ Free tunes, as long as you contact me.

Joshtek

Administrator
The Archivist

Registered
  02/01/2002
Points
  3224

Game of the Week WinnerHas Donated, Thank You!Mr BallPicture Me This Round 50 Winner!
9th April, 2007 at 15:12:59 -

Set the name before you connect, not after.

Image Edited by the Author.

 
:: Joshtek ::


Oreos? GO! OREOS!

WillWill

Give me stuff

Registered
  24/07/2006
Points
  552
9th April, 2007 at 15:22:42 -

I've tried before, during and after disconnection, but they all give the same results. :/

Hi Joshtek! ^^ (gnutrophy@hotmail.com)

Image Edited by the Author.

 
http://www.morphboy.newgrounds.com/
^ Free tunes, as long as you contact me.

Reno



Registered
  11/01/2005
Points
  906
15th April, 2007 at 17:49:56 -

I REALLY wish there was another way than moogame. I learned to hate it.

 
Reborn Again

Reno



Registered
  11/01/2005
Points
  906
15th April, 2007 at 17:50:46 -

oh. BTW by that I mean I have the same problem. Set name before connect than thats it. I am not entirely sure but I think the server can change the name (since its the one handling everything)

 
Reborn Again

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
16th April, 2007 at 06:54:07 -

Firstly, yes you're meant to set the name of your player before connecting to the server. I've never run into any problems with it, so there is probably a confliction in code at your end.

Secondly, needing to change username once connected? I can't see why you would want to do that. I've never tried to do it, but if changing your name once connected doesn't work (which I think it does, because there are conditions to check if your name has been changed.) then you can simply create your own naming system based on assigning names to IDs. Simply send your new name through a channel and then when the other clients receive it, they permanently assign and display your new name.

Tell me how that goes.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Reno



Registered
  11/01/2005
Points
  906
16th April, 2007 at 12:04:48 -

I never found this to be a huge problem. I just had to go with 'set name ONCE and only ONCE per session'

 
Reborn Again

WillWill

Give me stuff

Registered
  24/07/2006
Points
  552
16th April, 2007 at 15:02:52 -

same here.. Right now I got the server returning a message to the client that his username was " ", and the user reconnects with a slightly higher cooldown (delay between setting name, connecting, signing on, logging in, etc) for every time. It works well really, it just takes abit longer to login.

 
http://www.morphboy.newgrounds.com/
^ Free tunes, as long as you contact me.

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
17th April, 2007 at 04:01:25 -

Takes a bit longer to login every time you try to? Maybe it opens a new port and keeps the other one open, too?

 
Old member (~2004-2007).

WillWill

Give me stuff

Registered
  24/07/2006
Points
  552
18th April, 2007 at 03:08:49 -

naw naw, same port. It's just hammering if the bug appears until the bug disappears and all is well.

 
http://www.morphboy.newgrounds.com/
^ Free tunes, as long as you contact me.
   

Post Reply



 



Advertisement

Worth A Click