Implement SUPPRESS-GO-AHEAD telnet option
With the current setup, the server will negotiate SUPPRESS-GO-AHEAD as follows: Server sends WILL SUPPRESS-GO-AHEAD Client will then send or reply with DO/DONT SUPPRESS-GO-AHEAD Evennia will abide by the instruction of the client, but defaults to suppressing GA messages after every line.
This commit is contained in:
parent
f0d632cb51
commit
63eec3a659
3 changed files with 15 additions and 8 deletions
|
|
@ -194,7 +194,7 @@ def client_options(session, *args, **kwargs):
|
|||
"MCCP", "SCREENHEIGHT",
|
||||
"SCREENWIDTH", "INPUTDEBUG",
|
||||
"RAW", "NOCOLOR",
|
||||
"MUDPROMPT"))
|
||||
"NOGOAHEAD"))
|
||||
session.msg(client_options=options)
|
||||
return
|
||||
|
||||
|
|
@ -245,6 +245,8 @@ def client_options(session, *args, **kwargs):
|
|||
flags["NOCOLOR"] = validate_bool(value)
|
||||
elif key == "raw":
|
||||
flags["RAW"] = validate_bool(value)
|
||||
elif key == "nogoahead":
|
||||
flags["NOGOAHEAD"] = validate_bool(value)
|
||||
elif key in ('Char 1', 'Char.Skills 1', 'Char.Items 1',
|
||||
'Room 1', 'IRE.Rift 1', 'IRE.Composer 1'):
|
||||
# ignore mudlet's default send (aimed at IRE games)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue