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
scrawl
4a62273d6e
Merge pull request #1134 from MiroslavR/review-spells
...
Show starting abilities, powers and spells in stat-review window
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
scrawl
99521fe6f4
Merge pull request #1130 from lysol90/master
...
More updates to bump map tutorial
8 years ago
Joakim Berg
3adf69f91e
Update convert_bump_mapped_mods.rst
8 years ago
scrawl
0f97d856ab
Merge pull request #1133 from MiroslavR/gmst-defaults
...
Fix default values of some GMSTs
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
a7f081dfa5
Remove out-of-date changelog
8 years ago
David Cernat
3a733eb122
Make tes3mp includes consistent
8 years ago
scrawl
2da4de85be
Merge pull request #1132 from MiroslavR/aiflee
...
Implement fleeing AI
8 years ago
David Cernat
faea5221d3
Use LocalPlayer's updateInventory() every cell change, not every frame
8 years ago
Koncord
19240b825d
Fix macro for MSVC
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
b57ed2c119
Fix parameter type mismatch
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