Game::Tibia::Packet::Charlist - Character list packet support for the MMORPG Tibia
use Game::Tibia::Packet::Charlist; my $p = Game::Tibia::Packet::Charlist->new( packet => $packet, xtea => $xtea, version => 830 ); $p->{premium_days} = 0xff; $sock->send($p->finalize);
Decodes Tibia Login packets into hashes and vice versa.
Constructs a new Game::Tibia::Packet::Charlist instance. When packet and xtea are specified, the supplied packet is decrypted and is then retrievable with the payload subroutine.
packet
xtea
payload
Finalizes the packet. encrypts with XTEA and prepends header
http://github.com/athreef/Game-Tibia-Packet
Game::Tibia::Packet
Game::Tibia::Packet::Login
Ahmad Fatoum <athreef@cpan.org>, http://a3f.at
<athreef@cpan.org>
Copyright (C) 2016 Ahmad Fatoum
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Game::Tibia::Packet, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Game::Tibia::Packet
CPAN shell
perl -MCPAN -e shell install Game::Tibia::Packet
For more information on module installation, please visit the detailed CPAN module installation guide.