The error has nothing to do with the code. Somewhere you are using wcs_getweapon without an "es" in front of it.And the second Error comes from playerset clip.
Sep 11 19:26:26: [SP] Загрузка плагина 'wcs'...Sep 11 19:26:26: Sep 11 19:26:26: [SP] Перехвачено исключение:Sep 11 19:26:26: Traceback (most recent call last):Sep 11 19:26:26: File "../addons/source-python/packages/source-python/plugins/command.py", line 162, in load_pluginSep 11 19:26:26: plugin = self.manager.load(plugin_name)Sep 11 19:26:26: File "../addons/source-python/packages/source-python/plugins/manager.py", line 194, in loadSep 11 19:26:26: plugin._load()Sep 11 19:26:26: File "../addons/source-python/packages/source-python/plugins/instance.py", line 74, in _loadSep 11 19:26:26: self.module = import_module(self.import_name)Sep 11 19:26:26: File "../addons/source-python/plugins/wcs/wcs.py", line 61, in <module>Sep 11 19:26:26: from wcs import adminSep 11 19:26:26: File "../addons/source-python/plugins/wcs/admin.py", line 19, in <module>Sep 11 19:26:26: from wcs import changerace_adminSep 11 19:26:26: File "../addons/source-python/plugins/wcs/changerace_admin.py", line 22, in <module>Sep 11 19:26:26: from wcs import changeraceSep 11 19:26:26: File "../addons/source-python/plugins/wcs/changerace.py", line 8, in <module>Sep 11 19:26:26: from wcs import configSep 11 19:26:26: File "../addons/source-python/plugins/wcs/config.py", line 46, in <module>Sep 11 19:26:26: core_config.write()Sep 11 19:26:26: File "../addons/source-python/packages/source-python/config/manager.py", line 281, in writeSep 11 19:26:26: open_file, section, _old_config, spaces)Sep 11 19:26:26: File "../addons/source-python/packages/source-python/config/manager.py", line 487, in _write_cvar_sectionSep 11 19:26:26: default.format(section.default))Sep 11 19:26:26: Sep 11 19:26:26: UnicodeEncodeError: 'ascii' codec can't encode characters in position 3-13: ordinal not in range(128)Sep 11 19:26:26: Sep 11 19:26:26: Sep 11 19:26:26: [SP] Плагин 'wcs' не может быть загружен.
The fix for this will be ready by tonight
The fix is beeing integrated into Source Python which can take a little while, but it should be included in the next version
@ServerCommand('wcs_getinfo')def getinfo(command): userid = int(command[1]) if exists(userid): level = userid.all_races[userid.currace]['level'] needed = config.cfgdata['interval']*level if level else config.cfgdata['interval'] xp = userid.all_races[userid.currace]['xp'] race = userid.currace wcs_giveinfo queue_command_string('wcs_ultileft %s %s %s %s %s' % (userid, needed, xp, level, race))
That sounds a lot like the keyinfo menu I made.Did you try to set "wcs_activate_keymenu" in the file csgo/cfg/source-python/wcs/wcs_core.cfg to 1?
es wcs_nearcoord wcs_targetid server_var(wcs_targetteam) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_radius) "es_exists exath userid server_var(wcs_targetid);if (server_var(exath) = 1) then es_xdoblock wcs/tools/holliday/athena/shieldexe"
Just remove that whole es_exist part. wcs_nearcoord only targets Players that are in range and is also a check If they exist.All you need is the es_doblock Part. I'll have a Look at what is going on later but for now that should fix it!
Sep 17 15:04:25: message repeated 2 times: []Sep 17 15:04:25: [SP] Перехвачено исключение:Sep 17 15:04:25: Traceback (most recent call last):Sep 17 15:04:25: File "../addons/source-python/plugins/wcs/wcs.py", line 1480, in on_tickSep 17 15:04:25: level = wcsplayers[userid].all_races[race]['level']Sep 17 15:04:25: Sep 17 15:04:25: KeyError: 'Undead Scourge'Sep 17 15:04:25: Sep 17 15:04:25: message repeated 2 times: []Sep 17 15:04:25: [SP] Перехвачено исключение:Sep 17 15:04:25: Traceback (most recent call last):Sep 17 15:04:25: File "../addons/source-python/plugins/wcs/wcs.py", line 1480, in on_tickSep 17 15:04:25: level = wcsplayers[userid].all_races[race]['level']Sep 17 15:04:25: Sep 17 15:04:25: KeyError: 'level'
newest version should fix those errors For future problems, please make a new post in the "Submit your bugs!" post