Skip to content

Problems with: es usermsg fade #18

@ManifestManah

Description

@ManifestManah

When I type in the usermsg fade command and apply it to my userid (12) then I encountered an error.

rcon es usermsg fade 12 1 150 50 55 125 55 200

[SP] Caught an Exception:
Traceback (most recent call last):
  File "../addons/source-python/plugins/es_emulator/logic.py", line 103, in __call__
    es.addons.callBlock(self.block_name)
  File "../addons/source-python/plugins/es_emulator/eventscripts/es.py", line 356, in callBlock
    self.Blocks[blockname]()
  File "../addons/source-python/plugins/es_emulator/eventscripts/_libs/python/cmdlib.py", line 172, in callbackServer
    cmd_manager.callback(cmd_manager.server_commands, es.getargv(0))
  File "../addons/source-python/plugins/es_emulator/eventscripts/_libs/python/cmdlib.py", line 111, in callback
    cmdlist[name].execute(self.CMDArgs(es.getargv(x) for x in range(1, es.getargc())))
  File "../addons/source-python/plugins/es_emulator/eventscripts/_libs/python/cmdlib.py", line 206, in execute
    self.callback(args)
  File "../addons/source-python/plugins/es_emulator/eventscripts/corelib/usermsglib/usermsglib.py", line 30, in usermsg_cmd
    usermsg.fade(args[1], args[2], args[3], args[4], args[5], args[6], args[7], args[8])
  File "../addons/source-python/plugins/es_emulator/eventscripts/_libs/python/usermsg.py", line 54, in fade
    Color(red, green, blue, alpha),

Boost.Python.ArgumentError: Python argument types in
    Color.__init__(Color, str, str, str, str)
did not match C++ signature:
    __init__(_object*, unsigned char r=0, unsigned char g=0, unsigned char b=0, unsigned char a=255)


L 01/24/2018 - 20:10:15: rcon from "62.107.68.109:63208": command "es usermsg fade 12 1 150 50 55 125 55 200"
 Date          : 2018-01-24 19:20:55.598770
 OS            : Linux-4.9.13eorfix-x86_64-with-debian-8.10
 Game          : csgo
 SP version    : 633
 Github commit : d9f2cd6567c0d86303b4cade575af1d0b4af463a
 Server plugins:
    00: Source.Python, (C) 2012-2018, Source.Python Team.
 SP plugins:
    00: es_emulator, https://github.com/Ayuto/EventScripts-Emulator
    01: wcs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions