Commit Graph

13426 Commits (10a0f165dd74d95101145c97cb135ffe7f05c073)

Author SHA1 Message Date
mrohrlach f0f78c9d64 Slight adjustments to disintegration fix 8 years ago
mrohrlach 9624d8aade Added new method and variable to track float remainders of disintegration effections 8 years ago
mrohrlach f5da179a90 Removed two more bad casts 8 years ago
mrohrlach 3b0c791892 Removed bad casts and unnecessary comments 8 years ago
scrawl 876d9c6a84 Merge pull request #1148 from Allofich/aicombat
Require line of sight for AI attacks
8 years ago
Allofich a6dae51d87 Require line of sight for AI attacks (Fixes #3646) 8 years ago
Allofich 6816e935f1 Fix fortify maximum magicka expiration (Fixes #3648) 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
mrohrlach c2e5f24e98 Tidying up 8 years ago
mrohrlach ef5cf76ad8 Implemented retrieval of effect colors for lights, made recommended changes 8 years ago
mrohrlach e1deb8b1d4 Merge branch 'master' of https://github.com/openmw/openmw 8 years ago
mrohrlach 3816d0f6dc Changed light values to better match vanilla. Still need to pull diffusion properties from spells 8 years ago
mrohrlach 099e79edbe Changed a line that did not need to be changed apparently 8 years ago
mrohrlach 61097d93b9 Replaced tabs with spaces (oops) 8 years ago
mrohrlach 49ce80346c Changed methods slightly to ensure non-magic projectiles do not receive lights 8 years ago
mrohrlach 83945cf280 Added reasonable approximation of magic bolt lights 8 years ago
Koncord 753dc50131 Fix crash if connection has failed 8 years ago
Kurnevsky Evgeny 28639c3b2f Crash fix when item is disabled before it casts spell. 8 years ago
scrawl 908cc699ce Merge pull request #1141 from MiroslavR/water-sounds
Implement water sounds
8 years ago
scrawl e0afd6d0f7 Movement solver: performance improvement for the minimum stepping distance check, no need to waste time doing a second stepMove if we did not hit a slope or the step was already large enough to begin with. 8 years ago
David Cernat d30cc88450 Merge pull request #110 from OpenMW/master
Add OpenMW changes up to 29 Nov
8 years ago
MiroslavR c34d85ffc2 Implement water sounds (Closes #451) 8 years ago
ShadowRadiance 354a89e3bc Slowfall now reduces momentum based on magnitude when jumping
(Allows Constant Effect Slowfall to work as in MW)
8 years ago
David Cernat 7bbeed629d Merge pull request #109 from OpenMW/master
Add OpenMW changes up to 25 Nov
8 years ago
scrawl 5297d7b5be Merge pull request #1137 from nikolaykasyanov/osx-structure
[macOS] Move all resources files inside application bundles (fixes #3566)
8 years ago
Nikolay Kasyanov ea888519c7 [macOS] Set OpenMW working dir to <bundle>/Contents/MacOS 8 years ago
Nikolay Kasyanov db69342b5d [macOS] Move all configs & resources into app bundles
Fixes #3566 (https://bugs.openmw.org/issues/3566).
8 years ago
scrawl 762460f042 Use negative count when restocking item to ensure that its properly tracked (Fixes #3635) 8 years ago
MiroslavR 46a3244107 Fix thrown weapon sources being used to apply on strike enchantments (Fixes #3634) 8 years ago
scrawl b6d02d9b14 Fix order of operations when undoing werewolf transformation of an NPC 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 1feec58ed2 Merge pull request #108 from OpenMW/master
Add OpenMW changes up to 20 Nov, part 3
8 years ago
David Cernat ae39daf76a Add and implement ID_MUSIC_PLAY 8 years ago
scrawl c326564e20 Merge pull request #1136 from Allofich/deletespell
Allow deleting spells that have the "always succeeds" flag
8 years ago
scrawl 16a913c549 Add emission of water ripple particles for water-walking actors (Fixes #3608) 8 years ago
David Cernat f9ca98498d Merge pull request #107 from OpenMW/master
Add OpenMW commits up to 20 Nov, part 2
8 years ago
Allofich c82df2553c Allow deleting spells that have the "always succeeds" flag (Fixes #3627) 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
scrawl 385db50f2d Merge pull request #1131 from Allofich/waterwalking
Make water walking mechanics closer to original MW
8 years ago
MiroslavR c1e52bbcf7 Fix -Wmismatched-tags clang warning 8 years ago
Allofich 0e429ae41d Make water walking mechanics closer to original MW 8 years ago
David Cernat 456aee65d9 Add and implement ClearInventory() script function 8 years ago
David Cernat 80b40bfb70 Prevent inventory requests from making LocalPlayer send inventory twice 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 c6eac31d94 Merge pull request #106 from OpenMW/master
Add OpenMW changes up to 20 Nov
8 years ago
scrawl f51e06bc47 Recreate shaders if necessary when the NpcAnimation is rebuilt
This fixes certain equipment losing the 'invisibility' effect after a view-mode switch with shaders enabled. Because the initial build of shaders done by the resource manager is not aware of the override state in the NpcAnimation's object root, we have to build new shaders here.
8 years ago
scrawl e823cbf018 Fix incorrect priority of animation sources (Bug #3626) 8 years ago
MiroslavR 8f91732b09 Show starting abilities, powers and spells in stat-review window (Fixes #2410) 8 years ago
David Cernat 49a78d8462 Merge pull request #105 from OpenMW/master
Add OpenMW changes up to 19 Nov
8 years ago
David Cernat 843e84ba26 Once again use RakNetGUID as index for player map everywhere
Because of frequent server crashes, I tried to simplify the player map indexes with commit c91e240664, but it had no noticeable effect and was later partially reverted by Koncord in commit 902e968fd9, apparently for reasons of readability.

For the sake of consistency, this commit completes his reversion.
8 years ago
David Cernat 234266755e Prevent player-controlled NPCs from auto-unequipping candles and torches 8 years ago
David Cernat 7f25abb9c8 Implement UnequipItem() script function 8 years ago
David Cernat c1bd4f1ce3 Use correct item count in LocalPlayer::setEquipment() for new items 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
David Cernat fcd24ebb7e Rename methods to show they deal with Equipment instead of Inventory 8 years ago
David Cernat c2abcd3869 Fix installation target for tes3mp 8 years ago
David Cernat b028f0b51f Merge pull request #104 from OpenMW/master
Add OpenMW commits up to 17 Nov
8 years ago
David Cernat 120a4400d9 Merge branch 'master' of https://github.com/TES3MP/openmw-tes3mp 8 years ago
David Cernat 6e630e6123 Send inventory packets when picking up world items 8 years ago
MiroslavR 7e5ba4d435 Fix default values of some GMSTs 8 years ago
scrawl 9d125bcaa2 Merge pull request #1129 from PhillipAnd/phillipand-cmake-fix
Fix various build issues with Visual Studio environment
8 years ago
scrawl 2368382ea5 Fix upside down rain particle texture 8 years ago
Koncord f5f1a29f31 Change printf to LOG_MESSAGE_SIMPLE 8 years ago
David Cernat 3a733eb122 Make tes3mp includes consistent 8 years ago
David Cernat faea5221d3 Use LocalPlayer's updateInventory() every cell change, not every frame 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 eedd40328a Add and use SendInventory() method in LocalPlayer, and clarify some code 8 years ago
MiroslavR 5e46121046 Implement fleeing AI (Closes #1118) 8 years ago
David Cernat c5c72a3b17 Use consistent names for booleans in LocalPlayer 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 fa9d6e810e Use lowerCamelCase in tes3mp client function names like OpenMW does 8 years ago
David Cernat 527024a026 Stop WorldPackets about invalid cells from causing framelistener errors 8 years ago
David Cernat a430ee011a Use WorldController to fetch CellStore for WorldPackets received 8 years ago
David Cernat 3dcb8738c1 Create placeholder WorldController class 8 years ago
David Cernat 8d2793401e Merge pull request #103 from OpenMW/master
Add OpenMW commits up to 13 Nov
8 years ago
Phillip Andrews c18fc113e5 Changed missing library dependencies to simple fix 8 years ago
Phillip Andrews aeaedbc57a Moved install commands to target-specific cmakelists so that all configurations work. 8 years ago
Phillip Andrews 59eba1dede Changed tabs to spaces, oops 8 years ago
Phillip Andrews 86b4673539 Removed math constants in openmw-cs, which are apparently not going to be used 8 years ago
Phillip Andrews a1225ff4ec Additional MSVC library dependencies 8 years ago
Phillip Andrews 1861302dbd Include various libraries for Visual Studio environment 8 years ago
scrawl 02b9e81f89 Merge pull request #1127 from Allofich/warnings
Fix shadowing warnings
8 years ago
MiroslavR 175cfd4dff Fix overloaded virtual function warning 8 years ago
Allofich 3420121c3f Fix shadowing warnings 8 years ago
Allofich fee39afe38 Don't allow resting on water with water walking 8 years ago
David Cernat f7b5e5e638 Ignore packets from server that try to move LocalPlayer to invalid cells 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 c85e6a5f91 Fix sucess chance 8 years ago
Koncord 799842b5da Reduce using of the CPU 8 years ago
Koncord 56959ebfda Implement magic 8 years ago
David Cernat 729da2c0ba Improve logic and clarity of LocalPlayer's charGenThread()
Until now, the fact that charGenThread() returned false whenever the player had a menu open was preventing Main::UpdateWorld() from running at all with a menu open.

The result was that no player packets from LocalPlayer::Update() were being sent by a player in a menu.
8 years ago
David Cernat dc5bb32f2a Merge pull request #100 from OpenMW/master
Add OpenMW commits up to 11 Nov
8 years ago
scrawl f0d5cf7afb Merge pull request #1112 from Assumeru/waterwalking
Move actors out of the water if there's room for them. Fixes #1138
8 years ago
Assumeru 05cc258ed3 Start trace from collision object origin 8 years ago
Assumeru 99bc4f733f Trace up to waterlevel + halfextent 8 years ago
David Cernat 48ca4d29bc Merge pull request #99 from OpenMW/master
Add OpenMW commits up to 7 Nov
8 years ago
scrawl 92d42ef49b Merge pull request #1123 from Allofich/warnings
Fix dereference of null pointer warning
8 years ago
Allofich c7313606f5 Fix dereference of null pointer warning 8 years ago
David Cernat 8aaf44e5a8 Fix accidental line duplication 8 years ago
David Cernat ec211e58d0 Merge pull request #98 from OpenMW/master while resolving conflicts
# Conflicts:
#	apps/openmw/CMakeLists.txt
8 years ago
MiroslavR e80636f0ca Improve performance of repairing/recharging (Fixes #2493) 8 years ago
Nikolay Kasyanov 3adf4cb97f Link OpenMW with libz on macOS 8 years ago
Nikolay Kasyanov 0115a3a874 Revert "Link OpenMW with libz on macOS"
This reverts commit 0c4dd05118.
8 years ago
Nikolay Kasyanov 0c4dd05118 Link OpenMW with libz on macOS 8 years ago
scrawl d8b506155e Merge pull request #1118 from MiroslavR/resize-perf
Fix horrible performance when resizing/moving the settings window
8 years ago
David Cernat 817b63922c Put DedicatedPlayer in ToddTest if his cell doesn't exist on our client 8 years ago
David Cernat 4d053743a0 Merge branch 'master' of https://github.com/TES3MP/openmw-tes3mp 8 years ago
David Cernat 25afa47e08 Only declare ptrCellStore for WorldPackets that need it 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 3759127627 Woops 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 6ff47bbde9 Merge pull request #93 from OpenMW/master
Add OpenMW commits from 1 Nov
8 years ago
Nikolay Kasyanov 5d4734c02e Use local path from configuration manager to load openmw.cfg in launcher 8 years ago
MiroslavR 5cd04af3fa Fix horrible performance when resizing/moving the settings window
Resize widgets instead of reconstructing them.
8 years ago
David Cernat 66e697953c Add missing break statement in Networking to prevent default nighttime 8 years ago
David Cernat 31d02e8bf1 Move Networking code for ID_GAME_INVENTORY next to ID_GAME_EQUIPMENT 8 years ago
David Cernat 06152fde77 Stop player-controlled NPCs from reporting crimes committed by players 8 years ago
David Cernat 4621363b65 Make capitalization reflect name of filename, and remove unused check 8 years ago
David Cernat 373011f883 Only send information to POSTLOADED player about other POSTLOADED ones 8 years ago
David Cernat cd798d5f23 Merge pull request #89 from OpenMW/master
Add OpenMW commits up to 30 Oct
8 years ago
scrawl e0f613661e Fix char -> int, fix shadowing warning 8 years ago
David Cernat 05cfc918f5 Temporarily use a whitelist for scripts instead of a blacklist 8 years ago
scrawl cac8de0b29 Merge pull request #1116 from Allofich/paused
Don't update ripple simulation when paused
8 years ago
scrawl e5cb7306c3 Merge pull request #1115 from Allofich/conversion
Fix narrowing conversion warning
8 years ago
Allofich 19db070fca Don't update ripple simulation when paused 8 years ago