[SM] Exception reported: Invalid convar handle 0 (error 4)[SM] Blaming: commands.smx[SM] Call stack trace:[SM] [0] SetConVarFloat[SM] [1] Line 645, C:\Users\Stephan\Downloads\sourcemod-1.9.0-git6206-windows\addons\sourcemod\scripting\commands.sp::DistanceRegister[SP] Caught an Exception:Traceback (most recent call last): File "../addons/source-python/plugins/wcs/commands.py", line 447, in push_forward force = float(command[5]) IndexError: Index out of range.
SP] Loading plugin 'es_emulator'...[EventScripts] Loaded esc[SP] Successfully loaded plugin 'es_emulator'.[SP] Loading plugin 'wcs'...CGameEventManager::AddListener: event 'wcs_gainxp' unknown. [SP] Encountered a Warning: File '../addons/source-python/packages/site-packages/sqlalchemy/dialects/sqlite/base.py', line 558: DeprecationWarning invalid escape sequence \d [SP] Encountered a Warning: File '../addons/source-python/packages/site-packages/sqlalchemy/dialects/sqlite/base.py', line 1331: DeprecationWarning invalid escape sequence \w [SP] Encountered a Warning: File '../addons/source-python/packages/site-packages/sqlalchemy/dialects/sqlite/base.py', line 1332: DeprecationWarning invalid escape sequence \( [SP] Successfully loaded plugin 'wcs'.
[SP] Encountered a Warning: File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/exp/exp.py', line 55: DeprecationWarning invalid escape sequence \: [SP] Encountered a Warning: File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/exp/exp.py', line 265: DeprecationWarning invalid escape sequence \) [SP] Encountered a Warning: File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/escinject/escinject.py', line 9: DeprecationWarning invalid escape sequence \^ [SP] Encountered a Warning: File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/escinject/escinject.py', line 9: DeprecationWarning invalid escape sequence \$ [SP] Encountered a Warning: File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/escinject/escinject.py', line 9: DeprecationWarning invalid escape sequence \* [SP] Encountered a Warning: File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/escinject/escinject.py', line 9: DeprecationWarning invalid escape sequence \+ [SP] Encountered a Warning: File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/escinject/escinject.py', line 9: DeprecationWarning invalid escape sequence \? [SP] Encountered a Warning: File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/escinject/escinject.py', line 9: DeprecationWarning invalid escape sequence \. [SP] Encountered a Warning: File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/escinject/escinject.py', line 9: DeprecationWarning invalid escape sequence \| [SP] Encountered a Warning: File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/escinject/escinject.py', line 9: DeprecationWarning invalid escape sequence \[ [SP] Encountered a Warning: File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/escinject/escinject.py', line 9: DeprecationWarning invalid escape sequence \] [SP] Encountered a Warning: File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/escinject/escinject.py', line 9: DeprecationWarning invalid escape sequence \{ [SP] Encountered a Warning: File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/escinject/escinject.py', line 9: DeprecationWarning invalid escape sequence \}
[SP] Caught an Exception:Traceback (most recent call last): File "../addons/source-python/packages/source-python/listeners/tick.py", line 80, in _tick self.pop(0).execute() File "../addons/source-python/packages/source-python/listeners/tick.py", line 161, in execute return self.callback(*self.args, **self.kwargs) File "../addons/source-python/packages/source-python/listeners/tick.py", line 606, in _execute self.callback(*self.args, **self.kwargs) File "../addons/source-python/plugins/wcs/mana.py", line 163, in info_repeat if Player.from_userid(player.userid).dead != 1: File "../addons/source-python/packages/source-python/players/_base.py", line 98, in from_userid return cls(index_from_userid(userid)) ValueError: Conversion from "Userid" (3) to "Index" failed
[SP] Encountered a Warning: File '../addons/source-python/packages/site-packages/sqlalchemy/dialects/sqlite/base.py', line 1331: DeprecationWarning invalid escape sequence \w
[SP] Caught an Exception:Traceback (most recent call last): File "../addons/source-python/plugins/wcs/commands.py", line 637, in _centertell userid = int(command[1]) ValueError: invalid literal for int() with base 10: ''
[SP] Caught an Exception:Traceback (most recent call last): File "../addons/source-python/packages/source-python/commands/auth.py", line 44, in __call__ return self.callback(*args) File "../addons/source-python/packages/source-python/menus/queue.py", line 267, in _menuselect_callback _radio_queues[index]._select(choice) File "../addons/source-python/packages/source-python/menus/queue.py", line 126, in _select next_menu = active_menu._select(self._index, choice) File "../addons/source-python/packages/source-python/menus/radio.py", line 316, in _select return super()._select(player_index, choice_index) File "../addons/source-python/packages/source-python/menus/radio.py", line 113, in _select self._player_pages[player_index].options[choice_index]) File "../addons/source-python/packages/source-python/menus/base.py", line 122, in _select return self.select_callback(self, player_index, choice_index) File "../addons/source-python/plugins/wcs/changerace.py", line 185, in changerace_menu_select wcs.wcs.wcsplayers[userid].changerace(choice.value) File "../addons/source-python/plugins/wcs/wcs.py", line 511, in changerace if racedb.races[self.race_name]['onchange']: File "../addons/source-python/packages/site-packages/configobj.py", line 554, in __getitem__ val = dict.__getitem__(self, key)
[SP] Caught an Exception:Traceback (most recent call last): File "../addons/source-python/packages/source-python/events/hooks.py", line 222, in _pre_game_event current_action = callback(game_event) File "../addons/source-python/plugins/wcs/commands.py", line 289, in pre_hurt player.health += int(absorb_dmg) NameError: name 'player' is not defined
[SP] Caught an Exception:Traceback (most recent call last): File "../addons/source-python/plugins/es_emulator/eventscripts/_libs/python/weaponlib/__init__.py", line 47, in __getitem__ return self.get(x) File "../addons/source-python/plugins/es_emulator/eventscripts/_libs/python/weaponlib/__init__.py", line 83, in get raise ValueError("No weapon info 'c'" 0nfo)ValueError: No weapon info '0' During handling of the above exception, another exception occurred: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/wcs/tools/xcommands/xcommands.py", line 30, in register attr = _func(attr) File "../addons/source-python/plugins/es_emulator/eventscripts/wcs/tools/xcommands/xcommands.py", line 108, in _func if hasattr(args[0], '__iter__'): File "../addons/source-python/plugins/es_emulator/eventscripts/_libs/python/weaponlib/__init__.py", line 50, in __getitem__ raise KeyError("'c'" 0) KeyError: "'0'"
{ if (server_var(wcs_dice) <= 10) do { if (event_var(es_userdead) = 0) do { if (event_var(es_attackerdead) = 0) do { es wcs damage event_var(userid) event_var(attacker) server_var(wcs_dmg) es wcs_centertell event_var(attacker) Critical strike did + server_var(wcs_dmg) damage! es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker) es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid) es_xmath wcs_z1 + 20 es_xmath wcs_z2 + 20 es est_effect 3 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 0.5 8 8 255 71 36 255 } } }}
I did some adjustments to the teleport ulti and it should be a lot closer to the old thing now with a real nice push I also fixed some of your reported errors. The one where you could not change the race is incomplete though and I'd need the whole exception to use it.Edit:I remade wcs_dealdamage with SourcePython so now the problems should be gone I hope
[SP] Caught an Exception:Traceback (most recent call last): File "../addons/source-python/plugins/wcs/commands.py", line 665, in _centertell userid = int(command[1]) ValueError: invalid literal for int() with base 10: '' getplayerlocation, invalid useridgetplayerlocation, invalid userid