Thanks for the reply, so using Gnet means you dont have to know SQL or PHP?
and when people use GNET they are using Marks website server to store a list of game servers?
The other confusing part is the actual structure of the program, (which could be learned from FPSNET I suppose but that would take longer than asking)
from what I saw, each player gets the same program which acts as a client or a server,and can even change from client to server when the server goes offline,
the confusing part for me is how does the program know when a player has been hit by a bullet?
Does the collision take place in the server,on the client, or is there an inbetween place,
the positions of the players and bullets are sent to each player using text files right? but how many per second,
also what happens when the player moves his character?
does a message get sent to the server or does the client move him?
what does the decodeincomingmessage) function actually DO, the title of the function is very descriptive but the code in the function is difficult to understand,and why do the messages have to be encoded in the first place?
thanks for the answers
and when people use GNET they are using Marks website server to store a list of game servers?
The other confusing part is the actual structure of the program, (which could be learned from FPSNET I suppose but that would take longer than asking)
from what I saw, each player gets the same program which acts as a client or a server,and can even change from client to server when the server goes offline,
the confusing part for me is how does the program know when a player has been hit by a bullet?
Does the collision take place in the server,on the client, or is there an inbetween place,
the positions of the players and bullets are sent to each player using text files right? but how many per second,
also what happens when the player moves his character?
does a message get sent to the server or does the client move him?
what does the decodeincomingmessage) function actually DO, the title of the function is very descriptive but the code in the function is difficult to understand,and why do the messages have to be encoded in the first place?
thanks for the answers