David Cernat
437854180c
[Client] Clean up variable & function names in mwmp/Main.cpp
6 years ago
David Cernat
e96091fd6b
[General] Use more consistent variable names for password, address, etc.
6 years ago
David Cernat
1b1e5e86d1
[Client] Avoid sending CellStates to server after initialization
...
Although b4e8560698
made players instantly able to see each other on minimalist servers that did not change their cells from the default, it created problems with the default CoreScripts where players need to be logged in before receipt of a CellStates packet from them is taken into account, with the result being that a player was recorded as having loaded their initial cells on the server's C++ side but not on the Lua side.
It may simply be best to expect servers to set player cells.
7 years ago
David Cernat
28f1c1b0d3
[General] Rework CharGen slightly for clarity purposes
...
Previously, charGenStage.end was doing double duty as both the variable indicating the number of CharGen stages and – when set to 0 – the variable indicating that CharGen was over. The latter role is now filled by a new boolean.
(cherry picked from commit 926106cf8c
)
7 years ago
David Cernat
9d46de88e0
[Client] Send cell states correctly after inputting name
...
Previously, initial cell states were sent in LocalPlayer::processCharGen() and were ignored by the server because the player was not yet regarded as loaded. The result was that existing players logging in could not see each other until they went through at least one cell change.
(cherry picked from commit b4e8560698
)
# Conflicts:
# apps/openmw/mwmp/LocalPlayer.cpp
7 years ago
David Cernat
c899525e30
[General] Use address keys with clearer meaning in tes3mp config files
8 years ago
Koncord
0ed0d2417b
[Client] Make foreach style consistent with other
8 years ago
Koncord
58a6a8c3bc
[Client] Update LocalPlayer to C++11
8 years ago
Koncord
6222c20e82
[Client] Convert MechanicsHelper to namespace
8 years ago
Koncord
565889ccbc
[Client] Add commit hash to password
8 years ago
David Cernat
809b4d78ba
[Client] Split off DedicatedPlayer and PlayerList into different files
8 years ago
Koncord
eda74ddf44
[Client] Fix memory leaks
8 years ago
David Cernat
e4a261ea2e
[Client] Remove unused include and variables, fixing warnings
8 years ago
David Cernat
82e455f736
[Client] Organize headers
8 years ago
David Cernat
0aaf68c994
[Client] Rename mwmp::Players into mwmp::PlayerList for clarity
8 years ago
David Cernat
cf155c9279
[Client] Add MechanicsHelper and move linear interpolation code to it
8 years ago
David Cernat
678edffb5a
[Client] Rename updateDynamicStats() into updateStatsDynamic()
8 years ago
David Cernat
d14102716d
[Client] Retool LocalActors and DedicatedActors for ActorPosition packet
8 years ago
David Cernat
1101ff1e28
[Client] Update DedicatedActors every frame to allow interpolation
8 years ago
David Cernat
e8638d9884
[Client] Add basic position sync for NPCs
8 years ago
David Cernat
9beaf9b7a1
[Client] Initialize and update LocalActors while their cells are active
8 years ago
David Cernat
679e790d8d
[Client] Rename WorldController into CellController to avoid confusion with Networking's WorldPacketController
8 years ago
Koncord
690211ad99
[General] Extract BaseEvent & BasePlayer from packets to functions
...
Move Send and Read functions to BasePacket
8 years ago
Koncord
cea1425db1
[Client] Remove redundant newlines & keep ~120 columns
8 years ago
Koncord
a10cf4360c
[Client] Print all esm/esp files in load queue with idx & CRC32 checksum
8 years ago
Koncord
9199446edd
[Client] Add Files::Collections to Main::init() arguments
8 years ago
Koncord
ea9c31a8f7
[Client] Add password to client params and to config file
8 years ago
David Cernat
04d45b9dbb
[General] Rename packets to show they are for players only, not NPCs
8 years ago
Koncord
536715cf46
Cleanup tes3mp headers
8 years ago
Koncord
753dc50131
Fix crash if connection has failed
8 years ago
David Cernat
3a733eb122
Make tes3mp includes consistent
8 years ago
Koncord
e2522fa366
Simplify LOG macros
8 years ago
David Cernat
fa9d6e810e
Use lowerCamelCase in tes3mp client function names like OpenMW does
8 years ago
David Cernat
3dcb8738c1
Create placeholder WorldController class
8 years ago
David Cernat
4621363b65
Make capitalization reflect name of filename, and remove unused check
8 years ago
David Cernat
05cfc918f5
Temporarily use a whitelist for scripts instead of a blacklist
8 years ago
David Cernat
c205e793cb
Add and implement ID_SCRIPT_MEMBER_SHORT
8 years ago
David Cernat
65363b0dd1
Avoid sending packets for 9 more ingame scripts
8 years ago
David Cernat
47854d631b
Avoid sending packets for 2 more ingame scripts
8 years ago
David Cernat
c99c3b1486
Avoid sending packets for 3 additional spammy ingame scripts
8 years ago
David Cernat
75f6d82f08
Add a way of filtering out ingame scripts for upcoming script packets
8 years ago
David Cernat
f218613231
Rename client Networking's GetPacket method into GetPlayerPacket
8 years ago
Koncord
fa0a55c2a9
Fix use of freed memory
8 years ago
David Cernat
728a09e423
Reorder functions in LocalPlayer and make their names more consistent
8 years ago
David Cernat
ce4b326b02
Rename ID_GAME_UPDATE_BASESTATS into ID_GAME_DYNAMICSTATS_CURRENT
8 years ago
Koncord
24617589e4
Fix packet spam
8 years ago
Koncord
96e2d749c7
New auth protocol
8 years ago
David Cernat
263efa9988
Fix formatting, part 2
8 years ago
Koncord
1b403719f5
Merged branch master into master
8 years ago
Koncord
997c62cc52
Add --connect option to client
8 years ago