David Cernat
826e64b40e
[Server] Rename isPlayerExists() into doesPlayerExist()
7 years ago
Koncord
1a9bf253f6
[Server] Simplify getPlayer methods, add isPlayerExists method
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
029dfc56ba
[General] Implement player scale as part of PlayerShapeshift
7 years ago
David Cernat
d543edbd9a
[Server] Make sure players are initialized as non-werewolves
8 years ago
David Cernat
3c30801eac
[Server] Try to fix server crash from iterations through invalid players
8 years ago
David Cernat
4d81455020
[General] Rework and simplify death reasons so they work with NPCs
8 years ago
David Cernat
c6c0e4acc9
[Server] Fix Cell::sendToLoaded() part 2, and fix Player::sendToLoaded()
8 years ago
Koncord
690211ad99
[General] Extract BaseEvent & BasePlayer from packets to functions
...
Move Send and Read functions to BasePacket
8 years ago
Koncord
0442ebd607
[Server] Remove redundant newlines & keep ~120 columns
8 years ago
David Cernat
0baada0aa2
[Server] Add GetLastPlayerId() script function in Miscellaneous category
8 years ago
Koncord
78f5a760f4
[Server] Use variable instead method in Player.
8 years ago
Koncord
ec4d016100
[Server] Don't crash server every time a player disconnects. Again.
8 years ago
David Cernat
887b436ee7
[Server] Make style for new methods consistent with rest of project
8 years ago
Koncord
67099e437a
[Server] Remove player from Cells when disconnected
8 years ago
Koncord
f2ce46ffed
[Server] Rename doForNearest to forEachLoaded
8 years ago
Koncord
ca68831395
[Server] Rename sendToNearest to sendToLoaded
8 years ago
Koncord
cce49e355a
[Server] Some fixes to sendToNearest & doForNearest
8 years ago
Koncord
033472d939
[Server] Add doForNearest function
8 years ago
Koncord
b760015071
[Server] Send some packets only to nearest players
8 years ago
Koncord
8887a267c7
[Server] Add Cell and CellController
8 years ago
David Cernat
63c8a98083
[General] Stop using virtual functions in BasePlayer
8 years ago
Koncord
32615d05cf
Prevent allocate memory if player doesn't exists
8 years ago
Koncord
6e6237541a
Fix "comparison between signed and unsigned integer expressions"
8 years ago
David Cernat
9e290ad799
Fix spacing irregularities
8 years ago
Koncord
902e968fd9
Use RakNetGUID instead uint64_t in TPlayers
8 years ago
David Cernat
1a25434d33
Turn overlooked instance of GetCell() into getCell()
8 years ago
David Cernat
25dc2b19e7
Use lowerCamelCase in tes3mp server networking function names
8 years ago
David Cernat
eebe1f156a
Change logic for death reasons so it makes sense
8 years ago
David Cernat
6929cd6c4c
Delete debug about player map that is no longer needed
8 years ago
David Cernat
c91e240664
Simplify the type of map that player objects are stored in
8 years ago
David Cernat
a9f6ea4d8d
Use the name "guid" for RakNet IDs so as to not confuse with int IDs
8 years ago
David Cernat
ef6f20e3f7
In server console, print number of players remaining when one leaves
8 years ago
David Cernat
b2688777c1
Create marker once a player has been initialized properly and fix debug
8 years ago
Koncord
79532cf797
Detecting reason of death
8 years ago
David Cernat
bc0aa86bcf
Make variable names more consistent and easier to understand
8 years ago
Koncord
24617589e4
Fix packet spam
8 years ago
Koncord
fe10821528
Add loaded/isLoaded to server player
8 years ago
David Cernat
941d76fce0
Fix setting of default classes and initialize classes safely on server
8 years ago
David Cernat
c4f49e05e3
Remove manual newlines for logger
8 years ago
Koncord
d3c9864fb0
Fix maximum connections
8 years ago
David Cernat
e1955b440f
Fix player initialization on server
8 years ago
David Cernat
cba01af683
Log player initialization on server
8 years ago
David Cernat
8eda381016
Make formatting consistent, part 2
8 years ago
Koncord
1b259e2d33
Syncing inventory, animations, position, 8 key attributes
...
Created Package system
9 years ago