maboelfotoh / s2wrapper Goto Github PK
View Code? Open in Web Editor NEWImported
Home Page: https://gitlab.com/TalesofNewerth/s2wrapper.git
Imported
Home Page: https://gitlab.com/TalesofNewerth/s2wrapper.git
Wrapper for savage2.bin dedicated server. * The wrapper launches the savage2 binary as dedicated server, establishes a connection between the binary and the wrapper. - Wrapper monitors if the server is up, may it have died the wrapper relaunches it. * The wrapper has a telnet interface as proof of concept. (default listening on port 4242) - The telnet interface will display the server console - has a input functionality to perform commands and see output. * May the wrapper be exitted the savage2 dedicated server will run as normal. * Plugins "Plugins run in an instance, so you can store data and make applications on the savage2.bin binary, like autoshuffle." - currently controllable by stdin interface - Commands: plugins rediscover (loads new plugins when placed in /plugins/ plugins list (discovered plugins) > Returns a list of Plugin Names plugins enable <name> (enable discovered plugin) plugins disable <name> (enable discovered plugin) plugins reload <name> (reloads discovered plugin) - ConsolePlugin(ConsoleParser) * Inherits callbacks from the ConsoleParser Directory relative of this file /plugins/ TestPlugin.py class TestPlugin(ConsolePlugin) def onReceivedAccountId (self, *args, **kwargs): // do stuff * Library - (Base)ConsoleParser onReceivedAccountId (client_id , account_id) onConnect (idx , client_id, ip, port) onSetName (idx, nickname) onTeamChange (nickname, team) onMessage (channel[All,Team 1, Team 2], message) onServerStatus (map, timestamp, client_num, disconnect_num, entries, snapshots) onServerStatusResponse (map, timestamp, client_num, disconnect_num, entries, snapshots) onDisconnect (idx) onConnected (name) onPlayerReady (idx) onNewGame () * For example purposes: - TestParser(ConsoleParser) - onReceivedAccountId (client_id , account_id) * Retrieves the SF of a player from the account_id from the savage2 website. (useful for auto balance) ;D
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.