View Single Post
Old 08-16-2004, 08:24 PM   #2 (permalink)
Rokam
 
Join Date: Oct 2002
Location: Brasilia / Brazil
Age: 23
Posts: 337
Send a message via ICQ to Rokam Send a message via MSN to Rokam
Default

Quote:
Originally Posted by alambik
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
plz, any moderator remove duble posts...

I've already replied this into the Script Support post, but I need some info to help you.
Rokam is offline   Reply With Quote