April 23, 2019, 01:03:01 PM

Recent Posts

Pages: [1] 2 3 ... 10
1
Discussions / Re: SP Tracebacks
« Last post by parajox on April 17, 2019, 06:40:37 PM »
Code: [Select]
[SP] Caught an Exception:
Traceback (most recent call last):
  File "../addons/source-python/packages/source-python/events/listener.py", line 92, in fire_game_event
    callback(game_event)
  File "../addons/source-python/plugins/wcs/mana.py", line 93, in _player_death
    if mana_players[userid].regeneration_repeat.status != RepeatStatus.STOPPED:

KeyError: 3

Fixxed it, now I'm getting these after a player disconnect. Any ideas?



2
Discussions / SP Tracebacks
« Last post by parajox on April 15, 2019, 12:46:01 AM »
Hello,

I'm getting these tracebacks. I tried to edit several races in hope of fixing it but still nothing, atleast all races work normaly and dont caused any errors in the past. Someone who can get through it?


//EDIT

so i guess its a wcs command/server string issue, i get these errors with keylight en

Quote
[SP] Caught an Exception:
Traceback (most recent call last):
  File "../addons/source-python/plugins/wcs/xtell.py", line 99, in tell
    text = strings(text, tokens, langlib.getLangAbbreviation(player.language))
  File "../addons/source-python/plugins/es_emulator/eventscripts/_libs/python/langlib.py", line 71, in __call__
    return self.expand(text, opts, lang)
  File "../addons/source-python/plugins/es_emulator/eventscripts/_libs/python/langlib.py", line 51, in expand
    k = self[text]
  File "../addons/source-python/plugins/es_emulator/eventscripts/_libs/python/langlib.py", line 49, in __getitem__
    return super(Strings, self).__getitem__(self.fallback)
  File "../addons/source-python/packages/site-packages/configobj.py", line 554, in __getitem__
    val = dict.__getitem__(self, key)

KeyError: 'en'



[SP] Caught an Exception:
Traceback (most recent call last):
  File "../addons/source-python/plugins/wcs/xtell.py", line 99, in tell
    text = strings(text, tokens, langlib.getLangAbbreviation(player.language))
  File "../addons/source-python/plugins/es_emulator/eventscripts/_libs/python/langlib.py", line 71, in __call__
    return self.expand(text, opts, lang)
  File "../addons/source-python/plugins/es_emulator/eventscripts/_libs/python/langlib.py", line 51, in expand
    k = self[text]
  File "../addons/source-python/plugins/es_emulator/eventscripts/_libs/python/langlib.py", line 49, in __getitem__
    return super(Strings, self).__getitem__(self.fallback)
  File "../addons/source-python/packages/site-packages/configobj.py", line 554, in __getitem__
    val = dict.__getitem__(self, key)

KeyError: 'en'



[SP] Caught an Exception:
Traceback (most recent call last):
  File "../addons/source-python/plugins/wcs/xtell.py", line 99, in tell
    text = strings(text, tokens, langlib.getLangAbbreviation(player.language))
  File "../addons/source-python/plugins/es_emulator/eventscripts/_libs/python/langlib.py", line 71, in __call__
    return self.expand(text, opts, lang)
  File "../addons/source-python/plugins/es_emulator/eventscripts/_libs/python/langlib.py", line 51, in expand
    k = self[text]
  File "../addons/source-python/plugins/es_emulator/eventscripts/_libs/python/langlib.py", line 49, in __getitem__
    return super(Strings, self).__getitem__(self.fallback)
  File "../addons/source-python/packages/site-packages/configobj.py", line 554, in __getitem__
    val = dict.__getitem__(self, key)

KeyError: 'en'



[SP] Caught an Exception:
Traceback (most recent call last):
  File "../addons/source-python/plugins/wcs/xtell.py", line 99, in tell
    text = strings(text, tokens, langlib.getLangAbbreviation(player.language))
  File "../addons/source-python/plugins/es_emulator/eventscripts/_libs/python/langlib.py", line 71, in __call__
    return self.expand(text, opts, lang)
  File "../addons/source-python/plugins/es_emulator/eventscripts/_libs/python/langlib.py", line 51, in expand
    k = self[text]
  File "../addons/source-python/plugins/es_emulator/eventscripts/_libs/python/langlib.py", line 49, in __getitem__
    return super(Strings, self).__getitem__(self.fallback)
  File "../addons/source-python/packages/site-packages/configobj.py", line 554, in __getitem__
    val = dict.__getitem__(self, key)

KeyError: 'en'
3
Report Bugs / Re: CS:GO Resize bug
« Last post by Arthitsotus on April 09, 2019, 12:13:55 PM »
It is really good. That I have read the content of this website. Which has presented but what is beneficial to us.
4
Discussions / Re: Kamis WCS and MySQL
« Last post by Arthitsotus on April 09, 2019, 12:13:25 PM »
I have read the content of this website. Which I feel it is very useful that I have read and gained new knowledge on this website.
5
Discussions / Re: Restrict Weapon CVARs not working
« Last post by WCS - Wookie on April 08, 2019, 01:31:30 AM »
Quote
I'd rather have any problems you may find fixed, so we don't have to resort to workarounds,


Hey no arguments from me around that one Pwned. It's always better to cure the illness than put a bandaid on it.
6
Discussions / Re: Kamis WCS and MySQL
« Last post by Kami on March 30, 2019, 11:20:23 PM »
Hey,

it should be possible to do so, I'm afraid I'm not that good with the connectstrings though.

You can find any info needed here:

https://docs.sqlalchemy.org/en/latest/core/engines.html#mysql
7
Discussions / Kamis WCS and MySQL
« Last post by parajox on March 30, 2019, 02:57:57 PM »
Hi,

any way to change the connectstring to make it work with a mysql db?

Greetings
8
Report Bugs / Re: Skills not working after warmup, but do in warmup
« Last post by Tha Pwned on March 25, 2019, 10:33:06 PM »
I *think* I might've found the issue. Could you try the newest version, and see if that's fixed it for you?
9
Discussions / Re: Restrict Weapon CVARs not working
« Last post by Tha Pwned on March 25, 2019, 10:31:44 PM »
In the meantime you could always try manually restricting each weapon by name separating them by comma's. I used to have a block called es_kniferestrict.txt and i'd just load this block into the spawncmd of my races that needed to be restricted to knife.
While that certainly is a possibility, I'd rather have any problems you may find fixed, so we don't have to resort to workarounds, and can instead use the provided commands (or you can create your own - feel free to do a pull request on Github with your ideas!), so we can get a (somewhat) uniform way of doing things.
10
Releases / Re: [CSS/CSGO] Warcraft: Source
« Last post by Tha Pwned on March 25, 2019, 10:28:34 PM »
The server crashes after the following actions:
1) change map
2) Shot at the player
3) Server crashes without errors
Checked on the pure SP + WCS server without Sourcemod
What to do?
Could you type "sp info" in the server console, and post the output here? Is it with/without races/items loaded? If with, could you try without (that is, not having any external scripts loaded) and see if it still occurs?
Pages: [1] 2 3 ... 10