The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Game::Tibia::Packet::Login - Login packet support for the MMORPG Tibia

SYNOPSIS

    use Game::Tibia::Packet::Login;

DESCRIPTION

Decodes Tibia Charlist packets into hashes and vice versa. By default uses the OTServ RSA key, but allows different RSA keys to be supplied.

METHODS AND ARGUMENTS

new([packet => $packet, rsa => OTSERV])

Constructs a new Game::Tibia::Packet::Login instance. If packet is supplied, decryption using the supplied rsa private key is attempted. If no rsa is supplied, the OTServ RSA key is used.

finalize([$rsa])

Finalizes the packet. encrypts with RSA and prepends header

GIT REPOSITORY

http://github.com/athreef/Game-Tibia-Packet

SEE ALSO

Game::Tibia::Packet

Game::Tibia::Packet::Charlist

AUTHOR

Ahmad Fatoum <athreef@cpan.org>, http://a3f.at

COPYRIGHT AND LICENSE

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.