Is that an accurate reflection of the EXACT string entered into the
command line with (or in this case, WITHOUT) '"' marks?  As written
there it appears to be four separate "commands":

lua display([

33

44m(Polaris): You say, "Test."[0

37m

One might suspect the odd ASCII 27th character (ESCape) in there but I
am assuming nothing!

The first will be picked up by the run-lua-code Alias if it is enabled
and it will fail to compile and thus produce a lua error (at least in
the Central Debug Console and possibly the "Errors" window in the Editor
if it is open/active); but the three remaining things will get sent to
the MUD to provoke whatever that would do with them at the time.

It could be that the OP was stuck with how to escape their use of the
';' character when it is registered as a command separate - which could
well be an issue!

The simplest "fix" would be (an option?) for the place where the input
is split into multiple commands to skip immediately adjacent *identical*
separator characters in the typed stream and to remove the second, on
the understanding that this will occur anywhere, even within "quoted
strings", thoughts anyone?

-- 
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/1674601

Title:
  Mudlet or game output hangs with crafted input

Status in Mudlet:
  Confirmed

Bug description:
  Steps to reproduce:

  * ensure your command separator is set to ;
  * connect to an IRE game like Lusternia.com and log in
  * do: lua display((Polaris): You say, "Test.")

  What happens: any input you enter is not reflected by the game. Mudlet
  still sends the input (confirmed by Wireshark) and Mudlet still
  receives output from the game (confirmed with ambient effects still
  showing).

  It makes it really hard to tell if it's Mudlet or the MUD with the
  issue since Mudlet is still sending and receiving data as far as I
  see.

  Reported by Pharanyx on Discord.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/1674601/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mudlet-makers
Post to     : mudlet-makers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mudlet-makers
More help   : https://help.launchpad.net/ListHelp

Reply via email to