Commit Graph

233 Commits (341ca691fc8a465a81b48d7953fc800a887b46fd)

Author SHA1 Message Date
nalal efd403b174
Change "or/and" to "||/&&"
I added the code that included those ages ago, figured I should go in and change it to conform to the existing project formatting.
3 years ago
David Cernat 15fdac3f6c Revert "Merge branch '0.7.1-window-input' into 0.7.1"
This reverts commit 94f5b169e6, reversing
changes made to 43e7df6df8.

# Conflicts:
#	apps/openmw-mp/handleInput.cpp
3 years ago
David Cernat 2656569d31 [Server] Remove 'using namespace std' 4 years ago
David Cernat 7caaec1aea [Server] Use clearer log messages for ID_GAME_PREINIT 5 years ago
uramer 758ec17a6e [Server] Include handleInput.cpp correctly 5 years ago
uramer 4e6bcf02d2 [Server] Pass stdin to a Lua event, fix Ctrl+C on Windows 5 years ago
David Cernat 76f3805e16 [Server] Fix Windows build by not using sigaction on Windows 5 years ago
David Cernat fb3514c8c3 Merge remote-tracking branch 'nalal/patch-1' into 0.7.1 5 years ago
David Cernat 383d6ecea6 [Server] Update log message related to server password 5 years ago
David Cernat 20d1e7654c [General] Create SystemPacket category and move Handshake packet to it 5 years ago
David Cernat 0339958e21 [General] Rename Log class into TimedLog 5 years ago
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
David Cernat d8919dcec6 [Server] Refer to data files instead of plugins in var & function names 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 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 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() 7 years ago
Koncord 2e227c7af5 [Server] Do not allow to connect with an empty plugin list 7 years ago
Koncord b5c957c473 [Server] Move PreInit code to preInit method 7 years ago
David Cernat 20296859ee [Server] Clarify functions used for getting data in Networking 7 years ago
Koncord 1f4e6e9114 [General] Add integrity checks to Handshake packet 7 years ago
Koncord d999cc0d55 [General] Add packetValid flag to packets 7 years ago
David Cernat aa3639f2da
Merge pull request #450 from TES3MP/0.6.2
Add 0.6.2 commits up to 19 Jun 2018
7 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.
7 years ago
David Cernat e87e1dbb30 [General] Fix Worldstate packets by adding missing lines 7 years ago
David Cernat 43a944ddaf [General] Add and implement new Worldstate packet type 7 years ago
David Cernat 02d8e08c58 [Server] Rename WorldProcessor into ObjectProcessor 7 years ago
David Cernat 78234f9071 [General] Rename Event into ObjectList & WorldObject into BaseObject 7 years ago
David Cernat 6bf3a0be1e [General] Rename WorldPackets into ObjectPackets for clarity 7 years ago
David Cernat 2bb7a4253e [Server] Forcibly kick players after too many handshake attempts 7 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.
7 years ago
David Cernat a3a341fee6 [Server] Reimplement 4ebfcc4a21 for 0.6 7 years ago
David Cernat 1cf2f35a28 [Server] Add script functions to set & get plugin enforcement state 7 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.
8 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.
8 years ago
Koncord 940ae5c2fb [Server] Implement GetIP API function 8 years ago
Koncord 768790e9b4 [Server] Move Base processors and Initializer to processors subdirectory 8 years ago
David Cernat a353a21280 [General] Fix code style inconsistencies 8 years ago
Koncord 24d4e1c222 [General] Remove useless PacketSendMyID 8 years ago
Koncord 250c199188 [Server] Fill query information about plugins 8 years ago
Koncord f2b8a939ef [Server] Add postInit method and move getPluginListSample in to it 8 years ago
Koncord 26445355e6 [Server] Fix initialization of mclient 8 years ago