[CSS/CSGO] Warcraft: Source
Re: [CSS/CSGO] Warcraft: Source
Thank you!
Re: [CSS/CSGO] Warcraft: Source
Hello! ultimate (player_ultimate) and ability(player_ability) don't work. It works on freeze time, it says "[WCS] Your abilities are deactivated." After freeze time when I press ultimate bind or ability, it says in console "Unknown command"
Am I doing something wrong?
Skill :
Am I doing something wrong?
Skill :
Code: Select all
[[skill4]]
setting = "es_xset wcs_magnitude 80;es_xset wcs_radius 120|es_xset wcs_magnitude 80;es_xset wcs_radius 120|es_xset wcs_magnitude 90;es_xset wcs_radius 140|es_xset wcs_magnitude 100;es_xset wcs_radius 160|es_xset wcs_magnitude 110;es_xset wcs_radius 170|es_xset wcs_magnitude 120;es_xset wcs_radius 170|es_xset wcs_magnitude 120;es_xset wcs_radius 180"
cmd = "es_xdoblock wcs/tools/ultimates/default/wcs_ulti_suicide"
sfx = "es_xdoblock wcs/addons/effect/Suicide_bomb"
cooldown = "2"
Code: Select all
[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/commands/typed.py", line 589, in on_command
result = cls.on_clean_command(info, command_node, args)
File "../addons/source-python/packages/source-python/commands/typed.py", line 662, in on_clean_command
return super().on_clean_command(command_info, command_node, args)
File "../addons/source-python/packages/source-python/commands/typed.py", line 607, in on_clean_command
return command_node.callback(command_info, *cleaned_args)
File "../addons/source-python/plugins/wcs/wcs.py", line 1441, in client_ability_command
reason = skill.is_executable()
File "../addons/source-python/plugins/wcs/core/players/entity.py", line 1255, in is_executable
if self.cooldown_seconds:
File "../addons/source-python/plugins/wcs/core/players/entity.py", line 1291, in cooldown_seconds
return self.config['cooldown'][self.level - 1]
IndexError: list index out of range
Re: [CSS/CSGO] Warcraft: Source
ReQ220 wrote:Hello! ultimate (player_ultimate) and ability(player_ability) don't work. It works on freeze time, it says "[WCS] Your abilities are deactivated." After freeze time when I press ultimate bind or ability, it says in console "Unknown command"
Am I doing something wrong?
Skill :
Code: Select all
[[skill4]]
setting = "es_xset wcs_magnitude 80;es_xset wcs_radius 120|es_xset wcs_magnitude 80;es_xset wcs_radius 120|es_xset wcs_magnitude 90;es_xset wcs_radius 140|es_xset wcs_magnitude 100;es_xset wcs_radius 160|es_xset wcs_magnitude 110;es_xset wcs_radius 170|es_xset wcs_magnitude 120;es_xset wcs_radius 170|es_xset wcs_magnitude 120;es_xset wcs_radius 180"
cmd = "es_xdoblock wcs/tools/ultimates/default/wcs_ulti_suicide"
sfx = "es_xdoblock wcs/addons/effect/Suicide_bomb"
cooldown = "2"Code: Select all
[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/commands/typed.py", line 589, in on_command
result = cls.on_clean_command(info, command_node, args)
File "../addons/source-python/packages/source-python/commands/typed.py", line 662, in on_clean_command
return super().on_clean_command(command_info, command_node, args)
File "../addons/source-python/packages/source-python/commands/typed.py", line 607, in on_clean_command
return command_node.callback(command_info, *cleaned_args)
File "../addons/source-python/plugins/wcs/wcs.py", line 1441, in client_ability_command
reason = skill.is_executable()
File "../addons/source-python/plugins/wcs/core/players/entity.py", line 1255, in is_executable
if self.cooldown_seconds:
File "../addons/source-python/plugins/wcs/core/players/entity.py", line 1291, in cooldown_seconds
return self.config['cooldown'][self.level - 1]
IndexError: list index out of range
Thanks! That'd be fixed in the newest version.
Re: [CSS/CSGO] Warcraft: Source
TPDerp wrote:Thanks! That'd be fixed in the newest version.
Thank you
![Smile :smile:](./images/smilies/smile.png)
Re: [CSS/CSGO] Warcraft: Source
I had the same problem just like with longjump but with noflash.
After adding this lane to commands.py (2028 line) problem fixed.
After adding this lane
Code: Select all
wcsplayer.data.pop('noflash', None)
Re: [CSS/CSGO] Warcraft: Source
Hello, I am getting some exceptions when using some ultimate.
Code: Select all
[SP] Caught an Exception:
Traceback (most recent call last):
File "../addons/source-python/packages/source-python/commands/typed.py", line 589, in on_command
result = cls.on_clean_command(info, command_node, args)
File "../addons/source-python/packages/source-python/commands/typed.py", line 607, in on_clean_command
return command_node.callback(command_info, *cleaned_args)
File "../addons/source-python/plugins/wcs/core/helpers/esc/commands.py", line 1291, in wcs_xalias_command
for cmd in _aliases[alias].split(';'):
KeyError: 'ulti_immunity1'
Code: Select all
[SP] Caught an Exception:
Traceback (most recent call last):
File "../addons/source-python/packages/source-python/commands/typed.py", line 589, in on_command
result = cls.on_clean_command(info, command_node, args)
File "../addons/source-python/packages/source-python/commands/typed.py", line 607, in on_clean_command
return command_node.callback(command_info, *cleaned_args)
File "../addons/source-python/plugins/wcs/core/helpers/esc/commands.py", line 1291, in wcs_xalias_command
for cmd in _aliases[alias].split(';'):
KeyError: 'spec_checkwall'
Re: [CSS/CSGO] Warcraft: Source
Well, I just fixed that. I have no idea how ![EEK! :eek:](./images/smilies/eek.png)
![EEK! :eek:](./images/smilies/eek.png)
-
- Junior Member
- Posts: 19
- Joined: Fri Nov 06, 2015 11:49 pm
Re: [CSS/CSGO] Warcraft: Source
I seem to be having an issue that when a HudMsg is fired, my client crashes. It appears to only affect linux SRCDS though, because when I test locally on a window server I have no issues. When I then connect to my live server in Linux, sometimes when a HudMsg is printed (like undead scourge printing "Leeched x Health", I see the hud msg print for a second then my client crashes. Theres no error in SRCDS when this happens. Has anyone else experienced this issue?
- L'In20Cible
- Project Leader
- Posts: 1533
- Joined: Sat Jul 14, 2012 9:29 pm
- Location: Québec
Re: [CSS/CSGO] Warcraft: Source
roflmuffin wrote:I seem to be having an issue that when a HudMsg is fired, my client crashes. It appears to only affect linux SRCDS though, because when I test locally on a window server I have no issues. When I then connect to my live server in Linux, sometimes when a HudMsg is printed (like undead scourge printing "Leeched x Health", I see the hud msg print for a second then my client crashes. Theres no error in SRCDS when this happens. Has anyone else experienced this issue?
Are you sure you have all the materials/models used on both servers? Clients crashes are more often than not caused by missing textures which result into corrupted data being networked, which wouldn't be a reached theory considering the flashy nature of this mode. Regardless, you should provides the output of sp info, along with races, etc. you are using.
-
- Junior Member
- Posts: 19
- Joined: Fri Nov 06, 2015 11:49 pm
Re: [CSS/CSGO] Warcraft: Source
L'In20Cible wrote:roflmuffin wrote:I seem to be having an issue that when a HudMsg is fired, my client crashes. It appears to only affect linux SRCDS though, because when I test locally on a window server I have no issues. When I then connect to my live server in Linux, sometimes when a HudMsg is printed (like undead scourge printing "Leeched x Health", I see the hud msg print for a second then my client crashes. Theres no error in SRCDS when this happens. Has anyone else experienced this issue?
Are you sure you have all the materials/models used on both servers? Clients crashes are more often than not caused by missing textures which result into corrupted data being networked, which wouldn't be a reached theory considering the flashy nature of this mode. Regardless, you should provides the output of sp info, along with races, etc. you are using.
I would not have thought there would be any material/model issues considering that this plugin doesn't use any custom materials/models, at least not that I could see from downloading; it appears to just be the addons & resources folder. I am only running the two plugins on this server (WCS & ES Emulator) so I don't think theres any foul play with other plugins. I am using the 4 standard races from the content git (scourge, human etc.). Regardless, here is the output of the command:
Code: Select all
sp info
IMPORTANT: Please copy the full output.
--------------------------------------------------------
Checksum : 4269d7786bd6a8556cfc5614ebd592ea
Date : 2020-04-30 01:26:00.155818
OS : Linux-4.15.0-91-generic-x86_64-with-debian-buster-sid
Game : csgo
SP version : 695
Github commit : 92b3adfaaaf1bb9ecd2be1ddad55bc68589b4152
Server plugins:
00: Source.Python, (C) 2012-2019, Source.Python Team.
SP plugins:
00: es_emulator, https://github.com/Ayuto/EventScripts-Emulator
01: wcs, 2020.04.01-1, https://forums.sourcepython.com/viewtopic.php?f=7&t=1925
--------------------------------------------------------
Re: [CSS/CSGO] Warcraft: Source
Code: Select all
[Race] : Archmage Proudmoore - [Block] Skill : 4 ( START )
[Race] : Archmage Proudmoore - [Block] Skill : 4 ( END )
[Race] : Archmage Proudmoore - [Block] Skill : 4 ( START )
[Race] : Archmage Proudmoore - [Block] Skill : 4 ( END )
[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/commandsx/commandsx.py", line 270, in pre_hurt
attacker = Player.from_userid(int(ev['attacker']))
File "../addons/source-python/packages/source-python/players/_base.py", line 105, in from_userid
return cls(index_from_userid(userid), caching=caching)
ValueError: Conversion from "Userid" (0) to "Index" failed.
[Race] : Protoss Carrier - [Block] Skill : 4 ( START )
[Race] : Protoss Carrier - [Block] Skill : 4 ( END )
Getting these out of the sudden. Everytime this happens, the SV is going up straight and my server is under heavy lag for about a second. Any ideas why this happens?
Appearing with and without bots.
Re: [CSS/CSGO] Warcraft: Source
The exception you got doesn't appear to be from this plugin, but commandsx.py? The plugin in question is trying to make a Player instance for the World entity (which has 0 as the userid/index). I'm working pretty blind here, but go to line 270 in the commandsx.py file and change this: To this:
Code: Select all
[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/commandsx/commandsx.py", line 270, in pre_hurt
attacker = Player.from_userid(int(ev['attacker']))
File "../addons/source-python/packages/source-python/players/_base.py", line 105, in from_userid
return cls(index_from_userid(userid), caching=caching)
ValueError: Conversion from "Userid" (0) to "Index" failed.
Syntax: Select all
attacker = Player.from_userid(int(ev['attacker']))
Syntax: Select all
try:
attacker = Player.from_userid(ev['attacker'])
except ValueError:
return
Re: [CSS/CSGO] Warcraft: Source
Glad to see that WCS takes its new path on SourcePython
I was a huge fan back in the CS:S era when WCS still relied on Eventscripts and my server with its configuration and customization was my EVERYTHING
I wanted to give this new version a shot and so I'm running a CS:GO server on Linux (Debian Buster 10.7) but facing a segmentation fault each time anyone should actually level up.
The server is completely fresh with SourcePython and WCS + only the 4 standard races running on SQLite. It's running just fine (rounds starting, kills happening, ...) up to the point where a level up event should be fired.
Some details:
rcon status
rcon sp info
Unfortunately I can't figure out what the problem is because there is actually nothing interesting getting logged.
I have started srcds_run with -debug param, set Source.Python logging to level = 5 and areas = 15 (log everything everywhere :D) - but I'm unable to squeeze any useful info out of the log files.
console.log
Full log files are attached to this post.
When I delete players.sqlite and restart the server I can play again up to the point where I should actually level up and the segmentation fault occurs.
Has anyone an idea what it could be?
Is it an issue with an effect, a SP hook that is not working or just me missing out on something?
![Smile :smile:](./images/smilies/smile.png)
I was a huge fan back in the CS:S era when WCS still relied on Eventscripts and my server with its configuration and customization was my EVERYTHING
![Cool :cool:](./images/smilies/cool.png)
I wanted to give this new version a shot and so I'm running a CS:GO server on Linux (Debian Buster 10.7) but facing a segmentation fault each time anyone should actually level up.
The server is completely fresh with SourcePython and WCS + only the 4 standard races running on SQLite. It's running just fine (rounds starting, kills happening, ...) up to the point where a level up event should be fired.
Some details:
rcon status
Code: Select all
hostname: WCS CS:GO
version : 1.37.7.5/13775 1215/8012 secure [G:1:3943003]
udp/ip : 0.0.0.0:27015 (public ip: 213.xxx.xxx.xxx)
os : Linux
type : community dedicated
map : de_dust2
players : 0 humans, 0 bots (16/0 max) (hibernating)
rcon sp info
Code: Select all
--------------------------------------------------------
Checksum : f75a1dfc49fdc5435b395599b4ee983a
Date : 2020-12-30 00:52:07.742454
OS : Linux-4.19.0-13-amd64-x86_64-with-debian-10.7
Game : csgo
SP version : 702
Github commit : 99ed4dca7b439f5fc4ade054355767b23af497df
Server plugins:
00: Source.Python, (C) 2012-2020, Source.Python Team.
SP plugins:
00: wcs, 2020.12.28-3, https://forums.sourcepython.com/viewtopic.php?f=7&t=1925
--------------------------------------------------------
Unfortunately I can't figure out what the problem is because there is actually nothing interesting getting logged.
I have started srcds_run with -debug param, set Source.Python logging to level = 5 and areas = 15 (log everything everywhere :D) - but I'm unable to squeeze any useful info out of the log files.
console.log
Code: Select all
Repeat._execute - Remaining - inf
L 12/30/2020 - 01:42:35: - sp.listeners.tick - DEBUG
Repeat._execute
Repeat._execute
.
.
.
L 12/30/2020 - 01:42:49: - sp.listeners.tick - DEBUG
Repeat._execute - Remaining - inf
Repeat._execute - Remaining - inf
L 12/30/2020 - 01:42:49: - sp.listeners.tick - DEBUG
Repeat._execute
Repeat._execute
L 12/30/2020 - 01:42:49: - sp.listeners.tick - DEBUG
Repeat._execute - Remaining - inf
Repeat._execute - Remaining - inf
L 12/30/2020 - 01:42:49: - sp.listeners.tick - DEBUG
Repeat._execute
Repeat._execute
L 12/30/2020 - 01:42:49: - sp.listeners.tick - DEBUG
Repeat._execute - Remaining - inf
Repeat._execute - Remaining - inf
L 12/30/2020 - 01:42:49: "dAn!EL<2><STEAM_1:0:xxxxxxx><TERRORIST>" [-473 -635 154] killed "Tim<9><BOT><CT>" [-394 1446 -62] with "ak47" (headshot)
Late precache of effects/combinemuzzle2.vmt
Late precache of effects/combinemuzzle1.vmt
Segmentation fault
Full log files are attached to this post.
When I delete players.sqlite and restart the server I can play again up to the point where I should actually level up and the segmentation fault occurs.
Has anyone an idea what it could be?
Is it an issue with an effect, a SP hook that is not working or just me missing out on something?
- Attachments
-
- log_files.zip
- (14.77 KiB) Downloaded 632 times
Re: [CSS/CSGO] Warcraft: Source
What does this mean?
- Attachments
-
- srcds_rVs21QO8zz.png (21.58 KiB) Viewed 24777 times
Re: [CSS/CSGO] Warcraft: Source
xyz wrote:What does this mean?
Recently there was a table 'stats' added to WCS. Unfortunately there's still an issue in the updater so that the table is not automatically created.
This can be easily fixed by changing one line in a .py script on your server.
Open the file ./csgo/addons/source-python/plugins/wcs/core/database/manager.py with an editor and go to line 154.
You should see this:
Code: Select all
for statement in ('create players', 'create races', 'create skills', 'create stats races', 'create stats items', 'create settings'):
Replace that line with the following code:
Code: Select all
for statement in ('create players', 'create races', 'create skills', 'create stats', 'create stats races', 'create stats items', 'create settings'):
Restart the CSGO server and the table 'stats' should be automatically created.
This is a known issue and it will be fixed by a developer asap
![Smile :smile:](./images/smilies/smile.png)
Re: [CSS/CSGO] Warcraft: Source
dAn13L wrote:xyz wrote:What does this mean?
Recently there was a table 'stats' added to WCS. Unfortunately there's still an issue in the updater so that the table is not automatically created.
This can be easily fixed by changing one line in a .py script on your server.
Open the file ./csgo/addons/source-python/plugins/wcs/core/database/manager.py with an editor and go to line 154.
You should see this:Code: Select all
for statement in ('create players', 'create races', 'create skills', 'create stats races', 'create stats items', 'create settings'):
Replace that line with the following code:Code: Select all
for statement in ('create players', 'create races', 'create skills', 'create stats', 'create stats races', 'create stats items', 'create settings'):
Restart the CSGO server and the table 'stats' should be automatically created.
This is a known issue and it will be fixed by a developer asap
I get this error now hmmmmm
E: Sorry I was a dumbfuck, I messed up the copy paste. I replaced the file with a fresh one and edited the line and the plugin loaded properly, my bad.
- Attachments
-
- srcds_mNLjOQ4DC9.png (27.22 KiB) Viewed 24730 times
Re: [CSS/CSGO] Warcraft: Source
Hey fellow WCS users ,
I actually use the ES/py version in HL2 that took me a long time to get working and all the old EST effects still work great and also use it for a model changer for my Bots ..
My question is or would there be any slight support for this on HL2 , my only problem would be to get it to recognize the old Races.ini because i would not want to spend the next few months converting what I have made or modified .
I would love to dump ES and just use SP and SM and im almost there .
Thanks
/PEACE
I actually use the ES/py version in HL2 that took me a long time to get working and all the old EST effects still work great and also use it for a model changer for my Bots ..
My question is or would there be any slight support for this on HL2 , my only problem would be to get it to recognize the old Races.ini because i would not want to spend the next few months converting what I have made or modified .
I would love to dump ES and just use SP and SM and im almost there .
Thanks
/PEACE
Re: [CSS/CSGO] Warcraft: Source
dAn13L wrote:I wanted to give this new version a shot and so I'm running a CS:GO server on Linux (Debian Buster 10.7) but facing a segmentation fault each time anyone should actually level up.
A problem with pointers has been fixed in Version: 703.
Please update to latest Source.Python and try it.
Re: [CSS/CSGO] Warcraft: Source
xyz wrote:What does this mean?
It means it couldn't find a table with the name "stats". This has been fixed, so you shouldn't get it anymore. Thanks for reporting, though!
PEACE wrote:Hey fellow WCS users ,
I actually use the ES/py version in HL2 that took me a long time to get working and all the old EST effects still work great and also use it for a model changer for my Bots ..
My question is or would there be any slight support for this on HL2 , my only problem would be to get it to recognize the old Races.ini because i would not want to spend the next few months converting what I have made or modified .
I would love to dump ES and just use SP and SM and im almost there .
Thanks
/PEACE
You should be able to just copy your races.ini file to the cfg/source-python/wcs/ folder and it'll load the races. It does require ES Emulator, so that might be the reason why it didn't load them. The menus, however, are a different matter. As I primarily use the radio menus, it wouldn't work in HL2DM. I'm currently trying to fix it but it's taking some time due to the differences there are.
Re: [CSS/CSGO] Warcraft: Source
Hey thanks TPDerp,
For responding , my only problem would be running another ver of ES since im still using the old one until i get all the plugins converted to SP .
So for now i run ES , SP and SM and have modified my own races to reflect the weapons used in HL2 as well as the skins for the bots , I wish there was a way to just load it with my Races without using the emulator , all my EST effects work as well . Hope you can put in a HL2 popup menu in yours . Im doing my best to dump ES.
Thanks
/PEACE
For responding , my only problem would be running another ver of ES since im still using the old one until i get all the plugins converted to SP .
So for now i run ES , SP and SM and have modified my own races to reflect the weapons used in HL2 as well as the skins for the bots , I wish there was a way to just load it with my Races without using the emulator , all my EST effects work as well . Hope you can put in a HL2 popup menu in yours . Im doing my best to dump ES.
Thanks
/PEACE
Who is online
Users browsing this forum: No registered users and 50 guests