Skip to content
forked from Znote/POTCP

(P)HP (O)pen (T)ibia (C)lient (P)rotocol

License

Notifications You must be signed in to change notification settings

Arch-Mina/POTCP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POTCP

(P)HP (O)pen (T)ibia (C)lient (P)rotocol This is a (headless) OT client library written in PHP.

It deals with the tibia protocol, rsa/xtea encryption/decryption and communication with the server. Tested against Forgottenserver 1.3.

if you wonder why there are 2 classes, Tibia_client and Tibia_client_internal, Tibia_client is supposed to be easy to use and easy to understand, easy to wrap your head around while the _internal is supposed to be... the dirty complex internals 😛

Test:

  1. Modify tests/tests/loginPlayerBot.php with your servers IP, gameserver port (usually 7172), account username and password, and character name.
  2. Execute tests/loginPlayerBot.php with PHP in cli. php loginPlayerBot.php
  3. Login on another account and see the player who logged in from PHP.
  4. Ask him in-game to go in any direction, etc go right, go down and see the magic happen.

Initial commit developed by divinity76

About

(P)HP (O)pen (T)ibia (C)lient (P)rotocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 96.8%
  • C++ 3.2%