Commit Graph

816 Commits (09cb990c28dcf1f1c59421cda3cb9615f9e4a745)

Author SHA1 Message Date
David Cernat 3903ac6526 [Server] Add script functions for getting SHA256 hashes & random strings 5 years ago
okdshin c15b3377da [General] Add PicoSHA2 hash generator to extern 5 years ago
David Cernat ca21bc35c2 [Server] Add script functions that read & send ScriptGlobalShort packets 5 years ago
David Cernat afa704ce95 [Server] Add OnScriptGlobalShort event 5 years ago
David Cernat e424bd9bc3 [General] Implement ClientScriptSettings packet, part 2
The packet can now set which client globals get packets sent about them when their values change on clients.
5 years ago
David Cernat 3acfbad55d [General] Implement ClientScriptSettings packet, part 1
For starters, the new packet can set which client scripts have all of their variables synchronized between players. The previous hardcoded list of IDs for synchronized scripts has been removed.
5 years ago
David Cernat e15428e139 [General] Remove "created by" stamps added by IntelliJ 5 years ago
David Cernat 9350e1d484 [General] Split up Attack packets into Attack and Cast ones
Create an entirely new PlayerCast packet for that purpose, but rename the already existing but unused ActorInteraction into ActorCast.
5 years ago
David Cernat 0339958e21 [General] Rename Log class into TimedLog 5 years ago
David Cernat ae5200cbb2 [General] Implement light records for RecordDynamic packets 5 years ago
David Cernat 14af0be657 [General] Include AI alarm & flee for creatures/NPCs in RecordDynamic 5 years ago
David Cernat ef432d1419 [General] Include AI services for creatures/NPCs in RecordDynamic 5 years ago
David Cernat 18e2a14645 [General] Implement tool-related records for RecordDynamic packets 5 years ago
David Cernat 4100d93dea [General] Implement ingredient records for RecordDynamic packets 5 years ago
David Cernat 300cef0073 [Server] Allow setting of container record flags in SetRecordFlags() 5 years ago
David Cernat 0189d19d14 [Server] Clear new types of records in ClearRecords() 6 years ago
David Cernat 247d2fad30 [General] Implement activator & static records for RecordDynamic packets 6 years ago
David Cernat e9336e53fc [General] Implement container and door records for RecordDynamic packets 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