Commit Graph

13619 Commits (b651c4deb436370dc8ded2fcda979ef7e31bab6a)

Author SHA1 Message Date
Koncord 5b88f3fc44 Use C++11 in browser 8 years ago
Koncord 0af5e1269a Move browser xml files to files/tes3mp/ui 8 years ago
MiroslavR c64351b3e8 ESS-import: player is no longer disabled (Bug #3246) 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 0f7748d9d2 When clearing LocalPlayer's spells, keep race and birthsign abilities 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 be851f5e1a Send packet with spells gained at character generation 8 years ago
David Cernat 78c6ab2a99 Clean up client Networking by putting item & spell logic in LocalPlayer 8 years ago
David Cernat b8a6020af1 Check for update to inventory when closing a container 8 years ago
David Cernat 6eb7706390 Merge branch 'master' of https://github.com/TES3MP/openmw-tes3mp 8 years ago
David Cernat 0fe2d743a7 Rename tes3mp-netlauncher into tes3mp-browser 8 years ago
David Cernat c77120df6d Merge pull request #129 from OpenMW/master while resolving conflicts
# Conflicts:
#	apps/openmw/mwworld/actiontake.cpp
8 years ago
scrawl cc19b4bd8a Fix door rotation order in collision case (Bug #3707) 8 years ago
scrawl 45fb4f04b1 Update reference of the interpreter context when an Activate results in a take action (Fixes #3727) 8 years ago
scrawl 70c5f64caa Fix mLocals not being updated in InterpreterContext::updatePtr 8 years ago
David Cernat cf8a507860 Set window title for netlauncher 8 years ago
David Cernat b2577498a9 Use tes3mp icon for netlauncher 8 years ago
David Cernat fa8650f99a Merge pull request #128 from OpenMW/master while resolving conflicts
# Conflicts:
#	apps/openmw/mwmechanics/combat.cpp
8 years ago
scrawl c6822b9eb6 Merge pull request #1192 from damiel/water_refactor
Added refactoring of shader handling from visvalda's fog shader
8 years ago
Martin-Kevin Neumann 5a8efa1649 added refactoring of shader handling from visvalda's fog shader 8 years ago
NeveHanter e82d542d89 Merge remote-tracking branch 'upstream/master' into bugfix-3617 8 years ago
NeveHanter 811e9ad9f3 Fixed bug https://bugs.openmw.org/issues/3617 by allowing touch and target enchantments from ranged weapons and their projectiles to explode even when colliding with non-activable objects, terrain, water slab or when shoot underwater.
Also allowed projectiles to fly through the dead bodies as in vanilla.
8 years ago
David Cernat f376b8416e Merge pull request #127 from OpenMW/master
Add OpenMW commits up to 15 Jan
8 years ago
Allofich f2240dde9c Allow command spells to work when cast by AI on AI
(Fixes #3723)
8 years ago
Allofich e825010107 Apply command spell effects on impact
Command spells should apply their effects, including taking an actor out
of combat, every time a spell successfully hits, even if a previous
command effect is still active.
8 years ago
Allofich a46c4de918 Stop combat when adding an AI package to an actor
(Fixes #3722)
8 years ago
David Cernat afebc9c60f Don't require C++14 for netlauncher 8 years ago
David Cernat ba493435f3 Prevent crash when trying to remove -1 rows in netlauncher 8 years ago
scrawl b87abb0456 Reset activation flags when an object is copied (Fixes #3671, Fixes #3719) 8 years ago
David Cernat 70b43ecef6 Merge pull request #126 from OpenMW/master
Add OpenMW commits up to 14 Jan
8 years ago
Koncord 0ab02006de Detect ARM CPUs 8 years ago
scrawl 69ce9f32bc Activate/OnActivate fix (Bug #3712) 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 3c9eaad5ce Rename Main class to MainWindow 8 years ago
David Cernat 610ba1d867 Merge pull request #125 from OpenMW/master
Add OpenMW commits up to 12 Jan
8 years ago
Koncord f7dc30387c Run tes3mp-netlauncher instead openmw in the OpenMW Launcher 8 years ago
Koncord 90908ed113 rename openmw-netlauncher to tes3mp-netlauncher 8 years ago
scrawl 73aa07b81b Merge pull request #1189 from Allofich/attack
Match best attack selection to vanilla behavior
8 years ago
Allofich 2322ab3125 Don't make Command spells cancel AI packages
(Fixes #3649)
8 years ago
Koncord 4604ee49bf Fix waiting answer when browser not connected to the master server 8 years ago
Koncord 968546b20c Use master server address from config file 8 years ago
Koncord cb799ee446 Server browser 8 years ago
Allofich c10585fb07 Match best attack selection to original MW
(Fixes #3721)
8 years ago
David Cernat dfb87e9e0d Merge pull request #124 from OpenMW/master
Add OpenMW commits up to 11 Jan
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
MiroslavR f1f9209814 Creatures now auto-equip shields (Fixes #3704) 8 years ago
Koncord 97dd8704a3 Ignore ping packets 8 years ago
Allofich 5e992a0342 Fix attempting to access NPC stats on creatures 8 years ago
Assumeru 1a073ca642 Fix teleportation being unreachable 8 years ago
Koncord dbbdb1071c Use default FindLua51 instead homebrew 8 years ago
Allofich eee49b7ea7 Make dispel an instant effect again (Fixes #3695) 8 years ago
scrawl 80c008906b Fix texture coordinates 8 years ago
scrawl 48a23d61b2 Mask out water in global map overlay 8 years ago
scrawl 7b5f3e3cdc Fix crash in ProjectileManager when a sound id fails to play or is not found 8 years ago
scrawl 708009eac4 Merge pull request #1158 from logzero/move3
[RFC] Movement solver experiments
8 years ago
scrawl 212e85e810 Merge pull request #1174 from Allofich/combat
Adjustments to AI combat engaging and disengaging
8 years ago
scrawl da3815f5a6 Merge pull request #1179 from Armada651/fix-audio-cutoff
OpenAL_Output: When a source is finished, rewind it instead of stopping it.
8 years ago
logzero dbf0fa6766 Skip stepping if movement tracer hits actor. 8 years ago
David Cernat 59c3dbe6af Merge pull request #120 from OpenMW/master while resolving conflicts
# Conflicts:
#	README.md
8 years ago
Koncord b9c3849cc7 Change keycode to scancode 8 years ago
Koncord 7595b33461 Implement spellbook 8 years ago
Marc Zinnschlag dedd95f52a Merge remote-tracking branch 'miroslavr/save-cleanup' 8 years ago
Jules Blok e9d8ff532f OpenAL_Output: When a source is finished, rewind it instead of stopping it.
This works around a bug in the MacOS OpenAL implementation.
8 years ago
David Cernat fba4878fee Merge pull request #118 from OpenMW/master
Add OpenMW changes up to 27 Dec
8 years ago
MiroslavR c9dd63af8d Merge pull request #1171 from NeveHanter/travel-followers-cost
Implemented "paying" for travelling followers
8 years ago
NeveHanter 8568cd049f Removed "less" character from the documentation by the requested opportunity. 8 years ago
Allofich 54fa921dad Change some AI combat engagements to not need LOS 8 years ago
Allofich 6fa0354a17 Make AI attack player also if it attacks follower 8 years ago
Allofich 5a6ea4e84e Cleanup 8 years ago
Allofich e10c4d8814 Stop combat between AI when canFight is false 8 years ago
David Cernat 5bdfb72752 Merge pull request #116 from OpenMW/master
Add OpenMW changes up to 26 Dec
8 years ago
Allofich e8c7ad2f4b Change environment check to canFight check
Instead of just checking that combatants are in compatible environments,
allow combat if in attack range using canFight. Together with previous
commit, fixes #3690.
8 years ago
Allofich 588442b6cc Make enemies start combat with player followers
Recreates vanilla behavior of enemies starting combat with player
followers and escorters. (Fixes #3691)
8 years ago
logzero a5360483bb Back off slightly when we are touching something.
This can reduce the amount of movement solver failures significantly.
I've observed a drop of 8 iteration cases by almost factor of ten.
8 years ago
logzero 00f3bfba27 Use tracer hit height to skip stepping up in movement solver. 8 years ago
MiroslavR c2b491cd70 ESSImporter: Convert last known exterior cell (Fixes #3693)
+ some research
8 years ago
logzero ab1724d3db Compare new velocity to the original velocity.
Using old velocity seems awkward,
probably a copypaste/refactoring bug.
8 years ago
logzero e58de5e410 Remove superfluous velocity reflection in movement solver.
The slide projection negates the reflection effect.
Just to be sure I've compared the resulting vectors
with and without reflection at runtime.
8 years ago
NeveHanter ff4aba2a6e Moved duplicated code to common ActionTeleport static method and reordered travel price calculations 8 years ago
MiroslavR 5f234f8952 Dialogue: "PC Rank" condition now uses speaker's faction if "PC Faction" is not given (Fixes #3689) 8 years ago
MiroslavR 87fd011a28 Clean-up saves by dropping references with invalid RefNums (Fixes #1956) 8 years ago
scrawl cf496287f7 Silence static analysis warnings 8 years ago
logzero 50fd913058 Refactor stepMove function into a Stepper object
to be able to reuse up stepper results
for successive movement solver iterations.
This can reduce the number of convex casts
almost by half in some cases.
8 years ago
logzero 4f6e65e481 Apply sliding upward check to new velocity.
This helps to capture the case where new velocity
only differs in the z component (normal pointing up).
TODO: Find a better way to handle the normal pointing up case.
8 years ago
logzero 0b08802910 Integrate MinStep move attempt into stepMove.
This can save 1 to 3 convex casts per iteration.
8 years ago
logzero 25a0219e4d Use cosine of max slope angle for walkable slope checks in movement solver. 8 years ago
logzero 561e0cbbf9 Use squared length for distance checks in movement solver. 8 years ago
scrawl dc1f788cff Use osg::PI over M_PI 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
NeveHanter 15cd3c178b Clamp price multiplication to 1, as it resulted in player alone traveling at no fee. 8 years ago
NeveHanter 8902bb5b13 Player now pays for the following actors when travelling, with the exception of the first follower who travels for free, refactored getFollowers to getActorsFollowing/getActorsSidingWith 8 years ago
David Cernat bf0a96d552 Merge pull request #114 from OpenMW/master while resolving conflicts
# Conflicts:
#	.travis.yml
8 years ago
Koncord 11be8ed005 Rename copyOldLog to renameOldLog 8 years ago
Koncord e44ebca0aa Keep old client logs 8 years ago
Koncord f08ab0b161 Keep old server logs 8 years ago
MiroslavR cd13570230 ESSImporter: Import mark location 8 years ago
scrawl 6140768783 Enable waterCollision after moving the player above water (Fixes #3672) 8 years ago
David Cernat 973db7c78a Merge pull request #113 from OpenMW/master
Add OpenMW commits up to 17 Dec
8 years ago
Aussiemon 2f66b91ac5 Added check to prevent attempted wandering of empty paths 8 years ago
scrawl 913a8fe1bd Merge pull request #1160 from Aussiemon/actorupdatecollision
[Do not merge yet] Added check before attempting to remove actor's collision object
8 years ago
Aussiemon b794aa7c2f Helper methods for updateCollisionMask(), prevent water collision being removed twice, remove Bullet 2.8.5 methods 8 years ago
scrawl f8690dcd20 Set the drag-and-drop state after initiating the drag, not before (Fixes #3134) 8 years ago
scrawl cca75499ee Clear the Skeleton's bone cache when a node is added/removed (Fixes #3663) 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
Marc Zinnschlag 34389e15cd Merge remote-tracking branch 'origin/master' 8 years ago
Marc Zinnschlag 827c78a4cd added text column to ref id table (books) 8 years ago
Koncord 804259b2c9 Change some printf to LOG_MESSAGE_SIMPLE
printf is not streamed to files
8 years ago
Koncord 2eda48acca Fix issue #111 8 years ago
Koncord f74734cfba Fix server crash if player is not fully connected 8 years ago
Koncord 3ee82a761b Remove redundant include 8 years ago
Koncord 4371a65fc6 fix spaces 8 years ago
Koncord 9ca206dda9 Add hooks for containers 8 years ago
Koncord 536715cf46 Cleanup tes3mp headers 8 years ago
Leon Krieg 12c8c3276a Disable NPC collision only when death animation has finished (#3666) 8 years ago
Leon Krieg 739cd5ba45 Fixed more spelling mistakes 8 years ago
Aussiemon 7c2a088b34 Added check before removing water collision object from world 8 years ago
Aussiemon e30dfb13d3 Added check before attempting to remove actor's collision object from world 8 years ago
Leon Krieg c7b4b2cdd7 Fixed multiple spelling mistakes 8 years ago
scrawl 8bdd5d1131 Merge pull request #1151 from Aussiemon/projectilelightsfix
Update to implementation of projectile lights
8 years ago
mrohrlach 71e74f5a93 Moved projectile light calculation to separate method 8 years ago
MiroslavR 76ee5845ac Fix swish sound ID and play swish sound effects for all creatures (Fixes #3653) 8 years ago
MiroslavR 8c97ac269d Remove item shadows properly (Fixes #3652) 8 years ago
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