Ok so SA:MP uses the packet SAMP, What packet does VC:MP use?
errrr VCMP?
I can't tell if this is serious or some kind of joke ???
That doesn't work I tried it before
If you mean the Query packet, then it does start with VCMP like hanney said. Fairly sure the packet structure is the same as SAMP.
Off the top of my head, the query packet starts like this:
VCMP<4byte IP><2byte port><Packet ID>
Packet ID would be where you ask for Players, Server Data or Ping. Ping is a lowercase 'p' i think.
In the case of ping, a further 4 bytes are sent with the timestamp of when it was transmitted from the server (i think, been a while since i looked at it)
Hope this helps :)
Quote from: VRocker on March 25, 2011, 12:40:35 PM
If you mean the Query packet, then it does start with VCMP like hanney said. Fairly sure the packet structure is the same as SAMP.
Off the top of my head, the query packet starts like this:
VCMP<4byte IP><2byte port><Packet ID>
Packet ID would be where you ask for Players, Server Data or Ping. Ping is a lowercase 'p' i think.
In the case of ping, a further 4 bytes are sent with the timestamp of when it was transmitted from the server (i think, been a while since i looked at it)
Hope this helps :)
Thank you