openmw-tes3coop/apps/openmw/mwscript
David Cernat d9dd7073cf [General] Send certain packets only when logged in
Previously, client mods adding packet-sending scripts to the spawn area made clients send the associated packets as soon as they inputted their character name when joining a server using those mods. This made the clients either get disconnected for not replying to a handshake first, or it made them get kicked for sending object packets that are disallowed for players who are not logged in.

To fix this, LocalPlayer's hasFinishedCharGen() has been replaced with isLoggedIn(), because the former was already returning true when players inputted their names.
2018-10-13 15:36:13 +03:00
..
docs Start cell border debug drawing 2018-06-13 01:48:31 +02:00
aiextensions.cpp [Client] Send ActorAI with combat when an NPC's fight is set to 100 2018-07-14 02:55:38 +03:00
aiextensions.hpp
animationextensions.cpp [Client] Set packetOrigin for all ObjectList packets sent 2018-07-23 01:39:43 +03:00
animationextensions.hpp
cellextensions.cpp Use ActionTeleport in COE/COC commands 2017-02-20 20:26:45 +01:00
cellextensions.hpp
compilercontext.cpp
compilercontext.hpp Fixed more spelling mistakes 2016-12-15 13:09:40 +01:00
consoleextensions.cpp
consoleextensions.hpp
containerextensions.cpp [General] Send certain packets only when logged in 2018-10-13 15:36:13 +03:00
containerextensions.hpp
controlextensions.cpp Check animation state for GetPCRunning and GetPCSneaking 2017-08-16 20:30:47 +04:00
controlextensions.hpp
dialogueextensions.cpp [General] Send certain packets only when logged in 2018-10-13 15:36:13 +03:00
dialogueextensions.hpp
extensions.cpp
extensions.hpp
globalscripts.cpp [Client] Record type of each InterpreterContext for later checking 2018-07-23 00:46:07 +03:00
globalscripts.hpp
guiextensions.cpp Merge pull request #360 from TES3MP/0.6.1-openmw-updates while resolving conflicts 2017-12-25 02:25:01 +02:00
guiextensions.hpp
interpretercontext.cpp [General] Send certain packets only when logged in 2018-10-13 15:36:13 +03:00
interpretercontext.hpp [Client] Record type of each InterpreterContext for later checking 2018-07-23 00:46:07 +03:00
locals.cpp Check if the local was not found, just for sure 2018-06-25 11:21:00 +04:00
locals.hpp Implement 'Show' script instruction 2016-02-27 13:40:53 +01:00
miscextensions.cpp [General] Send certain packets only when logged in 2018-10-13 15:36:13 +03:00
miscextensions.hpp
ref.cpp
ref.hpp
scriptmanagerimp.cpp More consistent wording of errors/warnings 2017-03-04 21:48:31 +01:00
scriptmanagerimp.hpp Always print context for script warnings to remove the need for verbose option 2017-02-21 04:32:59 +01:00
skyextensions.cpp Fixes for building in MSVC 2017-06-13 19:38:12 +09:00
skyextensions.hpp
soundextensions.cpp [Client] Set packetOrigin for all ObjectList packets sent 2018-07-23 01:39:43 +03:00
soundextensions.hpp
statsextensions.cpp [Client] Combine methods for sending spell packets into a single one 2018-08-21 01:20:30 +03:00
statsextensions.hpp
transformationextensions.cpp [General] Send certain packets only when logged in 2018-10-13 15:36:13 +03:00
transformationextensions.hpp
userextensions.cpp
userextensions.hpp