Koncord
bd7082f57e
[Server] Use custom Lua error handler not only on Windows
...
For some reason sol's default error handler does not wroking properly
2017-11-01 21:48:42 +08:00
David Cernat
71c921faa7
[Server] Rename property cell into description, initialize Cells type
2017-11-01 13:22:41 +02:00
David Cernat
5653d07c7b
[Server] Fix build on Windows
2017-10-31 22:00:03 +02:00
Koncord
948090676a
[Server] Impove Lua Error handler for Windows
2017-11-01 01:17:11 +08:00
David Cernat
b7e5e77166
[Server] Fix getCaseInsensitiveFilename, simplify Players.size()
2017-10-28 03:58:53 +03:00
David Cernat
378d30834b
[Server] Add special error handler for Sol back in, but only for Windows
2017-10-28 01:44:02 +03:00
Koncord
e7a5919477
[Server] Fix path to native libs
2017-10-27 20:58:02 +08:00
David Cernat
878294e4fe
Merge branch 'new-script-api' of https://github.com/TES3MP/openmw-tes3mp into new-script-api
2017-10-26 17:25:53 +03:00
Koncord
d44848ecbb
[Server] Fix build
2017-10-25 16:05:45 +08:00
Koncord
05abb8ace3
[Server] Add Log level constants to lua
2017-10-25 15:22:07 +08:00
Koncord
04a844a9c0
[Server] Use sol's default_handler
2017-10-25 15:21:11 +08:00
David Cernat
bece095579
[Server] Add getCaseInsensitiveFilename script function back in
2017-10-24 20:25:02 +03:00
David Cernat
fb67180809
[Server] Fix build in Visual Studio
2017-10-19 13:04:37 +03: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
Koncord
7a0b45d456
[Server] Load mods in dependencies order
2017-10-18 21:30:36 +08:00
David Cernat
bbac26294f
[Server] Fix typos and make all files end with newlines
2017-10-17 07:44:10 +03:00
David Cernat
3284769fef
[Server] Add getModFolder() script function and Config environment
2017-09-23 13:52:51 +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
66fdba957b
[Server] Add getDataFolder() to Script API
2017-08-31 16:25:43 +08:00
Koncord
1d16958910
[Server] Fix multiple calls of ON_POST_INIT
2017-08-31 16:20:50 +08:00
Koncord
60fc0bedb8
[Server] Use lower case for methods
2017-08-30 13:56:53 +08: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