nalal
7316c8aafd
Added functionality for TES3MP server to catch system signals
...
This should permit the TES3MP server to catch when a "SIGTERM"(Standard program stop) or "SIGINT"(Ctrl+C) is sent to the process and allow that to initiate the standard shutdown procedure by halting the networking loop peacefully.
6 years ago
Andrei Kortunov
792fbfe2e1
Fix type in the preprocessor directive
6 years ago
David Cernat
4d40df3ea8
[Server] Don't automatically send kill count packets to other players
...
This should be handled in server scripts instead so that servers with respawning NPCs can be have kills shared across parties and witnesses instead of shared across all players on the server.
6 years ago
David Cernat
023ead937f
[Server] Fix stack overflows by preventing infinite growth in Lua stack
6 years ago
David Cernat
6322ae081d
[Server] Add extern to folders used to search for include files
6 years ago
David Cernat
3805edaf78
[Server] Don't crash when adding a requiredDataFile w/ no checksum twice
6 years ago
David Cernat
7523a73346
[Server] Fix return values for server functions providing system info
6 years ago
David Cernat
d8919dcec6
[Server] Refer to data files instead of plugins in var & function names
6 years ago
David Cernat
3effd5f1ff
[General] Update positions for dead players on other clients
...
Dead players will now show up at the correct cell and position for living players, making server scripts that allow players to revive each other much more functional.
6 years ago
David Cernat
91f82d845c
[Server] Add GetMillisecondsSinceServerStart() server function
6 years ago
David Cernat
bd677726bf
[Server] Add StatsFunctions that get/set damage to attributes/skills
6 years ago
David Cernat
ece39748de
[Server] Fix typo causing recursion in deprecated actor list function
6 years ago
David Cernat
5c4d3df551
[Server] Deprecate DoesFileExist(), add DoesFilePathExist()
6 years ago
David Cernat
2cdabddc0e
[Server] Move most MiscellaneousFunctions to ServerFunctions
6 years ago
David Cernat
b46767de6e
[Server] Clean up recent additions to ServerFunctions
6 years ago
David Cernat
331fa86844
[Server] Call OnServerPostInit after OnRequestDataFileList
...
This allows different actions to be taken in OnServerPostInit based on what the data files being used are.
6 years ago
David Cernat
a0ec9dfd2e
[Server] Rename OnRequestPluginList into OnRequestDataFileList
6 years ago
David Cernat
986528c67d
[Server] Add error message as argument to OnServerScriptCrash
6 years ago
David Cernat
552a94a0ca
[Server] Add OnServerScriptCrash script event
6 years ago
David Cernat
a508a0faf8
[Server] Turn GetArguments() from ScriptFunctions into Utils function
6 years ago
David Cernat
f3b8a5b909
[General] Check integrity of credits only on Windows clients
...
This avoids the problems that were encountered in Linux and macOS builds regarding this check while also still addressing the scenario where official Windows builds had their credits modified by people unrelated to the project.
6 years ago
David Cernat
222837976c
[Server] Fix type name warning for Player
...
The warning in Visual Studio was: "'Player': type name first seen using 'class' now seen using 'struct'"
6 years ago
Koncord
0df32accca
[Server] Fix ARM build
6 years ago
David Cernat
2e1d4a9449
[Server] Fix non-Windows builds
6 years ago
David Cernat
e70fd2cf3a
[Server] Accept clients with wrong password on servers with no password
6 years ago
David Cernat
eb52babf29
[Server] Print IP instead of name or PID for players unable to connect
...
The player name was always blank in such situations, providing no useful information. The PID was not useful in any way either.
6 years ago
David Cernat
e96091fd6b
[General] Use more consistent variable names for password, address, etc.
6 years ago
David Cernat
6e1504f0a1
[Server] Use clearer variable & function names in TimerAPI
6 years ago
David Cernat
42b5a8054f
[Server] Remove unusable position functions for players
6 years ago
Koncord
4ce0331f1b
[Server] Fix GCC build
6 years ago
Koncord
9343b8af2f
[Server] Remove unused function
6 years ago
Koncord
c2230a8a21
[Server] Add MP flag to the server if enabled
6 years ago
Koncord
55cea491ca
[Server] Introduce MS VC++ 2017 support
6 years ago
Koncord
6af2400752
[Server] Remove usages of get/set env. Add GetModDir function
6 years ago
Koncord
b3456a8841
[Server] Fix invalidation of iterators
6 years ago
David Cernat
5e38e8abdb
[Server] Add GetArchitectureType() script function
...
Additionally, bring GetOperatingSystem() up-to-date by making it use the renamed function in Utils.
6 years ago
David Cernat
fa1700e2ab
[Server] Add GetOperatingSystemType() script function
6 years ago
David Cernat
b7090b2550
[Server] Add experimental option for not crashing from Lua script errors
...
Additionally, fix return type of GetPluginEnforcementState()
6 years ago
David Cernat
d8ca268067
[Server] Move plugin enforcement functions to ServerFunctions
6 years ago
David Cernat
2933526995
[Server] Include errors related to Lua calls in server logs
6 years ago
Koncord
e162af0003
[Server] Disallow non void callbacks
6 years ago
Koncord
07a5f5296c
[Server] Rework OnRequestPluginList callback. Add AddPluginHash function
6 years ago
Koncord
20a7619a4a
[Server] Remove result from the OnPlayerConnect callback
...
Now it's recommended to use tes3mp.Kick() function
6 years ago
Koncord
f1e8569291
[Server] Remove result from the OnPlayerSendMessage callback
6 years ago
Koncord
efa362031e
[Server] Remove unused Main callback
6 years ago
Koncord
b83e4056a8
[Server] Remove CallFF dependency as it not fully supported by Windows and MacOS
6 years ago
Koncord
585557ad8a
[Server] Remove argument cast in the Call with va_args
6 years ago
Koncord
3101de5f02
[Server] Add kicked load status
6 years ago
David Cernat
99f8ef88a5
[Server] Add SetObjectActivatingPid() script function
6 years ago
David Cernat
bb834748c5
[Server] Log player kicks
6 years ago