/Magma

Custom http AND https Api for both bfheroes and bfp4f. Using golang!

Primary LanguageGo

MagmaServer

imports might need to be refactored, no support given , sorry

MagmaServer handles http or https requests from the game client and gameserver. It's used for login/Store/inventoryList/ as parsed XML It can be used by both BFHeroes and BFPlay4Free

How to Build

(change your IP inside ./config.go)

god mod tidy

go build 

Configuration

Here are all the .env (file) config variables check ./config.go for more Info To create a .env file just type in bash (or gitbash) touch .env

Name Value
LOG_LEVEL debug
HTTP_BIND 127.0.0.1:80
HTTPS_BIND 127.0.0.1:443
CERT_PATH ./fixtures
PRIVATE_KEY_PATH ./fixtures

Credits

This is created by Synaxis and "neqnil" based on aluigi auriemma sniff of live EA Games Server, from 2010 some credits: first guys to port C code to Node-JS and Golang, and then make it public mDawg,Makahost