View Single Post
Old 08-16-2004, 03:55 PM   #1 (permalink)
alambik
Forum Novice
 
alambik's Avatar
 
Join Date: Apr 2003
Age: 32
Posts: 248
Arrow Changing server dynamicaly

Hi,

I would like to create a gate that redirect a player to another server.
I think I should use directly the 0x8C packet, but I do not know the way to send a packet to a player.

I know there is a "Send" method in the Mobile class, and a "Packet" class, but I don't know how to send such packet according to the documentation of thoses classes.

Does anybody know how to program packet sending ???

Thanx ;-)

Code:
Sent By: Server 0x8C - Server Connect/Redirect (11 bytes) 
Variable Type Start Index Packet/Variable Name 
byte 0 Packet ID (0x8C - Server Connect/Redirect) 
byte[4] 1 Gameserver IP Address 
ushort 5 Gameserver port 
uint 7 Account UID 
Client will send 0x91 (Server Login Request) to the server that is specified in this packet
alambik is offline   Reply With Quote