Commit Graph

222 Commits (ad9ee80641a3e22d0780daca051df7f4e90f3615)

Author SHA1 Message Date
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.
5 years ago
David Cernat d8919dcec6 [Server] Refer to data files instead of plugins in var & function names 5 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.
5 years ago
David Cernat a0ec9dfd2e [Server] Rename OnRequestPluginList into OnRequestDataFileList 5 years ago
David Cernat e70fd2cf3a [Server] Accept clients with wrong password on servers with no password 5 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.
5 years ago
David Cernat e96091fd6b [General] Use more consistent variable names for password, address, etc. 5 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
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 48f4792bc1 [Server] Add GetMaxPlayers, GetPort and HasPassword functions to API 6 years ago
David Cernat 826e64b40e [Server] Rename isPlayerExists() into doesPlayerExist() 6 years ago
Koncord 2e227c7af5 [Server] Do not allow to connect with an empty plugin list 6 years ago
Koncord b5c957c473 [Server] Move PreInit code to preInit method 6 years ago
David Cernat 20296859ee [Server] Clarify functions used for getting data in Networking 6 years ago
Koncord 1f4e6e9114 [General] Add integrity checks to Handshake packet 6 years ago
Koncord d999cc0d55 [General] Add packetValid flag to packets 6 years ago
David Cernat aa3639f2da
Merge pull request #450 from TES3MP/0.6.2
Add 0.6.2 commits up to 19 Jun 2018
6 years ago
David Cernat 29be79e852 [General] Switch RakNet enums to CrabNet enums
CrabNet is TES3MP's fork of RakNet that has deviated too far from RakNet to still be compatible with it.
6 years ago
David Cernat e87e1dbb30 [General] Fix Worldstate packets by adding missing lines 6 years ago
David Cernat 43a944ddaf [General] Add and implement new Worldstate packet type 6 years ago
David Cernat 02d8e08c58 [Server] Rename WorldProcessor into ObjectProcessor 6 years ago
David Cernat 78234f9071 [General] Rename Event into ObjectList & WorldObject into BaseObject 6 years ago
David Cernat 6bf3a0be1e [General] Rename WorldPackets into ObjectPackets for clarity 6 years ago
David Cernat 2bb7a4253e [Server] Forcibly kick players after too many handshake attempts 6 years ago
David Cernat 34893ff631 [Server] Split up handshake handling into multiple functions for debug
Unfortunately, the handshake attempt limit implemented in 4ebfcc4a21 for 0.7 and then ported over to 0.6 in a3a341fee6 does not appear to work properly, which is why gathering more information on it is important.
6 years ago
David Cernat a3a341fee6 [Server] Reimplement 4ebfcc4a21 for 0.6 6 years ago
David Cernat 1cf2f35a28 [Server] Add script functions to set & get plugin enforcement state 6 years ago
Koncord 74c9a26d16 [Server] Fix "wrong packet with id: 14" 7 years ago
David Cernat 92553b8e29 [Server] Log startup errors by not deleting logger too early 7 years ago
David Cernat c9550fc560 [Server] Use case-insensitive filename comparison for plugins
Additionally, clarify the comments related to plugin comparison.
7 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 768790e9b4 [Server] Move Base processors and Initializer to processors subdirectory 7 years ago
David Cernat a353a21280 [General] Fix code style inconsistencies 7 years ago
Koncord 24d4e1c222 [General] Remove useless PacketSendMyID 7 years ago
Koncord 250c199188 [Server] Fill query information about plugins 7 years ago
Koncord f2b8a939ef [Server] Add postInit method and move getPluginListSample in to it 7 years ago
Koncord 26445355e6 [Server] Fix initialization of mclient 7 years ago
David Cernat c3c04bbfc3 [General] Make coding style consistent 7 years ago
Koncord bda9a76d29 [Server] Send server plugin list to client 7 years ago
Koncord f00c4dc107 [Server] Improve preload logic for parsing plugin lists 7 years ago
Koncord 5ddad6a4c6 [Server] Implement getPluginListSample() 7 years ago
David Cernat 234510a87f [Server] Split off Cell and CellController into two different files 7 years ago
David Cernat 6a21ec1fdc [General] Rename PlayerPos into PlayerPosition 7 years ago
Koncord 51422da641 [Server] Remove outdated code 7 years ago
Koncord 3e00d42067 [Server] Reworking MasterClient to new master server 7 years ago
David Cernat 870886192b [General] Rename DYNAMICSTATS into STATS_DYNAMIC 7 years ago
David Cernat c52084a028 [General] Use BaseActorLists in ActorPackets 7 years ago
David Cernat 4f3d05eed2 [General] Add ActorList class 7 years ago