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 initial move of script opcodes and registerExtensions functions to components/compiler 2013-08-06 20:38:41 -04:00
animationextensions.cpp [Client] Set packetOrigin for all ObjectList packets sent 2018-07-23 01:39:43 +03:00
animationextensions.hpp added animation-related script instructions 2011-11-21 14:08:44 +01:00
cellextensions.cpp Use ActionTeleport in COE/COC commands 2017-02-20 20:26:45 +01:00
cellextensions.hpp initial move of script opcodes and registerExtensions functions to components/compiler 2013-08-06 20:38:41 -04:00
compilercontext.cpp fixed for compiler not recognising script names in some situations 2015-10-08 14:01:29 +02:00
compilercontext.hpp Fixed more spelling mistakes 2016-12-15 13:09:40 +01:00
consoleextensions.cpp Remove empty line at the beginning of files 2015-08-18 23:06:12 +02:00
consoleextensions.hpp initial move of script opcodes and registerExtensions functions to components/compiler 2013-08-06 20:38:41 -04:00
containerextensions.cpp [General] Send certain packets only when logged in 2018-10-13 15:36:13 +03:00
containerextensions.hpp initial move of script opcodes and registerExtensions functions to components/compiler 2013-08-06 20:38:41 -04:00
controlextensions.cpp Check animation state for GetPCRunning and GetPCSneaking 2017-08-16 20:30:47 +04:00
controlextensions.hpp initial move of script opcodes and registerExtensions functions to components/compiler 2013-08-06 20:38:41 -04:00
dialogueextensions.cpp [General] Send certain packets only when logged in 2018-10-13 15:36:13 +03:00
dialogueextensions.hpp initial move of script opcodes and registerExtensions functions to components/compiler 2013-08-06 20:38:41 -04:00
extensions.cpp Remove empty line at the beginning of files 2015-08-18 23:06:12 +02:00
extensions.hpp initial move of script opcodes and registerExtensions functions to components/compiler 2013-08-06 20:38:41 -04:00
globalscripts.cpp [Client] Record type of each InterpreterContext for later checking 2018-07-23 00:46:07 +03:00
globalscripts.hpp fixed warning C4099: 2015-03-06 21:36:42 +13:00
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 initial move of script opcodes and registerExtensions functions to components/compiler 2013-08-06 20:38:41 -04:00
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 initial move of script opcodes and registerExtensions functions to components/compiler 2013-08-06 20:38:41 -04:00
ref.cpp Remove some including of mwbase/world.hpp 2015-02-09 17:45:48 +01:00
ref.hpp Remove some including of mwbase/world.hpp 2015-02-09 17:45:48 +01:00
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 initial move of script opcodes and registerExtensions functions to components/compiler 2013-08-06 20:38:41 -04:00
soundextensions.cpp [Client] Set packetOrigin for all ObjectList packets sent 2018-07-23 01:39:43 +03:00
soundextensions.hpp initial move of script opcodes and registerExtensions functions to components/compiler 2013-08-06 20:38:41 -04:00
statsextensions.cpp [Client] Combine methods for sending spell packets into a single one 2018-08-21 01:20:30 +03:00
statsextensions.hpp initial move of script opcodes and registerExtensions functions to components/compiler 2013-08-06 20:38:41 -04:00
transformationextensions.cpp [General] Send certain packets only when logged in 2018-10-13 15:36:13 +03:00
transformationextensions.hpp fix -Wnewline-eof warnings 2015-03-11 10:54:45 -04:00
userextensions.cpp Remove empty line at the beginning of files 2015-08-18 23:06:12 +02:00
userextensions.hpp initial move of script opcodes and registerExtensions functions to components/compiler 2013-08-06 20:38:41 -04:00