David Cernat
49bf605e8e
[Server] Create Worldstate class and implement associated table
7 years ago
David Cernat
5c41350532
[Server] Fix function name for setting timeScale
7 years ago
David Cernat
fc4d3fe3fa
Merge pull request #441 from TES3MP/0.6.3 while resolving conflicts
...
Conflicts:
apps/openmw-mp/Script/Functions/Worldstate.cpp
apps/openmw-mp/Script/Functions/Worldstate.hpp
7 years ago
David Cernat
3f7e163c92
Merge pull request #439 from TES3MP/0.6.3 while resolving conflicts
...
Conflicts:
apps/openmw-mp/CMakeLists.txt
apps/openmw-mp/Script/Functions/GUI.cpp
apps/openmw-mp/Script/Functions/GUI.hpp
apps/openmw-mp/Script/Functions/Worldstate.cpp
apps/openmw-mp/Script/Functions/Worldstate.hpp
apps/openmw-mp/processors/worldstate/ProcessorRecordDynamic.hpp
apps/openmw/mwmp/processors/worldstate/ProcessorRecordDynamic.hpp
components/CMakeLists.txt
components/openmw-mp/Packets/Player/PacketGUIBoxes.cpp
7 years ago
David Cernat
7083cb0359
Merge pull request #437 from TES3MP/0.6.3 while resolving conflicts
7 years ago
David Cernat
ad4214d3e2
Merge pull request #434 from TES3MP/0.6.3 while resolving conflicts
...
Conflicts:
apps/openmw-mp/Networking.cpp
apps/openmw/mwmp/processors/worldstate/ProcessorGameTime.hpp
components/CMakeLists.txt
components/openmw-mp/Base/BasePlayer.hpp
components/openmw-mp/Packets/Worldstate/PacketGameTime.hpp
7 years ago
David Cernat
c5f33e451f
Merge pull request #418 from TES3MP/0.6.3 while resolving conflicts
7 years ago
Koncord
4bde7d80f5
[Server] Use regular Ptrs where possible to avoid seizure Ptrs by lua
7 years ago
David Cernat
b6a7377692
Merge pull request #366 from TES3MP/0.6.2 while resolving conflicts, 2nd try
...
Conflicts:
apps/openmw-mp/Networking.cpp
apps/openmw-mp/Script/Functions/Miscellaneous.cpp
apps/openmw-mp/Script/Functions/Miscellaneous.hpp
apps/openmw/mwmp/GUI/GUIChat.cpp
7 years ago
David Cernat
a84c4c7ecc
[Server] Print module order on startup
7 years ago
Koncord
44dc153ebe
[Server] Add Weather API
7 years ago
Koncord
aa183e6844
[General] Introduce chat channels
7 years ago
David Cernat
456bcee68a
[Server] Use Utils function as workaround for "bad exception" on Windows
7 years ago
David Cernat
cfb5835e17
[Server] Clean up method and variable names
7 years ago
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.
7 years ago
David Cernat
720ef5f6c5
[General] Use consistent code style
7 years ago
David Cernat
07d75abdf8
[Server] Use consistent order for includes
7 years ago
Koncord
0da44f69ad
[Server] Isolate getModFolder() & getDataFolder()
7 years ago
Koncord
bd7082f57e
[Server] Use custom Lua error handler not only on Windows
...
For some reason sol's default error handler does not wroking properly
7 years ago
David Cernat
71c921faa7
[Server] Rename property cell into description, initialize Cells type
7 years ago
David Cernat
5653d07c7b
[Server] Fix build on Windows
7 years ago
Koncord
948090676a
[Server] Impove Lua Error handler for Windows
7 years ago
David Cernat
b7e5e77166
[Server] Fix getCaseInsensitiveFilename, simplify Players.size()
7 years ago
David Cernat
378d30834b
[Server] Add special error handler for Sol back in, but only for Windows
7 years ago
Koncord
e7a5919477
[Server] Fix path to native libs
7 years ago
David Cernat
878294e4fe
Merge branch 'new-script-api' of https://github.com/TES3MP/openmw-tes3mp into new-script-api
7 years ago
Koncord
d44848ecbb
[Server] Fix build
7 years ago
Koncord
05abb8ace3
[Server] Add Log level constants to lua
7 years ago
Koncord
04a844a9c0
[Server] Use sol's default_handler
7 years ago
David Cernat
bece095579
[Server] Add getCaseInsensitiveFilename script function back in
7 years ago
David Cernat
fb67180809
[Server] Fix build in Visual Studio
7 years ago
Koncord
4530370e52
[Server] Use old style of Server Plugins location
7 years ago
Koncord
ce6a4e4032
[Server] Fix indents
7 years ago
Koncord
fc3f2483ee
[Server] Add manual Server Plugins sort
7 years ago
Koncord
7a0b45d456
[Server] Load mods in dependencies order
7 years ago
David Cernat
bbac26294f
[Server] Fix typos and make all files end with newlines
7 years ago
David Cernat
3284769fef
[Server] Add getModFolder() script function and Config environment
7 years ago
David Cernat
d591180e99
[Server] Clean up logAppend and add new message for server shutdown
7 years ago
Koncord
6decd148e5
[Server] Fix build on Windows
7 years ago
Koncord
66fdba957b
[Server] Add getDataFolder() to Script API
7 years ago
Koncord
1d16958910
[Server] Fix multiple calls of ON_POST_INIT
7 years ago
Koncord
60fc0bedb8
[Server] Use lower case for methods
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