SphereCommunity
Packet filtering - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Packet filtering (/Thread-Packet-filtering)



Packet filtering - Shaklaban - 04-14-2012 01:52 AM

Hi, i have some problems with packet filtering. Its not working for some packets:

http://docs.polserver.com/packets/index.php?Packet=0x34

PHP Code:
PACKET034=get_player_status //defined in sphere.ini

[function get_player_status]
serv.log hello 

Function never fires, its a packet which sended by client many times. Any ideas?


RE: Packet filtering - ShiryuX - 04-14-2012 02:57 AM

You have to set the number in decimal, not in hex.
That should be PACKET52


RE: Packet filtering - Shaklaban - 04-14-2012 03:38 AM

Works with decimals, thanks!