Project

General

Profile

Bug / Fehler #676

If commands are failing, they are visible to everyone

Added by TheAssassin over 6 years ago. Updated over 6 years ago.

Status:
Done / Erledigt
Priority:
High / Hoch
Assignee:
Category:
Commands
Target version:
Start date:
04/24/2013
Due date:
% Done:

100%


Description

The #-commands that the server can't handle seem to be sent to all other players.

That means, only commands that fail produce this error.

Steps to reproduce:

  1. connect with two players, at least one admin
  2. as admin type: #moves delete
  3. as the other: look in the chat

History

#1 Updated by Hankus over 6 years ago

  • Assignee changed from Hankus to TheAssassin

I did "#blah fasel" on the server and Istha can't see it. Can you be a little more specific on that issue?

#2 Updated by TheAssassin over 6 years ago

  • Assignee changed from TheAssassin to Hankus

Shaun entered "#moves list delete" (I bet it was at least similar to that), I could see the whole command.
Earlier that week a "#pm" to a non-existant CN that was shown to me.

#3 Updated by Hanack over 6 years ago

  • Subject changed from Intentional/wrong #-commands are visible to everyone to If commands are failing, they are visible to everyone
  • Description updated (diff)

I think istha is right. Updated ticket description (steps to reproduce)

How to solve:

  • The command should report the lua error (maybe stack trace) in the chat
  • The say/teamsay events must return false in every case (maybe using lua's pcall)

#4 Updated by Hanack over 6 years ago

  • Status changed from New / Neu to Solved / Gelöst
  • Assignee changed from Hankus to Istha
  • % Done changed from 0 to 100

please test

#5 Updated by Istha over 6 years ago

  • Status changed from Solved / Gelöst to Done / Erledigt

Also available in: Atom PDF