Commit Graph

22164 Commits (1f2349ef6e82b7b1b82e1de6db2776e2043fb18d)
 

Author SHA1 Message Date
Bernd Schoolmann 1f2349ef6e Update LuaBridge to e3f7a022 6 years ago
David Cernat 023ead937f [Server] Fix stack overflows by preventing infinite growth in Lua stack 6 years ago
David Cernat 6322ae081d [Server] Add extern to folders used to search for include files 6 years ago
David Cernat 3805edaf78 [Server] Don't crash when adding a requiredDataFile w/ no checksum twice 6 years ago
David Cernat 02e646e838 [Client] Use check for credits file that makes more sense 6 years ago
David Cernat 437854180c [Client] Clean up variable & function names in mwmp/Main.cpp 6 years ago
David Cernat f6db7d4fc5 [Client] Avoid sending repeated ObjectDelete packets about an object 6 years ago
David Cernat 7523a73346 [Server] Fix return values for server functions providing system info 6 years ago
David Cernat d8919dcec6 [Server] Refer to data files instead of plugins in var & function names 6 years ago
David Cernat a2f110ae6d
Merge pull request #524 from uramer/0.7.0summon_duration
Make the server receive the correct summon durations regardless of spell casting order
6 years ago
uramer 2531378d0b make getEffectDuration to look for a specific effect 6 years ago
David Cernat 8aad93b904
Merge pull request #519 from TES3MP/0.7.0-alpha
[General] Update positions for dead players on other clients
6 years ago
David Cernat 3effd5f1ff [General] Update positions for dead players on other clients
Dead players will now show up at the correct cell and position for living players, making server scripts that allow players to revive each other much more functional.
6 years ago
David Cernat 4692f29b9d
Merge pull request #517 from uramer/0.7.0markers
update player map markers when client changes cell
6 years ago
David Cernat 03d377ec54
Merge pull request #518 from TES3MP/0.7.0-alpha
[General] Rename CellReplace packet into CellReset
6 years ago
David Cernat 8ff2d1b829 [General] Rename CellReplace packet into CellReset 6 years ago
David Cernat cb82318c36 [General] Fix problems with Utils::getArchitectureType() 6 years ago
uramer 3b2098382b update player map markers when client changes cell 6 years ago
David Cernat cb5e24e6c5
Merge pull request #516 from TES3MP/0.7.0-alpha
[Server] Add GetMillisecondsSinceServerStart() server function
6 years ago
David Cernat 91f82d845c [Server] Add GetMillisecondsSinceServerStart() server function 6 years ago
David Cernat d35026bbf5
Merge pull request #515 from TES3MP/0.7.0-alpha
0.7.0 alpha
6 years ago
David Cernat bd677726bf [Server] Add StatsFunctions that get/set damage to attributes/skills 6 years ago
David Cernat 9fc4c83858 [Client] Send skill/attribute packets when skills/attributes are damaged 6 years ago
David Cernat ece39748de [Server] Fix typo causing recursion in deprecated actor list function 6 years ago
David Cernat 5c4d3df551 [Server] Deprecate DoesFileExist(), add DoesFilePathExist() 6 years ago
David Cernat 2cdabddc0e [Server] Move most MiscellaneousFunctions to ServerFunctions 6 years ago
David Cernat b46767de6e [Server] Clean up recent additions to ServerFunctions 6 years ago
David Cernat 911079e0bc
Merge pull request #512 from TES3MP/0.7.0-alpha
0.7.0 alpha
6 years ago
David Cernat 331fa86844 [Server] Call OnServerPostInit after OnRequestDataFileList
This allows different actions to be taken in OnServerPostInit based on what the data files being used are.
6 years ago
David Cernat a0ec9dfd2e [Server] Rename OnRequestPluginList into OnRequestDataFileList 6 years ago
David Cernat 986528c67d [Server] Add error message as argument to OnServerScriptCrash 6 years ago
David Cernat 552a94a0ca [Server] Add OnServerScriptCrash script event 6 years ago
David Cernat a508a0faf8 [Server] Turn GetArguments() from ScriptFunctions into Utils function 6 years ago
David Cernat dcbc9d1831 [Client] Print cells for actor deaths 6 years ago
David Cernat 828c52138f [Documentation] Update readme and credits
According to some legal advice I've received, the "TES3MP Team" is too ambiguous of a legal entity, so – with Koncord's agreement – the copyright is now assigned specifically to us, the project's developers.
6 years ago
David Cernat 69e7d3f2a7 [Documentation] Update credits 6 years ago
David Cernat f3b8a5b909 [General] Check integrity of credits only on Windows clients
This avoids the problems that were encountered in Linux and macOS builds regarding this check while also still addressing the scenario where official Windows builds had their credits modified by people unrelated to the project.
6 years ago
David Cernat a0ad0b29bc Merge branch '0.7.0' of https://github.com/TES3MP/openmw-tes3mp into 0.7.0 6 years ago
David Cernat 222837976c [Server] Fix type name warning for Player
The warning in Visual Studio was: "'Player': type name first seen using 'class' now seen using 'struct'"
6 years ago
Koncord 77386525f2 [General] Update Travis CI 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