Koncord
7a4082d09f
[General] Remove CallFF find module
6 years ago
Koncord
bc2cc07d67
[General] Make Send and RequestData functions non virtual
...
Move PVS-Studio cmake file to cmake directory
6 years ago
Koncord
f271a65d93
[General] Update Travis CI
6 years ago
Koncord
860897fbd7
[Server] Fix issues after rebase
6 years ago
Koncord
c550697443
[Server] Add true/false defines
6 years ago
Koncord
042a7fa51b
[Server] Use __genffi__ predefined macro
...
Fix aarch64 RetType size
6 years ago
Koncord
eee9fc1ad1
Use typedef instead define for bool
6 years ago
Koncord
4ca5da5666
[Server] Rework Plugin API, move Lua system to external library
...
Use LibFFI for Public & Timer APIs
Use "PlayerId" type instead "unsigned short"
Add GetPluginDir() function
6 years ago
Koncord
a9701028a2
Make API headers C compatible
6 years ago
Koncord
bd3c974ea1
[Server] Trait all API functions as "extern C"
6 years ago
Koncord
a9aecd09d2
[Server] Fix wrong class tagging
6 years ago
Koncord
6caed5d47e
[General] Add comments to false-positive PVS messages
6 years ago
Koncord
ddd370b61b
[General] Add ENABLE_PVS option to CMake
6 years ago
Koncord
34be44f012
[General] Fix minor warnings found by PVS
6 years ago
Koncord
5519572b22
[General] Fix warnings and errors found by PVS Studio in Server
6 years ago
Koncord
7ab7c4c9c2
[General] Add PVS Studio macros
6 years ago
Koncord
2f75ecabcb
[General] Update LuaBridge to 3154e94487dedc84f038c5787985ddc01a95d126
6 years ago
Koncord
dca7e1ec45
[Server] Fix GCC 8 build
6 years ago
Koncord
add6b02b79
[Server] Do not export all symbols
6 years ago
Koncord
e7e374f7c5
[Server] Fix order of CDECL
6 years ago
Koncord
f24b8b8738
[Server] Fix rebase conflicts
6 years ago
Koncord
6a2878820c
[Server] Trait all API functions as "extern C"
...
Move Timer & Public functions to Script/Functions
6 years ago
David Cernat
c058dce346
[General] Clarify meaning of commit hash displayed on start
6 years ago
David Cernat
1df1515c7e
[Client] Add logging for invalid enchantmentIds in RecordHelper
6 years ago
David Cernat
999ce857c7
[Client] Add logging for records ignored due to their invalid baseIds
6 years ago
David Cernat
db7e09f441
[Client] Use more consistent logging when reading dynamic record packets
6 years ago
David Cernat
0fa116b47d
[Client] Remove useless lines in RecordHelper
6 years ago
Koncord
0df32accca
[Server] Fix ARM build
6 years ago
David Cernat
fd40e8c971
[Client] Prevent ObjectState spam by not resending an already sent state
6 years ago
David Cernat
6e47b65205
[Client] Set attribute increases & level progress after correct packets
...
Originally, the PlayerSkill packet contained skills, attribute increases and level progress. In 78441c769a
, the attribute increases were moved to the PlayerAttribute packet and the level progress was moved to the PlayerLevel packet, but – due to an oversight – attribute increases and level progress were still being applied to the local player only when a PlayerSkill packet was received, based on whatever values were stored from the last PlayerAttribute and PlayerLevel packets.
6 years ago
David Cernat
f481c85e07
[Client] Use ADD before REMOVE for PlayerInventory in repair/recharge
...
Previously, when recharging or repairing an item, the client sent a PlayerInventory packet to the server with the old version of the item that was supposed to be removed and then it sent a PlayerInventory packet with the new version of the item that was supposed to be added.
Unfortunately, the current CoreScripts make it so custom items using generated IDs have their records deleted when they are completely removed from the world, however briefly, even if they are added back immediately afterwards. In practice, this meant that – before this commit – recharging or repairing a custom item led to its removal from the player inventory stored on the server, followed by the deletion of its record, followed by its readdition to the inventory (but with the record staying deleted). Logging out and logging back in immediately prevented the player from receiving the item anymore because of its now non-existent record.
6 years ago
David Cernat
8a99f215f6
[Client] Add LocalPlayer::sendItemChange() variant with mwmp::Item arg
6 years ago
David Cernat
db9c1b9882
[Client] Add MechanicsHelper::getItem() for getting mwmp::Item from Ptr
6 years ago
David Cernat
799241e8c6
[Client] Use informative error message for RefData::setCount() issue
6 years ago
David Cernat
43f195f0c7
[Client] Use clearer debug for actor initializations
6 years ago
David Cernat
2e1d4a9449
[Server] Fix non-Windows builds
6 years ago
David Cernat
81e2e48561
[Client] Fix item magic casting synchronization for spell scrolls
...
Previously, spell scrolls were used up before their IDs could be included in attacks packets supposed to be sent for them.
6 years ago
David Cernat
d83160523f
[Client] Add items required for item magic casting when they are missing
6 years ago
David Cernat
433a69a588
[Client] Send all data for newly initialized LocalActors at least once
6 years ago
David Cernat
e70fd2cf3a
[Server] Accept clients with wrong password on servers with no password
6 years ago
David Cernat
eb52babf29
[Server] Print IP instead of name or PID for players unable to connect
...
The player name was always blank in such situations, providing no useful information. The PID was not useful in any way either.
6 years ago
David Cernat
e96091fd6b
[General] Use more consistent variable names for password, address, etc.
6 years ago
David Cernat
906d2a837d
[Client] Send PlayerInventory packets when recharging items w/ soulgems
6 years ago
David Cernat
71679934a1
[Client] Send PlayerInventory packets when repairing items
6 years ago
David Cernat
5d9893ee92
[Client] Set actor killer correctly for spells that do damage over time
...
Additionally, clean up comments related to other code that sets actor killers.
6 years ago
David Cernat
6e1504f0a1
[Server] Use clearer variable & function names in TimerAPI
6 years ago
David Cernat
42b5a8054f
[Server] Remove unusable position functions for players
6 years ago
Koncord
4ce0331f1b
[Server] Fix GCC build
6 years ago
Koncord
9343b8af2f
[Server] Remove unused function
6 years ago
Koncord
c2230a8a21
[Server] Add MP flag to the server if enabled
6 years ago