Commit Graph

50 Commits (00997fa7327293db6075d47d18bd36516537ba44)

Author SHA1 Message Date
David Cernat 7393e3def6 [General] Add and use getShortDescription() for ESM::Cell
ESM::Cell's getDescription() method was modified by aa5161f99e despite being used heavily by TES3MP. All instances of it in the TES3MP code have now been changed into the newly added getShortDescription() that is identical to the previous getDescription().
3 years ago
David Cernat 2656569d31 [Server] Remove 'using namespace std' 4 years ago
David Cernat e15428e139 [General] Remove "created by" stamps added by IntelliJ 5 years ago
David Cernat 0339958e21 [General] Rename Log class into TimedLog 5 years ago
Koncord b3456a8841 [Server] Fix invalidation of iterators 6 years ago
David Cernat 09da24f1ea [General] Rename all instances of refNumIndex into refNum
This creates symmetry with mpNum and should cause less confusion in the future.
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 f532ab241d [Server] Avoid duplicates of the same player in a cell's loaders 7 years ago
David Cernat 3c30801eac [Server] Try to fix server crash from iterations through invalid players 8 years ago
David Cernat 06f3c07116 [Server] Only read Actor packets from players who are still authorities 8 years ago
David Cernat 377aa9b6c9 [Server] Refresh cellActorList's count after removing Actors from it 8 years ago
David Cernat 83ba4b62b1 [Server] Remove Actors from a Cell's ActorList when they change cells 8 years ago
David Cernat fafed96bf4 [Server] Store data from ActorPosition in the ActorLists of Cells 8 years ago
David Cernat 62d93a09c1 [Server] Add new script callbacks for cells, remove a couple of others
OnPlayerCellState and OnActorStatsDynamic are now removed as callbacks.

The old OnCellUnload is now renamed into OnCellDeletion.

OnCellLoad and a new OnCellUnload relating to a specific player's load/unload are added.
8 years ago
David Cernat a73cbac226 [Server] Store a BaseActorList in every Cell to keep track of Actor data 8 years ago
David Cernat 234510a87f [Server] Split off Cell and CellController into two different files 8 years ago
David Cernat c52084a028 [General] Use BaseActorLists in ActorPackets 8 years ago
David Cernat 070c6a3bd4 [General] Add ActorPacketController & make controller var names clearer 8 years ago
David Cernat c6c0e4acc9 [Server] Fix Cell::sendToLoaded() part 2, and fix Player::sendToLoaded() 8 years ago
David Cernat 8616323bae [Server] Fix logic in Cell::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 cea1425db1 [Client] Remove redundant newlines & keep ~120 columns 8 years ago
Koncord 0442ebd607 [Server] Remove redundant newlines & keep ~120 columns 8 years ago
David Cernat deb10919ab [Server] Delete cells that become empty when a player disconnects 8 years ago
David Cernat 048ddf6a34 [Server] Use LOG_APPEND for older debug messages in Cell 8 years ago
David Cernat 7f51ca5298 [Server] Add permanent debug to Cell and CellController 8 years ago
David Cernat 2fd279a5ef [Server] Remove debug message 8 years ago
David Cernat 4a5b8c927f [Server] Add an extra check to Cell::sendToLoaded to be on the safe side 8 years ago
Koncord 45d081ba42 [Server] Compare new cells with loaded cells correctly 8 years ago
Koncord 3adbf17545 [Server] Fix memory leak in CellController 8 years ago
Koncord b33e604a61 [Server] Set sendToLoaded function as constant
Add assertions for CellController singleton
8 years ago
Koncord 443c0ed309 [Server] Fix Cell iterators 8 years ago
Koncord a75da18f31 [Server] Fix argument in log message 8 years ago
Koncord ec4d016100 [Server] Don't crash server every time a player disconnects. Again. 8 years ago
Koncord ee494887e1 [Server] Fix log message 8 years ago
David Cernat b829f0252a [Server] Don't crash server every time a player disconnects 8 years ago
David Cernat 24251cafd0 [Server] Send large ID_CONTAINER packets on a need-to-know basis 8 years ago
David Cernat 791089d342 [Server] Add Cell::sendToLoaded() for sending events to loaded players 8 years ago
David Cernat eb0744aa77 [Server] Add CellController:getCell() for getting Cell through ESM::Cell 8 years ago
David Cernat ee1ba1728e [Server] Rename getCellByID() into getCellByName() to avoid confusion 8 years ago
David Cernat 275dfaf05f [Server] Add Cell::getDescription() for debugging purposes 8 years ago
David Cernat 887b436ee7 [Server] Make style for new methods consistent with rest of project 8 years ago
Koncord fd36ec7613 [Server] Iterate cells where player was loaded instead all 8 years ago
Koncord 67099e437a [Server] Remove player from Cells when disconnected 8 years ago
Koncord 465d0fe4b4 [Server] Fix log messages in CellController 8 years ago
Koncord 931ecd5acb [Server] Imrpove debug info in CellController 8 years ago
Koncord 846ceacc90 [Server] Add begin & end iterators to Cell class 8 years ago
Koncord bbc062de62 [Server] Use lowCamelCase in Cell 8 years ago
Koncord 8887a267c7 [Server] Add Cell and CellController 8 years ago