MiroslavR
d97e9cfe7e
Fix InterpreterContext::updatePtr updating mLocals to the implicit ref's locals when interpreting a targeted global script ( Fixes #3738 )
...
The interpreter context of a targeted global script would point to the target's locals instead of the global script instance's locals when the target changed cell during script execution. Credit to scrawl for the solution.
8 years ago
David Cernat
27ac314cb1
[Server] Add script functions for getting world object refIds & refNums
8 years ago
David Cernat
b549da996e
[Server] On second thought, keep cell description as argument to them
8 years ago
David Cernat
5989bbd97e
[Server] Remove arguments from OnObjectPlace & OnObjectDelete callbacks
8 years ago
David Cernat
2cecce6c72
[Server] Use static WorldEvent variable in Networking
8 years ago
David Cernat
dddc253d70
[Client] Fix console message for LocalPlayer's cell change
8 years ago
David Cernat
f11df211fa
[Server] Add script functions for dealing w/ WorldEvents & WorldObjects
8 years ago
David Cernat
9f1e491a75
[General] Make WorldEvents store information about multiple objects
8 years ago
David Cernat
624b85347a
[Client] Create LocalEvent class and use it instead of WorldEvent
8 years ago
David Cernat
ee86c9161d
[Client] Set InterpreterContext's sendPackets to false in constructor
8 years ago
Koncord
b658adf7b0
[Server] Killed another tab character
8 years ago
David Cernat
9c3a37a790
[Server] Make GetCellStateDescription's cstrDescription null-terminated
8 years ago
Koncord
1c810ecad5
[Server] Fix memory leak in GetCellStateDescription()
8 years ago
David Cernat
7efb374f75
[Client] Avoid fetching guiMessageBox.type again for every condition
8 years ago
David Cernat
0ccfe66212
[Server] Send stable C string in GetCellStateDescription()
8 years ago
David Cernat
4f288ab558
[Server] Read contents of ID_PLAYER_CELL_STATE
8 years ago
David Cernat
6331c55bc7
[Server] Add colons missing from CELLAPI
8 years ago
David Cernat
2f644e9b14
[Server] Add script functions for getting info about cell state changes
8 years ago
David Cernat
70823d011d
[Server] Define CELLAPI
8 years ago
David Cernat
0cc20d26ce
[Server] Move script functions for cells to a new CellFunctions class
8 years ago
David Cernat
5a22032a41
Merge branch 'master' of https://github.com/TES3MP/openmw-tes3mp
8 years ago
David Cernat
62f359e250
[Server] Rename Translocations into Positions
8 years ago
Koncord
ab3c2544b5
[Client] Use constant instead magic value
8 years ago
Koncord
34a46e6811
[Client] Simplify hasFinishedCharGen method
8 years ago
David Cernat
96bd21a7ca
[Server] Rename OnPlayerCellLoad to OnPlayerCellState, add action param
8 years ago
David Cernat
244da19a51
[General] Turn ID_PLAYER_CELL_LOAD into ID_PLAYER_CELL_STATE for clarity
8 years ago
David Cernat
055376c8ee
[Client] Only send ID_PLAYER_CELL_LOAD when CharGen is over
8 years ago
David Cernat
b5b5551fcd
[Client] Add LocalPlayer::hasFinishedCharGen() method
8 years ago
David Cernat
97aabf4a7d
[General] Sketch out sending of cell loading/unloading info in packets
8 years ago
David Cernat
158d606477
[General] Leave one blank line at the end of every tes3mp code file
8 years ago
David Cernat
2158e94a96
[Client] Fix setting of attack parameters after recent changes
8 years ago
David Cernat
73d39c1a0a
[General] Stop using virtual functions in BasePlayer, part 2
8 years ago
David Cernat
63c8a98083
[General] Stop using virtual functions in BasePlayer
8 years ago
David Cernat
c62a575a9e
[Server] Change order of words in the names of script callbacks
8 years ago
David Cernat
1d9c6ddd81
[General] Add placeholders for the new packet ID_PLAYER_CELL_LOAD
8 years ago
David Cernat
25e535e8ad
[Server] Fix integer types for new script callbacks
8 years ago
David Cernat
f9feaf05f0
[Server] Add script callbacks for object placement and deletion
8 years ago
David Cernat
35e453dec3
[General] Sketch out most of functionality for journal saving/loading
8 years ago
Koncord
c3c3c57a98
[Browser] Fix errors for Windows build
8 years ago
Koncord
843a18f347
[Browser] Fix errors and warnings in MSVC
8 years ago
Koncord
db75c4874c
[Browser] Fix declaration of 'data' hides class member
8 years ago
David Cernat
0cd7c3ea3d
Merge pull request #131 from OpenMW/master
...
Add OpenMW commits up to 21 Jan
8 years ago
Koncord
dc3f87a81a
[Browser] Change iterator types in "for" loops to C++11 style
8 years ago
Koncord
33339fa786
[Browser] Rename addServer to addServerAndUpdate
8 years ago
Koncord
1bd4db5e8b
[Browser] Implement update info by index
8 years ago
Koncord
a86739f080
Add addServer by address method
8 years ago
Koncord
ecf82a5df7
Save/Load favorites in browser
8 years ago
Koncord
777a570d93
Init modName
8 years ago
Koncord
4c2294d105
Override closeEvent in MainWindow
8 years ago
Koncord
86d8b0630f
Do not allow override ServerModel
8 years ago
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