Results 1 to 2 of 2

Thread: Game Server from text

  1. #1

    Thread Starter
    Addicted Member slashandburn's Avatar
    Join Date
    Aug 1999
    Location
    Marietta, Ga
    Posts
    229

    Exclamation

    I am thinking of making a net game from a text example i found. I am woundering how the relationship between the pure server and client.

    #1 I think this will work.
    Action
    Send Keyboard Signal to Server
    Game runs checks on action.
    Sends Signal to all players, affecting all.


    #2 I don't think this would work well.
    Action
    Game runs action
    Game sends signal to server
    Sends action to all other players.


    There will be a link to the website later for the game at
    MGATE.CJB.NET

  2. #2
    Junior Member
    Join Date
    Aug 2000
    Posts
    19

    Won't work

    I am working on a net game right now myself. What you need is not a direct connection from the keyboard to the server but a relay such as a variable is needed. As soon as a keystroke is made then the variable has a value of TRUE
    (-1). You should also have a timer with an interval of 1. In the timer1_timer sub of the game module, you should have the actions to transmit all the variables relating to the actions of everyone in the game.

    I've also found out that you need at least more than one person to test everything out before it goes beta or even alpha. Hoped that made sense.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width