Commit Graph

37 Commits (9029533ec1fca0016b786181837f7218b5bbf031)

Author SHA1 Message Date
David Cernat cfb5835e17 [Server] Clean up method and variable names 7 years ago
David Cernat 07d75abdf8 [Server] Use consistent order for includes 7 years ago
David Cernat a8261bb385 [General] Fix printing of packet identifiers after changes to logger 7 years ago
Koncord 62588ce088 [Server] Minor fixes 7 years ago
Koncord cbabc91b06 [Server] Stop MasterClient thread and inform server owner on ban 7 years ago
Koncord 510e657c93 Merge branch 'master' into new-script-api 7 years ago
Koncord 74c9a26d16 [Server] Fix "wrong packet with id: 14" 7 years ago
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
7 years ago
Koncord a9fc096c9a [General] Move password of master server to header 8 years ago
Koncord 87c172186e [Server] Add and implement PushPlugin method to MasterClient 8 years ago
Koncord 873da495b1 [Server] Trigger 'update' when added new rules in MasterClient 8 years ago
Koncord a0b71eda23 [Server] FIx deadlock 8 years ago
David Cernat c3c04bbfc3 [General] Make coding style consistent 8 years ago
Koncord 5517d871c6 [Server] Handle ID_CONNECTION_ATTEMPT_FAILED in MasterClient
And fix log message
8 years ago
Koncord b677a0455d [Server] Fix MasterClient crashes 8 years ago
Koncord 0f30f57d4d [Server] Handle IS_PENDING and IS_CONNECTING in switch 8 years ago
Koncord d0c3d190e1 [Server] Send players list to master server 8 years ago
Koncord 3e00d42067 [Server] Reworking MasterClient to new master server 8 years ago
Koncord edfade2a90 [Server] Some fixes in requests to the master server 8 years ago
Koncord b7ab831c46 [Server] Update MasterClient to new protocol 8 years ago
David Cernat 887b436ee7 [Server] Make style for new methods consistent with rest of project 8 years ago
Koncord a95cf0e07a [Server] Fix crash when call StopServer() function in OnServerInit() 8 years ago
Koncord aed0651dc2 [Server] Some fixes for MasterClient 8 years ago
David Cernat 158d606477 [General] Leave one blank line at the end of every tes3mp code file 8 years ago
David Cernat 2e3f508a56 Fix broken default keys and enable master server in configs 8 years ago
Koncord b6f9a21d7f Do not allow 0 update rate 8 years ago
Koncord 03a92b3a91 Use LOG_VERBOSE instead LOG_INFO 8 years ago
Koncord 01900c2be8 Use modname in Send function 8 years ago
Koncord 2b0ae7b9ca Fix variable name in JSON 8 years ago
Koncord f510a5583f Move MasterClient to Networking class
Rename MOTD to hostname
8 years ago
Koncord e2522fa366 Simplify LOG macros 8 years ago
David Cernat 25dc2b19e7 Use lowerCamelCase in tes3mp server networking function names 8 years ago
David Cernat 8eda381016 Make formatting consistent, part 2 8 years ago
David Cernat 1363c4c5b6 Make formatting consistent 8 years ago
David Cernat e39b66af4f Move logger to components 8 years ago
Koncord 8d88381dac added prefix LOG_ to loglevel 9 years ago
Koncord c695923825 Added master server stuff 9 years ago