Commit 72c6159
authored
Add client and server packets. (jo3bingham#4)
* Add Communication class as the base for parsing packets
* Move zlib to Network to be consistent
* Begin adding packets.
Adds Peek methods to NetworkMessage class.
* Add client packets.
Add Reset method to NetworkMessage.
Prepare for allowing packets to be modified before forwarding.
Prepare to allow packets to be blocked from being forwarded.
Prepare for adding server packets.
Prepare for compressing (deflate) packets; work-in-progress.
* Allow for blocking/modifying/sending client packets to the game server
* Add Position struct.
Add Read/Write methods to NetworkMessage class for Position.
Uncomment Positions from relevant client packets.
* Add server packets.
* Add support for object instances to network messages.
Add support for loading Tibia 11 dat file.
Add missing server packets.
* Add OutfitInstance class.
Add reading/writing OutfitInstances to NetworkMessage class.
* Add Creature class.
Add reading/writing of Creatures to NetworkMessage class.
* Add reading of daily rewards to NetworkMessage class.
Need to add class for daily rewards, and writing them to network
messages.
* Add Imbuing classes.
* Add Market offer classes.
Add methods to read/write Market offers to the NetworkMessage class.
* Add WorldMap classes.
Add reading of map packets to the NetworkMessage class.
* Get Fields from parsing map packets.
* Allow parsing and modifying of server packets.
Some packets are exempt from modification because they don't have
finished AppendToNetworkMessage methods.
* Finish up packets.
Finish forwarding packets properly; server packets are exempt from
modification until all AppentToNetworkMessage() methods are complete.
Fix issue where Math.Max was called instead of Math.Min.1 parent 1c0ee7f commit 72c6159
304 files changed
Lines changed: 24049 additions & 206 deletions
File tree
- TibiaAPI
- Appearances
- Constants
- Creatures
- Imbuing
- Market
- Network
- ClientPackets
- ServerPackets
- zlib
- Utilities
- WorldMap
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | | - | |
| 8 | + | |
8 | 9 | | |
9 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
10 | 15 | | |
11 | | - | |
| 16 | + | |
12 | 17 | | |
13 | | - | |
| 18 | + | |
14 | 19 | | |
15 | 20 | | |
16 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
17 | 37 | | |
18 | 38 | | |
19 | 39 | | |
20 | 40 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 41 | + | |
25 | 42 | | |
26 | 43 | | |
27 | 44 | | |
| |||
33 | 50 | | |
34 | 51 | | |
35 | 52 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 53 | + | |
40 | 54 | | |
41 | 55 | | |
42 | 56 | | |
| |||
0 commit comments