Commit Graph

24 Commits (911079e0bcd58a9103d1fb9203207f02d2a546c8)

Author SHA1 Message Date
David Cernat a508a0faf8 [Server] Turn GetArguments() from ScriptFunctions into Utils function 5 years ago
David Cernat 2f1ef049d2 [Server] Turn sendToAttachedPlayer into skipAttachedPlayer
Unfortunately, default values set in the C++ code for our script function parameters don't actually seem to work, and they always default to false because they receive a nil value from Lua. As a result, to not break compatibility with previous scripts, I've decided to use a skipAttachedPlayer argument instead so it can default to false while still providing the same benefits that sendToAttachedPlayer provided.
6 years ago
David Cernat 141e404ed9 [Server] Move server administration functions to ServerFunctions class 6 years ago
David Cernat c075496748 [General] Replace deathReason in death packets with a killer variable
Add serverside script functions for determining the killers of both players and actors.

Use unsigned ints for script functions returning an object or actor's refNumIndex or mpNum.

Remove updateDeadState() from LocalPlayer and make its code part of updateStatsDynamic() for simplicity.
6 years ago
David Cernat d47b06fe7a [Server] Prevent SetGameMode() and SetHostname() from crashing server
Previously, turning off communication with the MasterServer from the server config and then attempting to use SetGameMode() or SetHostname() led to a server crash.
6 years ago
David Cernat 306252ecdc [Server] Fix confusing script function names 6 years ago
David Cernat 311f770de7 [Server] Document script functions, part 4
Additionally, clean up some variable names.
6 years ago
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.
7 years ago
Koncord 940ae5c2fb [Server] Implement GetIP API function 7 years ago
Koncord 5292914325 [Server] Simplify native CallPublic & CreateTimerEx 7 years ago
David Cernat a353a21280 [General] Fix code style inconsistencies 7 years ago
Koncord a4a77ddeff [Server] Add SetRuleString and SetRuleValue to script API 7 years ago
Koncord 158e9b3b09 [Server] Add ability to set password to server from config & scripts 7 years ago
Koncord 1fb2176cfa [Server] Add forgotten type for callbacks 7 years ago
Koncord e92df0c465 Implement SetModname, SetHostname functions 7 years ago
David Cernat ad43cb5473 Revert "Use lowerCamelCase in tes3mp server script function names, part 2"
This reverts commit 80d16fe1fd.
8 years ago
David Cernat 80d16fe1fd Use lowerCamelCase in tes3mp server script function names, part 2 8 years ago
David Cernat 25dc2b19e7 Use lowerCamelCase in tes3mp server networking function names 8 years ago
Koncord 82f202c891 Implement GetAvgPing(pid) function 8 years ago
Koncord 94f6ab30f2 Fix GetProtocolVersion 8 years ago
Koncord babc3230b7 Add new functions: GetServerVersion & GetProtocolVersion 8 years ago
Koncord 0549a7a01d Fixed type cast 8 years ago
Koncord 5a6c1750d9 Fixed some build warnings and IsTimerElapsed function 8 years ago
Koncord 1b259e2d33 Syncing inventory, animations, position, 8 key attributes
Created Package system
8 years ago