Koncord
94f3eaa980
[Server] Fix warning "implicit fallthrough"
2017-12-06 13:30:39 +08:00
David Cernat
456bcee68a
[Server] Use Utils function as workaround for "bad exception" on Windows
2017-12-04 14:32:23 +02:00
David Cernat
993cc3dfd6
[Server] Rename server "plugins"/"mods" into "modules" for clarity
...
The terms "plugins" and "mods" were used interchangeably to refer to collections of server scripts, which was bound to cause confusion later on, especially with client data files frequently being referred to as "plugins" and "mods" as well.
Moreover, the server configuration file now starts its manual ordering with "Module1" for consistency with the pluginlist.json (soon to be dataFileList.json) of the CoreScripts.
2017-12-02 15:39:08 +02:00
Koncord
d15c674584
[General] Move getFilenameTimestamp() to Utils
2017-11-07 05:33:10 +08:00
Koncord
dad0b38f25
[Server] Add custom terminate handler with stacktrace
2017-10-25 14:45:36 +08:00
Koncord
916ada108f
[General] Modernize Log utility
...
* Reverse Log levels
* Add LOG_TRACE
* Spawn instance of Log in Get() function
2017-10-25 14:45:36 +08:00
Koncord
4530370e52
[Server] Use old style of Server Plugins location
2017-10-19 11:55:49 +08:00
Koncord
ce6a4e4032
[Server] Fix indents
2017-10-19 10:26:03 +08:00
Koncord
fc3f2483ee
[Server] Add manual Server Plugins sort
2017-10-19 10:24:17 +08:00
David Cernat
4845599bda
Merge pull request #308 from TES3MP/master while resolving conflicts
...
# Conflicts:
# apps/openmw-mp/main.cpp
2017-10-08 06:50:15 +03:00
David Cernat
3d38da0e85
[Server] Put includes in a specific order
2017-10-08 05:17:14 +03:00
David Cernat
61b1a59814
[General] Move server's version printing method to Utils
2017-10-08 04:16:30 +03:00
David Cernat
d591180e99
[Server] Clean up logAppend and add new message for server shutdown
2017-09-20 16:30:12 +03:00
Koncord
6decd148e5
[Server] Fix build on Windows
2017-09-13 11:06:53 +08:00
Koncord
510e657c93
Merge branch 'master' into new-script-api
2017-09-02 19:48:44 +08:00
David Cernat
92553b8e29
[Server] Log startup errors by not deleting logger too early
2017-08-29 19:30:37 +03:00
Koncord
2d0840cb3a
[General] Modernize Script API
...
This commit changes the style of tes3mp serverside scripting mods. Short list of changes:
* Break compatibility with old server mods
* OOP style lua API
* Basic dependency checker, allowing the installation of multiple server mods without changing configs
* Remove support for C++ plugins
* Change outdated LuaBridge to [sol2](https://github.com/ThePhD/sol2 );
* Support GCC, Clang and MSVC compilers
* New environment variables: "TES3MP_SERVER_DIR" and "TES3MP_SERVER_USERDIR";
* New entity "Command controller" for registering new chat commands;
* New Event system
* Simplified Timer API
* All Lua mods now run in their own environments
* Add global namespace - Data that can be used for communicating between mods
* Player and Actor inherit base class NetActor
2017-08-28 00:15:56 +08:00
Koncord
1f3cbb46e2
[Server] Use __ARM_ARCH definition for detecting ARM
2017-07-04 15:56:40 +08:00
David Cernat
c899525e30
[General] Use address keys with clearer meaning in tes3mp config files
2017-07-03 01:31:48 +03:00
Koncord
9630f95335
[Server] Remove debug output
2017-07-02 11:12:41 +08:00
Koncord
73cf134107
[General] Fix incoming password string
2017-07-02 11:11:33 +08:00
Koncord
7b98f9f7ff
[Server] Log all exceptions
2017-06-11 20:04:56 +08:00
David Cernat
a353a21280
[General] Fix code style inconsistencies
2017-05-31 08:37:11 +03:00
Koncord
b3b7003313
[Server] Add "--no-logs" option
2017-05-28 19:12:58 +08:00
Koncord
dbb636ac90
[Server] Parse program options
2017-05-28 19:10:16 +08:00
Koncord
c4686ec578
[Server] Remove debug line
2017-05-28 18:48:55 +08:00
Koncord
cc7efc6e37
[Server] Use first 10 characters of CommitHash for humans
2017-05-28 18:32:23 +08:00
Koncord
80925736c0
[Server] Add commit hash to the rules
2017-05-28 18:29:00 +08:00
Koncord
bc3612dfe9
[Server] Add commit hash to password
2017-05-28 18:26:38 +08:00
Koncord
f2b8a939ef
[Server] Add postInit method and move getPluginListSample in to it
2017-05-07 02:49:58 +08:00
Koncord
c2ce2f2ce7
[Server] Use MasterServer update rate from config
2017-05-07 02:17:15 +08:00
Koncord
32284787de
[Server] Add OnServerPostInit callback
2017-05-07 01:42:01 +08:00
Koncord
3e00d42067
[Server] Reworking MasterClient to new master server
2017-04-24 20:01:05 +08:00
Koncord
c353e18645
[General] Move Utils from server to components
...
Rewrite CRC32 functions to the Boost equivalent
2017-03-04 13:08:22 +08:00
Koncord
3d88e657cd
[Server] Fix printVersion() for ARM
2017-02-21 18:25:41 +08:00
Koncord
158e9b3b09
[Server] Add ability to set password to server from config & scripts
2017-02-20 22:40:09 +08:00
Koncord
aed0651dc2
[Server] Some fixes for MasterClient
2017-02-03 00:55:59 +08:00
David Cernat
158d606477
[General] Leave one blank line at the end of every tes3mp code file
2017-01-26 06:17:29 +02:00
Koncord
0ab02006de
Detect ARM CPUs
2017-01-14 11:17:36 +08:00
David Cernat
253ded1ee3
Use new getFilenameStamp() method to generate timestamps for filenames
2017-01-13 08:49:21 +02:00
David Cernat
3932654d5d
Use log filenames w/ timestamps instead of adding numbers to their ends
2017-01-13 07:58:40 +02:00
Koncord
f510a5583f
Move MasterClient to Networking class
...
Rename MOTD to hostname
2017-01-10 19:21:31 +08:00
Koncord
11be8ed005
Rename copyOldLog to renameOldLog
2016-12-18 12:48:23 +08:00
Koncord
f08ab0b161
Keep old server logs
2016-12-18 12:45:03 +08:00
Koncord
61f7ad2f76
Add new paths for native & lua libs
...
If you want to add the native lib you should place it to {PATH_TO_MOD}/lib/
for external Lua libs: {PATH_TO_MOD}/lib/lua/
2016-12-05 23:54:29 +08:00
David Cernat
9e290ad799
Fix spacing irregularities
2016-11-21 23:40:50 +02:00
David Cernat
7a3d490121
Rename dumps into crashdumps to make the folder's purpose clear to users
2016-11-20 19:25:55 +02:00
David Cernat
f865246955
Fix Breakpad using changes provided by Stanislav in a gist
2016-11-20 18:34:22 +02:00
Koncord
e2522fa366
Simplify LOG macros
2016-11-17 12:39:35 +08:00
David Cernat
25dc2b19e7
Use lowerCamelCase in tes3mp server networking function names
2016-11-16 02:05:14 +02:00