• Welcome to Vice City Multiplayer.
 

VC:MP Packet

Started by Aldo, March 24, 2011, 02:50:14 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Aldo

Ok so SA:MP uses the packet SAMP, What packet does VC:MP use?
Paruni VC:MP Leader
Join Today: 178.63.52.144:5193
The Only Pawn Server With Clan Protection

Hanney

errrr VCMP?

I can't tell if this is serious or some kind of joke  ???

Aldo

That doesn't work I tried it before
Paruni VC:MP Leader
Join Today: 178.63.52.144:5193
The Only Pawn Server With Clan Protection

VRocker

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 :)


Aldo

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
Paruni VC:MP Leader
Join Today: 178.63.52.144:5193
The Only Pawn Server With Clan Protection