David Cernat
60cf623455
[Client] Make DedicatedActors transition into LocalActors when eligible
2017-05-05 07:37:09 +03:00
scrawl
8d84869432
Fix commit 8f71b65d38
(don't overwrite the previous user data)
...
This resulted in a crash/corruption because the KeyframeController, for performance reasons, does not check that the expected user data is there and of correct type.
(Fixes #3829 )
2017-05-05 05:27:00 +02:00
David Cernat
06f3c07116
[Server] Only read Actor packets from players who are still authorities
2017-05-05 06:13:34 +03:00
David Cernat
206c9cc357
[Client] Use CellController pointers to make code easier to read
2017-05-05 04:58:44 +03:00
David Cernat
e05adbfe65
[Client] Add better debug for Actor cell changes
2017-05-05 04:46:40 +03:00
David Cernat
950a8eae3d
[Client] Move Actors to Cells rather than reinitialize them from scratch
2017-05-05 03:52:41 +03:00
David Cernat
8b8d55e8d3
[Client] Set a very high processing range for AI for the time being
2017-05-05 03:17:28 +03:00
David Cernat
8d41a0c53b
[Client] Make LocalActor initialization include newly spawned Actors
2017-05-05 02:46:16 +03:00
David Cernat
79691254a4
Merge pull request #210 from OpenMW/master
...
Add OpenMW commits up to 3 May 2017
2017-05-03 17:44:08 +03:00
Marc Zinnschlag
a2e863e7dd
Merge remote-tracking branch 'origin/master'
2017-05-03 14:31:21 +02:00
Andrei Kortunov
4d927439ca
Spell priority: item wearing check when disintegrate weapon/armor
2017-05-03 11:13:35 +04:00
Koncord
93edd67681
[Client] Use boolean var instead requestQuit or throwing runtime_error
2017-05-03 14:52:32 +08:00
Koncord
e0139c33b3
[Client] Remove destructor in Cell
2017-05-03 14:46:25 +08:00
Koncord
4eb02af8fb
[Client] Use __WINDOWS define
2017-05-03 14:44:38 +08:00
Koncord
8fa8b8d310
[General] Add __WINDOWS define
2017-05-03 14:44:16 +08:00
Koncord
47e6820f97
[General] Move printWithWidth and intToHexStr to components
2017-05-03 14:38:44 +08:00
Andrei Kortunov
d598809ac6
Spell priority: check spell resistance, check if actor is already has a non-magnitude effect
2017-05-03 10:35:56 +04:00
David Cernat
34e77c5dae
[Client] Initialize Actors based on the guid of an ActorAuthority packet
2017-05-03 04:47:04 +03:00
David Cernat
e01cadad23
[Server] Send ActorAuthority packets to all players who loaded the cell
2017-05-03 04:45:55 +03:00
David Cernat
63dd2d9246
[General] Remove code related to ActorAuthority packets that is not used
2017-05-03 04:43:59 +03:00
David Cernat
0b40cb8919
[Client] When there are more client than server plugins, print them all
2017-05-03 03:14:11 +03:00
David Cernat
92e277d75d
[Client] Prevent application hang on Windows when plugins don't match
2017-05-03 02:17:19 +03:00
David Cernat
0284f18876
[Client] Replace plugin load order message with a clearer one at the top
2017-05-03 02:15:14 +03:00
David Cernat
1dbe9f0eaa
[Client] Print plugin comparison in a better-looking way on Windows
2017-05-03 01:51:47 +03:00
David Cernat
f80a16b897
[Client] Don't use try/catch when printing missing plugins
...
Also move load order note to bottom where it fits better.
2017-05-03 00:15:43 +03:00
David Cernat
4294508082
[Client] Don't print null for missing plugins when comparing with server
2017-05-02 23:22:37 +03:00
David Cernat
c3c04bbfc3
[General] Make coding style consistent
2017-05-02 22:47:58 +03:00
Koncord
afcf5a7fc8
[Client] Fix segmentation fault
2017-05-03 02:43:58 +08:00
Koncord
ccae9590cc
[Client] Fix comparison between signed and unsigned integer expressions
2017-05-03 02:43:00 +08:00
Koncord
01bdbfecfb
[Client] Fix wrong checksum collection
2017-05-03 02:41:36 +08:00
Koncord
7bee82cedb
[Client] Add notification about strict order
2017-05-02 23:50:36 +08:00
Koncord
f6bea7a114
[Client] Read answer about ID_GAME_PREINIT from server
2017-05-02 23:37:18 +08:00
Koncord
bda9a76d29
[Server] Send server plugin list to client
2017-05-02 23:33:50 +08:00
Koncord
931a5896ec
[General] Improve PacketPreInit
2017-05-02 23:31:30 +08:00
Koncord
f00c4dc107
[Server] Improve preload logic for parsing plugin lists
2017-05-02 20:21:08 +08:00
Koncord
5ddad6a4c6
[Server] Implement getPluginListSample()
2017-05-02 20:21:08 +08:00
Koncord
b223d0fa1e
[Server] Register new callback
2017-05-02 20:21:08 +08:00
PlutonicOverkill
829560719e
Make name highlighting more consistent and only for variable names
2017-05-02 17:28:42 +12:00
David Cernat
377aa9b6c9
[Server] Refresh cellActorList's count after removing Actors from it
2017-05-02 03:39:00 +03:00
David Cernat
cad3eb8968
[Client] Iterate through CellStore's mergedRefs when initializing Actors
2017-05-02 03:31:40 +03:00
David Cernat
ebf9df3fe2
[Client] Add getMergedRefs() method to CellStore
2017-05-02 03:29:52 +03:00
David Cernat
f59609fcd7
[Client] Fix actor memory leaks, part 2
2017-05-02 02:45:18 +03:00
David Cernat
9b58973929
[Client] Remove variable added by tes3mp to CellStore that is not used
2017-05-02 02:42:37 +03:00
David Cernat
83ba4b62b1
[Server] Remove Actors from a Cell's ActorList when they change cells
2017-05-02 01:39:08 +03:00
David Cernat
a77bd6652f
[Client] Read ActorPosition packets sent from Lua script cell loads
2017-05-01 21:55:50 +03:00
David Cernat
4c35c328a9
[Server] Add SendActorPosition() script function
2017-05-01 20:58:40 +03:00
David Cernat
e5e888ac21
[Server] Add script functions for checking what data an Actor has
2017-05-01 20:55:36 +03:00
David Cernat
fafed96bf4
[Server] Store data from ActorPosition in the ActorLists of Cells
2017-05-01 20:42:54 +03:00
David Cernat
1a699329e5
[General] Set new BaseActor booleans in corresponding packets
2017-05-01 20:18:22 +03:00
David Cernat
730df061b3
[General] Add hasPositionData and hasStatsDynamicData bools to BaseActor
2017-05-01 19:44:23 +03:00