Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thomasballinger/hla-client
https://github.com/thomasballinger/hla-client
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/thomasballinger/hla-client
- Owner: thomasballinger
- Created: 2012-08-17T14:42:49.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-10-03T15:11:47.000Z (over 12 years ago)
- Last Synced: 2024-12-16T13:43:23.765Z (26 days ago)
- Language: Python
- Size: 129 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Prototype client for receiving events from
the ingrid/heylooka serverMotivation
----------Clients receive events corresponding only to what the server
thinks they need to know, instead of every single message.This has applications for reduced load in MMO's where the n
squared communication problem of many clients in a shared world,
or preventing untrusted clients information they should not
reveal to game players (eg, starcraft 1 map hacks)Protocol
--------Clients connect to the server on a tcp port, then receive and send
messages about events occuring. These events have the formatascii digits representing num bytes message takes up, terminated by a space
| aforementioned space (doesn't count toward the message length)
| | Largest radius at which event is perceivable to a client
| | | x-position of event
| | | | y-position of event
| | | | | Display name of event
| | | | | |
18 17 217 23 Big Boomover a tcp connection. Events are sent to the server using similar format;
12 /nick thomas
7 /move N
16 /event Honk HornRunning It
----------python network.py
will run a test that talks to a local erlang "heylooka" server
Install
-------I used
http://twistedpairdevelopment.wordpress.com/2012/02/21/installing-pyglet-in-mac-os-x/
for installation on OSX Lion.