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.
2018-04-09 15:25:50 +03:00
David Cernat
a3a341fee6
[Server] Reimplement 4ebfcc4a21
for 0.6
2018-03-10 22:19:44 +02:00
David Cernat
1cf2f35a28
[Server] Add script functions to set & get plugin enforcement state
2018-01-02 16:33:18 +02:00
Koncord
74c9a26d16
[Server] Fix "wrong packet with id: 14"
2017-09-02 14:01:11 +08:00
David Cernat
92553b8e29
[Server] Log startup errors by not deleting logger too early
2017-08-29 19:30:37 +03:00
David Cernat
c9550fc560
[Server] Use case-insensitive filename comparison for plugins
...
Additionally, clarify the comments related to plugin comparison.
2017-07-28 06:57:15 +03:00
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.
2017-07-27 19:29:17 +03:00
Koncord
940ae5c2fb
[Server] Implement GetIP API function
2017-07-04 15:57:16 +08:00
Koncord
768790e9b4
[Server] Move Base processors and Initializer to processors subdirectory
2017-07-04 01:13:10 +08:00
David Cernat
a353a21280
[General] Fix code style inconsistencies
2017-05-31 08:37:11 +03:00
Koncord
24d4e1c222
[General] Remove useless PacketSendMyID
2017-05-26 02:40:49 +08:00
Koncord
250c199188
[Server] Fill query information about plugins
2017-05-07 02:52:28 +08:00
Koncord
f2b8a939ef
[Server] Add postInit method and move getPluginListSample in to it
2017-05-07 02:49:58 +08:00
Koncord
26445355e6
[Server] Fix initialization of mclient
2017-05-07 02:17:15 +08:00
David Cernat
c3c04bbfc3
[General] Make coding style consistent
2017-05-02 22:47:58 +03:00
Koncord
bda9a76d29
[Server] Send server plugin list to client
2017-05-02 23:33:50 +08:00
Koncord
f00c4dc107
[Server] Improve preload logic for parsing plugin lists
2017-05-02 20:21:08 +08:00
Koncord
5ddad6a4c6
[Server] Implement getPluginListSample()
2017-05-02 20:21:08 +08:00
David Cernat
234510a87f
[Server] Split off Cell and CellController into two different files
2017-04-29 23:05:12 +03:00
David Cernat
6a21ec1fdc
[General] Rename PlayerPos into PlayerPosition
2017-04-25 22:11:33 +03:00
Koncord
51422da641
[Server] Remove outdated code
2017-04-24 20:27:15 +08:00
Koncord
3e00d42067
[Server] Reworking MasterClient to new master server
2017-04-24 20:01:05 +08:00
David Cernat
870886192b
[General] Rename DYNAMICSTATS into STATS_DYNAMIC
2017-04-16 09:00:18 +03:00
David Cernat
c52084a028
[General] Use BaseActorLists in ActorPackets
2017-04-09 16:32:44 +03:00
David Cernat
4f3d05eed2
[General] Add ActorList class
2017-04-09 10:50:35 +03:00
David Cernat
070c6a3bd4
[General] Add ActorPacketController & make controller var names clearer
2017-04-09 08:51:28 +03:00
David Cernat
316720e710
[Server] Rename getNextMpNum() into incrementMpNum()
2017-04-05 01:30:15 +03:00
David Cernat
068835ba71
[Server] Add OnMpNumIncrement() script callback
2017-04-05 01:18:42 +03:00
David Cernat
8cc61b6048
[General] Generate mpNums on the server when forwarding ID_OBJECT_PLACE
2017-04-04 09:23:34 +03:00
David Cernat
d8712ee1ea
[Server] Fix script crashes by reusing BaseEvent in WorldProcessor
2017-04-04 05:03:14 +03:00
David Cernat
5ff40c5563
[Server] Make coding style consistent
2017-04-04 03:05:37 +03:00
Koncord
0317e2523b
[Server] Remove unused code
2017-04-03 05:57:03 +08:00
Koncord
f5600c508f
[Server] Move all world handlers to WorldProcessors
2017-04-03 05:46:46 +08:00
Koncord
3b52549a3d
[Server] Rename init_processors to ProcessorInitializer
2017-04-01 08:14:26 +08:00
Koncord
e8a5fd1cd0
[Server] Move all message handlers to PlayerProcessors
2017-04-01 02:36:24 +08:00
Koncord
2c26ed8aee
[Server] Process ID_GAME_PREINIT packet
2017-03-06 22:51:17 +08:00
Koncord
690211ad99
[General] Extract BaseEvent & BasePlayer from packets to functions
...
Move Send and Read functions to BasePacket
2017-03-06 18:40:07 +08:00
Koncord
cea1425db1
[Client] Remove redundant newlines & keep ~120 columns
2017-03-04 14:55:35 +08:00
David Cernat
0d32bf5943
[General] Add extra death debug, don't request data from player on death
2017-03-04 00:29:01 +02:00
David Cernat
5c269a5f8d
[General] Rename ID_GAME_DIE and ID_GAME_RESURRECT
2017-02-28 01:38:25 +02:00
Koncord
0442ebd607
[Server] Remove redundant newlines & keep ~120 columns
2017-02-27 17:13:07 +08:00
Koncord
83d0cbedb2
[Server] Remove redundant type casts
2017-02-27 16:29:28 +08:00
Koncord
8f96ca22c1
[Server] Fix typo in RakNet name
2017-02-27 16:25:29 +08:00
Koncord
aa91126ce3
[Server] Minor cleanup in Networking
2017-02-27 16:23:14 +08:00
David Cernat
fb93ce57f9
[Server] Fix debug message
2017-02-26 14:12:18 +02:00
David Cernat
ae37daca70
[Server] Ensure no information exchange takes place with nullptr player
2017-02-26 14:11:45 +02:00
David Cernat
0527690b88
[Server] Add permanent debug to ID_PLAYER_CELL_CHANGE and ID_CONTAINER
2017-02-25 21:50:41 +02:00
David Cernat
7917badedf
[Server] Set guid of baseEvent, previously done in a constructor before 7065569f9b
2017-02-25 17:37:44 +02:00
Koncord
ebaf3d3cc9
[Server] FIx memory leak
2017-02-24 13:32:20 +08:00
Koncord
868c837aa0
[Server] Move baseEvent from Networking.cpp to class as member
2017-02-23 13:53:10 +08:00