Commit Graph

26 Commits

Author SHA1 Message Date
Nathan Fulton
5274dea626 server update to support new json types
- JsonNumber
- JsonBool
2017-10-21 20:26:48 -04:00
Nathan Fulton
aaf2cf35e6 Set Main / Unmoderated to registered only
If players want the privilege of having access to the unmoderated room,
then they can create and use an account.
2017-10-21 02:48:43 -04:00
Nathan Fulton
b57f5a3a62 Add null checks to fix server crashing 2016-08-31 23:54:48 -04:00
Nathan Fulton
d6b301c3e7 Track client platform version
Client platform version can be retrieved live with /ids and is also
recorded in the playerdetail module.
2016-08-31 23:54:48 -04:00
Nathan Fulton
abb1823956 Add /t server command for team chat
New command /t that can be used in game to send chats that only appear
to players on the same team. Observing players cannot use team chat.
2016-08-31 22:43:34 -04:00
Nathan Fulton
f6dd61415f /reg command can block anon logins server wide
Admins can issue "/reg server" to prevent anonymous logins on the game server.
2016-08-31 22:43:34 -04:00
Nathan Fulton
896e5a59a3 Add /ann command for server announcements
Server announcements will be displayed to every player who enters a
server created room. Admins can use the /ann command to set or clear
the server announcements.
2016-08-31 22:43:34 -04:00
Nathan Fulton
066e2a4839 Use a username with whispers and mod chats
“username to username:” or “username to mods:” was originally prefixed
to the chat and then the whole string was sent as a server message.
Now, “username to username:” is considered the user’s name for the
chat. This way, clients will process it as a user chat instead of a
server message (this results in the client coloring the chat
differently).
2016-08-31 22:43:34 -04:00
Nathan Fulton
40d0e9ff29 Improve server /ids command and add "all" argument
- Add support for an “all” argument that lists the id information for
every player on the server.
- /ids will now give a response when attempting to obtain the ids from
a location with no players (i.e. an empty room).
- Fixed unneeded newlines when /ids is issued for a game.
2016-08-31 22:43:34 -04:00
Nathan Fulton
8f0e81a3f5 Create main thread via host
Create the main thread via host rather than being a global variable in
base; this way, no base threads are created before the host runs main()
because that can cause issues on some platforms.
2016-08-24 16:20:31 -04:00
Nathan Fulton
99f659f6fe Add command to change server info keys on live servers
- Ability to modify some existing keys (sort, status, name, location,
and type).
- Ability to add, modify, and remove extra keys.
2016-08-24 11:58:11 -04:00
Scott Ludwig
3032e898fb Added utility to list currently running server instances 2016-01-26 17:24:20 -08:00
Scott Ludwig
871fec58a4 Fix typo in server drain and delete helper script 2016-01-13 22:42:39 -08:00
Scott Ludwig
de950ccc46 Use scanf and printf compile time format string type checking; fix 64 bit bugs 2016-01-10 13:14:36 -08:00
Scott Ludwig
ac148a79f1 Unify content download in ./run
Also change the leaderboard port and address to 127.0.0.1:8080
2016-01-09 12:44:21 -08:00
Scott Ludwig
087a9eae7d Support for building, running and deploying the server in docker containers.
See README.txt for more information.
2016-01-07 22:10:13 -08:00
Scott Ludwig
2186f473b5 Fix 64 bit compile warnings 2016-01-03 23:19:26 -08:00
Scott Ludwig
bbb2b60a2a Switch OS X build to 64 bit and fix a merge bug 2016-01-01 23:09:50 -08:00
Scott Ludwig
39b5b9e923 Make startup release logging less verbose 2016-01-01 22:41:21 -08:00
Scott Ludwig
3c8476388a Keep debug and release directories in repo 2016-01-01 14:36:17 -08:00
Scott Ludwig
dc2c02e54f Fixes to compile 64 bit server on Ubuntu 14.04 (g++ 4.8.x) 2016-01-01 14:34:34 -08:00
Scott Ludwig
3618d1a6b2 Fix 32/64 bit MP message structure packing issues
- 32 bit and 64 bit should work the same way now (need to test).
  The server compiles 32 bit at the moment.
- 8 bytes from the NetMessage header were removed, and the protocol
  version was bumped.
2016-01-01 14:26:25 -08:00
Scott Ludwig
c070a9169b Fix so that http post results get returned 2016-01-01 14:03:17 -08:00
Scott Ludwig
b2e2d5efda Fix server warnings and errors resulting from LLVM based compile 2016-01-01 14:02:35 -08:00
Scott Ludwig
2d15849c5e Fix the server to build with gcc 4.8 on Ubuntu 14.04. 2014-11-08 16:30:52 -08:00
Darrin Massena
f4c0203914 initial commit 2014-07-06 17:47:28 -07:00