Commit 174ce48
authored
Add Network core. (jo3bingham#1)
* Add NetworkMessage class.
* Add Connection class.
This adds a basic proxy to sit between the Tibia client and the web
service and game server.
A Tibia client can currently connect to this proxy by only changing it's
web service address to http://127.0.0.1/. Unique RSA keys are not
currently supported.
* Adds Rsa class.
Adds support for decrypting an RSA-encrypted block of data in a Tibia
packet that was encrypted using the Open-Tibia private key.
Adds support for encrypting blocks of data using either the Open-Tibia
public key or the Tibia public key.
Fixes an issue with NetworkMessage.ReadBytes() not starting at the
correct index in the buffer.
Changes some signed variables to unsigned as they should never be
negative.
Fixed some typos.
* Add Xtea class.1 parent 903d29c commit 174ce48
7 files changed
Lines changed: 1447 additions & 1 deletion
File tree
- TibiaAPI
- Network
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments