|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [gameprogrammer] Re: pingin'
Actually, I lied when I said I haven't implemented it. I have half done it, and from memory I sent vectors (using the players current position as the origin) on change - basically on key-down I sent a vector describing a movement, and the same on key-up - the vector described a non movement. Some things are one-off's though - like an action (fire a weapon, toggle a switch) but even then there are automatic weapons (as opposed to a single shot weapon) - they are not one-off actions! Alan Wolfe wrote: Wow you sure are strongly against what i said :P I think one of the issues you have with it is that the client would be constantly sending streams of data to the server saying "moving left...moving left... moving left..." etc right? Just as i assume you wouldn't send the coordinates every time they changed, I figured you could do something like send a message when the player starts walking, and another when they stop. Probably adding time stamps if you want to be able to account for lag. Does that still sound bad to you? If so im curious why. btw im also curious how would it be as hackable? On 1/23/08, Jessica Nienbarg <jessica@nienbarg.de> wrote:No, that's really inefficient, since the coordinates *will* get offset to the coordinates the user sees. It doesn't even work for minimalistic projects. Also that method would be as hackable as the coordinate one, no gain there. Alan Wolfe wrote:Instead of having the client tell the server "hey i want to move here", it would probably be better to tell the server "hey i want to move left", because if the client tells the server specific coordinates to move to, people could hack their client and make it send whatever coordinates they want to have "teleport hacks" (: On 1/23/08, Jake Briggs <jakbri@coretech.co.nz> wrote:Yasser Gonzalez Soto wrote:I want make an application (c++ or delphi) that pings to an ip address. Is reponse add a "IP actived" message to a listWell you could just try to open a socket on the remote IP.... Depends what libraries you are using.second: In a multiplayer LAN game using tcp/ip, I want make a game where, each time an user connects to the server, creates a sprite on the room. So, when a player on his own PC moves his character screen moves, on the other PC else, user player moves. Could you give a clue
--
Jacob Briggs
Systems Engineer
Core Technology Limited
Level 1, NZX Centre
11 Cable Street
Wellington
Phone +64 4 801 2252
--
object doAnythingConceivable(string whatToDo, object whatToDoItWith) { .....
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
|
|