Commit Graph

133 Commits (931ecd5acb4d59d86ddfad06f3ee5e1878dec6cf)

Author SHA1 Message Date
Koncord 033472d939 [Server] Add doForNearest function 8 years ago
Koncord b760015071 [Server] Send some packets only to nearest players 8 years ago
Koncord bbc062de62 [Server] Use lowCamelCase in Cell 8 years ago
Koncord 08f78e21c1 [Server] Use CellController in Networking 8 years ago
David Cernat 27c4015f50 [General] Remove unused packet placeholder ID_OBJECT_HEALTH 8 years ago
David Cernat 1198caddf6 [Server] Add OnContainer script callback 8 years ago
David Cernat eba7d8408f [Server] Use script function to get spellbook action 8 years ago
David Cernat 182b238b5f [General] Rename WorldEvent into BaseEvent 8 years ago
David Cernat 04d45b9dbb [General] Rename packets to show they are for players only, not NPCs 8 years ago
David Cernat 6328ffb9aa [General] In ID_GAME_ATTRIBUTE & ID_GAME_SKILL, rename GAME into PLAYER 8 years ago
David Cernat 9130c1f302 [General] Rename ID_CONTAINER_ADD into ID_CONTAINER 8 years ago
David Cernat d2cf96af99 [General] Repurpose the unused ID_CONTAINER_REMOVE into ID_OBJECT_HEALTH 8 years ago
David Cernat f4a9f27977 [Server] Stop crashing browser when receiving a query from it 8 years ago
David Cernat c1427b2558 [General] Simultaneously send loads & unloads in ID_PLAYER_CELL_STATE 8 years ago
Koncord aed0651dc2 [Server] Some fixes for MasterClient 8 years ago
David Cernat 018b0e6699 [Server] Add script functions & callbacks for locking, unlocking & doors 8 years ago
David Cernat 958ff06ca8 [General] Rename ID_DOOR_ACTIVATE into ID_DOOR_STATE 8 years ago
David Cernat 5bd2fdcf66 [Server] Add OnObjectScale callback, and set scale for WorldObject 8 years ago
David Cernat 8c019f2c61 [Server] Update OnObjectPlace and OnObjectDelete callbacks 8 years ago
David Cernat 5eff2ece21 [Server] Fix memory leaks related to WorldEvents as suggested by Koncord 8 years ago
David Cernat b549da996e [Server] On second thought, keep cell description as argument to them 8 years ago
David Cernat 5989bbd97e [Server] Remove arguments from OnObjectPlace & OnObjectDelete callbacks 8 years ago
David Cernat 2cecce6c72 [Server] Use static WorldEvent variable in Networking 8 years ago
David Cernat 9f1e491a75 [General] Make WorldEvents store information about multiple objects 8 years ago
David Cernat 4f288ab558 [Server] Read contents of ID_PLAYER_CELL_STATE 8 years ago
David Cernat 96bd21a7ca [Server] Rename OnPlayerCellLoad to OnPlayerCellState, add action param 8 years ago
David Cernat 244da19a51 [General] Turn ID_PLAYER_CELL_LOAD into ID_PLAYER_CELL_STATE for clarity 8 years ago
David Cernat 73d39c1a0a [General] Stop using virtual functions in BasePlayer, part 2 8 years ago
David Cernat 63c8a98083 [General] Stop using virtual functions in BasePlayer 8 years ago
David Cernat c62a575a9e [Server] Change order of words in the names of script callbacks 8 years ago
David Cernat 1d9c6ddd81 [General] Add placeholders for the new packet ID_PLAYER_CELL_LOAD 8 years ago
David Cernat 25e535e8ad [Server] Fix integer types for new script callbacks 8 years ago
David Cernat f9feaf05f0 [Server] Add script callbacks for object placement and deletion 8 years ago
David Cernat 68727751ed Fix arguments for OnPlayerChangeSpellbook in server Networking 8 years ago
David Cernat 869b32383e Fix arguments for OnPlayerChangeJournal in server Networking 8 years ago
David Cernat e2c595fc5d Add preliminary structure for journal changes 8 years ago
David Cernat e9b22814b9 Create placeholder for ID_GAME_JOURNAL 8 years ago
David Cernat a69f294ef0 Rename ID_GAME_CELL into ID_PLAYER_CELL_CHANGE 8 years ago
David Cernat e7675d94d4 Make server script functions for spells consistent with those from items 8 years ago
David Cernat 33e85c54de Rename BasePlayer Inventory & Spellbook into PacketItems & PacketSpells
This avoids confusion when either of those is used to store and send a single item, and no longer requires coming up with confusing variable names like realSpellbook or realInventory for actual full spellbooks and inventories.
8 years ago
Koncord f510a5583f Move MasterClient to Networking class
Rename MOTD to hostname
8 years ago
Koncord b5c586d5b7 Add and implement ID_MASTER_QUERY 8 years ago
Koncord 97dd8704a3 Ignore ping packets 8 years ago
Koncord 7595b33461 Implement spellbook 8 years ago
Koncord af7b232789 Fix type mismatch 8 years ago
Koncord 0d9a4f2b6f Fix "Unhandled PlayerPacket with identifier 135" 8 years ago
Koncord f74734cfba Fix server crash if player is not fully connected 8 years ago
David Cernat 4e23fc0a5b Send action parameter to OnPlayerChangeSpellbook 8 years ago
David Cernat 9e290ad799 Fix spacing irregularities 8 years ago
David Cernat 95efb77e53 Implement sending of ID_GAME_SPELLBOOK from client 8 years ago