PDA

Click to See Complete Forum and Search --> : Game Server from text


slashandburn
Aug 20th, 2000, 10:27 AM
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

Terrell
Aug 21st, 2000, 02:24 AM
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.