Skip to content

lcdr/pyraknet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 

Repository files navigation

pyraknet

A Python implementation of RakNet 3.25.

Created by lcdr

License: AGPL v3

This is not aimed to be a complete port of RakNet, just everything that's needed to run a server.

Not implemented:

  • Client side

  • Encryption

  • ReliableSequenced sending / receiving

  • Grouped sending

  • (BitStream) Compressed floats/doubles

Requirements:

  • Python 3.6

Installation

pip install git+https://github.com/lcdr/pyraknet should handle the installation automatically. If you run into problems you might have to execute pip as admin, or if you have multiple Python versions installed explicitly use the pip of the compatible Python version.

Sample server setup

Run python -m pyraknet or execute __main__.py to start a sample server that will send packets manually, from ./packets/

To send something, place your packets in ./packets/ and enter the subfolder name in the command line.

The server logs incoming and outgoing packets in ./logs/, if you get errors you might have to create the directory (and possibly subdirectories).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages