Project

General

Profile

Bug #1700

SpewStat bad argument crashing

Added by ClassicCoke over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
-
vbulletin_issue_id:

Description

If you call SpewStat with a bad argument, it crashes ogre.

I believe I tried "Reuse"

#1

Updated by Kannkor over 8 years ago

  • Status changed from New to In Progress

It would have been when you issued an invalid 3rd argument. Reuse is actually fine.

IE: !c me -spewstats all reuse

Works fine.

The last parameter (which I left blank), is where to send the information too. It has to be a valid innerspace command. In this scenario, the 3 acceptable ones, are oc (ogreconsole, which is the default if left blank), irc (for OgreIRC), or echo (for the regular console).

 

I can likely make this dump out of thread so it won't crash just give errors.

#2

Updated by Kannkor over 8 years ago

  • Status changed from In Progress to Resolved

With OgreBot 17.105

Added a check to ensure where to send the information to is a valid innerspace command.

 

17:56:25: !c -spewstats all deity IAmNoob
17:56:25: ToonName-> Tried to execute a SpewStat to *IAmNoob* which is not a valid innerspace command.

#3

Updated by Kannkor over 8 years ago

Also took it out of Ogrebot's main thread, so if some how you do manage to still crash it, it won't crash Ogrebot.

Also available in: Atom PDF