David Cernat
ad61d88cb1
[General] Fix typos and use consistent style for recent additions
2017-12-08 18:02:23 +02:00
Koncord
1c7330635b
[Server] Add & register ON_PLAYER_WEATHER event
2017-12-08 20:38:36 +08:00
Koncord
aa183e6844
[General] Introduce chat channels
2017-12-08 07:43:29 +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
cfb5835e17
[Server] Clean up method and variable names
2017-12-04 10:39:20 +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
David Cernat
720ef5f6c5
[General] Use consistent code style
2017-11-29 13:00:22 +02:00
Koncord
729f6e745e
[Server] Remove unused get() method from EventController
2017-11-26 00:00:31 +08:00
David Cernat
07d75abdf8
[Server] Use consistent order for includes
2017-11-23 08:11:37 +02:00
David Cernat
6f822f54aa
[Server] Make chat commands case insensitive
2017-11-19 10:12:35 +02:00
Koncord
0da44f69ad
[Server] Isolate getModFolder() & getDataFolder()
2017-11-03 06:36:35 +08:00
Koncord
062d6a1824
[Server] Add sandboxed import() function
2017-11-03 06:36:35 +08:00
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
David Cernat
0e2038f045
[General] Record and get player positions before their last cell change
2017-08-04 21:45:52 +03:00
Unknown
bfbfbeac43
Added networking and saving for custom spells
2017-07-31 03:45:47 +10:00
David Cernat
9d05063af4
[General] Add server script functions for banning & unbanning IPs
...
Additionally, use a more informative message for the client when trying to connecting to a server that it is banned from.
2017-07-27 19:29:17 +03:00
David Cernat
8b79cdd4f4
[Server] Document script functions, part 3
...
Also reorder functions in Cells and CharClass so they are consistent with the rest.
2017-07-25 18:07:09 +03:00
David Cernat
5e5440b697
[Server] Document script functions, part 2
2017-07-23 21:59:33 +03:00
David Cernat
cc91b32b2f
[Server] Make spell script functions consistent with others
2017-07-20 17:58:00 +03:00
David Cernat
8bd33e5fbb
[Server] Document script functions, part 1
2017-07-19 20:40:51 +03:00
David Cernat
f65f996418
[Server] Add script functions for werewolf states
2017-07-15 11:09:28 +03:00
David Cernat
43a3daf0aa
[General] Add & implement PlayerShapeshift packet for werewolf states
2017-07-15 09:02:19 +03:00
David Cernat
ad9fa0631a
[General] Rename jailText to jailEndText and add jailProgressText in PlayerJail
2017-07-13 20:13:28 +03:00
David Cernat
e36c0afc59
[General] Send faction reputation via PlayerFaction packets
2017-07-13 13:36:00 +03:00
David Cernat
be93ec8ef6
[General] Implement ObjectState packet
2017-07-13 09:46:30 +03:00
David Cernat
083b46394d
[General] Add ignoreJailSkillIncreases to PlayerJail packets
2017-07-12 18:24:37 +03:00