Author Topic: a question about planeshift code?  (Read 1086 times)

arcus

  • Traveller
  • *
  • Posts: 21
    • View Profile
a question about planeshift code?
« on: June 25, 2005, 12:05:53 pm »
hi, all
I\'m a new guy for the game development. And it is very interesting and helpful to read the planeshift sourcecode.
My question\'s context is, when user in the client side press the keyboard down, such as up arrow for the forward action, it seems that system call the HandleForward() method in the psCharControlManager class, and then after some validity check, client system will update the player\'s position and show this action animation on the client side. My question is, does this movement should be verify at the server side? And whether server check this or not, client should send player\'s position information to the server, but I cannot find the soucecode about this, can any body give me some reference for this?

Any help and suggestion will be welcome!

Frank

Androgos

  • Guest
(No subject)
« Reply #1 on: June 26, 2005, 11:16:23 am »
He, validation for every single DR update would be a LOT of CPU power.
Instead we have PaladinJr that checks each player 1 or 2 mins for too high velocity and stuff like that

arcus

  • Traveller
  • *
  • Posts: 21
    • View Profile
(No subject)
« Reply #2 on: June 27, 2005, 07:27:50 am »
Thanks a lot for your great help.
And I still have a question, how about the PS processing the continuous walking animation. I mean for the continuous walking, I think it can be devided 3 types, one is start walking, second is walking, the thrid is stop walking. If player just press one movement button, it is simple to display these 3 type animation by order, but when the user press the up-arrow button down for a while, then the player should continuously walk in the screen, so for middle of every step, the stop walking animation should not be displayed, and it only be displayed at the end of continuous walking, Right? How about PS processing this problem?

Any suggestion and help will be welcome!

Frank

Androgos

  • Guest
(No subject)
« Reply #3 on: June 27, 2005, 07:42:35 am »
we ain\'t, it\'s all handled by cal3d