locked
Again... server problem RRS feed

  • Question

  • Well i got a problem... again. So here is the problem:  Cannot find property 'SomeoneTryConnect' in 'NetworkServer'. I don't have any clues what is the problem. here is the latest code: PCD316

     

     


    I love game design and game programing.
    • Changed type Primoz128 Tuesday, August 30, 2011 10:38 AM I didn't put a ? so it didn't become a ?
    • Changed type Primoz128 Tuesday, August 30, 2011 10:57 AM I didn't know this actual gets visible <.< ;(
    Tuesday, August 30, 2011 8:21 AM

Answers

  • NetworkServer.SomeoneTryConnect is still an event not a property.

    NetworkServer.SomeoneTryConnect = OnConnect
    
    Sub OnConnect
    
     NetworkServer.AllowLatestUserToConnect()
     TextWindow.WriteLine("Client has connected")
    
    EndSub
    



    Sorry My Bad English
    • Marked as answer by Primoz128 Wednesday, August 31, 2011 12:29 PM
    Tuesday, August 30, 2011 12:09 PM

All replies

  • NetworkServer.SomeoneTryConnect is still an event not a property.

    NetworkServer.SomeoneTryConnect = OnConnect
    
    Sub OnConnect
    
     NetworkServer.AllowLatestUserToConnect()
     TextWindow.WriteLine("Client has connected")
    
    EndSub
    



    Sorry My Bad English
    • Marked as answer by Primoz128 Wednesday, August 31, 2011 12:29 PM
    Tuesday, August 30, 2011 12:09 PM
  • Btw why can i only enter 1 dot in TextWindow.ReadNumber() ... i  fixed...

    I love game design and game programing.
    • Edited by Primoz128 Tuesday, August 30, 2011 3:01 PM
    Tuesday, August 30, 2011 12:45 PM
  • Oh and my server detects client to connect, but the client itself doesn't show that it connected...

    Here is the client code: HJG503


    I love game design and game programing.
    Tuesday, August 30, 2011 12:58 PM