Author Topic: Messages from Client to Server  (Read 764 times)

virajithj

  • Traveller
  • *
  • Posts: 17
    • View Profile
Messages from Client to Server
« on: December 02, 2010, 06:11:05 am »
Hi,

I was hoping someone could help me out with this question. Which message (class name in messages.h/message.h) is used by the server to send the client the positions of all the other players? I found that "class psAllEntityPosMessage" in  npcmessages.h is used for superclients. Are such messages to client sent periodically?

Also where exactly is the code which receives the messages from the clients received by the server? Is it just msghandler.cpp (in common/net/) or am I reading something wrong?

Thanks
Virajith

weltall

  • Moderator
  • Veteran
  • *
  • Posts: 1671
    • View Profile
    • http://weltall.heliohost.org
Re: Messages from Client to Server
« Reply #1 on: December 02, 2010, 08:43:24 am »
deadreckoning
that receives messages and dispatches them to destination which subscribe for them.