David Cernat
5ff40c5563
[Server] Make coding style consistent
8 years ago
David Cernat
174937f412
[Server] Add LogMessage() and LogAppend() script functions
8 years ago
Koncord
1d2a6d9056
[Server] Rename dontRead to avoidReading
8 years ago
Koncord
47924f5bb0
[Server] Move packet.Read() to parent
8 years ago
Koncord
ead92fff61
[Server] Move setPlayer() to PlayerProcessor
8 years ago
Koncord
0317e2523b
[Server] Remove unused code
8 years ago
Koncord
c8fb7d9c1a
[Server] Move packet.Send(true) to parent class
8 years ago
Koncord
9ecc70d17c
[Server] Fix ID in ProcessorContainer
8 years ago
Koncord
f5600c508f
[Server] Move all world handlers to WorldProcessors
8 years ago
Koncord
3ab25fb3f1
[Server] Move player processors to processors/player
8 years ago
Koncord
0a1041bf56
[Server] Add WorldProcessor
8 years ago
Koncord
3b52549a3d
[Server] Rename init_processors to ProcessorInitializer
8 years ago
Koncord
e8a5fd1cd0
[Server] Move all message handlers to PlayerProcessors
8 years ago
Koncord
020167df08
[Server] Add PlayerProcessor
8 years ago
Koncord
b01734888f
[Server] Add missing header
8 years ago
Koncord
2c26ed8aee
[Server] Process ID_GAME_PREINIT packet
8 years ago
Koncord
690211ad99
[General] Extract BaseEvent & BasePlayer from packets to functions
...
Move Send and Read functions to BasePacket
8 years ago
David Cernat
82dcec5ec5
[Server] Use consistent pattern for script function category names
8 years ago
Koncord
cea1425db1
[Client] Remove redundant newlines & keep ~120 columns
8 years ago
Koncord
c353e18645
[General] Move Utils from server to components
...
Rewrite CRC32 functions to the Boost equivalent
8 years ago
David Cernat
0d32bf5943
[General] Add extra death debug, don't request data from player on death
8 years ago
David Cernat
5c269a5f8d
[General] Rename ID_GAME_DIE and ID_GAME_RESURRECT
8 years ago
Koncord
0442ebd607
[Server] Remove redundant newlines & keep ~120 columns
8 years ago
Koncord
83d0cbedb2
[Server] Remove redundant type casts
8 years ago
Koncord
8f96ca22c1
[Server] Fix typo in RakNet name
8 years ago
Koncord
aa91126ce3
[Server] Minor cleanup in Networking
8 years ago
David Cernat
684517e02f
[Server] Fix Miscellaneous category of script functions
8 years ago
David Cernat
0baada0aa2
[Server] Add GetLastPlayerId() script function in Miscellaneous category
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
fb93ce57f9
[Server] Fix debug message
8 years ago
David Cernat
ae37daca70
[Server] Ensure no information exchange takes place with nullptr player
8 years ago
David Cernat
7f51ca5298
[Server] Add permanent debug to Cell and CellController
8 years ago
David Cernat
0527690b88
[Server] Add permanent debug to ID_PLAYER_CELL_CHANGE and ID_CONTAINER
8 years ago
David Cernat
7917badedf
[Server] Set guid of baseEvent, previously done in a constructor before 7065569f9b
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
ebaf3d3cc9
[Server] FIx memory leak
8 years ago
Koncord
b33e604a61
[Server] Set sendToLoaded function as constant
...
Add assertions for CellController singleton
8 years ago
Koncord
b158e89f77
[Server] Change signatures of GetLastEventAction & SetScriptEventAction
8 years ago
Koncord
cbe31149e3
[Server] Remove redundant constructor
8 years ago
David Cernat
af35ee38d1
[Server] Rename ClearScriptEvent into InitScriptEvent with pid argument
8 years ago
Koncord
868c837aa0
[Server] Move baseEvent from Networking.cpp to class as member
8 years ago
David Cernat
7065569f9b
[Server] Reuse 2 BaseEvents over and over instead of creating new ones
8 years ago
Koncord
68c288761a
[Server] Send other players position to loader
8 years ago
Koncord
b1460cf010
[Server] Send ID_PLAYER_POS every ID_PLAYER_CELL_CHANGE
8 years ago
Koncord
443c0ed309
[Server] Fix Cell iterators
8 years ago
Koncord
3d88e657cd
[Server] Fix printVersion() for ARM
8 years ago
Koncord
a75da18f31
[Server] Fix argument in log message
8 years ago
Koncord
7dde4db1fb
[Server] Add FORCE_LUA parameter to CMakeLists.txt
8 years ago
David Cernat
58795119b6
[Server] Add debug about information exchange in ID_PLAYER_CELL_CHANGE
8 years ago
David Cernat
96d01fcde4
[Server] Stop resending attacks because they cause infinite death loops
8 years ago
Koncord
edfade2a90
[Server] Some fixes in requests to the master server
8 years ago
Koncord
b7ab831c46
[Server] Update MasterClient to new protocol
8 years ago
Koncord
158e9b3b09
[Server] Add ability to set password to server from config & scripts
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
Koncord
ee494887e1
[Server] Fix log message
8 years ago
David Cernat
a4526605a6
[General] Remove goldValue from ContainerItem because it is never useful
8 years ago
David Cernat
b829f0252a
[Server] Don't crash server every time a player disconnects
8 years ago
David Cernat
3e031faa96
[Server] Exchange position information correctly between players
8 years ago
David Cernat
ed91f20cd3
[General] Print action used for ID_CONTAINER when receiving one
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
f2ce46ffed
[Server] Rename doForNearest to forEachLoaded
8 years ago
Koncord
3aae782a51
[Server] Send info about loader to others
8 years ago
Koncord
465d0fe4b4
[Server] Fix log messages in CellController
8 years ago
Koncord
ca68831395
[Server] Rename sendToNearest to sendToLoaded
8 years ago
Koncord
931ecd5acb
[Server] Imrpove debug info in CellController
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
846ceacc90
[Server] Add begin & end iterators to Cell class
8 years ago
Koncord
bbc062de62
[Server] Use lowCamelCase in Cell
8 years ago
Koncord
08f78e21c1
[Server] Use CellController in Networking
8 years ago
Koncord
8887a267c7
[Server] Add Cell and CellController
8 years ago
David Cernat
b1009ad33d
[Server] Add GetContainerItemActionCount() for getting drag count
8 years ago
David Cernat
4f2b88df8a
[General] Remove owner var from ContainerItem because it is always empty
8 years ago
Koncord
a95cf0e07a
[Server] Fix crash when call StopServer() function in OnServerInit()
8 years ago
Koncord
1fb2176cfa
[Server] Add forgotten type for callbacks
8 years ago
David Cernat
c01ab63239
[Server] Add script functions for setting container item info
8 years ago
David Cernat
aa1549606f
[Server] Add script functions for getting container item info
8 years ago
David Cernat
70470e12b4
[Server] Reorder World script functions
8 years ago
David Cernat
8a5bc77699
[Server] Add GetBaseEventAction script function
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
3b604a432e
[General] Restructure ID_CONTAINER to allow multiple containers at once
8 years ago
David Cernat
c8cbfbef62
[General] Sketch out server requests to players for container data
8 years ago
David Cernat
b651c4deb4
[Server] In Item script functions, rename itemId into refId for clarity
8 years ago
David Cernat
5038353792
[General] Rename BaseEvent's state into doorState & adjust related funcs
8 years ago
David Cernat
182b238b5f
[General] Rename WorldEvent into BaseEvent
8 years ago
David Cernat
f314b13edf
[General] Rename item health into charge, for consistency with OpenMW
8 years ago
David Cernat
ecc456fea9
[General] Include charge int in WorldObject & send it w/ ID_OBJECT_PLACE
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
7ebad596d6
[Server] Use double instead of int for scale in WorldFunctions
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
8e438a1b82
[Server] Add OnObjectScale callback, part 2
8 years ago
David Cernat
5bd2fdcf66
[Server] Add OnObjectScale callback, and set scale for WorldObject
8 years ago
Koncord
0b8d0224d1
[Server] Change type in second argument in SetConsoleAllow to "bool"
8 years ago
Koncord
75afa58981
[Server] Add bool type for scripts
8 years ago
David Cernat
8c019f2c61
[Server] Update OnObjectPlace and OnObjectDelete callbacks
8 years ago
David Cernat
87dce73b90
[Server] Add script function for sending world object scale
8 years ago
David Cernat
705589e3e3
[Server] Add script functions for getting/setting world object scale
8 years ago
David Cernat
1fc9dd4f93
[Server] Remove WorldFunctions index parameters that are no longer used
8 years ago
David Cernat
9f998c9901
[Server] Improve getter methods in WorldFunctions
8 years ago
David Cernat
88e648aaa9
[Server] Fix crash caused by setting too many WorldObject refIds, try 2
8 years ago
David Cernat
fe9e30a4d8
[Server] Fix crash caused by setting too many WorldObject refIds
8 years ago
David Cernat
5eff2ece21
[Server] Fix memory leaks related to WorldEvents as suggested by Koncord
8 years ago
David Cernat
6b9fba7885
[Server] Add script functions for getting/setting world object rotation
8 years ago
David Cernat
920c1113a3
[Server] Add script functions for setting world object placement info
8 years ago
David Cernat
2c5cc82f49
[Server] Add script functions for getting world object placement info
8 years ago
David Cernat
27ac314cb1
[Server] Add script functions for getting world object refIds & refNums
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
f11df211fa
[Server] Add script functions for dealing w/ WorldEvents & WorldObjects
8 years ago
David Cernat
9f1e491a75
[General] Make WorldEvents store information about multiple objects
8 years ago
Koncord
b658adf7b0
[Server] Killed another tab character
8 years ago
David Cernat
9c3a37a790
[Server] Make GetCellStateDescription's cstrDescription null-terminated
8 years ago
Koncord
1c810ecad5
[Server] Fix memory leak in GetCellStateDescription()
8 years ago
David Cernat
0ccfe66212
[Server] Send stable C string in GetCellStateDescription()
8 years ago
David Cernat
4f288ab558
[Server] Read contents of ID_PLAYER_CELL_STATE
8 years ago
David Cernat
6331c55bc7
[Server] Add colons missing from CELLAPI
8 years ago
David Cernat
2f644e9b14
[Server] Add script functions for getting info about cell state changes
8 years ago
David Cernat
70823d011d
[Server] Define CELLAPI
8 years ago
David Cernat
0cc20d26ce
[Server] Move script functions for cells to a new CellFunctions class
8 years ago
David Cernat
62f359e250
[Server] Rename Translocations into Positions
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
158d606477
[General] Leave one blank line at the end of every tes3mp code file
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
35e453dec3
[General] Sketch out most of functionality for journal saving/loading
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
d308897f95
Rename PacketItems, PacketSpells into InventoryChanges, SpellbookChanges
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
83277a1512
Send spellbook in LocalPlayer CharGen & change UPDATE action name to SET
8 years ago
David Cernat
e7675d94d4
Make server script functions for spells consistent with those from items
8 years ago
David Cernat
6b14ca0775
Finish renaming of script functions for sending items and spells
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
David Cernat
78c6ab2a99
Clean up client Networking by putting item & spell logic in LocalPlayer
8 years ago
Koncord
0ab02006de
Detect ARM CPUs
8 years ago
David Cernat
2e3f508a56
Fix broken default keys and enable master server in configs
8 years ago
David Cernat
253ded1ee3
Use new getFilenameStamp() method to generate timestamps for filenames
8 years ago
David Cernat
3932654d5d
Use log filenames w/ timestamps instead of adding numbers to their ends
8 years ago
David Cernat
10a0f165dd
Print paths used for server dependencies in CMake, change tabs to spaces
8 years ago
Koncord
b6f9a21d7f
Do not allow 0 update rate
8 years ago
Koncord
03a92b3a91
Use LOG_VERBOSE instead LOG_INFO
8 years ago
Koncord
01900c2be8
Use modname in Send function
8 years ago
Koncord
2b0ae7b9ca
Fix variable name in JSON
8 years ago
Koncord
e92df0c465
Implement SetModname, SetHostname functions
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
32615d05cf
Prevent allocate memory if player doesn't exists
8 years ago
Koncord
97dd8704a3
Ignore ping packets
8 years ago
Koncord
dbbdb1071c
Use default FindLua51 instead homebrew
8 years ago
Koncord
7595b33461
Implement spellbook
8 years ago
Koncord
6e6237541a
Fix "comparison between signed and unsigned integer expressions"
8 years ago
Koncord
af7b232789
Fix type mismatch
8 years ago
Koncord
0d9a4f2b6f
Fix "Unhandled PlayerPacket with identifier 135"
8 years ago
Koncord
11be8ed005
Rename copyOldLog to renameOldLog
8 years ago
Koncord
f08ab0b161
Keep old server logs
8 years ago
U-VirtualBox-PC\Admin
6229269506
Some patches for lua on windows
8 years ago
David Cernat
35de28e239
Fix setting of longer environmental variables on Windows
8 years ago
Koncord
804259b2c9
Change some printf to LOG_MESSAGE_SIMPLE
...
printf is not streamed to files
8 years ago
Koncord
f74734cfba
Fix server crash if player is not fully connected
8 years ago
Koncord
61f7ad2f76
Add new paths for native & lua libs
...
If you want to add the native lib you should place it to {PATH_TO_MOD}/lib/
for external Lua libs: {PATH_TO_MOD}/lib/lua/
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
d4b5c826f8
Fix typo in spell script functions
8 years ago
David Cernat
c81b58e1be
Add spell script functions to tes3mp server
8 years ago
David Cernat
8aeb3a6cc6
Reorder script function classes in tes3mp server's CMakeLists.txt
8 years ago
David Cernat
95efb77e53
Implement sending of ID_GAME_SPELLBOOK from client
8 years ago
David Cernat
6ea5f08e9c
Create placeholder for ID_GAME_SPELLBOOK
8 years ago
David Cernat
ae39daf76a
Add and implement ID_MUSIC_PLAY
8 years ago
David Cernat
7a3d490121
Rename dumps into crashdumps to make the folder's purpose clear to users
8 years ago
David Cernat
f865246955
Fix Breakpad using changes provided by Stanislav in a gist
8 years ago
David Cernat
456aee65d9
Add and implement ClearInventory() script function
8 years ago
David Cernat
7fae28ce91
Prevent RemoveItem() script function from clearing inventorySendBuffer
...
Up to this commit, the following commands in a Lua script led to the target player receiving all three items, as expected:
tes3mp.AddItem(self.pid, "common_shirt_01", 1, -1)
tes3mp.AddItem(self.pid, "common_pants_01", 1, -1)
tes3mp.AddItem(self.pid, "common_shoes_01", 1, -1)
tes3mp.SendInventory(self.pid)
This, on the other hand, only led to the removal of the last item specified (in this case, the shoes):
tes3mp.RemoveItem(self.pid, "common_shirt_01", 1)
tes3mp.RemoveItem(self.pid, "common_pants_01", 1)
tes3mp.RemoveItem(self.pid, "common_shoes_01", 1)
tes3mp.SendInventory(self.pid)
Inventory functions are bound to remain confusing, but they should at least be consistent in their behavior.
8 years ago
David Cernat
7f25abb9c8
Implement UnequipItem() script function
8 years ago
David Cernat
56928bdc4c
Clean up inventory script functions so they are usable for equipment too
8 years ago
David Cernat
356143faed
Rename GetEquipmentSlotCount() into GetEquipmentSize()
8 years ago
David Cernat
977e93288e
Add GetEquipmentSlotCount() to item script functions
8 years ago
Koncord
f5f1a29f31
Change printf to LOG_MESSAGE_SIMPLE
8 years ago
Koncord
18026d4a50
Fix include guard
8 years ago
Koncord
902e968fd9
Use RakNetGUID instead uint64_t in TPlayers
8 years ago
Koncord
e2359b01ea
Use constant instead magic value
8 years ago
Koncord
e2522fa366
Simplify LOG macros
8 years ago
David Cernat
46b41b605a
Revert "Use lowerCamelCase in tes3mp server script function names, part 1"
...
This reverts commit 0e2b589cdb
.
8 years ago
David Cernat
ad43cb5473
Revert "Use lowerCamelCase in tes3mp server script function names, part 2"
...
This reverts commit 80d16fe1fd
.
8 years ago
David Cernat
1a25434d33
Turn overlooked instance of GetCell() into getCell()
8 years ago
David Cernat
6cd959fac8
Rename BasePlayer's GetCell() into getCell()
8 years ago
David Cernat
80d16fe1fd
Use lowerCamelCase in tes3mp server script function names, part 2
8 years ago
David Cernat
0e2b589cdb
Use lowerCamelCase in tes3mp server script function names, part 1
8 years ago
David Cernat
25dc2b19e7
Use lowerCamelCase in tes3mp server networking function names
8 years ago
David Cernat
7be86388db
Fix build for server
8 years ago
David Cernat
dc9b814ff6
Fix typo in server script translocations
8 years ago
David Cernat
841e93d5e0
Use new SendCell() method in server scripts to send cell packets
8 years ago
David Cernat
5b39916894
Use new SendPos() method in server scripts to send position packets
8 years ago
David Cernat
e0c88150c3
Reorder functions for server script translocations
8 years ago
Koncord
82f202c891
Implement GetAvgPing(pid) function
8 years ago
Koncord
37e9cafbf7
Add new API function: SetConsoleAllow
...
example:
tes3mp.SetConsoleAllow(pid, 0) -- disallow console to the player
The console is allowed by default
8 years ago
Koncord
6f6993255a
Fix string in breakpad()
8 years ago
Koncord
adb49b7c7d
Add New GUI dialog: ListBox
...
Example:
local GUI_LISTBOX = 42
function OnPlayerSendMessage(pid, message)
if message == "/lb" then
local items = "consectetur adipiscing elit\nsed do eiusmod tempor incididunt ut labore\net dolore magna aliqua." -- items can be separated through newline
local label = "Lorem ipsum dolor sit amet"
tes3mp.ListBox(pid, GUI_LISTBOX, label, items)
end
end
function OnGUIAction(pid, idGui, data)
if idGui == GUI_LISTBOX then
print("ID: " .. idGui .. " data: " .. tostring(data)) -- if value higher than last item id
end
end
8 years ago
David Cernat
107dacac6d
Add OnPlayerChangeInventory server script callback
8 years ago
David Cernat
31d02e8bf1
Move Networking code for ID_GAME_INVENTORY next to ID_GAME_EQUIPMENT
8 years ago
David Cernat
373011f883
Only send information to POSTLOADED player about other POSTLOADED ones
8 years ago
David Cernat
05cfc918f5
Temporarily use a whitelist for scripts instead of a blacklist
8 years ago
David Cernat
621faf368e
Fix server crash caused by invalid player GUIDs, 2nd attempt
8 years ago
David Cernat
ffb7683a5f
Use suicide as death reason when an attacker leaves the server
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
3c88f6f0cd
Fix server crash caused by invalid player GUIDs
8 years ago
David Cernat
46397a7dac
Add and implement ID_OBJECT_ANIM_PLAY
8 years ago
David Cernat
c205e793cb
Add and implement ID_SCRIPT_MEMBER_SHORT
8 years ago
David Cernat
c91e240664
Simplify the type of map that player objects are stored in
8 years ago
David Cernat
2032bf9cad
Fix typo in debug
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
97468980af
Add and implement 3 new WorldPackets for ingame script variable values
8 years ago
David Cernat
385b5f39e3
Add and implement ID_OBJECT_ROTATE
8 years ago
David Cernat
0fb9b6eefb
On second thought, rename ID_OBJECT_MOVE_WORLD into ID_OBJECT_MOVE
8 years ago
David Cernat
947a677801
Replace ID_ACTIVATOR_ACTIVATE with ID_OBJECT_MOVE_WORLD
8 years ago
David Cernat
c25ebc34b3
Shorten WorldPacket IDs by removing WORLD from them
8 years ago
David Cernat
52d156e136
Make server able to receive the 5 new WorldPackets
8 years ago
David Cernat
ef6f20e3f7
In server console, print number of players remaining when one leaves
8 years ago
David Cernat
24bfe40bf7
Add debug about current server crash
8 years ago
David Cernat
b2688777c1
Create marker once a player has been initialized properly and fix debug
8 years ago