Warcraft-Source

General Content => Announcements => Releases => Topic started by: Kami on December 30, 2017, 12:09:06 AM

Title: Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on December 30, 2017, 12:09:06 AM
Warcraft: Source for Counterstrike Source & Global Offensive

This is the newest version of my attempt to make Tha Pwned's version of Warcraft Source work for Counterstrike Source & Global Offensive, by using SourcePython


Description:

This is the WCS version Tha Pwned made which has been edited by me to work with CS:GO and with Ayuto's great Eventscripts Emulator. It aims to make all your old content work just like it does with Counterstrike Source.
There are some races included in this release, but all your races should work by simply adding them like you would have with the old WCS version.
If there should be any problems, any missing commands, just let me know and I'll see if that can be fixed.


Installation:

Code: [Select]
sp plugin load es_emulator
sp plugin load wcs
es_load wcs/tools
es_load wcs/races


Content:


Effects:

This plugin contains the essential est_effects. The problem with CS:GO is, that most of the sprites are missing. If you want to use this version to its fullest:


If you want to do the extracting of the files yourself:


Right now the automatic downloader downloads:

Code: [Select]
materials/sprites
materials/particles
materials/effects

The automatic downloader should now add all the files to your download queue.


Admin Configuration:

To add admins go to wcs/admins/admins.ini.

First of all you need to get your steamid.

For Counterstrike Global Offensive it looks something like this:

Code: [Select]
STEAM_1:1:xxxxx
For Counterstrike Source it looks like this:

Code: [Select]
[U:1::xxxxxx]
Now you add that steamid to the admins.ini with the desired flags.

Counterstrike Global Offensive example:

Code: [Select]
[STEAM_1:1:8770268]
wcsadmin = 1
wcsadmin_settings = 1
wcsadmin_givexp = 1
wcsadmin_givelevels = 1
wcsadmin_givecash = 1
wcsadmin_resetrace = 1
wcsadmin_resetplayer = 1
wcsadmin_bank = 1

Counterstrike Source example:

Code: [Select]
["[U:1:17540537]"]
wcsadmin = 1
wcsadmin_settings = 1
wcsadmin_givexp = 1
wcsadmin_givelevels = 1
wcsadmin_givecash = 1
wcsadmin_resetrace = 1
wcsadmin_resetplayer = 1
wcsadmin_bank = 1

Its important to notice the " " around your steamid in CS:S. If you leave out the "" your steamid will be handled as an ConfigObj key, not a string.




A big Thank you! goes to Ayuto for making the Eventscripts Emulator. Without this my WCS version would not be as close to the original as it is right now!




Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offenisve
Post by: Ayuto on December 30, 2017, 05:04:55 PM
It's nice to see this emulator being used! FYI, I just added csgo.ini and fixed the queryreg*cmd error messages. They were not using the correct error level.

Edit: Since es_mathparse is now also implemented, all of the recommended changes are not required anymore.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offenisve
Post by: Muerte on December 30, 2017, 05:22:33 PM
Nice! Going to need to get myself a dedicated server again :)

Edit: If it works well, I'm going to have to re-arrange the forums again hehe.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offenisve
Post by: Kami on December 30, 2017, 10:07:45 PM
Update:


As this update takes place in multiple files I recommend to download the whole plugin again and unpack it and overwrite old files. This way you can be sure you got all the changes.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offenisve
Post by: Legacy32 on January 01, 2018, 11:43:20 AM
Dumb Question, Couldn't find it in the help or anything, but what is the ultimate and ability command lmao
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offenisve
Post by: Kami on January 01, 2018, 07:54:57 PM
Update:

Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offenisve
Post by: phixious on January 02, 2018, 04:13:33 PM
it looks like I am getting 2 errors. I am assuming one is caused by the other:

This is happening on a freshly installed server on Linux (NFO Managed Linux - CentOS 5 i believe)

Quote
[SP] Loading plugin 'es_emulator'...

[SP] Caught an Exception:
Traceback (most recent call last):
File "../addons/source-python/packages/source-python/plugins/command.py", line 162, in load_plugin
plugin = self.manager.load(plugin_name)
File "../addons/source-python/packages/source-python/plugins/manager.py", line 193, in load
plugin._load()
File "../addons/source-python/packages/source-python/plugins/instance.py", line 76, in _load
self.module.load()
File "../addons/source-python/plugins/es_emulator/es_emulator.py", line 32, in load
raise ValueError('EventScripts is already loaded.')

ValueError: EventScripts is already loaded.


[SP] Plugin 'es_emulator' was unable to be loaded.
[SP] Loading plugin 'wcs'...

[SP] Caught an Exception:
Traceback (most recent call last):
File "../addons/source-python/packages/source-python/plugins/command.py", line 162, in load_plugin
plugin = self.manager.load(plugin_name)
File "../addons/source-python/packages/source-python/plugins/manager.py", line 193, in load
plugin._load()
File "../addons/source-python/packages/source-python/plugins/instance.py", line 74, in _load
self.module = import_module(self.import_name)
File "../addons/source-python/plugins/wcs/wcs.py", line 35, in <module>
import es
File "../addons/source-python/plugins/es_emulator/eventscripts/es.py", line 12, in <module>
from es_C import *
File "../addons/source-python/plugins/es_emulator/eventscripts/es_C.py", line 75, in <module>
from es_emulator.logic import current_event_vars
File "../addons/source-python/plugins/es_emulator/logic.py", line 57, in <module>
from .helpers import _is_dead
File "../addons/source-python/plugins/es_emulator/helpers.py", line 115, in <module>
tier1 = memory.find_binary('bin/libtier0')

OSError: Unable to find ../bin/bin/libtier0_srv.so
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offenisve
Post by: Ayuto on January 02, 2018, 05:36:27 PM
The error messages are not related to each other.

The first one can be caused by 2 reasons:
Since ES doesn't work on CS:GO, the exception is probably caused by #2.

The other error was a bug in the emulator. It's now fixed:
https://github.com/Ayuto/EventScripts-Emulator/commit/e3cbc89033c3038359b03a85c9fb4d1c612a949d
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offenisve
Post by: phixious on January 02, 2018, 05:56:07 PM
alright. i'll grab that updated file. I haven't done any additional loading or unloading, only load is happening through autoexec.cfg

Quote from: Autoexec.cfg
sp plugin load es_emulator
sp plugin load wcs
es_load wcs/tools
es_load wcs/addons/effect
es_load races

I'll let you know if I continue to face those issues after i update the file you mentioned.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offenisve
Post by: Jareth on January 02, 2018, 08:34:42 PM
Thanks i love this mod ;)

just created some effects quickly to the test xD

(https://farm5.staticflickr.com/4635/39426001202_84911d1dd7_n.jpg) (https://flic.kr/p/234Wyzq)20180102201610_1 (https://flic.kr/p/234Wyzq) by Wcs-Lagerhaus (https://www.flickr.com/photos/91885055@N02/), auf Flickr

(https://farm5.staticflickr.com/4597/39426000432_f957013326_n.jpg) (https://flic.kr/p/234Wym9)20180102201759_1 (https://flic.kr/p/234Wym9) by Wcs-Lagerhaus (https://www.flickr.com/photos/91885055@N02/), auf Flickr

(https://farm5.staticflickr.com/4733/39426000892_aabc9c988a_n.jpg) (https://flic.kr/p/234Wyu5)20180102201723_1 (https://flic.kr/p/234Wyu5) by Wcs-Lagerhaus (https://www.flickr.com/photos/91885055@N02/), auf Flickr
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offenisve
Post by: Jareth on January 02, 2018, 11:12:15 PM
Is this a Error?   

Running on Windows Dedicated Server

[Spoiler]
Code: [Select]
[SP] Caught an Exception:
Traceback (most recent call last):
  File "..\addons\source-python\packages\source-python\plugins\command.py", line 162, in load_plugin
    plugin = self.manager.load(plugin_name)
  File "..\addons\source-python\packages\source-python\plugins\manager.py", line 193, in load
    plugin._load()
  File "..\addons\source-python\packages\source-python\plugins\instance.py", line 76, in _load
    self.module.load()
  File "..\addons\source-python\plugins\es_emulator\es_emulator.py", line 44, in load
    from . import cmds
  File "..\addons\source-python\plugins\es_emulator\cmds.py", line 20, in <module>
    from .logic import cfg_scripts
  File "..\addons\source-python\plugins\es_emulator\logic.py", line 57, in <module>
    from .helpers import _is_dead
  File "..\addons\source-python\plugins\es_emulator\helpers.py", line 110
    if PLATFORM == 'windows':
     ^

SyntaxError: invalid syntax


[SP] Plugin 'es_emulator' was unable to be loaded.
[SP] Loading plugin 'wcs'...

[SP] Caught an Exception:
Traceback (most recent call last):
  File "..\addons\source-python\packages\source-python\plugins\command.py", line 162, in load_plugin
    plugin = self.manager.load(plugin_name)
  File "..\addons\source-python\packages\source-python\plugins\manager.py", line 193, in load
    plugin._load()
  File "..\addons\source-python\packages\source-python\plugins\instance.py", line 74, in _load
    self.module = import_module(self.import_name)
  File "..\addons\source-python\plugins\wcs\wcs.py", line 35, in <module>
    import es
  File "..\addons\source-python\plugins\es_emulator\eventscripts\es.py", line 12, in <module>
    from es_C import *
  File "..\addons\source-python\plugins\es_emulator\eventscripts\es_C.py", line 77, in <module>
    from es_emulator.logic import current_event_vars
  File "..\addons\source-python\plugins\es_emulator\logic.py", line 57, in <module>
    from .helpers import _is_dead
  File "..\addons\source-python\plugins\es_emulator\helpers.py", line 110
    if PLATFORM == 'windows':
     ^

SyntaxError: invalid syntax


[SP] Plugin 'wcs' was unable to be loaded.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offenisve
Post by: Ayuto on January 02, 2018, 11:24:47 PM
Yes, it it, but the error doesn't exist in the original ES Emulator file. Did you made any changes to this file?:
addons\source-python\plugins\es_emulator\helpers.py
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offenisve
Post by: Jareth on January 02, 2018, 11:32:47 PM
The error messages are not related to each other.

The first one can be caused by 2 reasons:
  • The original EventScripts is loaded.
  • You unloaded the emulator and then loaded it again (unloading is not supported yet).
Since ES doesn't work on CS:GO, the exception is probably caused by #2.

The other error was a bug in the emulator. It's now fixed:
https://github.com/Ayuto/EventScripts-Emulator/commit/e3cbc89033c3038359b03a85c9fb4d1c612a949d

Have only changed this line
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offenisve
Post by: Ayuto on January 03, 2018, 07:45:55 AM
It seems like you didn't properly updated the file. You should also never just apply changes from a single commit. Just update the whole emulator by uploading the files again and you are fine.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offenisve
Post by: Manifest on January 03, 2018, 08:35:46 AM
Nice! Going to need to get myself a dedicated server again :)

Edit: If it works well, I'm going to have to re-arrange the forums again hehe.

It should, as far as I am concerned this was tested to work with all the prevously default WCS races, along with a bunch of the races of my old server for testing purposes.
It should be able to handle most of the old races and also a bit of the more complex ones aswell.

Also Kami I will be making a list of materials, particles and so, for this mod so that people can use their old races from the forum in their WCS servers, without experiencing texture errors. It will of course increase the size of the mod, but I do not think it will be all bad. :-)

Also I will be releasing an in-depth guide (Tutorial) on how to create races for the new modification, along with multiple functional races all coded in blocks, with a block skill catalog as well.
I plan on supporting this mod to the best of my extent for time being at least.

Big ups Kami, it was nice to be able to help you out with the mod aswell. :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offenisve
Post by: phixious on January 03, 2018, 02:11:02 PM
I am not getting any more errors but I am seeing some random crashes but they cannot be reproduced consistently.

The only one i have been able to get to happen multiple times is changing race right before a round transition but it has only crashed twice.

I have noticed some oddities with skill selection which causes some on screen display issues. For example, when distributing skill points, selecting skill 1 - 3 times and then attempting to put a point into skill 2, you still get a message saying that skill 1 has increased. I have also seen a message saying "... is now level None"

Is this typical behavior or something strange with the emulation? I can get some screenshots or video if needed.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offenisve
Post by: Ayuto on January 03, 2018, 06:38:44 PM
Could you please start your server with the "-debug" option? This should generate a debug.log, which might provide a little bit more information.

Regarding the oddities: that's something Kami needs to take a look at.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offenisve
Post by: Jareth on January 03, 2018, 07:40:29 PM
I also have some errors.

Windows Dedicated Server

Undead has no effects on me
Skillpoints distribution is buggy

Skill1 press 1 to distribute I have to press the 2 for the 1
with Skill 2 I have to press the 3
at skill 3 press the 4 and
at skill 4 press 5.

These mistakes have come to my attention now.

Deutsch
Ich habe auch paar Errors.

Windows Dedicatet Server

Undead hat bei mir keine Effekte
Skillpoints verteilung ist Buggy

Skill1 drücke 1 um zu verteilen muss ich die 2 für die 1 drücken
bei Skill 2 muss ich die 3 drücken
bei skill 3 die 4 drücken und
bei skill 4 die 5 drücken.

diese Fehler sind bei mir  jetzt so aufgefallen.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offenisve
Post by: Kami on January 04, 2018, 02:14:00 PM
Thank you guys for reporting the bugs, I'll have a look at it later!

Edit. I downloaded the last version from GitHub and I was not able to reproduce your errors. Could you please send me screenshots or as phixious said videos, so I can understand better whats going on. Thanks :)

Edit 2: Fixed the "now on level None" error.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offenisve
Post by: Jareth on January 05, 2018, 10:51:50 PM
I will do it later;)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offenisve
Post by: Kami on January 07, 2018, 12:35:45 AM
Update:


For configuration go to csgo/cfg/source-python/wcs.cfg

Code: [Select]
//set this to 1 to activate categories

wcs_activate_categories 0/1


//set this to 1 to activate the "Unassigned races" category, for all races that are not in a category, or are missing the category key

wcs_unassigned_category 0/1


To create a new category got to wcs/categories/categories.ini  and add this:

Code: [Select]
[id_of_your_category]
name = "Name Of your Category"

To add a category to your race simply add the following line to the race:

Code: [Select]
category = "id_of_your_category"


Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offenisve
Post by: phixious on January 07, 2018, 01:08:10 AM
Ayuto, I will do the -debug launch as soon as I have a chance. Work got busy towards the end of the week so I haven't had much time to put into testing since Tuesday.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offensive
Post by: Muerte on January 07, 2018, 12:05:04 PM
It is great to see where this is going! It has already brought a lot of people back to WCS.

Great job, and thank you Kami for persevering with this!

I have altered the forums layout to better accommodate for this release and the response of the people towards it.
If any of you would like further alterations, just send me a PM and I'll see what I can do.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offensive
Post by: Manifest on January 09, 2018, 07:28:14 PM
Hey Kami! :)

I finally got to take a bit deeper look into the mod (specifically the races for now), and it looks really good, very promising. I see a lot of opportunities with this version, and I would like to fully back you up on it as well, like you already are aware of.

I took myself the freedom to go through the races that I gave you and made some alterations to them, and updated basically every race in the current racelist.
There were quite a lot of things I could change seeing as I coded these races quite a while back, and have gotten better since, and if the races I made at the time were to be used in this version, it better be done right :-)

The updates are currently at my desktop, I will write which changes I made beneath, if they are of any interest then write to me and I can send them over to you here later tonight so that you can add them. :-)

Updates:
Code: [Select]
Undead Scourge
- Cleaned up Undead Scourge part of the races.ini moved the checks to the race's block file.
- Removed the unused effect for Undead Scourge from es_effects.txt.
- Cleaned the es_undead_scourge.txt.


Human Alliance
- Cleaned up Human Alliance part of the races.ini moved the checks to the race's block file.
- Removed the unused effect for Human Alliance from es_effects.txt.
- Cleaned the es_human_alliance.txt.
- Added the custom variables the race makes use of to a block load.


Orcish Horde
- Cleaned up Orcish Horde part of the races.ini moved the checks to the race's block file.
- Removed the unused effect for Orcish Horde from es_effects.txt.
- Cleaned and optimized the es_Orcish_Horde.txt.
- Added the custom variables the race makes use of to a block load.
- Changed the race's spawn effect slightly.


Night Elves
- Cleaned up Night Elves part of the races.ini moved the checks to the race's block file.
- Removed the unused effect for Night Elves from es_effects.txt.
- Cleaned and optimized the Night_Elves.txt.


Blood Mage
- Cleaned up Blood Mage part of the races.ini moved the checks to the race's block file.
- Removed the unused effect for Blood Mage from es_effects.txt.
- Cleaned and optimized the es_Blood_Mage.txt.
- Changed the Blood Mage race's spawn effect back to the original effect I gave you.
- Fixed an error in the cash check in both skill "Siphon Mana" and "Curing Ritual".
- Added the custom variables the race makes use of to a block load.


Archmage Proudmoore
- Cleaned up Archmage Proudmoore part of the races.ini moved the checks to the race's block file.
- Removed the unused effect for Archmage Proudmoore from es_effects.txt.
- Cleaned and optimized the es_archmage_proudmoore.txt.
- Added the custom variables the race makes use of to a block load.


Shadow Hunter
- Cleaned up Shadow Hunter part of the races.ini moved the checks to the race's block file.
- Removed the unused effect for Shadow Hunter from es_effects.txt.
- Cleaned and optimized the es_shadow_hunter.txt.
- Added the additonal custom variables the race makes use of to the already existing block load.
- Removed the ward visual effects from es_effects.txt as it is no longer being used, in this wcs version.


Jack
- Cleaned up Shadow Hunter part of the races.ini moved the checks to the race's block file.
- Cleaned and optimized the es_jack.txt.
- Removed Jacks unnessecary block load, since it only contained variables already listed in svar.txt
- Added referance to the block death, to prevent other races banefitting from jacks spawn block.


Warden
- Completely removed the code and replaced it with a new and better version of the race.


Flame Predator
- Completely removed the code and replaced it with a new and better version of the race.
- Removed the previously used spawn effect from es_effect.txt


Crypt Lord
- Completely removed the code and replaced it with a new and better version of the race.
- Removed the previously used spawn effect from es_effect.txt


Succubus Hunter
- The effects were to be found in es_effect.txt but the race was missing.
- I added a reworked version of the Succubus Hunter to the list of races, and removed the effect from effect.txt


Chameleon
- I added a completley reworked version of Chameleon, the concept is the same as the original race.


Additional changes
- es_effect.txt removed multiple effects that was not being used anywhere.
- Also removed a few things that could cause potential crashes (I'll go into further detail on steam if needed).

Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offensive
Post by: Kami on January 09, 2018, 08:16:18 PM
Sounds great! Thank you for helping with this, I will do some more fixing on the weekend so I'll add them around that time if thats okay with you. I'm Sure those races would be a great addition to the mod :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offensive
Post by: Manifest on January 09, 2018, 08:30:49 PM
No problem at all, you know I back this project completely! :-)

Sounds great with adding them this weekend.
I also have a few other things I would like to discuss with you in terms of the modification, and suggestions for improvements and how we might be able to increase the stability :-)

Not only might this version be superior to the other ones and usable on CS:GO aswell, it might also be the way to make WCS stable.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offensive
Post by: Kami on January 11, 2018, 05:39:21 PM
Update::


The big upside of CS:S compatiblity is that you can use the version you made for CS:GO and can use it with CS:S without changing a thing. Yay!
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offensive
Post by: Muerte on January 11, 2018, 08:28:37 PM
Update::
  • Added compatiblity for CS:S. Some things might be buggy for CS:S though
Sweet, it's awesome that you managed to get it to work :D
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offensive
Post by: Manifest on January 12, 2018, 12:12:30 AM
Thanks to the new version the serpent ward bug has been fixed and the serpent wards can no longer be abused/exploited to kill your own teammates and gain experience from doing so.

I have attempted to recreate the old-school styled visuals for the serpent wards  from back pre-orangebox.

We will attempt to fix a lot of the bugs that existed in the previous versions, so if you know any bugs, even ones you might find to be obvious and known by everyone, then please inform us using either the  GitHub (http://warcraft-source.com/board/index.php?topic=17185.msg121032#msg121032)provided by Kami, or post them Here (http://warcraft-source.com/board/index.php?topic=17203.0), it only takes a minute or two, and might end up saving you hours of fixing the bugs yourself.

Thank you in advance! :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offensive
Post by: WCS - Wookie on January 13, 2018, 07:12:07 AM


I have attempted to recreate the old-school styled visuals for the serpent wards  from back pre-orangebox.


Do you mean the one that looks like it has a an energy ball pulsing downwards from the centre of it?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on January 13, 2018, 09:53:35 AM
Do you mean the one that looks like it has a an energy ball pulsing downwards from the centre of it?

Yes, exactly that one that you describe right there.
It is a blue orb for counter-terrorists, and a red orb for the terrorists, with a line down into the middle of a ring that then keeps on sort of pulsating like you describe it. :-)
If a player is then within reach of the ward they will then take damage, and there'll be made an almost invisible line from the ward to the player who's being attacked. :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on January 14, 2018, 07:39:22 AM
Sounds sexy, is it compatible with css effects? Asking for a friend :P
 8)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on January 14, 2018, 11:26:10 AM
Yes, it was originally designed for CS:S.

Right now it is not actually compatible with CSGO, until I start working on sorting out the materials part of the WCS version, but assuming you use ALL the materials provided by Kami right now, then it should be available, and usable.

The thing is, the effects are currently coded into a command, so if you intend to use the effects of this new version on older WCS versions, then you would have to implement this effect in your current ward command :-) 
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: zloykif on January 15, 2018, 09:33:50 AM
nice work  :D (not tested yet)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on January 15, 2018, 11:59:04 AM
Hey ZloyKif! (^.^)

Yes, it certainly has come quite a long way, if you do wish to test the modification please do so, the more testers the better it'll be for the modification as we can find all those small bugs and fix them right away.

But if you rather want to try the modification in action gameplay wise, then if you are patient enough you can wait a bit for the server I am working on, I am currently still working on the race lineup, so it might take a little time before it is ready, but it should be able to show the possibilities with the modification.
It will also offer many hours of gameplay for those who wish to give the server a shot once it's up, I promise you will not be dissappointed. :-)

Ps. thank you for helping me out here the other day, it was really nice of you, to take your time and help me out a bit. :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on January 16, 2018, 11:22:05 PM

  • Download everything from https://github.com/kamikazekuh/WCS_GO (https://github.com/kamikazekuh/WCS_GO)
  • Download everything from https://github.com/Ayuto/EventScripts-Emulator (https://github.com/Ayuto/EventScripts-Emulator)
Hey Kami,

Will I need the emulator to run this in CS Source or are the instructions for installation slightly different?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on January 17, 2018, 05:35:32 AM
I dont know If you can install Eventscripts and source-python at the Same time. If so, you could replace the Emulator with Eventscripts. But I'd reccomend using Source-python and the Emulator in cs:s instead of  Eventscripts :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Ayuto on January 17, 2018, 07:23:29 AM
You can only run Source.Python and EventScripts at the same time if you are running a Windows Server.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on January 17, 2018, 08:37:09 AM
Thanks for the helpful advice guys, and I'm running linux atm ayuto so I guess that rules that one out ;/

Just started optimising my races.ini file to look neater before moving all the existing code that isn't already in block format into blocks. Hoping to be done with that part by Saturday then i'll take a look at installing the mod on my server
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on January 17, 2018, 12:13:13 PM
Damn, it's nice to see some dedication around this forum! :D

Wookie in terms of the block format, you actually do NOT have to make it in block format as this version also supports the standard ini where everything is written in the skills and so on. We have chosen to do it because the block format is just way more clean and we figured it would be a good starting point, so that we have a contineously ongoing race structure :-)

So you can keep it like it is right now and it should also work, of course you would have to adapt the races themselves to the new version with the minor adjustments to commands e.g. es wcs damage is now es wcs_dealdamage, but that is sort of it :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on January 17, 2018, 12:20:20 PM
Thanks for the information Mani,

But this is really a long time coming. I should have tidied up this racefile and exported to blocks years ago when you told me about it. I too like seeing a tidy and efficient race file. My server will keep for now while I do the transition to the new version.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on January 18, 2018, 08:37:07 PM
Update:

Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Ayuto on January 18, 2018, 09:26:17 PM
  • Added real centertell to CS:GO - use wcs_centertell <user ID> <message> or wcs_centermsg <message>
If there is something wrong with es.centertell why don't you open a new issue or pull request?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on January 18, 2018, 09:40:22 PM
There ist nothing wrong with it I think. I Just replaced the hudhint es.centertell does (which is fine) with hudmsg, so it Looks closer to the cs:s Centertell.  I don't think this is a Thing that should be a Default in the Emulator, so I added it as an Option to wcs
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on January 19, 2018, 12:12:18 AM
The version have been updated!
We recommend all users to use this new version as it fixes multiple errors and issues, more information can be found below.

Fix: Teamlimit
In all the previous versions of WCS you used to be able to exploit the teamlimit system, by doing the following.
If a race had a teamlimit set to 1 and another player on your team was playing the given race you could simply jump to the opposing team, choose the race and back to your old team. This has been dealt with and is no longer possible in the new version.

Fix: Restrictmap
Fixed up restrictmap to work, it did not work in the previous version, but now does. In addition a player can no longer choose a race he know is restricted in the upcoming map and remain playing it. If he is on a race that is restricted for the newly changed map then he will not be able to join a playable team until he have changed his race.

Fix: Restrictteam
Just like teamlimit in the previous wcs versions you could simply jump to the opposing team, pick the race and jump back. This too have been fixed and is no longer possible, players attemtping this will be informed that the race is only available to one specific team.

Fix: Jetpack
Players who had a jetpack/flying ultimate could use their ultimate and touch a ladder and get off it again, this would disable the player's current jetpack/flying state. This has been taken care of. Now when player's leave the ladders they will remain in the jeypack/flying state.
A special thank you goes out to Ayuto's due to his recent update which made our jetpack fix have become a lot better as it no longer is as hard on the servers!

Fix: Gravity
In CS:S it was a known issue on Linux some servers running WCS that after touching a ladder the clients gravity would be reset to the servers sv_gravity value. We fixed this issue and it should no longer be able to occur this goes for both CS:S and CS:GO.

Fix: RoundEnd
Previously in this version upon the round ending people would lose their different mobility related bonus affixes such as speed, longjump and gravity. They would lose these just after the bomb exploded or the timer ran out, leaving them with 4-7 seconds gameplay where most mobility based races would become during this period of time.
We have changed it so this duration is now 0.2 seconds, but we don't intend to remove it as it fixes a lot of other possible issues like the previously known permanent slow that could last for multiple rounds.

Changed: Restrictions
The restrictions have been changed back to the old versions of the restriction. I know this is seems like a rather vague description, like implied by Wookie (Thanks by the way). Therefore I've decided to provide an example on how to restrict a race to be able to only use knife.
Code: [Select]
es wcs_restrict event_var(userid) "glock;usp;p228;deagle;elite;fiveseven;m3;xm1014;mac10;tmp;mp5navy;ump45;p90;galil;famas;ak47;m4a1;scout;aug;sg550;awp;sg552;g3sg1;m249"
The system works so that you restrict each weapon seperately, the weapon's restricted are seperated by a semi colon. Using this specific system you will no longer experience issues with your races' restrictions messing up in one way or another.
This example is for CS:S

New command: wcs_centertell
Like mentioned by Ayuto and Kami there have been added a new command; wcs_centertell.
In CSGO wcs_centertell will provide you with the option of creating centertell messages similar to the ones you've used to see in CS:S, messages that are being displayed just a little above the center area of the player's screen.

(Note: wcs_centertell is not to be confused with es_centertell, as es_centertell writes in the hint area in CSGO, whereas the wcs_centertell writes the message around the center of the screen).
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on January 19, 2018, 08:46:26 AM
Good to know about these fixes. I see that Kami said that the restrict has been changed to act like the old one? Are we talking the legacy restrictions or the 0.76/77 version of restrictions? Would appreciate an example of the current restriction code so I can compare with what I am currently using.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on January 19, 2018, 12:24:15 PM
I see that Kami said that the restrict has been changed to act like the old one? Are we talking the legacy restrictions or the 0.76/77 version of restrictions?

Very good question Wookie, I forgot to go into detail on this matter and the round end changes, I have now updated that, thanks for pointing it out. :-)
I will also post them below in order to make sure as many people as possible get to see these changes and become  aware of them.

Fix: RoundEnd
Previously in this version upon the round ending people would lose their different mobility related bonus affixes such as speed, longjump and gravity. They would lose these just after the bomb exploded or the timer ran out, leaving them with 4-7 seconds gameplay where most mobility based races would become during this period of time.
We have changed it so this duration is now 0.2 seconds, but we don't intend to remove it as it fixes a lot of other possible issues like the previously known permanent slow that could last for multiple rounds.

Changed: Restrictions
The restrictions have been changed back to the old versions of the restriction. I know this is seems like a rather vague description, like implied by Wookie (Thanks by the way). Therefore I've decided to provide an example on how to restrict a race to be able to only use knife.
Code: [Select]
es wcs_restrict event_var(userid) "glock;usp;p228;deagle;elite;fiveseven;m3;xm1014;mac10;tmp;mp5navy;ump45;p90;galil;famas;ak47;m4a1;scout;aug;sg550;awp;sg552;g3sg1;m249"
The system works so that you restrict each weapon seperately, the weapon's restricted are seperated by a semi colon. Using this specific system you will no longer experience issues with your races' restrictions messing up in one way or another.
This example is for CS:S


While we're on the topic of restrictions.
I will be posting a race which shows how to correctly set up your restrictions in order to make your race knife only on both CS:S and CS:GO, rendering it usable in each game, and makes sure you don't have to compromise your work to only one game.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: phixious on January 19, 2018, 07:37:54 PM
I am seeing an error in my console but I only seem to see it at startup.

Quote
[SP] Caught an Exception:
Traceback (most recent call last):
File "../addons/source-python/plugins/wcs/wcs.py", line 1336, in level_init_listener
autoassing.set_int(0)
NameError: name 'autoassing' is not defined

I just updated to the newest build of SP and the newest builds from github for the es emulator and wcs
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on January 19, 2018, 08:27:35 PM
Thank you, i will fix it :)

Edit: Fixed it
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on January 19, 2018, 11:53:04 PM
The version have been updated!
We recommend all users to use this new version as it fixes multiple errors and issues, more information can be found below.

Fix: Changerace RaceName
After the new update changerace now also allows you to search for the specific races you're looking for. Unlike in the previous versions the search function is no longer case-sensitive, so it is now way more user friendly and easy to use. To try it out simply type changerace followed by a race's name in your chat and it will show every race that contain the text written after changerace. E.g. typing "Changerace hunt" while only having the default races installed will show.
- Shadow Hunter
- Succubus Hunter

Moved: Ultimates folder
Moved the ultimates folder so it would fit with the origignal races ultimate paths from the previous versions of WCS and also renamed the file from ultimates.py to default2.py.

Moved: Playerinfo & invisibility
The playerinfo didn't account for player's invisibility, but now this too can be seen by typing playerinfo, just like in the mod's predecessors.

New command: wcs_changerace
A new command has been added, wcs_changerace. This command allows you to change a player's race. There are two ways to use the command, it can be used with quotations around the race name, or without. It supports both. However it is case sensitive.
Example this would change the player's race to the first race in the standard list, undead scourge.
Code: [Select]
es wcs_changerace event_var(userid) "Undead Scourge"
This example also works, but would change the player's race to Chameleon, the last race in the standard races.
Code: [Select]
es wcs_changerace event_var(userid) Chameleon
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on January 20, 2018, 12:21:21 AM
Not gonna lie that wcs_changerace command has me feeling all sorts of good feelings ;)

Also that restrict version is the one I am currently using so yay! I won't have to mass update all my restriction blocks :) ;D ;D
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on January 20, 2018, 12:57:34 AM
Not gonna lie that wcs_changerace command has me feeling all sorts of good feelings ;)
I am very glad to hear that, then this will probably also please you.


Removed: es_effect.txt
Due to the races all being coded into their own blocks along with their own respective effects the standard races no longer make use of the es_effect.txt, hence the entire addons/effect folder have been removed.

Removed: Give Cash command from WCSadmin
We have come to the decision that since you can give out levels and experience through the WCSadmin menu there really were no need for this functionality. If people dislike this then please send the hate in my direction though. However I think we did make up for it...

Added: Changerace to WCSadmin
As mentioned above, I think we made up for it, because instead of the give cash WCS admins now have the opportunity to use the newly integrated feature "Change race". The feature allows the admin to click change race, and then choose a player in the player list followed by choosing a race from the changerace list (Also supports the race category system).

New command: wcs timed_damage
This command deals damage over time to it's victim, you can set the interval to your liking, the damage is the damage dealt for each tick, the interval defines the time between the damage dealt and the next incoming damage tick, the duration is how long the damage over time will last for in total.
An example on how to use this can be found in the standard race "Warden".

Race Update: Flame Predator
Flame Predator has now also received an update to it's restrictions.
Everyone who have had the Flame Predator race running on a CSGO server might have experienced that there were no restrictions to the race, but they have no been implemented and the issues with it have been fixed. The race can no longer carry the following weapons: m4a1 and awp.

New command: wcs_getrandomrace
This command is a necessity if you intend to run with our new addon for making bots playing randomized races on your server. The command fetches all the available races for this one user, and stores it in a variable. Including available private races aswell.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on January 20, 2018, 06:20:45 AM
New command: wcs timed_damage
This command deals damage over time to it's victim, you can set the interval to your liking, the damage is the damage dealt for each tick, the interval defines the time between the damage dealt and the next incoming damage tick, the duration is how long the damage over time will last for in total.
An example on how to use this can be found in the standard race "Warden".

Ooo I've been trying to think of a proper way to do this in css for ages since I am using Naiken's RTD plugin and I created a "poison roll" where I just repeated the player set health -3 repeatedly for 10 instances with a 3 second delay. (ugly coding i know but it worked). I will have to think of some uses for this new ability for some races.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on January 21, 2018, 02:09:26 AM
The version have been updated!
We recommend all users to use this new version as it fixes multiple errors and issues, more information can be found below.


Added: wcsbuyitem
We have implemented the old wcsbuyitem command, which allowed you to instantly buy an item, but we've made some slight changes to prevent the previous inconveniences associated with this command.
In order to buy an item instantly you simply type wcsbuyitem followed by the item name, e.g.

wcsbuyitem claws of attack

This will give you the shopitem: claws of attack.
You can also choose to type just one word after the wcsbuyitem e.g. Claws, this will buy the item named something with claws, but if there are multiple items with the claws name it will create a popup menu with the different items with this similar name.

Race updates
More or less every single race in the list have received an edit of a sort, whether it be a minor alteration, or a fix.
We wont be mentioning all the updates here, as some of them are very slight, but some mentionable ones would be.

Changed the ultimate paths for Orcish Horde and Night Elves, so they can now cast their ultimates.
Chameleon have received a lot of love, as there was a mistake in the checks, causing four out of his total of five skills to not work as intended.
Crypt lord shared a one of Chameleon's check errors which have also been fixed.

Fix: Ultimates
The ultimates the have received an overhaul.

The chain lightning ultimate of Orcish Horde have now gotten it's visual effects implemented and we've also added a sound for it too.
The entangling roots ultimate for Night Elves have gotten it's visual effects implemented and we have also added a custom sound for this ultimate.
The teleportation ultimate have received a new custom sound.

Fix: Private race bug
Whenever a serverhost reorganize his racelist there's a risk that one of the players will end up on a private race that they do not have access to. This is no longer possible, if this happens then upon the player connecting to the server his race will be changed from a private race he does not have access to, to a race that he has access to.

Command changed: wcs_pushto
The command wcs_pushto now supports one additional arg, which is force of push.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on January 21, 2018, 05:53:20 AM
Grrr, Really want to install this on my new server today to test but having to wait on server technicians to fix permissions as I can't install any .so files ><
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Romero on January 21, 2018, 11:57:31 AM
One question...
Is the strings.ini file now working? Or will it be supported in the next updates?:)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on January 21, 2018, 12:07:42 PM
It should be working with wcs_xtell. There are many messages that are not inside the strings.ini though.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: coty9090 on January 23, 2018, 02:22:46 AM
Oh my goodness! So excited to test this out on my VDS now for CS:S!
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on January 23, 2018, 05:26:52 PM
I'm glad to hear that Coty9000 :)

- And welcome back from your long break. :-)
We will gradually be releasing content for this new version of WCS, and the WCS itself is still in development, but it is safe to say that the new version is going to be superior to it's predecessors on many aspects. So I hope it'll live up to your expectations. :-)

When you install the modification and if you happen to run into some bugs, then please let us know by reporting it here on the forum, that way we can continue to improve on the modification and together achieve the best possible result. :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: coty9090 on January 24, 2018, 04:59:03 AM
Is there a way to save stats by time rather than round?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on January 24, 2018, 12:46:57 PM
Is there a way to save stats by time rather than round?

I am not entirely sure that I understand your question, by stats do you mean the experience gained by players? Or what do you mean exactly, would you care to elaborate, so that we can see if we can meet your request? :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on January 24, 2018, 01:26:54 PM
I will add time Based saving! (He means xp i think. There are Game modes that do Not have round Changes that often.)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Etox on January 24, 2018, 05:49:40 PM
Was wondering if mysql would be supported, all I can see through the wcs folder are sqlite. So was just wondering if you were planning to have it or whatsup with that :)

I am refering to things like levelbank, levels etc, so its easy to access through another computer when you're not at home
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on January 24, 2018, 06:39:17 PM
That is not something I am experienced with, so I'm not sure what to tell you :( No plans yet to add that, but if I get the chance I might read into it.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Ayuto on January 24, 2018, 07:24:19 PM
That is not something I am experienced with, so I'm not sure what to tell you :( No plans yet to add that, but if I get the chance I might read into it.
If you plan to add other database systems I highly recommend using SQL Alchemy instead of using them directly (it's an included site-package in SP). With SQL Alchemy you don't work directly with SQL statements or specific modules like sqlite3 or pymysql, but with simple Python objects instead. All the SQL statements are created behind the scenes. That way your plugin immediately supports multiple database systems, although you haven't written a single line of code that is specific to a single database system.

Here is a list of database systems that will be supported if you use SQL Alchemy:
https://docs.sqlalchemy.org/en/latest/dialects/
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: coty9090 on January 25, 2018, 02:52:38 AM
Is there a way to save stats by time rather than round?

I am not entirely sure that I understand your question, by stats do you mean the experience gained by players? Or what do you mean exactly, would you care to elaborate, so that we can see if we can meet your request? :-)


I will add time Based saving! (He means xp i think. There are Game modes that do Not have round Changes that often.)

I do mean experience, skill levels, race, etc. Thanks!
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: joshtrav on January 25, 2018, 02:59:03 AM
That is not something I am experienced with, so I'm not sure what to tell you :( No plans yet to add that, but if I get the chance I might read into it.
If you plan to add other database systems I highly recommend using SQL Alchemy instead of using them directly (it's an included site-package in SP). With SQL Alchemy you don't work directly with SQL statements or specific modules like sqlite3 or pymysql, but with simple Python objects instead. All the SQL statements are created behind the scenes. That way your plugin immediately supports multiple database systems, although you haven't written a single line of code that is specific to a single database system.

Here is a list of database systems that will be supported if you use SQL Alchemy:
https://docs.sqlalchemy.org/en/latest/dialects/

We ended up using pymysql and found it to be the best performance/usage choice out of 3 candidates.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on January 25, 2018, 07:24:27 AM
Hey, I haven't looked into this yet to confirm, but I was wondering if there is functionality for changing the ingame chat triggers for the different menus?

E.g. people can say cr instead of/as well as changerace.

Also would this functionality be customisable by us server owners?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on January 25, 2018, 11:52:36 AM
Will Look into it wookie :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on January 26, 2018, 01:09:27 PM
Hey. I installed the files onto my CSS linux server but it doesn't load SP.

I get this error
Code: [Select]
[Source.Python] Failed to load the main module due to following exception:
Traceback (most recent call last):
 
  File "/home/tcagame/wookie/4/cstrike/addons/source-python/packages/source-python/__init__.py", line 86, in load
    setup_core_settings()
 
  File "/home/tcagame/wookie/4/cstrike/addons/source-python/packages/source-python/__init__.py", line 181, in setup_core_settings
    from core.settings import _core_settings
 
  File "/home/tcagame/wookie/4/cstrike/addons/source-python/packages/source-python/core/__init__.py", line 29, in <module>
    from urllib.request import urlopen
 
  File "/home/tcagame/wookie/4/cstrike/addons/source-python/Python3/urllib/request.py", line 84, in <module>
    import base64
 
  File "/home/tcagame/wookie/4/cstrike/addons/source-python/Python3/base64.py", line 11, in <module>
    import binascii

Any thoughts as to what is worng/what I can do to fix?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: phixious on January 26, 2018, 02:56:10 PM
Wookie, that is going to be a question better asked over on SP's forums (https://forums.sourcepython.com/) since it is purely an issue with SP failing to load.

You may just want to check to make sure you have the latest CSS build first - here (http://builds.sourcepython.com/job/Source.Python/lastSuccessfulBuild/).
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on January 27, 2018, 01:07:09 AM
Update:


This is a very extensive update so I recommend you redownload the whole mod and reinstall it. Everything you have made so far will of course still be compatible with this.

This is just a quick notice for you, soon there will be a more explainatory post. Thank you
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on January 27, 2018, 01:09:47 AM
The version have been updated!
We recommend all users to use this new version as it fixes multiple errors and issues, more information can be found below.




Added: event player_assister
This event is triggered whenever someone assists on killing a target but are not awarded with the kill. The person who assisted in the killing will be having the userid event_var(assister). This will allow for new types of skills to be developed and we might be seeing potentially new support oriented races.

Race updates
We have moved all races from eventscripts/races to now have the new location inside of the wcs folder: eventscripts/wcs/races. Therefore we have also changed all the races, and there have been a few additional minor changes as well. We will therefore encourage you to update to the newest version.

Added: Custom command registration
As requested by Wookie we have allowed the users to define a list of commands that will be registered for the wcs commands. For example you can have the changerace menu popup using changerace and !cr if you so desire.
The configuraitons for the custom registrations can be found in: cfg/source-python/wcs/wcs_commands.cfg.

Added: Experience saving
It is now possible for hosts to have their player's experience data saved every X second, rather than upon round end. This feature is ideal for servers running deathmatch or other plugins that prolongs rounds or entirely eliminates the ending of rounds.

Added: Experience configurations
After making a survey, collecting suggestions and generel inputs we have created an experience configuration file which should allow for a more extensive and in-depth custom level system.
The file can also be found at cfg/source-python/wcs/wcs_xp.cfg.

Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on January 27, 2018, 06:50:48 AM
Thanks for the tip Phixious, I have checked that I am using the latest build, but I will make a post over on there forums.

Really excited for these changes, good thing I haven't started doing the majority of my changes to the racefile yet manifest as that would have been an extra step to repath all the folders to the new wcs/races :)

Cheers for implementing the !cr and changerace functionality Kami, I am sure this will be a very popular addition to the mod (at least from server owners perspectives).
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: coty9090 on January 27, 2018, 03:13:47 PM
Awesome thanks! How do i switch to time based saving? I don't see it anywhere yet.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on January 27, 2018, 03:44:54 PM
Using the newest version should create three configs in cfg/source-python/wcs

You are looking for those values in the wcs_core.cfg:

Code: [Select]
wcs_save_mode 1  //1 means time based, 0 means round based
wcs_save_delay 5 //this is the time in minutes that the repeat will take to save again
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on January 28, 2018, 12:43:53 AM
Update:


To access MySQL:

Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Muerte on January 28, 2018, 12:07:23 PM
I have a big concern for people updating the WCS to the latest version and accidentally overwriting their customized races.ini and items.ini. A lot of valuable time can be spent customizing those files and accidentally overwriting them with an update happens far too easily (and then you're fucked).

Therefore I suggest seperating the official WCS race pack/ race categories/ item pack/ etc to a different github repository that can simply be downloaded as a .zip as well, like the WCS mod.

I understand this would require one more installation step upon the original installation (one more zip to download, unpack and upload), but it vastly reduces the risk and complexity of updating WCS mod afterwards, whilst being able to keep the same file structure rather then needing to use races_default.ini or an approach of that sorts.

Edit: Furthermore, I would also suggest that custom racepacks would be published and maintained on github in a similar fashion from now on. It would encourage people to fix the bugs in them, rather then letting an unchanged archive with old bugs be spread around on the forums as has happened in the past.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on January 28, 2018, 01:19:35 PM
Update:


Databases are now handled via the connection string located in the wcs_core.cfg with the console variable

Code: [Select]
wcs_database_connectstring
which has the default set to a SQLite database created in the wcs/data folder

Code: [Select]
'sqlite:///csgo/addons/source-python/plugins/wcs/data/players.db'
Available dialects and how to create a connection string can be found at http://docs.sqlalchemy.org/en/latest/dialects/ (http://docs.sqlalchemy.org/en/latest/dialects/)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Romero on January 28, 2018, 07:31:50 PM
Suddenly
Code: [Select]
[SP] Loading plugin 'wcs'...
[SP] Caught an Exception:
Traceback (most recent call last):
File "../addons/source-python/packages/source-python/plugins/command.py", line 162, in load_plugin
plugin = self.manager.load(plugin_name)
File "../addons/source-python/packages/source-python/plugins/manager.py", line 193, in load
plugin._load()
File "../addons/source-python/packages/source-python/plugins/instance.py", line 74, in _load
self.module = import_module(self.import_name)
File "../addons/source-python/plugins/wcs/wcs.py", line 48, in <module>
from wcs import admin
File "../addons/source-python/plugins/wcs/admin.py", line 23, in <module>
from wcs import levelbank
File "../addons/source-python/plugins/wcs/levelbank.py", line 117, in <module>
database = SQLiteManager(Path(ini_path).joinpath('data'))
File "../addons/source-python/plugins/wcs/levelbank.py", line 52, in __init__
self.connection = sqlite.connect(self.pathFile.joinpath('levelbank.sqlite'))
sqlite3.OperationalError: unable to open database file
[SP] Plugin 'wcs' was unable to be loaded.

Or that's my "straight" hands?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on January 28, 2018, 07:56:51 PM
Suddenly
Code: [Select]
[SP] Loading plugin 'wcs'...
[SP] Caught an Exception:
Traceback (most recent call last):
File "../addons/source-python/packages/source-python/plugins/command.py", line 162, in load_plugin
plugin = self.manager.load(plugin_name)
File "../addons/source-python/packages/source-python/plugins/manager.py", line 193, in load
plugin._load()
File "../addons/source-python/packages/source-python/plugins/instance.py", line 74, in _load
self.module = import_module(self.import_name)
File "../addons/source-python/plugins/wcs/wcs.py", line 48, in <module>
from wcs import admin
File "../addons/source-python/plugins/wcs/admin.py", line 23, in <module>
from wcs import levelbank
File "../addons/source-python/plugins/wcs/levelbank.py", line 117, in <module>
database = SQLiteManager(Path(ini_path).joinpath('data'))
File "../addons/source-python/plugins/wcs/levelbank.py", line 52, in __init__
self.connection = sqlite.connect(self.pathFile.joinpath('levelbank.sqlite'))
sqlite3.OperationalError: unable to open database file
[SP] Plugin 'wcs' was unable to be loaded.

Or that's my "straight" hands?

Hi Romero, it's always nice to see you! :-)
Thank you for reporting this in :-)

Did you receive this error after updating to the newest version, or have you not downloaded the newest version yet? If this not the newest version I recommend updating to that. If you are on the newest version then let us know, then we'll be looking in to it. Thank you! :)

Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Romero on January 28, 2018, 08:00:24 PM
Suddenly
Code: [Select]
[SP] Loading plugin 'wcs'...
[SP] Caught an Exception:
Traceback (most recent call last):
File "../addons/source-python/packages/source-python/plugins/command.py", line 162, in load_plugin
plugin = self.manager.load(plugin_name)
File "../addons/source-python/packages/source-python/plugins/manager.py", line 193, in load
plugin._load()
File "../addons/source-python/packages/source-python/plugins/instance.py", line 74, in _load
self.module = import_module(self.import_name)
File "../addons/source-python/plugins/wcs/wcs.py", line 48, in <module>
from wcs import admin
File "../addons/source-python/plugins/wcs/admin.py", line 23, in <module>
from wcs import levelbank
File "../addons/source-python/plugins/wcs/levelbank.py", line 117, in <module>
database = SQLiteManager(Path(ini_path).joinpath('data'))
File "../addons/source-python/plugins/wcs/levelbank.py", line 52, in __init__
self.connection = sqlite.connect(self.pathFile.joinpath('levelbank.sqlite'))
sqlite3.OperationalError: unable to open database file
[SP] Plugin 'wcs' was unable to be loaded.

Or that's my "straight" hands?

Hi Romero, it's always nice to see you! :-)
Thank you for reporting this in :-)

Did you receive this error after updating to the newest version, or have you not downloaded the newest version yet? If this not the newest version I recommend updating to that. If you are on the newest version then let us know, then we'll be looking in to it. Thank you! :)

Hello :D

Yes, ater updating to the newest version.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on January 28, 2018, 08:05:06 PM
Is this on a dedicated server on your machine or on a hosted server?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Romero on January 28, 2018, 08:05:51 PM
Is this on a dedicated server on your machine or on a hosted server?

Hosted server.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on January 28, 2018, 08:06:44 PM
Therefore I suggest seperating the official WCS race pack/ race categories/ item pack/ etc to a different github repository that can simply be downloaded as a .zip as well, like the WCS mod.

We are currently working on this suggestion and it is anticipated that this will be a reality in the upcoming week. :-)


Furthermore, I would also suggest that custom racepacks would be published and maintained on github in a similar fashion from now on. It would encourage people to fix the bugs in them, rather then letting an unchanged archive with old bugs be spread around on the forums as has happened in the past.

Your suggestion has been taken into consideration and we've decided to go with it. In addition, we will try to make sure history doesn't repeat itself. Therefore we encourage everyone who find a bug to report it in, whether it is an entire skill not working correctly or typo in the tell messages, we would like you to report in all the errors and bugs you come across.
By doing so we can fix them up and ensure you and your players getting the best possible experience with the warcraft-source modification. :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on January 28, 2018, 08:10:01 PM
I am not sure where this error comes from. A fresh install of the latest version did not result in the same problem for me. Maybe it's a permissions problem with the host?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Muerte on January 28, 2018, 08:12:47 PM
Hosted server.
Make sure that the filepermissions on the levelbank.sqlite file are set to writeable (try putting it to 755)

We are currently working on this suggestion and it is anticipated that this will be a reality in the upcoming week. :-)
Nice, then I can remove the entry "How to update WCS mod safely?" from the FAQ (since it will be safe to do so to begin with) :))
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on January 28, 2018, 09:31:56 PM
Nice, then I can remove the entry "How to update WCS mod safely?" from the FAQ (since it will be safe to do so to begin with) :))

Yes, that you will be able to upon this change of structure being published there should no longer be any risks in updating your modification. :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Romero on January 28, 2018, 10:05:55 PM
Make sure that the filepermissions on the levelbank.sqlite file are set to writeable (try putting it to 755)

Wow, thanks. I seriously forgot about the permissions :D
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on January 28, 2018, 10:14:52 PM
Kami suggesting something server related and...
BAM Muerte comes flying through the window like an angry brick thrown by the mafia, solving every single server related problem almost as if he had been in the room when it happened!

Brick Muerte to the rescue! :D
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: coty9090 on January 28, 2018, 10:34:34 PM
None of the race skills seem to be working including ultimates. It says i use the ultimate but nothing happens.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on January 28, 2018, 10:47:33 PM
Which version are you currently using, have you upated to the newest version Coty?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Romero on January 28, 2018, 11:17:33 PM
None of the race skills seem to be working including ultimates. It says i use the ultimate but nothing happens.

Same trouble after updatind to the current version :D


Edit: On the current version of WCS, the blocks for races are now in eventscripts / wcs / races.
This means I should instead of "es_load races" write "es_load wcs/races" in autoexec.cfg. Right?

Upd: Sorry! I just did not read the list of changes above... xD
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on January 28, 2018, 11:33:49 PM
Edit: On the current version of WCS, the blocks for races are now in eventscripts / wcs / races.
This means I should instead of "es_load races" write "es_load wcs/races" in autoexec.cfg. Right?

Please, fix the WCS installation guide about this.

Yes, that is completely true, and I will update Kami's post right away, I was also assuming that the races' blocks weren't being loaded judging by your description of your issue, but I needed confirmation on the matter first.

You should use
Code: [Select]
es_load wcs/races and I will be updating this now.

That should fix all your problems, but let me know if you encounter any other issues, regarding races as I will be taking over updating some of the wcs files in the following week. :)

Thank you for notifying us :-)

EDIT:
The post has now been updated.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: coty9090 on January 28, 2018, 11:46:08 PM
i'm using the latest version here https://github.com/kamikazekuh/WCS_GO
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Muerte on January 28, 2018, 11:48:21 PM
i'm using the latest version here https://github.com/kamikazekuh/WCS_GO

How does your autoexec.cfg look like atm?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: coty9090 on January 28, 2018, 11:57:30 PM

sp plugin load es_emulator
sp plugin load wcs
es_load wcs/tools
es_load races
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Muerte on January 28, 2018, 11:59:08 PM
if you are running the latest version, you may want to try and change that to es_load wcs/races and see if that helps

@Kami, is there a reason why its not loaded automatically and we need to specify this in autoexec (same for tools btw)?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: coty9090 on January 29, 2018, 12:04:58 AM
After updating everything to the very latest versions (Source-Python, WCS, ES Emu) my wcs no longer loads and i'm getting this console error.

[Spoiler]
[SP] Loading plugin 'wcs'...

[SP] Caught an Exception:
Traceback (most recent call last):
  File "..\addons\source-python\packages\site-packages\sqlalchemy\engine\base.py", line 2074, in _wrap_pool_connect
    return fn()
  File "..\addons\source-python\packages\site-packages\sqlalchemy\pool.py", line 376, in connect
    return _ConnectionFairy._checkout(self)
  File "..\addons\source-python\packages\site-packages\sqlalchemy\pool.py", line 713, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
  File "..\addons\source-python\packages\site-packages\sqlalchemy\pool.py", line 480, in checkout
    rec = pool._do_get()
  File "..\addons\source-python\packages\site-packages\sqlalchemy\pool.py", line 1151, in _do_get
    return self._create_connection()
  File "..\addons\source-python\packages\site-packages\sqlalchemy\pool.py", line 323, in _create_connection
    return _ConnectionRecord(self)
  File "..\addons\source-python\packages\site-packages\sqlalchemy\pool.py", line 449, in __init__
    self.connection = self.__connect()
  File "..\addons\source-python\packages\site-packages\sqlalchemy\pool.py", line 607, in __connect
    connection = self.__pool._invoke_creator(self)
  File "..\addons\source-python\packages\site-packages\sqlalchemy\engine\strategies.py", line 97, in connect
    return dialect.connect(*cargs, **cparams)
  File "..\addons\source-python\packages\site-packages\sqlalchemy\engine\default.py", line 385, in connect
    return self.dbapi.connect(*cargs, **cparams)
sqlite3.OperationalError: unable to open database file

The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "..\addons\source-python\packages\source-python\plugins\command.py", line 162, in load_plugin
    plugin = self.manager.load(plugin_name)
  File "..\addons\source-python\packages\source-python\plugins\manager.py", line 193, in load
    plugin._load()
  File "..\addons\source-python\packages\source-python\plugins\instance.py", line 74, in _load
    self.module = import_module(self.import_name)
  File "..\addons\source-python\plugins\wcs\wcs.py", line 52, in <module>
    from wcs.database import database
  File "..\addons\source-python\plugins\wcs\database.py", line 47, in <module>
    if not engine.dialect.has_table(engine, 'Players'):
  File "..\addons\source-python\packages\site-packages\sqlalchemy\dialects\sqlite\base.py", line 1139, in has_table
    connection, "table_info", table_name, schema=schema)
  File "..\addons\source-python\packages\site-packages\sqlalchemy\dialects\sqlite\base.py", line 1480, in _get_table_pragma
    cursor = connection.execute(statement)
  File "..\addons\source-python\packages\site-packages\sqlalchemy\engine\base.py", line 1990, in execute
    connection = self.contextual_connect(close_with_result=True)
  File "..\addons\source-python\packages\site-packages\sqlalchemy\engine\base.py", line 2039, in contextual_connect
    self._wrap_pool_connect(self.pool.connect, None),
  File "..\addons\source-python\packages\site-packages\sqlalchemy\engine\base.py", line 2078, in _wrap_pool_connect
    e, dialect, self)
  File "..\addons\source-python\packages\site-packages\sqlalchemy\engine\base.py", line 1405, in _handle_dbapi_exception_noconnection
    exc_info
  File "..\addons\source-python\packages\site-packages\sqlalchemy\util\compat.py", line 202, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=cause)
  File "..\addons\source-python\packages\site-packages\sqlalchemy\util\compat.py", line 185, in reraise
    raise value.with_traceback(tb)
  File "..\addons\source-python\packages\site-packages\sqlalchemy\engine\base.py", line 2074, in _wrap_pool_connect
    return fn()
  File "..\addons\source-python\packages\site-packages\sqlalchemy\pool.py", line 376, in connect
    return _ConnectionFairy._checkout(self)
  File "..\addons\source-python\packages\site-packages\sqlalchemy\pool.py", line 713, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
  File "..\addons\source-python\packages\site-packages\sqlalchemy\pool.py", line 480, in checkout
    rec = pool._do_get()
  File "..\addons\source-python\packages\site-packages\sqlalchemy\pool.py", line 1151, in _do_get
    return self._create_connection()
  File "..\addons\source-python\packages\site-packages\sqlalchemy\pool.py", line 323, in _create_connection
    return _ConnectionRecord(self)
  File "..\addons\source-python\packages\site-packages\sqlalchemy\pool.py", line 449, in __init__
    self.connection = self.__connect()
  File "..\addons\source-python\packages\site-packages\sqlalchemy\pool.py", line 607, in __connect
    connection = self.__pool._invoke_creator(self)
  File "..\addons\source-python\packages\site-packages\sqlalchemy\engine\strategies.py", line 97, in connect
    return dialect.connect(*cargs, **cparams)
  File "..\addons\source-python\packages\site-packages\sqlalchemy\engine\default.py", line 385, in connect
    return self.dbapi.connect(*cargs, **cparams)

sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Muerte on January 29, 2018, 12:13:33 AM
Just to be sure, could you set the file permissions to 755 for the database files found under  /addons/source-python/plugins/wcs/data/ ?

Edit: I wonder if we could do this automatically using a python command like os.chmod ?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: coty9090 on January 29, 2018, 12:23:06 AM
Did not work
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on January 29, 2018, 12:25:20 AM

sp plugin load es_emulator
sp plugin load wcs
es_load wcs/tools
es_load races

There have been a response to this earlier and the main post was updated too, you gotta change:
es_load races

To:
es_load wcs/races

This will solve the race part of the issue you will be experiencing later when the other errors are fixed. The errors listed above is Kami's area, and I'm afraid he wont be able to respond as I think he is currently asleep. But knowing him you will have some solid feedback within a reasonable time :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Muerte on January 29, 2018, 12:42:47 AM
Did not work
Try to restart the gameserver. Is this a Linux or Windows gameserver?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on January 29, 2018, 06:24:39 AM
Are you by any chance using Counterstrike Source?

If so go to wcs_core.cfg and change:

Code: [Select]
wcs_database_connectstring "sqlite:///csgo/addons/source-python/plugins/wcs/data/players.db"
to

Code: [Select]
wcs_database_connectstring "sqlite:///cstrike/addons/source-python/plugins/wcs/data/players.db"
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: coty9090 on February 01, 2018, 05:41:59 AM
Are you by any chance using Counterstrike Source?

If so go to wcs_core.cfg and change:

Code: [Select]
wcs_database_connectstring "sqlite:///csgo/addons/source-python/plugins/wcs/data/players.db"
to

Code: [Select]
wcs_database_connectstring "sqlite:///cstrike/addons/source-python/plugins/wcs/data/players.db"

oh man... yes, this was it  ::) Thanks!
Some race skills are working now, but others aren't working for me even after setting es_load wcs/races including ultimates.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on February 01, 2018, 10:45:06 AM
Some race skills are working now, but others aren't working for me even after setting es_load wcs/races including ultimates.

Please be more specific in this matter.
Like which races have skills that doesn't work, and which skills is it that doesn't work, along with how don't they work, are they not displaying a visual effect, are they not dealing damage, or what is it exactly, if you are getting any errors in your console about the races' skills, then please send them over too.

By being specific we will be able to fix all the issues you are experiencing with the races, and help out everyone else who might be dealing with the same issues as you are. :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on February 01, 2018, 08:19:09 PM
Update:

Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Eareland on February 02, 2018, 12:19:10 AM
Just wanted to say thank you for this release, if I didnt do it already.  ::)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: coty9090 on February 02, 2018, 06:18:25 AM
There are no errors in the log/console.
Now the skills are working as far as i can tell except for some ultimates. These are the only 2 i found that wasn't working, but i'll have to check the rest some other time.

When using archmage proudmoore I try using the ultimate (Lift Off) but it does nothing. (Nothing happens except for when i try reusing the skill over it says i cant use it with 1 second left cooldown.

Orcish Horde Chain Lightning ultimate does nothing most of the time. I see it say u_chain_failed every so often but when i'm actually near an enemy it does nothing to them or visually...
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on February 02, 2018, 06:48:41 AM
I have some free time this Weekend and will Test all skills. Thank you for reporting.

And to Earland: my pleasure, nice to see some of the "old" faces around here again :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on February 02, 2018, 12:00:33 PM
When using archmage proudmoore I try using the ultimate (Lift Off) but it does nothing. (Nothing happens except for when i try reusing the skill over it says i cant use it with 1 second left cooldown.

Oh okay, well it did sound a lot worse before almost as if no skill was working at all. I am quite surprised to hear about archmage proudmoore giving difficulties as it is one of the ultimates I've used a lot myself on my servers previously. I will be looking in to this matter, probably later today.

Orcish Horde Chain Lightning ultimate does nothing most of the time. I see it say u_chain_failed every so often but when i'm actually near an enemy it does nothing to them or visually...

As for the chain lightning, I'm sure Kami will be looking into this one as he's the one most familiar with python. :-)
We will push out an update this weekend, and in that update the races will also be seperated from the actual modification, so you wont have to risk overwriting your precious files such as your level database, races.ini, admin file and race categories in the future when updating your WCS mod :-)

Thank you for reporting in the bugs, we'll see it fixed within no time! :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: phixious on February 02, 2018, 08:02:03 PM
Apparently I picked the wrong time to go on a trip. Thanks for all the hard work guys.

I will be updating my test server tonight and get some more testing in.  Have any MySQL setup files been made yet or will they be auto-created if pointed with the SQLAlchemy connection strings?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on February 02, 2018, 09:48:13 PM
What do you mean with setup files?

The setup for the MySQL connection happens all in the connectstring itself.

Layout for PyMySQL:

Code: [Select]
mysql+pymysql://<username>:<password>@<host>/<dbname>[?<options>]
You can find more at:

http://docs.sqlalchemy.org/en/latest/dialects/mysql.html (http://docs.sqlalchemy.org/en/latest/dialects/mysql.html)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on February 02, 2018, 10:39:34 PM
Update:

Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: phixious on February 02, 2018, 10:40:31 PM
i was talking about the database table creation. I know that some software implements new state and will execute the create statements on their own but I was just checking to see if this was happening or if anyone had created a .sql file for mysql to create the tables.

That is all. I was considering going the mysql route and seeing about coding up a player/race stats site. I am running GameMe for game stats but i was thinking it would be cool to be able to look at a players race levels and ability build from a stats page. Maybe us it as a balancing mechanism.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on February 02, 2018, 10:43:19 PM
I'm not 100% sure, but I think if you establish a successfull connection to a mysql database, WCS should create all the tables on its own.

MySQL has not been tested though. I would appreciate feedback on how it goes for you :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: phixious on February 02, 2018, 10:45:41 PM
Well, I just finished uploading the previous update.. and now i got another one to do  >:(

 ;D I will let you know as soon as i have some test results.

Edit: I did notice the newest package has a sounds folder. Might want to note that to anyone who is manually uploading to a FastDL server.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: phixious on February 02, 2018, 11:33:38 PM
Sorry for double post but didn't want to edit that one again. Here is the results:

Quote from: Log
Initializing EventScripts...
[EventScripts] Loaded esc
[SP] Successfully loaded plugin 'es_emulator'.
[SP] Loading plugin 'wcs'...
[SP] Caught an Exception:
Traceback (most recent call last):
File "../addons/source-python/packages/site-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
context)
File "../addons/source-python/packages/site-packages/sqlalchemy/engine/default.py", line 450, in do_execute
cursor.execute(statement, parameters)
File "../addons/source-python/packages/site-packages/pymysql/cursors.py", line 161, in execute
result = self._query(query)
File "../addons/source-python/packages/site-packages/pymysql/cursors.py", line 317, in _query
conn.query(q)
File "../addons/source-python/packages/site-packages/pymysql/connections.py", line 837, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "../addons/source-python/packages/site-packages/pymysql/connections.py", line 1021, in _read_query_result
result.read()
File "../addons/source-python/packages/site-packages/pymysql/connections.py", line 1304, in read
first_packet = self.connection._read_packet()
File "../addons/source-python/packages/site-packages/pymysql/connections.py", line 983, in _read_packet
packet.check_error()
File "../addons/source-python/packages/site-packages/pymysql/connections.py", line 395, in check_error
err.raise_mysql_exception(self._data)
File "../addons/source-python/packages/site-packages/pymysql/err.py", line 120, in raise_mysql_exception
_check_mysql_exception(errinfo)
File "../addons/source-python/packages/site-packages/pymysql/err.py", line 115, in _check_mysql_exception
raise InternalError(errno, errorvalue)
pymysql.err.InternalError: (1054, "Unknown column 'Players.currace' in 'field list'")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "../addons/source-python/packages/source-python/plugins/command.py", line 162, in load_plugin
plugin = self.manager.load(plugin_name)
File "../addons/source-python/packages/source-python/plugins/manager.py", line 193, in load
plugin._load()
File "../addons/source-python/packages/source-python/plugins/instance.py", line 76, in _load
self.module.load()
File "../addons/source-python/plugins/wcs/wcs.py", line 1348, in load
database.updateRank()
File "../addons/source-python/plugins/wcs/database.py", line 132, in updateRank
all_players = self.session.query(Players).order_by(desc(Players.totallevel)).all()
File "../addons/source-python/packages/site-packages/sqlalchemy/orm/query.py", line 2613, in all
return list(self)
File "../addons/source-python/packages/site-packages/sqlalchemy/orm/query.py", line 2761, in __iter__
return self._execute_and_instances(context)
File "../addons/source-python/packages/site-packages/sqlalchemy/util/compat.py", line 185, in reraise
File "../addons/source-python/packages/site-packages/pymysql/connections.py", line 983, in _read_packet
File "../addons/source-python/packages/site-packages/pymysql/err.py", line 120, in raise_mysql_exception
[SP] Plugin 'wcs' was unable to be loaded.

Not sure if it is the implementation or the pymysql package. I am happy to report however, that it did create the database

Image here (https://drive.google.com/file/d/1gKDGdwaX0fA9iqVVpbHe5Olf6LjYgxCp/view?usp=sharing)

Edit: After switching back to the SQLite connection string. things appear to be running fine as would be expected. I am getting a pretty big list of missing .vmt files but I will figure that out later. Also, the server is in NYC if anyone wants/needs to connect to it for a specific test, just ask.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on February 03, 2018, 12:01:58 AM
please try and redownload the levelbank.py. I think there may have been an issue as there is the Players table two times. One time in Levelbank, one time in the core data.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on February 03, 2018, 12:41:57 PM
Entangling Roots and Chain lightning have been fixed, thank you for reporting.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on February 03, 2018, 02:37:26 PM
So... My hosts aren't being very successful in installing the libs folders necessary for source python to work.

I am really leaning towards just continuing to patch and work with the modified .78 version of wcs I am currently using and move that over to my new hosts.

Feelsbadman  :-\ :'( :-[
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Muerte on February 03, 2018, 02:50:55 PM
Hey Wookie, what host and what errors?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on February 03, 2018, 03:43:26 PM
Tests with MySQL have been made and it now works.

The problem is, that the implementation with SQL Alchemy without threading can and will cause laggs due to the database saving.

It could take some time until threading is implemented as I currently have no knowledge on how to do it. If anyone feels up to the task of implementing threading for the database, let me know :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: phixious on February 03, 2018, 04:41:33 PM
I will do some more testing with it today since the fix. I will do some latency testing to see how much of a hit it takes when saving to the DB.

Is there any settings we could use to mitigate the latency hits like only save on game/map end as a temporary measure? I imagine that we can do that just by tweaking the settings for save delay and savexponround?

Edit: It looks like all of my extra comments (alternate configuration) are being removed each time I update the server. I will do a bit more testing into what exactly causes it but my WCS_core.cfg to wipe all of my extra configuration.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on February 03, 2018, 04:52:29 PM
You could set the saving method to time based instead of round based and then set the map duration time as save delay.

It's hard to see lag at mapchange though I think.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: phixious on February 03, 2018, 05:18:32 PM
here is what I am seeing with the latest that is on github:

Quote from: console
[SP] Successfully loaded plugin 'es_emulator'.
[SP] Loading plugin 'wcs'...
[SP] Encountered a Warning:
File '../addons/source-python/plugins/wcs/commands.py', line 386: DeprecationWarning
invalid escape sequence \s
[SP] Caught an Exception:
Traceback (most recent call last):
File "../addons/source-python/packages/site-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
context)
File "../addons/source-python/packages/site-packages/sqlalchemy/engine/default.py", line 450, in do_execute
cursor.execute(statement, parameters)
File "../addons/source-python/packages/site-packages/pymysql/cursors.py", line 161, in execute
result = self._query(query)
File "../addons/source-python/packages/site-packages/pymysql/cursors.py", line 317, in _query
conn.query(q)
File "../addons/source-python/packages/site-packages/pymysql/connections.py", line 837, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "../addons/source-python/packages/site-packages/pymysql/connections.py", line 1021, in _read_query_result
result.read()
File "../addons/source-python/packages/site-packages/pymysql/connections.py", line 1304, in read
first_packet = self.connection._read_packet()
File "../addons/source-python/packages/site-packages/pymysql/connections.py", line 983, in _read_packet
packet.check_error()
File "../addons/source-python/packages/site-packages/pymysql/connections.py", line 395, in check_error
err.raise_mysql_exception(self._data)
File "../addons/source-python/packages/site-packages/pymysql/err.py", line 120, in raise_mysql_exception
_check_mysql_exception(errinfo)
File "../addons/source-python/packages/site-packages/pymysql/err.py", line 115, in _check_mysql_exception
raise InternalError(errno, errorvalue)
pymysql.err.InternalError: (1054, "Unknown column 'Players.currace' in 'field list'")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "../addons/source-python/packages/source-python/plugins/command.py", line 162, in load_plugin
plugin = self.manager.load(plugin_name)
File "../addons/source-python/packages/source-python/plugins/manager.py", line 193, in load
plugin._load()
File "../addons/source-python/packages/source-python/plugins/instance.py", line 76, in _load
self.module.load()
File "../addons/source-python/plugins/wcs/wcs.py", line 99, in load
database.updateRank()
File "../addons/source-python/plugins/wcs/database.py", line 132, in updateRank
all_players = self.session.query(Players).order_by(desc(Players.totallevel)).all()
File "../addons/source-python/packages/site-packages/sqlalchemy/orm/query.py", line 2613, in all
return list(self)
File "../addons/source-python/packages/site-packages/sqlalchemy/orm/query.py", line 2761, in __iter__
return self._execute_and_instances(context)
File "../addons/source-python/packages/site-packages/sqlalchemy/orm/query.py", line 2776, in _execute_and_instances
result = conn.execute(querycontext.statement, self._params)
File "../addons/source-python/packages/site-packages/sqlalchemy/engine/base.py", line 914, in execute
return meth(self, multiparams, params)
err.raise_mysql_exception(self._data)

Is there something has hasn't been committed yet?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on February 03, 2018, 05:23:12 PM
Did you remove the WCS stuff from your database?

Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: phixious on February 04, 2018, 12:10:47 AM
Not prior to posting that. After dropping the table it does connect properly and create both tables as expected (players, races).

I saw a pretty big jump in CPU usage during the round that saved to the DB. This included a disconnection notice that lasted a little over 2 seconds before going away. To get better data on what's going on, I'll need to setup some scripts to dump connections to logs from my MySQL box but I am not sure that is going to be worth the effort at the moment since there is an obvious need to move to a threaded implementation of SQL Alchemy.

But I have some data as it will be used in future implementation so maybe I will have time to do some work on the other stuff I was thinking about.

As side note: I also saw an uptick in the server side var by about 2 to 5 ms +- .7 to 1.3 consistently.

This variance doesn't seem to happen when running with the sqlite db but, it could also be something to do with one of my other games running on the box. I'll look a little further into it and see if there was anything else going on that could explain it.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on February 04, 2018, 12:13:18 AM
I too experienced a pretty big lag when saving xp, so its propably rather a problem with many connections beeing made at the same time which leads to the server having no time for other things (like working).
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: phixious on February 04, 2018, 02:32:31 AM
So it isn't consistent that I am getting this error but I am seeing this on some loads

Quote from: console
[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/wcs.py", line 1146, in _player_hurt
if attacker and victim and not weapon.lower() in ('point_hurt') and not weapon.lower() in ('worldspawn'):
NameError: name 'weapon' is not defined
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on February 04, 2018, 09:04:22 AM
Hey Muerte,

My issue is that my server hosts don't have the required libs for Source Python to work. My hosts are Game-source.org
https://www.game-source.org/ (https://www.game-source.org/)
If you know of any hosts in the Australia/New Zealand region that have support for SourcePython and run counter strike source please let me know. (At this point i am not interested in running a CSGO WCS)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on February 04, 2018, 10:46:24 AM
So it isn't consistent that I am getting this error but I am seeing this on some loads

Quote from: console
[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/wcs.py", line 1146, in _player_hurt
if attacker and victim and not weapon.lower() in ('point_hurt') and not weapon.lower() in ('worldspawn'):
NameError: name 'weapon' is not defined

Sorry, my bad. Delted a line that was important. Its fixed now :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: phixious on February 04, 2018, 04:23:05 PM
Alright. Updated with the build from commit 86c9072. Here is a warning I am getting now

Quote from: Console
[SP] Loading plugin 'wcs'...
[SP] Encountered a Warning:
File '../addons/source-python/plugins/wcs/commands.py', line 386: DeprecationWarning
invalid escape sequence \s

Everything appears to still be working so the warning is probably not a big deal.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on February 07, 2018, 07:01:11 PM
Update:


This update may not seem like much from the changelog, but it affected most of the files, so be sure to make a clean install and make sure to not overwrite your races.ini.

The next update will focus on making updating safer by seperating the wcs plugin release and the races and item releases.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on February 07, 2018, 11:23:29 PM
Added working 'Back' options for every wcs related menu opened via wcsmenu

Super Kami, that was my queue to set up the WC:S server and get it all going here in the next week. I've just been waiting for this tiny thing. Oh, and a few other very small things, but mostly this. :p
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Muerte on February 08, 2018, 05:38:50 PM
  • Rewrote the core player and race classes to provide Threading support. That means less laggs with any database type

Oh really? Just like that, huh? That is very much awesome. Gratz!
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on February 08, 2018, 05:53:03 PM
All it took was Tha Pwned explaining to me what Threads even are. And also giving me an example of how to do it with SQL Alchemy. Oh and do not forget supporting me with answers while I made it.

So big thanks go to Pwned :>
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: phixious on February 09, 2018, 09:00:58 PM
Kami, is level bank also going to be possible with mysql?

I might be just overlooking the already existing functionality being there.

Note: Completely fine if it isn't going to be. I am just trying to figure out if I need to add more columns or another join to my proof of concept for the web page displaying players/races and such.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on February 09, 2018, 09:26:30 PM
It has the same options as the core things (as levelbank runs on SQL Alchemy too already). I did not add Thread to it yet though so right now using MySQL will cause lag. I will add Threading to levelbank today though :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: phixious on February 09, 2018, 11:36:15 PM
i see what is happening. Since both the levelbank and player db (sqlite) both contain a player table, the levelbank fails to be created if you are pointing at the same database as your playerDB. This means that some users, if they choose to use MySQL, will have to have two separate databases.

I can live with this but I don't know that other users will really be able to do that in all cases. Is there any possibility for making a configurable table prefix?

Example: new configuration variable
 
wcs_mysql_player_prefix "wcs_"  \\ this would make the tables wcs_Players, wcs_Races
wcs_mysql_levelbank_prefix "lvl_" \\ this would make the tables lvl_Players, lvl_BankPlayers

We then just use those prefix values when making a query to a each table if mysql is being used?

I am not 100% sure of the complexity of that or the amount of work that would be required. But, it would be nicer for management/maintenance purposes as well (backup 1 database rather than 2).

Edit: It almost looks like the players table isn't even needed since both tables contain the same data in the levelbank.db. It also looks like the players table isn't being given any data. I could be wrong but was that changed in a patch? Maybe i just have an outdated db file.. If it is the case that the player table is not need, then we don't have any issues and don't need the prefix.

Edit: Moved to bugs thread.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on February 10, 2018, 12:43:29 AM
Not sure what exactly you mean but what you are talking about is an old issue as I renamed the levelbank database table to BankPlayers.

Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Romero on February 17, 2018, 11:24:57 PM
If I understand correctly, if I replace the "Undead Scourge" with the race I want, it will be given to a new player who is not yet in the database. Right?  :)
wcs.py
Code: [Select]
def _load_from_database(self):
with session_scope() as session:
#Player data

player = session.query(Players).filter(Players.steamid==self.steamid).one_or_none()
if player is None:
player = Players(steamid=self.steamid,currace="Undead Scourge",name=self.name,lastconnect=time.time())
session.add(player)
session.commit()

And another question, is the Russian language in the races supported?

[Spoiler]
I think it would be useful to have a separate topic for similar questions   ;D
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Finsterblut on February 18, 2018, 01:22:18 AM
Hi i have a Problem


Code: [Select]

[Source.Python] Loading...
[Source.Python] Unable to retrieve IVEngineServer interface.
Failed to load plugin "addons/source-python"

Where is the error if the plugin does not load?

Complett Log:
Code: [Select]
Script started, file is /dev/null
LD_LIBRARY_PATH=/mnt/bin:.:bin:.:bin:

#
#Console initialized.
Setting breakpad minidump AppID = 740
#Using breakpad minidump system 740/13627.656.DC
Using breakpad crash handler
Forcing breakpad minidump interfaces to load
dlopen failed trying to load:
/home/ni11119_1/.steam/sdk32/steamclient.so
with error:
/home/ni11119_1/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Could not find steamerrorreporter binary. Any minidumps will be uploaded in-process#Game.dll loaded for "Counter-Strike: Global Offensive"
#CGameEventManager::AddListener: event 'server_pre_shutdown' unknown.
#CGameEventManager::AddListener: event 'game_newmap' unknown.
#CGameEventManager::AddListener: event 'finale_start' unknown.
#CGameEventManager::AddListener: event 'round_start' unknown.
#CGameEventManager::AddListener: event 'round_end' unknown.
#CGameEventManager::AddListener: event 'difficulty_changed' unknown.
#CGameEventManager::AddListener: event 'player_connect' unknown.
#CGameEventManager::AddListener: event 'player_disconnect' unknown.
#GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom).
#GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/cooperative).
#GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/coopmission).
Failed to load gamerulescvars.txt, game rules cvars might not be reported to management tools.
Server is hibernating
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
Particles: Missing 'particles/money_fx.pcf'
No web api auth key specified - workshop downloads will be disabled.
[Source.Python] Loading...
[Source.Python] Unable to retrieve IVEngineServer interface.
Failed to load plugin "addons/source-python"
maxplayers set to 64
ConVarRef cl_embedded_stream_video_playing doesn't point to an existing ConVar
Unknown command "cl_bobamt_vert"
Unknown command "cl_bobamt_lat"
Unknown command "cl_bob_lower_amt"
Unknown command "cl_viewmodel_shift_left_amt"
Unknown command "cl_viewmodel_shift_right_amt"
Unknown command "cl_teamid_min"
Unknown command "cl_teamid_max"
Unknown command "cl_teamid_overhead"
Unknown command "cl_teamid_overhead_maxdist"
Server logging enabled.
Server logging data to file logs/L000_000_000_000_0_201802180144_000.log
L 02/18/2018 - 01:44:25: Log file started (file "logs/L000_000_000_000_0_201802180144_000.log") (game "/mnt/csgo") (version "6974")
Unknown command "sp"
Unknown command "sp"
Unknown command "es_load"
Unknown command "es_load"
--------------------------------------------------------
sv_pure set to 0.
--------------------------------------------------------
Setting mapgroup to 'mg_active'
L 02/18/2018 - 01:44:25: [META] Loaded 1 plugin.
---- Host_NewGame ----
L 02/18/2018 - 01:44:25: Log file closed
Server logging data to file logs/L031_214_234_145_27015_201802180144_000.log
L 02/18/2018 - 01:44:25: Log file started (file "logs/L031_214_234_145_27015_201802180144_000.log") (game "/mnt/csgo") (version "6974")
L 02/18/2018 - 01:44:25: Loading map "de_dust2"
L 02/18/2018 - 01:44:25: server cvars start
L 02/18/2018 - 01:44:25: "cash_player_killed_teammate" = "-300"
L 02/18/2018 - 01:44:25: "cash_player_respawn_amount" = "0"
L 02/18/2018 - 01:44:25: "sv_maxspeed" = "320"
L 02/18/2018 - 01:44:25: "cash_team_rescued_hostage" = "0"
L 02/18/2018 - 01:44:25: "cash_team_win_by_defusing_bomb" = "3250"
L 02/18/2018 - 01:44:25: "sv_rollangle" = "0"
L 02/18/2018 - 01:44:25: "r_AirboatViewZHeight" = "0.0"
L 02/18/2018 - 01:44:25: "sv_cheats" = "0"
L 02/18/2018 - 01:44:25: "r_VehicleViewDampen" = "1"
L 02/18/2018 - 01:44:25: "metamod_version" = "1.10.7-devV"
L 02/18/2018 - 01:44:25: "mp_allowNPCs" = "1"
L 02/18/2018 - 01:44:25: "mp_tournament" = "0"
L 02/18/2018 - 01:44:25: "sv_vote_issue_pause_match_spec_only" = "0"
L 02/18/2018 - 01:44:25: "sv_spec_hear" = "1"
L 02/18/2018 - 01:44:25: "cash_player_interact_with_hostage" = "150"
L 02/18/2018 - 01:44:25: "mp_maxrounds" = "0"
L 02/18/2018 - 01:44:25: "mp_flashlight" = "0"
L 02/18/2018 - 01:44:25: "sv_tags" = ""
L 02/18/2018 - 01:44:25: "sv_stepsize" = "18"
L 02/18/2018 - 01:44:25: "sv_alltalk" = "0"
L 02/18/2018 - 01:44:25: "mp_teamlist" = "hgrunt;scientist"
L 02/18/2018 - 01:44:25: "mp_footsteps" = "1"
L 02/18/2018 - 01:44:25: "sv_noclipaccelerate" = "5"
L 02/18/2018 - 01:44:25: "sv_accelerate_debug_speed" = "0"
L 02/18/2018 - 01:44:25: "sv_wateraccelerate" = "10"
L 02/18/2018 - 01:44:25: "mp_stalemate_enable" = "0"
L 02/18/2018 - 01:44:25: "mp_autocrosshair" = "1"
L 02/18/2018 - 01:44:25: "sourcemod_version" = "1.8.0.6036"
L 02/18/2018 - 01:44:25: "cash_team_elimination_bomb_map" = "3250"
L 02/18/2018 - 01:44:25: "cash_player_get_killed" = "0"
L 02/18/2018 - 01:44:25: "mp_roundtime_defuse" = "0"
L 02/18/2018 - 01:44:25: "sv_autobuyammo" = "0"
L 02/18/2018 - 01:44:25: "sv_rollspeed" = "200"
L 02/18/2018 - 01:44:25: "sv_airaccelerate" = "12"
L 02/18/2018 - 01:44:25: "sv_show_team_equipment_prohibit" = "0"
L 02/18/2018 - 01:44:25: "mp_teams_unbalance_limit" = "1"
L 02/18/2018 - 01:44:25: "mp_timelimit" = "5"
L 02/18/2018 - 01:44:25: "cash_team_loser_bonus" = "1400"
L 02/18/2018 - 01:44:25: "sv_deadtalk" = "0"
L 02/18/2018 - 01:44:25: "cash_player_rescued_hostage" = "1000"
L 02/18/2018 - 01:44:25: "sv_waterfriction" = "1"
L 02/18/2018 - 01:44:25: "sv_competitive_official_5v5" = "0"
L 02/18/2018 - 01:44:25: "sv_steamgroup" = ""
L 02/18/2018 - 01:44:25: "cash_player_killed_enemy_default" = "300"
L 02/18/2018 - 01:44:25: "coop" = "0"
L 02/18/2018 - 01:44:25: "mp_respawnwavetime" = "10.0"
L 02/18/2018 - 01:44:25: "sv_teamid_overhead" = "1"
L 02/18/2018 - 01:44:25: "tv_enable1" = "0"
L 02/18/2018 - 01:44:25: "nextlevel" = ""
L 02/18/2018 - 01:44:25: "sv_stopspeed" = "80"
L 02/18/2018 - 01:44:25: "sv_specaccelerate" = "5"
L 02/18/2018 - 01:44:25: "deathmatch" = "1"
L 02/18/2018 - 01:44:25: "tv_enable" = "0"
L 02/18/2018 - 01:44:25: "mp_roundtime_hostage" = "0"
L 02/18/2018 - 01:44:25: "mp_freezetime" = "6"
L 02/18/2018 - 01:44:25: "mp_teammates_are_enemies" = "0"
L 02/18/2018 - 01:44:25: "mp_falldamage" = "0"
L 02/18/2018 - 01:44:25: "sv_accelerate_use_weapon_speed" = "1"
L 02/18/2018 - 01:44:25: "sv_voiceenable" = "1"
L 02/18/2018 - 01:44:25: "sv_teamid_overhead_always_prohibit" = "0"
L 02/18/2018 - 01:44:25: "sv_bounce" = "0"
L 02/18/2018 - 01:44:25: "mp_disable_respawn_times" = "0"
L 02/18/2018 - 01:44:25: "r_AirboatViewDampenFreq" = "7.0"
L 02/18/2018 - 01:44:25: "mp_weaponstay" = "0"
L 02/18/2018 - 01:44:25: "mp_hostagepenalty" = "10"
L 02/18/2018 - 01:44:25: "tv_advertise_watchable" = "0"
L 02/18/2018 - 01:44:25: "mp_friendlyfire" = "0"
L 02/18/2018 - 01:44:25: "cash_team_hostage_interaction" = "500"
L 02/18/2018 - 01:44:25: "sv_noclipspeed" = "5"
L 02/18/2018 - 01:44:25: "cash_team_win_by_time_running_out_bomb" = "3250"
L 02/18/2018 - 01:44:25: "sv_allchat" = "1"
L 02/18/2018 - 01:44:25: "mp_buy_during_immunity" = "0"
L 02/18/2018 - 01:44:25: "cash_player_killed_enemy_factor" = "1"
L 02/18/2018 - 01:44:25: "mp_c4timer" = "40"
L 02/18/2018 - 01:44:25: "r_JeepViewDampenDamp" = "1.0"
L 02/18/2018 - 01:44:25: "sv_competitive_minspec" = "1"
L 02/18/2018 - 01:44:25: "r_AirboatViewDampenDamp" = "1.0"
L 02/18/2018 - 01:44:25: "sm_nextmap" = ""
L 02/18/2018 - 01:44:25: "sv_max_allowed_net_graph" = "1"
L 02/18/2018 - 01:44:25: "mp_stalemate_at_timelimit" = "0"
L 02/18/2018 - 01:44:25: "mp_limitteams" = "2"
L 02/18/2018 - 01:44:25: "sv_footsteps" = "1"
L 02/18/2018 - 01:44:25: "sv_vote_issue_kick_allowed" = "1"
L 02/18/2018 - 01:44:25: "cash_team_survive_guardian_wave" = "1000"
L 02/18/2018 - 01:44:25: "tv_relaypassword" = ""
L 02/18/2018 - 01:44:25: "mp_teamplay" = "0"
L 02/18/2018 - 01:44:25: "cash_team_terrorist_win_bomb" = "3500"
L 02/18/2018 - 01:44:25: "cash_team_elimination_hostage_map_t" = "1000"
L 02/18/2018 - 01:44:25: "r_JeepViewDampenFreq" = "7.0"
L 02/18/2018 - 01:44:25: "cash_team_win_by_time_running_out_hostage" = "3250"
L 02/18/2018 - 01:44:25: "sv_specnoclip" = "1"
L 02/18/2018 - 01:44:25: "sv_friction" = "5.2"
L 02/18/2018 - 01:44:25: "cash_player_bomb_planted" = "300"
L 02/18/2018 - 01:44:25: "mp_autoteambalance" = "1"
L 02/18/2018 - 01:44:25: "sv_contact" = ""
L 02/18/2018 - 01:44:25: "sv_vote_kick_ban_duration" = "15"
L 02/18/2018 - 01:44:25: "cash_player_bomb_defused" = "300"
L 02/18/2018 - 01:44:25: "mp_roundtime" = "5"
L 02/18/2018 - 01:44:25: "sv_kick_ban_duration" = "15"
L 02/18/2018 - 01:44:25: "cash_team_planted_bomb_but_defused" = "800"
L 02/18/2018 - 01:44:25: "cash_player_killed_hostage" = "-1000"
L 02/18/2018 - 01:44:25: "sv_vote_issue_loadbackup_allowed" = "1"
L 02/18/2018 - 01:44:25: "nextmode" = ""
L 02/18/2018 - 01:44:25: "mp_fraglimit" = "0"
L 02/18/2018 - 01:44:25: "mp_forcerespawn" = "1"
L 02/18/2018 - 01:44:25: "mp_winlimit" = "0"
L 02/18/2018 - 01:44:25: "sv_accelerate" = "5.5"
L 02/18/2018 - 01:44:25: "mp_buy_anywhere" = "0"
L 02/18/2018 - 01:44:25: "sv_gravity" = "800"
L 02/18/2018 - 01:44:25: "sv_password" = ""
L 02/18/2018 - 01:44:25: "cash_team_elimination_hostage_map_ct" = "2000"
L 02/18/2018 - 01:44:25: "cash_team_win_by_hostage_rescue" = "3500"
L 02/18/2018 - 01:44:25: "sv_vote_issue_loadbackup_spec_only" = "0"
L 02/18/2018 - 01:44:25: "cash_team_loser_bonus_consecutive_rounds" = "500"
L 02/18/2018 - 01:44:25: "cash_player_damage_hostage" = "-30"
L 02/18/2018 - 01:44:25: "r_JeepViewZHeight" = "10.0"
L 02/18/2018 - 01:44:25: "cash_team_hostage_alive" = "0"
L 02/18/2018 - 01:44:25: "tv_password" = ""
L 02/18/2018 - 01:44:25: "sv_specspeed" = "3"
L 02/18/2018 - 01:44:25: server cvars end
ConVarRef r_staticlight_streams_indirect_only doesn't point to an existing ConVar
L 02/18/2018 - 01:44:27: Started map "de_dust2" (CRC "-48948048")
Host_NewGame on map de_dust2
L 02/18/2018 - 01:44:27: -------- Mapchange to de_dust2 --------
CGameEventManager::AddListener: event 'teamplay_win_panel' unknown.
CGameEventManager::AddListener: event 'teamplay_restart_round' unknown.
CGameEventManager::AddListener: event 'arena_win_panel' unknown.
L 02/18/2018 - 01:44:27: server_cvar: "sm_nextmap" "de_dust2"
GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom).
GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/cooperative).
GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/coopmission).
ConVarRef room_type doesn't point to an existing ConVar
ammo_grenade_limit_default - 1
ammo_grenade_limit_flashbang - 1
ammo_grenade_limit_total - 3
bot_allow_grenades - 1
bot_allow_machine_guns - 1
bot_allow_pistols - 1
bot_allow_rifles - 1
bot_allow_rogues - 1
bot_allow_shotguns - 1
bot_allow_snipers - 1
bot_allow_sub_machine_guns - 1
bot_autodifficulty_threshold_high - 5.0
bot_autodifficulty_threshold_low - -2.0
bot_chatter - normal
bot_defer_to_human_goals - 0
bot_defer_to_human_items - 1
bot_difficulty - 1
bot_quota - 10
bot_quota_mode - normal
cash_player_bomb_defused - 300
cash_player_bomb_planted - 300
cash_player_damage_hostage - -30
cash_player_get_killed - 0
cash_player_interact_with_hostage - 150
cash_player_killed_enemy_default - 300
cash_player_killed_enemy_factor - 1
cash_player_killed_hostage - -1000
cash_player_killed_teammate - -300
cash_player_rescued_hostage - 1000
cash_player_respawn_amount - 0
cash_team_elimination_bomb_map - 3250
cash_team_elimination_hostage_map_ct - 2000
cash_team_elimination_hostage_map_t - 1000
cash_team_hostage_alive - 0
cash_team_hostage_interaction - 500
cash_team_loser_bonus - 1400
cash_team_loser_bonus_consecutive_rounds - 500
cash_team_planted_bomb_but_defused - 800
cash_team_rescued_hostage - 0
cash_team_survive_guardian_wave - 1000
cash_team_terrorist_win_bomb - 3500
cash_team_win_by_defusing_bomb - 3250
cash_team_win_by_hostage_rescue - 3500
cash_team_win_by_time_running_out_bomb - 3250
cash_team_win_by_time_running_out_hostage - 3250
ff_damage_reduction_bullets - 0.1
ff_damage_reduction_grenade - 0.25
ff_damage_reduction_grenade_self - 1
ff_damage_reduction_other - 0.25
global_chatter_info -
mp_afterroundmoney - 0
mp_anyone_can_pickup_c4 - 0
mp_autoteambalance - 1
mp_buy_allow_grenades - 1
mp_buy_allow_guns - 255
mp_buy_anywhere - 0
mp_buy_during_immunity - 0
mp_buytime - 90
mp_c4_cannot_be_defused - 0
mp_c4timer - 40
mp_consecutive_loss_max - 4
mp_coop_force_join_ct - 0
mp_coopmission_bot_difficulty_offset - 0
mp_coopmission_mission_number - 0
mp_ct_default_grenades -
mp_ct_default_melee - weapon_knife
mp_ct_default_primary -
mp_ct_default_secondary - weapon_hkp2000
mp_damage_headshot_only - 0
mp_damage_scale_ct_body - 1.0
mp_damage_scale_ct_head - 1.0
mp_damage_scale_t_body - 1.0
mp_damage_scale_t_head - 1.0
mp_damage_vampiric_amount - 0
mp_death_drop_c4 - 1
mp_death_drop_defuser - 1
mp_death_drop_grenade - 2
mp_death_drop_gun - 1
mp_deathcam_skippable - 1
mp_default_team_winner_no_objective - -1
mp_defuser_allocation - 0
mp_display_kill_assists - 1
mp_dm_bonus_percent - 50
mp_dm_bonus_respawn - 0
mp_dm_bonusweapon_dogtags - 0
mp_dm_dogtag_score - 0
mp_dm_kill_base_score - 10
mp_dm_teammode - 0
mp_dm_teammode_bonus_score - 1
mp_dm_teammode_dogtag_score - 0
mp_dm_teammode_kill_score - 1
mp_dogtag_despawn_on_killer_death - 1
mp_dogtag_despawn_time - 120
mp_dogtag_pickup_rule - 0
mp_economy_reset_rounds - 0
mp_equipment_reset_rounds - 0
mp_force_assign_teams - 0
mp_force_pick_time - 15
mp_forcecamera - 1
mp_free_armor - 0
mp_freezetime - 6
mp_friendlyfire - 0
mp_ggprogressive_round_restart_delay - 15.0
mp_ggtr_always_upgrade - 0
mp_ggtr_bomb_defuse_bonus - 1
mp_ggtr_bomb_detonation_bonus - 1
mp_ggtr_bomb_pts_for_flash - 4
mp_ggtr_bomb_pts_for_he - 3
mp_ggtr_bomb_pts_for_molotov - 5
mp_ggtr_bomb_pts_for_upgrade - 2.0
mp_ggtr_bomb_respawn_delay - 0.0
mp_ggtr_end_round_kill_bonus - 1
mp_ggtr_halftime_delay - 0.0
mp_ggtr_last_weapon_kill_ends_half - 0
mp_give_player_c4 - 1
mp_global_damage_per_second - 0.0
mp_guardian_bot_money_per_wave - 800
mp_guardian_loc_adjective -
mp_guardian_loc_condition -
mp_guardian_loc_icon -
mp_guardian_loc_mission - default
mp_guardian_loc_override -
mp_guardian_loc_weapon -
mp_guardian_player_dist_max - 2000
mp_guardian_player_dist_min - 1300
mp_guardian_special_kills_needed - 10
mp_guardian_special_weapon_needed - awp
mp_guardian_target_site - -1
mp_halftime - 0
mp_halftime_pausetimer - 0
mp_heavyassaultsuit_cooldown - 5
mp_hostagepenalty - 10
mp_hostages_max - 2
mp_hostages_spawn_force_positions -
mp_hostages_spawn_same_every_round - 1
mp_items_prohibited -
mp_limitteams - 2
mp_match_can_clinch - 1
mp_max_armor - 2
mp_maxmoney - 16000
mp_maxrounds - 0
mp_molotovusedelay - 15.0
mp_playercashawards - 1
mp_radar_showall - 0
mp_randomspawn - 0
mp_randomspawn_dist - 0
mp_randomspawn_los - 1
mp_respawn_immunitytime - 4.0
mp_respawn_on_death_ct - 0
mp_respawn_on_death_t - 0
mp_respawnwavetime_ct - 10.0
mp_respawnwavetime_t - 10.0
mp_round_restart_delay - 7.0
mp_roundtime - 5
mp_roundtime_defuse - 0
mp_roundtime_hostage - 0
mp_solid_teammates - 1
mp_starting_losses - 0
mp_startmoney - 800
mp_t_default_grenades -
mp_t_default_melee - weapon_knife
mp_t_default_primary -
mp_t_default_secondary - weapon_glock
mp_taser_recharge_time - -1
mp_teamcashawards - 1
mp_teammates_are_enemies - 0
mp_timelimit - 5
mp_use_respawn_waves - 0
mp_warmup_pausetimer - 0
mp_warmuptime - 30
mp_warmuptime_all_players_connected - 0
mp_weapon_self_inflict_amount - 0
mp_weapons_allow_heavy - -1
mp_weapons_allow_heavyassaultsuit - 0
mp_weapons_allow_map_placed - 0
mp_weapons_allow_pistols - -1
mp_weapons_allow_rifles - -1
mp_weapons_allow_smgs - -1
ConVarRef mp_weapons_allow_tagrenade doesn't point to an existing ConVar
mp_weapons_allow_typecount - 5
mp_weapons_allow_zeus - 1
mp_weapons_glow_on_ground - 0
mp_weapons_max_gun_purchases_per_weapon_per_match - -1
mp_heavyassaultsuit_speed - 130
mp_heavyassaultsuit_deploy_timescale - 0.8
mp_heavyassaultsuit_aimpunch - 1.0
mp_heavybot_damage_reduction_scale - 1.0
mp_win_panel_display_time - 3
occlusion_test_async - 0
spec_freeze_panel_extended_time - 0.0
spec_freeze_time - 3.0
spec_replay_enable - 0
sv_accelerate - 5.5
sv_airaccelerate - 12
sv_allow_votes - 1
sv_alltalk - 0
sv_arms_race_vote_to_restart_disallowed_after - 0
sv_auto_adjust_bot_difficulty - 1
sv_auto_full_alltalk_during_warmup_half_end - 1
sv_autobunnyhopping - 0
sv_autobuyammo - 0
sv_bot_buy_decoy_weight - 1
sv_bot_buy_flash_weight - 1
sv_bot_buy_grenade_chance - 33
sv_bot_buy_hegrenade_weight - 6
sv_bot_buy_molotov_weight - 1
sv_bot_buy_smoke_weight - 1
sv_bots_force_rebuy_every_round - 0
sv_bots_get_easier_each_win - 0
sv_bots_get_harder_after_each_wave - 0
sv_bounce - 0
sv_buy_status_override - -1
sv_deadtalk - 0
sv_disable_show_team_select_menu - 0
sv_duplicate_playernames_ok - 0
sv_enablebunnyhopping - 0
sv_friction - 5.2
sv_gravity - 800
sv_guardian_heavy_all - 0
sv_guardian_heavy_count - 0
sv_guardian_max_wave_for_heavy - 0
sv_guardian_min_wave_for_heavy - 0
sv_ignoregrenaderadio - 0
sv_infinite_ammo - 0
sv_maxspeed - 320
sv_maxvelocity - 3500
sv_occlude_players - 1
sv_staminajumpcost - .080
sv_staminalandcost - .050
sv_stopspeed - 80
sv_talk_enemy_dead - 0
sv_talk_enemy_living - 0
sv_vote_to_changelevel_before_match_point - 0
sv_wateraccelerate - 10
sv_waterfriction - 1
tv_delay - 10
weapon_accuracy_nospread - 0
weapon_air_spread_scale - 1.0
ConVarRef weapon_cleanup_on_round_restart doesn't point to an existing ConVar
weapon_max_before_cleanup - 0
weapon_recoil_scale - 2.0
weapon_reticle_knife_show - 0
ff_damage_reduction_grenade - 0.25
ff_damage_reduction_grenade_self - 1
ff_damage_reduction_other - 0.25
mp_friendlyfire - 0
mp_warmuptime - 30
mp_warmuptime_all_players_connected - 0
Executing dedicated server config file
L 02/18/2018 - 01:44:27: server_cvar: "mp_freezetime" "5"
Writing cfg/banned_user.cfg.
Writing cfg/banned_ip.cfg.
L 02/18/2018 - 01:44:27: server_cvar: "cash_player_bomb_defused" "200"
L 02/18/2018 - 01:44:27: server_cvar: "cash_player_bomb_planted" "200"
L 02/18/2018 - 01:44:27: server_cvar: "cash_player_interact_with_hostage" "300"
L 02/18/2018 - 01:44:27: server_cvar: "cash_player_killed_enemy_default" "200"
L 02/18/2018 - 01:44:27: server_cvar: "cash_player_killed_enemy_factor" "0.5"
L 02/18/2018 - 01:44:27: server_cvar: "cash_team_elimination_bomb_map" "2700"
L 02/18/2018 - 01:44:27: server_cvar: "cash_team_elimination_hostage_map_t" "2000"
L 02/18/2018 - 01:44:27: server_cvar: "cash_team_elimination_hostage_map_ct" "2300"
L 02/18/2018 - 01:44:27: server_cvar: "cash_team_loser_bonus" "2400"
L 02/18/2018 - 01:44:27: server_cvar: "cash_team_loser_bonus_consecutive_rounds" "0"
L 02/18/2018 - 01:44:27: server_cvar: "cash_team_planted_bomb_but_defused" "200"
L 02/18/2018 - 01:44:27: server_cvar: "cash_team_terrorist_win_bomb" "2700"
L 02/18/2018 - 01:44:27: server_cvar: "cash_team_win_by_defusing_bomb" "2700"
L 02/18/2018 - 01:44:27: server_cvar: "cash_team_win_by_hostage_rescue" "3000"
L 02/18/2018 - 01:44:27: server_cvar: "cash_team_win_by_time_running_out_hostage" "2000"
L 02/18/2018 - 01:44:27: server_cvar: "cash_team_win_by_time_running_out_bomb" "2700"
L 02/18/2018 - 01:44:27: server_cvar: "mp_friendlyfire" "1"
L 02/18/2018 - 01:44:27: server_cvar: "mp_maxrounds" "15"
L 02/18/2018 - 01:44:27: server_cvar: "mp_roundtime" "3"
L 02/18/2018 - 01:44:27: server_cvar: "mp_roundtime_hostage" "2"
L 02/18/2018 - 01:44:27: server_cvar: "mp_roundtime_defuse" "2.25"
L 02/18/2018 - 01:44:27: server_cvar: "mp_timelimit" "0"
Stopping 0 worker threads
Starting 1 worker threads
1 threads. 329,052 ticks
Commentary: Could not find commentary data file 'maps/de_dust2_commentary.txt'.
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Initializing Steam libraries for secure Internet server
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
applicationmanager.cpp (3725) : Assertion Failed: CApplicationManager::GetMountVolume: invalid index
Assert( Assertion Failed: CApplicationManager::GetMountVolume: invalid index ):applicationmanager.cpp:3725
Uploading dump (in-process) [proxy '']
/tmp/dumps/crash_20180218014427_7.dmp
success = yes
response:  Discarded=1
applicationmanager.cpp (3725) : Assertion Failed: CApplicationManager::GetMountVolume: invalid index
applicationmanager.cpp (3888) : Assertion Failed: m_vecInstallBaseFolders.Count() > 0
Setting breakpad minidump AppID = 730
dlopen failed trying to load:
/home/ni11119_1/.steam/sdk32/steamclient.so
with error:
/home/ni11119_1/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Setting breakpad minidump AppID = 740
Logging into Steam gameserver account with logon token 'AD75C959xxxxxxxxxxxxxxxxxxxxxxxx'
Connection to Steam servers successful.
Public IP is 31.214.234.145.
Assigned persistent gameserver Steam ID [G:1:1914211].
VAC secure mode is activated.
GC Connection established for server version 656, instance idx 1
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Ayuto on February 18, 2018, 12:22:01 PM
Hi i have a Problem


Code: [Select]

[Source.Python] Loading...
[Source.Python] Unable to retrieve IVEngineServer interface.
Failed to load plugin "addons/source-python"

Where is the error if the plugin does not load?
What's the output if you enter "version" in your server console?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Finsterblut on February 18, 2018, 05:54:26 PM
Hi i have a Problem


Code: [Select]

[Source.Python] Loading...
[Source.Python] Unable to retrieve IVEngineServer interface.
Failed to load plugin "addons/source-python"

Where is the error if the plugin does not load?
What's the output if you enter "version" in your server console?

Quote
Protocol version 13627 [656/656]
Exe version 1.36.2.7 (csgo)
Exe build: 12:10:52 Feb 15 2018 (6974) (730)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Ayuto on February 18, 2018, 06:20:24 PM
Did you perhaps download the wrong file (for a different game)?

This is the correct one:
http://builds.sourcepython.com/job/Source.Python/lastSuccessfulBuild/artifact/release/source-python-csgo-February-18-2018.zip
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Finsterblut on February 18, 2018, 06:46:24 PM
ohh shit can you slap me, i am so a noob. i have not see the version - i have dl the first link and not the 3 link

 :o :o :o :o
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on February 24, 2018, 12:37:07 PM
Good news everyone!
[Spoiler]
(https://i.ytimg.com/vi/pA9D8ec225E/hqdefault.jpg)

Looks like my server hosts might be finally updating their box so I might be able to join in the new version of wcs soon ^^ YAY!!!
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Justflawless on February 24, 2018, 01:16:00 PM
Hi guys!

Installed everything and wcs is working except:
- Wcs speed skill
- Wcs gravity skill
- Fly Skill
- And it doesn't save the races I leveled. Every reconnect I have to start over except for Undead...

Any Ideas? :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on February 24, 2018, 02:13:45 PM
Hi guys!

Installed everything and wcs is working except:
- Wcs speed skill
- Wcs gravity skill
- Fly Skill
- And it doesn't save the races I leveled. Every reconnect I have to start over except for Undead...

Any Ideas? :-)

Hi there JustFlawless.

The issues that you desribe, "wcs speed skill, wcs gravity skill, fly skill" all seem to have been issues of the past with the older previous version of this download. These issues were fixed later down the line however.

I would like to hear when you downloaded and installed the version you are running, and I would also advice you to re-download the version from GitHub and install that one instead.


Assuming that this does not fix your issue, then I would like you to explain in detail which speed, gravity and fly skills aren't working. Like, which race the skills is in, and the name of the skill, and then post it here:
- http://warcraft-source.com/board/index.php?topic=17203.msg121391;topicseen#new (http://warcraft-source.com/board/index.php?topic=17203.msg121391;topicseen#new)


That way we can take care of the issue and push out a new update, fixing the issues you and others would be experiencing.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Justflawless on February 24, 2018, 06:36:36 PM
Hi guys!

Installed everything and wcs is working except:
- Wcs speed skill
- Wcs gravity skill
- Fly Skill
- And it doesn't save the races I leveled. Every reconnect I have to start over except for Undead...

Any Ideas? :-)

Hi there JustFlawless.

The issues that you desribe, "wcs speed skill, wcs gravity skill, fly skill" all seem to have been issues of the past with the older previous version of this download. These issues were fixed later down the line however.

I would like to hear when you downloaded and installed the version you are running, and I would also advice you to re-download the version from GitHub and install that one instead.


Assuming that this does not fix your issue, then I would like you to explain in detail which speed, gravity and fly skills aren't working. Like, which race the skills is in, and the name of the skill, and then post it here:
- http://warcraft-source.com/board/index.php?topic=17203.msg121391;topicseen#new (http://warcraft-source.com/board/index.php?topic=17203.msg121391;topicseen#new)


That way we can take care of the issue and push out a new update, fixing the issues you and others would be experiencing.

Hi there! Thanks for responding so quick. I downloaded + installed it 4 days ago (the whole thing) I'll try to reinstall the github items :-)

thanks you'll hear from me.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Justflawless on February 25, 2018, 03:44:24 PM
Hi guys!

Installed everything and wcs is working except:
- Wcs speed skill
- Wcs gravity skill
- Fly Skill
- And it doesn't save the races I leveled. Every reconnect I have to start over except for Undead...

Any Ideas? :-)

Hi there JustFlawless.

The issues that you desribe, "wcs speed skill, wcs gravity skill, fly skill" all seem to have been issues of the past with the older previous version of this download. These issues were fixed later down the line however.

I would like to hear when you downloaded and installed the version you are running, and I would also advice you to re-download the version from GitHub and install that one instead.


Assuming that this does not fix your issue, then I would like you to explain in detail which speed, gravity and fly skills aren't working. Like, which race the skills is in, and the name of the skill, and then post it here:
- http://warcraft-source.com/board/index.php?topic=17203.msg121391;topicseen#new (http://warcraft-source.com/board/index.php?topic=17203.msg121391;topicseen#new)


That way we can take care of the issue and push out a new update, fixing the issues you and others would be experiencing.

Sadly this didnt work. I did install the latest downloads. So I'll post a detailed version on the bug topic like u said :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Lukas320 on February 27, 2018, 11:15:36 AM
First of all a big thanks to everyone who has worked on this!

Whenever CSGO came out I always told myself I would gladly do a server on CSGO if I could just use my existing files instead of switching to W3S and recreate everything in a coding language which is nothing like eventscripts..

Seeing this is just like a gift of god and I think this applies to everyone in the community, so once again huge shout out to everyone developing!

Now I'm very eager to test the mod but I can't seem to find any live public csgo servers where they use this version.
Does anyone have a public server?

PS: Not sure this is the right thread for posting something like this, but atleast it'll get some attention? ^^
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on February 27, 2018, 03:17:06 PM
Hey Joe! :D

It is really nice to see you on the forums again, I have a server that you can swing by and have a look at if you want to, it is far from ready or anything, but it runs one of the older versions of this modification, which would give you an insight in how the layout and general structure is.

It still needs a lot of updating and all, but it will give you an idea of how it is :-)

Write to me on steam then I'll let you see the server as I wont launch it before I consider it to be good enough for the public. :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on March 03, 2018, 11:00:22 AM
Update:

Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: fire_tyrone on March 03, 2018, 12:55:02 PM
Update:

  • Fixed races not beeing saved
  • Removed Undead Scourge as hardcoded default race. Now the first race of your races.ini will be the default race

Awesome, Thankyou!
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on March 04, 2018, 11:46:37 AM
Finally got the mod installed on a server!!!

I will need to do some more testing/porting over of my old racelist into the new format.

Can anyone tell me what command changes have happened from 0.78 to this version?

TIA
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Naiken on March 15, 2018, 01:29:01 PM
Now this... is INTERESTING! ok time to fire up a csgo dedi
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Etox on March 15, 2018, 09:06:30 PM
Look who's back  8)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on March 16, 2018, 12:01:39 PM
Now this... is INTERESTING! ok time to fire up a csgo dedi

Yeap! AND you can keep making the races the way you USED to do, I hope you'll like it!

Currently I'm working on a revamped version of the shopmenu :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Naiken on March 16, 2018, 11:13:59 PM
Ok, so so what's changed, then? Some things do not operate as expected, the wcsadmin menu for example doesn't like to reset players, shopmenu items activate on purchase but don't seem to do much on the reoccurring application (player_spawn, etc), the wcs_dealdamage command does not seem to function for me either. But even so! I'm willing to be patient, I have dreamed this day would come!

*EDIT*: Thanks to everyone involved!
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on March 17, 2018, 11:25:30 AM
Hey Naiken, thanks for letting me know about those problems. I have been testing a lot on CS:S lateley and you are right, there is some stuff that is not working on CS:GO.

In the newest version those problems should be fixed:

- Reset Player should be working right now
- Reset Race should be working right now
- Items should carry over to the next round if they are supposed to

For wcs_dealdamage I could not see any problems. Is it even recognized as a command? It's implemented via Sourcemod at the moment and should work fine independently from the WCS.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Naiken on March 17, 2018, 02:28:47 PM
No problem and nice one! thanks for all your work on this! re: I'm not sure tbh, I simply using vanilla races atm, haven't changed anything. No errors or anything, which is odd. perhaps I have installed wrong, I will check. Everything else seems to be working fine. Though calculations seem to be done and show correctly (i.e: You did server_var(wcs_dmg), to your opponent) etc, it just seems to never be applied, I will check over my installation process just incase.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on March 17, 2018, 03:36:37 PM
Well, I'm glad to hear it atleast is not the races.

I however am aware that multiple of the shop items are currently not working, I am working on revamping the entire shopmenu for the new modification, so this will be fixed. I'm working on it as we speak in fact. :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Naiken on March 17, 2018, 03:48:11 PM
Nice one! Nice one! at the risk of sounding like a child, I am so excited for this release!
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on March 17, 2018, 04:03:31 PM
Well, and so what if someone sounds like a child, as long as it is positive then it is by all means a great thing!

I too am very excited about the project, I have lacked a bit of time lately, but right now I have some time on my hands, and want to make it count. :-)
Here are some of the items that will be available in the shopmenu's offensive category:

Offensive (Limited to 2 modifiers)
- Razor claw
- Idol of Frenzy
- Bottled Flame
- Deadly Poison
- Orb of Frost
- Appearance Dust
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Naiken on March 17, 2018, 04:14:24 PM
Nice one! So these are all still coded in ESS? are there any command/variable changes?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on March 17, 2018, 04:22:38 PM
Thank you!

Well, there are a few changes in terms of additions, but elsewise everything remains practically the same. We have tried to make it so people' old races would be working on the new modification (assuming that they were made correctly and in fact working correctly at the time).

Elsewise the rest of commands are more additional commands, allowing for further possibilities of developing races, items and what not. :-)

Variable changes, there are not really any changes to this either. The goal was to maintain the easy way of conten creation, so we saw no reason to change this as it seemed rather unnessecary. :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: RonnnY on April 09, 2018, 01:38:08 PM
Hi @ all

I got a little Problem: i downloaded everything and pit it into the csgo folder.
but it will not run SP i always get:

Unknown command "sp"
Unknown command "sp"
Unknown command "es_load"
Unknown command "es_load"


I am running it on a ngz Linux server.

I try to get it running since 2 day but sp will not run  :/

any tips?

EDIT:

SOLVED:

So the problem was that thoose 2 libs were missing. Just write:

apt-get install zlib1g   
apt-get install libffi6

and everthing should work :)
(or send this to the sopport an they`ll install it for you)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on May 17, 2018, 04:59:14 PM
Update:

Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: lphsqr on May 17, 2018, 11:46:06 PM
Update:

  • Fixed an error that would keep you from changing your race when your previous race has been removed from the server
  • Fixed resetskills to work properly
  • Fixed the "list index out of range" error that would prevent all skills from beeing visible and preventing spendskills

Thank you very much, everyone works perfectly <3
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on May 18, 2018, 12:01:38 AM
Update: Shopmenu revamped
I have revamped the old shopmenu. The functionality and the way the shop now works is essentially the same as the old one. The revamp is purely an item overhaul so to say. Please let me know if you encounter any issues with the new items, the shopmenu contain the following items:

The revamped shopmenu and the most recent standard pack can always be found here:
- https://github.com/ManifestManah/WCS_GO


Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: lphsqr on May 18, 2018, 01:03:29 AM
Manifest, u god  :)


Make please
Code: [Select]
wcs_giveprivate <userid> <race>
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on May 18, 2018, 08:25:46 PM
I think I can do that. But it might destroy your format inside of the race file (as the computer reads it differently then you I guess).

Also the races need to be reloaded everytime that command is used, so I'll have to see how that works out in reality

Edit: I added the command in the newest release.

Example:

Code: [Select]
wcs_giveprivate 2 "Undead Scourge"
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: lphsqr on May 29, 2018, 12:21:51 PM
Do please VIP function increase the experience.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on May 29, 2018, 09:57:25 PM
Hey, the newest version includes a VIP addon.

You can find a new folder inside WCS called vip. There you find the vip.ini which looks like this:

Code: [Select]
["[U:1:17540537]"]
xp_gain = 5

If you want to add a new VIP you can add the steamid like this:

Code: [Select]
[VIP STEAMID]
xp_gain = valueinpercentage

now everytime the vip gains xp he will get "valueinpercentage" xp on top of that :)

I will also add a command to enable people to add vips ingame.

I'm also thinking of other things to grant vips. like extra health, cash, armor, speed, etc. Of course every vip will have his own settings :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on May 30, 2018, 01:35:17 PM
Great job Kami!

This sounds wonderful and is one of the things people have asked for, for years on multiple servers, hosts and players alike.

Will there be a possibility that we can refer to all VIPs by inclduing [VIP] in the allowonly of races, thereby giving access to one or multiple races for ALL people listed in the VIP.ini? :-)

I know that is a feature which would become very handy for myself, not for the VIP usage, but more for my beta testers of races, as it would make things a lot easier than setting 8-10 steamIDs and sometimes additional random steamIDs on top of that.

Is this a feature that we might be able to see in the future? :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on May 30, 2018, 07:46:47 PM
This is a VIP benefit module only. Not plans for the other thing yet as it's a bit more extensive :P We'll see
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on May 30, 2018, 10:59:11 PM
This is a VIP benefit module only. Not plans for the other thing yet as it's a bit more extensive :P We'll see

Dang it, worth a shot.
It's part of the three last things I need to open the server.
This type of allowonly and a steamgroup allowonly then just some revamping of a few commands and all is set for launching an official Warcraft-Source server that should basically be fully working with 300+ races :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on June 01, 2018, 03:01:06 AM
The VIP settings in the vip.ini now look like this:

Code: [Select]
["[U:1:17540537]"]
xp_gain = 5
race_access = 0

You can now give VIP users access to races that have the allowonly tag 'VIP'

This is an option that can be enabled and disabled for different users, so not all VIP need to have access to the VIP races.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: ErikZen on June 01, 2018, 08:40:41 PM
Hey everyone.
Me and a friend are setting up the first Danish WCS server in CSGO.
We do not have super much experience with CSGO race coding, as we have only played around with css races and stuff before.
none of our ultimates are working, only chain lightning.
Teleport,fly,suicide bomber,root you name it, nothing is working, wcs and everything else works okay.
below error is an error we get when trying to place a serpent ward when playing shadow hunter.
do you guys have any clue?
[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'
We are using a hosted linux server.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on June 01, 2018, 09:19:38 PM
Thank you for Reporting, I will Look into it!
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: ErikZen on June 02, 2018, 12:13:19 AM
Have another issue.
My and my friend, are using the same race, on which you're supposed to spawn with 300 health.
No matter what i do, i ALWAYS spawn with 105 health, and he has the 300 he is supposed to. He can change to another race on which you're supposed to have 200, and he gets 200.
I always get 105, no matter which race i take.
It's currently set in spawn block.


EDIT: It was caused by being admin, by making my friend admin, he got the same as well.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Muerte on June 02, 2018, 01:26:43 PM
Do you mean wcsadmin? or do you have a custom admin plugin which gives admins more health?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: ErikZen on June 03, 2018, 12:50:59 AM
Nope, it was through sourcemod. And not wcsadmin, by being admin and granted "root" access, then you would spawn with 105 hp every round.
Now just with using flags a-n it works.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on June 03, 2018, 02:52:55 AM
Is it possible that another plugin was overriding your health as an admin to spawn you with 105hp overriding the hp set by the race. A good way to check this could be to delay the setting of health by the race on spawn.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: ErikZen on June 03, 2018, 02:18:56 PM
I mean, i guess it could be, but i dont have any other plugins installed tho. But thanks for the suggestion!
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on June 03, 2018, 06:51:01 PM
Hmmm.. It sounds a bit strange to me, to clarify:

When you started as a normal player you had this health issue correct?

And once you got your WCSadmin you no longer had this issue? Or was the admin you assigned a regular SourceMod admin?

Your response might help us shine some light onto the issue and if it in fact is related to WC:S then we might be able to correct the issue so it won't happen to you or other people in the upcoming updates. :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: ErikZen on June 03, 2018, 08:06:51 PM
I'm sorry i explained the issue so bad.
Everything was working well HP wise, UNTIL i granted myself admin access (not wcsadmin), through sourcemod, AND granted myself "root" access by giving me "z" in access level.
After i did this i was stuck with 105 hp no matter which race i took.
When i then removed "z" - root access, and gave myself the flags from a-n abcdefghijklmn, then it worked. So
to sum it up: when an admin has been granted root access ("z") , then he will have this issue.
Hope that can help.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: ErikZen on June 03, 2018, 08:16:18 PM
I looked through the forums and i didnt find a category where i could ask this, so i am going to try here.
Do anyone know how i can make a certain race get a certain model?
I've downloaded some skin models and pasted them into models and materials as you're supposed to, but is it possible to set that a certain race spawns with that model?
I know you could in CSS, and i have seen it on some servers in csgo, but idk how to do it. :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on June 04, 2018, 11:17:13 AM
Hey Eriksen,

I don't have a CSGO server to test this on but the following command worked for me in CSS. I would usually post this into the spawn block. I'll link to an existing bit of coding as an example.

So long as you are using the ES_emulator that you can download through following the installation instructions I believe this should still work.

Code: [Select]
es playerset model event_var(userid) models/player/techknow/ironman_v3/ironman3.mdl
This would look like
Code: [Select]
spawncmd           = "es_xdoblock wcs/tools/vampire/spawn"In the races.ini

And the block would look like this.

Code: [Select]
      block spawn
                    {
                     es playerset model event_var(userid) models\player\vad36vampir\vampire.mdl
                     es_msg -=Vampire Spawned=-
                    }

This is how I did it in Css, Again I can't test this in csgo unfortunately but give it a go and it might work. You will also want to look at a way of forcing people who join to use the server's skins otherwise you will start seeing errors/broken textures.

*Edit, spelling and grammar.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: ErikZen on June 04, 2018, 12:31:11 PM
Thanks you your reply wookie.
I've already tried that one sadly. I was admin on a wcs server in CSS, so i have quite the experience with doing this.
But it when i set it on, it only shows "ERROR" literally EVERYWHERE on the screen.
Furthermore, it doesnt even download the models etc. even though i have pasted the correct models in materials and models in the csgo folder.
Plus i have syncronized fast DL.
I have my csgo server, and if you want to test anything, feel free to pm me, as my server hasn't launched yet, so its free for testing, if you feel like it.

EDIT:Got the skin working now, my hands in firstperson are invisible tho.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: ErikZen on June 04, 2018, 03:17:05 PM
Found another thing.
Chameleon ultimates fly and teleport is not working.
I've looked at the code and first off i saw it referred to default2 ultimates instead of default.
Tried changing that, no effect.

Other than that, i cannot see to figure out why its not working. perhaps someone can point me in the right direction?

Just to clarify:
It tells you that this round your ultimate is that and that, but teleport and flight do not work, nothing happens when pressed. I will test some more meanwhile.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on June 04, 2018, 08:45:07 PM
It seems there are some things wrong with the races. I have started going through them again and I think after next weekend there might be an updated version of the races which will be fully tested on CS:GO
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on June 04, 2018, 11:56:33 PM
EDIT:Got the skin working now, my hands in firstperson are invisible tho.

Fantastic to hear mate, the hands being invisible are likely due to them not being rendered correctly in the model file you are using.

It would also be really great if you could post a reply with how you got the models loading working correctly.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: ErikZen on June 05, 2018, 12:28:57 AM
Well, it did work. for me. Every other person got the error i got in the start. I did nothing to get it to work, it just did, and i tested it in third person, and it worked.
Everyone else got error, so i removed the skin again.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on June 05, 2018, 02:34:04 AM
I think this is due to players not being forced to download the skin, so when the server tells their computer to look in the cstrike/models/player/modelname folder they find nothing and return with an error.

Try using one of these plugins to force players who join your server to download the skins.
https://forums.alliedmods.net/showthread.php?p=602270
https://forums.alliedmods.net/showthread.php?t=269792

They both say they support any sourcemod game so they should work with CSGO.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: ErikZen on June 05, 2018, 03:26:43 AM
We've somehow managed to get several skins working BUT, they're all kind of invisible? and when round end or we die, model is no longer invisible.
Is this caused by WCS?
This is for all skins applied.
Is there a fix for that?

BTW: Root doesnt work. It says "you've been rooted blablabla" and the effects show, but the freeze/root itself is not working.
Serpent ward is not working either.
Chameleon race is now deleted from my server, due to it not really working. Will wait for a fix.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: ErikZen on June 05, 2018, 05:48:16 PM
Can someone explain how to use push and which one to use? i can get push upwards to work, but push away, straight back, wont work.
You're only getting pushed towards Z.

BTW resetskills doesnt work properly. you can type resetskills, and then again to "continue" but it wont work, unless you're dead. Even though you type it 2 times and it says it will make you die. Doesnt work unless you're dead.
Spendskills is working oddly as well.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on June 05, 2018, 06:58:08 PM
I just tested resetskills and spendskills and both work fine on my server (only the unspend points are the same as your level, which is not exactly right, but thats a minor issue). Maybe you are typing it too slowly? Try binding it to a key and quickly press the key two times.

For the push issue please refer to the Azura thread.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on June 06, 2018, 09:03:15 AM
Chameleon race is now deleted from my server, due to it not really working. Will wait for a fix.

Hi ErikZen!
I am pleased to see you're reporting in all these issues so we can get them fixed and under control! :-)

Can you please elaborate on which things that wasn't working on the Chameleon race, because that sounds a bit odd to me.

In terms of you all dying on round end, that seems rahter strange and has no correlation to the usage of "es playerset skin".

For the root not working, that must be the source python end of the ultimate so Kami would have to look at that when he have the time.

The serpent ward should in theory be working, but maybe something is missing, I looked at the command previously but I cannot see what the issue should be, unless there's an undefined variable somewhere which would be my best guess, Kami can you take a look and see if you can find anything on it?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on June 06, 2018, 09:06:07 AM
Also Erikzen you seem to encounter a lot of issues with your races not working, I take you have downloaded the races from the repository of Kamis?

Try using this link, it's the most recently updated races along with the most recent shopmenu. You should be able to drag and drop it directly into your server, but I'd suggest keeping a backup of your Races.ini so that you can add the additional races that you might have added onto your racelist already. :-)

https://github.com/ManifestManah
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: ErikZen on June 06, 2018, 12:45:40 PM
Hey Manifest.
Thanks for replying. It is correct i downloaded from the repository Kami linked.
I will definitely try your link, and it is correct that a lot of races has issues, but thats mostly because the races we use, use the "same" skills, or rather some does, and then when the skill is not working, its not working anywhere of course.
Chameleon's ultimate didnt work. when you spawn it tells you "this round your ultimate is teleport" (forexample), then when you press ultimate, nothing happens, and then its on cooldown. Same thing happens with fly on that race. fly and teleport in general are working tho.
Also wcs_ulti_roots is not working on any race. It tells you that you rooted "personsname" but it doesnt actually freeze/root him, it just shows effects and tells you it did, this is the same for every race with root.
I tried to add you on steam, so i could tell you what weren't working, so we could actually talk when we're both online, since that might go faster, and then we could find a solution faster.
About the skin thingy, i think you might have misunderstood me, because we dont die on round end like such, thing is that when we apply any model to the player, it works, BUT the skin is like transparent, you can see the skin is there, but you can see through it.

But nevertheless, i will try your link. :-)
- Sorry for the long answer, will try and not make a novel next time.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on June 06, 2018, 04:39:12 PM
As I said before, I will Test and fix every race myself and will Update Them in my release. Some races Need fixes that rely on core changes, so I can not recommend replacing the races within my release as I can only fix those.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: ErikZen on June 08, 2018, 09:42:48 AM
Hi, just a quick question, is there somewhere i can request/get help with a skill i would love?
Skill is from CSS, where you used it as ultimate, and when pressed, you would teleport up behind an enemy?
I have no idea if this is even possible, but if it is, i'd love to see it. :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kiwi :) on June 09, 2018, 12:46:47 AM
Hi, just a quick question, is there somewhere i can request/get help with a skill i would love?
Skill is from CSS, where you used it as ultimate, and when pressed, you would teleport up behind an enemy?
I have no idea if this is even possible, but if it is, i'd love to see it. :)




Code: [Select]
    [[skill#]]
        setting                = "es_xset wcs_freeze 1.5|es_xset wcs_freeze 2|es_xset wcs_freeze 2.5|es_xset wcs_freeze 3"
        cmd                    = "es_getplayerteam wcs_team server_var(wcs_userid);if (server_var(wcs_team) = 2) then wcs_randplayer wcs_player #ct,#alive;if (server_var(wcs_team) = 3) then wcs_randplayer wcs_player #t,#alive;es_exists ex userid server_var(wcs_player);if (server_var(ex) = 1) then wcs_xalias racealias_behindenemy1"
        racealias_behindenemy1 = "es_getplayername wcs_name server_var(wcs_player);es_getplayername wcs_tmp2 server_var(wcs_userid); es_tell server_var(wcs_userid) #multi #greenYou will be teleported to #default server_var(wcs_name); es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_player);es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 server_var(wcs_userid); es est_effect 7 #a 0 sprites/smoke.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 100 10; wcs_xalias racealias_behindenemy2"
        racealias_behindenemy2 = "es_delayed 0.2 es_tell server_var(wcs_player) #multi #greenPlayer #default server_var(wcs_tmp2) #greenwill be teleported to you; es_delayed 0.3 es_setpos server_var(wcs_userid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1); es_delayed 0.6 playerset viewplayer server_var(wcs_userid) server_var(wcs_player); es_delayed 0.8 es est_effect 7 #a 0 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 100 10; wcs_xalias racealias_behindenemy3"
        racealias_behindenemy3 = "es wcs_setfx freeze event_var(attacker) = 1 server_var(wcs_freeze);es_math wcs_freeze + 0.1; es_delayed server_var(wcs_freeze) wcs_setfx freeze event_var(attacker) = 0"
        sfx                    = ""
        cooldown               = "40"

try this as ultimate for css :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on June 10, 2018, 01:46:07 AM
That is the unholy Entity ultimate I believe.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on June 10, 2018, 10:42:26 AM
First off I'd advise against using the ultimate posted by Kiwi as it contains userid errors.

In addition this ultimate is not what you ask for, this ultimate will teleport the ultimate user ONTO the location of a random enemy (so if you want a specific enemy then this is not the ultimate you seek, but you didn't define this in your request), you'll also automatically aim at this enemy you've teleported to, and on top of that you'll "in theory" freeze the person you teleported to, but since the userid is wrong you'll just be freezing a random userid, which might as well be yourself.

I would recommend putting an ultimate like this into blocks as well as it's easier to get an overview of and you'll be able to clearly see what it actually does to the targets, making these errors less likely to make it into the game and also be way easier to spot and correct :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: ErikZen on June 11, 2018, 08:40:21 AM
Hi again, sorry not for being more specific.
I was thinking of an old CSS knife race, which when you used ulti, would teleport to a random enemy.
Not freeze him, just teleport to him.
And ofc it is for csgo :-)
And as manifest said, blocks are preferred.

Btw manifest, if you could help with a really strange issue i am having with a single ultimate, that'd be great. feel free to contact me on steam or in private here. :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Naiken on June 13, 2018, 05:23:30 PM
Ok, I am not sure if this has already reported, I cannot remember if I reported it in the past or not, so after a fresh install of this wcs version, after testing thoroughly it appears that damage dealing abilities are somewhat bugged, here are my findings:

My current test has been with CSS, though I tested earlier this year and the same was true with CSGO.

Race: Orcish Horde
Critical Strike: Does not apply damage:
es wcs_dealdamage event_var(userid) event_var(attacker) server_var(wcs_dmg)

Critical Grenade: Does not apply damage:
es wcs_dealdamage event_var(userid) event_var(attacker) server_var(wcs_dmg)

Chain lightning DOES apply damage(though it's in python):
wcs_commands.damage(play.userid,32,userid,solo=1)

Now, bear in mind that this is completely vanilla (in fact I installed 10 minutes ago). Most skills work, however damage appears to not do so, now It's been a while since I've been running WCS servers, though I do not recall there being issues and/or any required steps to get extra damage to work, I recall some sourcemod anitfall damage plugins causing issues with this but I am not running any.

I am not sure if this is a userid issue, which I doubt since the variables are displayed correctly and it triggers in the typical manner. I think either there is a required additional step to make it work,  or there is an issue with the damage handler, is it using python or sourcemod? since the python damage application works, I can only assume it's the latter. Could this be added to the testing list and I hope i've just made a mistake, thanks in advance.


*EDIT*: Disregarded, functions operate as expected.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on June 14, 2018, 03:44:49 PM
Hey, thank you very much for reporting.

The damage seems to work fine on CS:GO (at least when testet through console.)

There was a problem with the kill beeing registered two times when you killed someone with extra damage, so I added a check if the damage is higher then the health then the damage does not get applied. I think that might be the problem here. That "fix" is not really good. I will look into it!

Edit: Also the python damage is just executing wcs_dealdamage so if one works both should.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Naiken on June 14, 2018, 04:04:04 PM
Can confirm you are correct, console damage commands function. After executing the console command it seems extra damage is now functioning, which I find bizarre, perhaps I just needed to restart the server. Sorry for wasting your time, but you can disregard my bug report.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on June 14, 2018, 04:05:11 PM
No problem, rather report a problem that turns out to work then a problem that is not reported :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Naiken on June 14, 2018, 04:08:51 PM
Well, I will continue to be vigilant and I may begin to setup a CSGO server now, so expect some more content from me in the near future. Also, If I haven't said it already, thanks for the hard work required to get WCS to where it is now, without these efforts I fear WCS would have perished.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on June 14, 2018, 04:18:55 PM
Update:


The biggest part of this update is the fact that the races.ini was removed. There now is a new file called

Code: [Select]
default_races.ini
In here you will find the races shipped with the official release.

You can now create the races.ini file yourself and WCS will load both files into your race list. Default races from the default_races.ini first and custom races from the races.ini second.

If you do not want to use this system, you can disable the default_races.ini in the wcs_core.cfg by setting

Code: [Select]
wcs_use_default_race_file
to 0.

If you have any questions or experience problems with this release, please let me know.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on June 14, 2018, 11:23:54 PM
Ooo I like that Kami,

Means that we don't have to keep editing our own custom racelists everytime we update the mod to the latest version.

No more renaming yay :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on June 17, 2018, 06:28:48 PM
Update:

  • Removed Chameleon, Flame Predator, Crypt Lord and Succubus Hunter as they need more testing

Da'heck?  :o
What was wrong with Flame Predator, it seemed as straight forward as it gets ???
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on June 17, 2018, 11:32:08 PM
I'm not sure as I haven't done extensive testing with the mod recently but from past experiences with bugs on that race the knife damage and burn skills were the most prone to breaking (in my memory). Perhaps there have been more issues with those skills.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on June 18, 2018, 07:13:44 AM
I'm not sure as I haven't done extensive testing with the mod recently but from past experiences with bugs on that race the knife damage and burn skills were the most prone to breaking (in my memory). Perhaps there have been more issues with those skills.

Oh no, I talked with Kami as of yesterday.
There are no confirmed bugs on these races, we just want to run through them to make sure there are no bugs at all before sharing these, and seeing as these have not been tested since they've always worked with the versions I had we are just dragging them through some extensive testing later. :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on June 27, 2018, 07:55:52 PM
Update:


Example:
Code: [Select]
es wcs_restrict event_var(userid) m4a1only

This will restrict everything but the m4a1, the knife and c4.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on June 28, 2018, 09:40:33 AM
Update:
  • Added a new command to get the players active weapon - wcs_getactiveweapon <userid> <var>

+ WooT!
Thank fucking god!
I completely forgot about this one, this will allow me to make some of the skills that I had to scrap back then, this is an interesting add, I like this a lot! :D

Great to see the fix as well, and I like the neat way to use the keyword restriction, I will probably go with my old method but it does make life a lot easier for most people who aren't very familiar with the restriction system! :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on June 29, 2018, 06:19:18 AM
I already have a block called kniferestrict :) I use this to make my races knife only, saves having to type out all the various weapon restrictions and also makes it look cleaner in the code ^^. I also have a few other restriction types like shottyrestrict, smgrestrict, sniperrestrict.

But yeah this should make restriction type things so much easier to code.

Also would I use wcs_getactiveweapon to then call this info later? like
Code: [Select]
if activeweapon = m4a1
{
  do
    {
      x command here
    }
}
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on June 29, 2018, 06:52:03 AM
Well wcs_getactiveweapon works like any other eventscripts command that "gets" a value and stores it to a variable.

You can ofc do checks on it like:

Code: [Select]
es wcs_getactiveweapon event_var(userid) wcs_weapon
if (server_var(wcs_weapon) == "weapon_m4a1") do
{
    //do stuff
}

Or for simpler things like letting the victim know what weapon hit him.
Code: [Select]
es wcs_getactiveweapon event_var(attacker) wcs_weapon
es_tell event_var(userid) You were hit by server_var(wcs_weapon)


Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on June 29, 2018, 01:58:12 PM
Ah k right, my coding syntax needs some work lol, been awhile
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on June 30, 2018, 09:57:25 AM
Update:


I decided that I will not add Chameleon in future updates as it is not a part of any Warcraft story and is more like recycling already used skills.
I will however have a look at some of the original Warcraft Races and Heroes and might add some of those in the future.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on June 30, 2018, 10:10:56 AM
Update:

  • Added Flame Predator, Crypt Lord and Succubus Hunter back in

I decided that I will not add Chameleon in future updates as it is not a part of any Warcraft story and is more like recycling already used skills.
I will however have a look at some of the original Warcraft Races and Heroes and might add some of those in the future.

This sounds like a good decision Kami, I have never actually played Warcraft so I've always were under the impression that chameleon was one of the characters description or one of the monsters you might've encountered in a quest.
If it is not part of it, then I think we should remove it from the default races.

I am on a new laptop, or well, I am on an old laptop but another one than previously as I had to send the other in for repair, did you find a solution for the crypt lord issue with the Spiked Carapace skill, absorbing 100% of the value?

Also I will remove Chameleon from my folder as well.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on June 30, 2018, 10:13:41 AM
Update:


Example of wcs_resize in action:

(https://i.imgur.com/WfSuc3b.jpg)


Also Absorb and resist are now handled with PreEvent player_hurt, which seems to work quite well.

I'm not sure what I did wrong with the take_damage approach :D
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: BRAVORA on June 30, 2018, 12:04:51 PM
Quote
Added wcs_resize <userid> <size> - 1.0 means normal size, 2.0 double size and so on

*Vietnam flashbacks*

(https://steamuserimages-a.akamaihd.net/ugc/433777467340788474/0DBE07DB1792CFC7260864B1BB43A89E5F972064/)

But still awesome :D
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on June 30, 2018, 03:01:33 PM
Giant people are pretty cool :D

You can also use wcs_setfx size <userid> =/+/- <value> <duration> now, if you want timed resizing :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on June 30, 2018, 05:52:12 PM
Damn Kami this shit is super cool, Why couldnt we have had this back when css wasnt so dead :( Love the work you are putting into this. I'll try and do my part and keep the community for this mod going
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on July 01, 2018, 02:34:41 AM
Update:


Goblin Tinker is a knife race and has the following skills:

Goblin Mines - Gives you the ability to spawn a goblin mine that will explode when an enemy comes close to it.

Demolish - You have a 15% chance to cause 5% to 25% extra damage to your enemies.

Robo Goblin - Increases your health by 10 to 100 and your speed by 10% to 75%

Cluster Rockets  - You fire 1 to 8 rockets that will detonate with 15 to 45 damage each.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: BRAVORA on July 01, 2018, 11:22:33 AM
Looks cool :D but are the mines invisible?  ???  *Kamiqawa's goblin techies flashbacks*
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on July 01, 2018, 12:00:27 PM
They should actually spawn a little glow in the middle and a faint circle around it. The circle may be too low to see sometimes.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: BRAVORA on July 01, 2018, 12:51:31 PM
Quote
They should actually spawn a little glow in the middle and a faint circle around it. The circle may be too low to see sometimes.

Awesome, can't wait to see this race someday in action :D i play on 800x600 resolution so hopefully i can actually see the glow and the fainted circle ;D
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Crossale on July 02, 2018, 11:22:01 AM

I have problem with the installation

Code: [Select]
[SP] Successfully loaded plugin 'es_emulator'.
[SP] Loading plugin 'wcs'...
CGameEventManager::AddListener: event 'wcs_gainxp' unknown.

[SP] Caught an Exception:
Traceback (most recent call last):
  File "..\addons\source-python\packages\source-python\plugins\command.py", line 162, in load_plugin
    plugin = self.manager.load(plugin_name)
  File "..\addons\source-python\packages\source-python\plugins\manager.py", line 193, in load
    plugin._load()
  File "..\addons\source-python\packages\source-python\plugins\instance.py", line 74, in _load
    self.module = import_module(self.import_name)
  File "..\addons\source-python\plugins\wcs\wcs.py", line 77, in <module>
    from wcs import restrictions
  File "..\addons\source-python\plugins\wcs\restrictions.py", line 24
    from entities.helpers import edict_from_pointer, index_from_pointer, edict_from_baseentity
       ^

IndentationError: expected an indented block


[SP] Plugin 'wcs' was unable to be loaded.

Please, help me
Server CS GO on Windows
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on July 02, 2018, 02:44:32 PM
Hey I messed Up there sorry. Try redownloading and installing again. It should be fixed now :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on July 03, 2018, 08:36:46 PM
Update:


New Commands introduced with Mana System:

Code: [Select]
wcs_set_max_mana <userid> <amount>
wcs_set_mana <userid> <amount>
wcs_get_max_mana <userid> <var>
wcs_get_mana <userid> <var>
wcs_give_max_mana <userid> <amount>
wcs_give_mana <userid> <amount>
wcs_take_max_mana <userid> <amount>
wcs_take_mana <userid> <amount>
wcs_set_mana_regeneration <userid> <amount> <speed>

Every command that has a "_max_" refers to the maximum amount of mana you can have.

So doing wcs_give_max_mana event_var(userid) 50 would add 50 Mana to the maximum the player can hold

Every command without the "_max_" refers to the current amount of mana you have. Like 30 of a maximum of 100.

Example of usage:

Code: [Select]
event player_spawn
{
    es wcs_set_max_mana event_var(userid) 100 //this will set the maximum mana of the player to 50
    es wcs_set_mana_regeneration event_var(userid) 3 0.1 //this will regenerate 3 Mana every 10th of a second
}

if you now want to use this in a skill you can do something like this:

Code: [Select]
event player_hurt
{
    es wcs_get_mana event_var(attacker) wcs_tmp
    if (server_var(wcs_tmp) >= 50) do
    {
        es wcs_take_mana event_var(attacker) 50
        es wcs damage event_var(userid) event_var(attacker) 10
    }
}

This would check if you have above 50 mana and if so take that from you and deal damage to your enemy.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: WCS - Wookie on July 03, 2018, 11:48:26 PM
So this is an addon that we could use for some races not a requirement for all races correct?

I could see this being particularly useful for balancing of a racelist. Just curious is there a recharge rate or is this only on spawn?

Could we tie gaining mana back to killing people?
Could we also potentially create a skill that can be activated (like ability) to give a burst of mana to all nearby allies?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on July 04, 2018, 05:47:34 AM
There is no default recharge rate. If you want a player's mana to regenerate on its own you need to use

wcs_set_mana_regeneration <userid> <amount per repeat> <time in seconds to wait between repeats>

You can set the regeneration on any event though. Like for example have a static amount on mana and when you kill someone you could set the regeneration.

to disable regeneration you can use:

wcs_set_mana_regeneration <userid> <amount> -1


And ofc you can tie gaining mana to killing people.

just use wcs_give_mana <userid> <amount> on a player_death event

And you ofc create a skill that would give everyone around you mana. Just use wcs_nearcoords with wcs_give_mana and you should be good :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on July 04, 2018, 05:15:09 PM
Update:


Example:

Code: [Select]
[Example race]
    #Requirement section
    required       = 0
    maximum        = 0

    #Restrict section
    restrictmap    = ""
    restrictteam   = 0
    restrictitem   = ""
    teamlimit      = 0

    #Other info
    author         = "Kami"
    desc           = "Example race"
    spawncmd       = ""
    deathcmd       = ""
    roundstartcmd  = ""
    roundendcmd    = ""
    preloadcmd     = ""
    allowonly      = ""
    onchange       = ""

    #Skill information
    numberofskills = 3
    numberoflevels = "4|3|1"
    skillnames     = "4 Levels|3 Levels|1 Level"
    skilldescr     = "This skill has 4 levels|This skill has 3 levels|This skill has 1 level"
    skillcfg       = "player_spawn|player_spawn|player_attacker"
    skillneeded    = "0|0|0"
    category       = "0"

    #Skill specific information
    [[skill1]]
        setting = "es_xset wcs_health 50|es_xset wcs_health 100|es_xset wcs_health 150|es_xset wcs_health 200"
        cmd     = "es wcs_setfx health event_var(userid) + server_var(wcs_health) 0"
        sfx     = ""

    [[skill2]]
        setting = "es_xset wcs_speed 0.5|es_xset wcs_speed 1.0|es_xset wcs_speed 1.5"
        cmd     = "es wcs_setfx speed event_var(userid) + server_var(wcs_speed) 0"
        sfx     = ""

    [[skill3]]
        setting = "es_xset wcs_dmg 10"
cmd     = "es wcs_dealdamage event_var(userid) event_var(attacker) server_var(wcs_dmg)"
        sfx     = ""

The important part here is:

Code: [Select]
numberoflevels = "4|3|1"

If you choose to use this on a race make sure to give every skill a maximum level. So if you have 4 skills there need to be 4 numbers in here.

Also you do only need as many settings for a skill as you got maximum levels.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on July 05, 2018, 07:24:48 AM
Maybe a tiny change, but an actual very impactful one seeing as this will allow servers to run with a dota or league of legends like structure for their races.

For instance having Skill 1, skill 2 and skill 3 have 4 levels and ultimates having 3 levels. Or 10 levels and 3, whatever fits the server the most. I think this is great addition to the modification even though it might not appear as a biggy on the changelog it allows for a whole new concept for WCS, for those who would like to give that a go. :-)

I do have a request to this:
- Would it be possible to implement a feature allowing restrictions on leveling up a skill, saying that once you are level 8 you can put in one point in ultimate and the next time you can upgrade it will be at level 11, and the next time again would be at level 16? :-)

I know this is currently not supported, but if you could implement this is in an easy way that would not change the format that would be HUGE.  :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on August 21, 2018, 04:26:07 PM
Update:

Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on August 22, 2018, 12:06:55 AM
Update:

  • Remade all important commands from the Sourcemod Commands Plugin in SourcePython.
    This means there is no need for sourcemod anymore.

Awesome! Then we are at a point of running pure source.python commands that is great! :-)
Good job Kami! :-)


Edit:
The initial post should probably be updated to reflect this, so people can see they don't have to download sourcemod in order to make this modification work anymore. :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Manifest on August 22, 2018, 02:59:08 PM
Kami are there currently a way to update the vip.ini file on the fly without having to restart the server? Like any way to refresh it that would not require a restart. Something similar to es_reload blockpath/filename ? :-)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on August 22, 2018, 08:43:30 PM
 Reloading WCS should do the trick :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Hojjke on September 07, 2018, 08:52:47 PM
Reloading WCS should do the trick :)

Yo Kami, my console is full of this: "ERROR: Eventscripts cannot find the WCSuserdata group!"
And some skills aren't working from old races (they kinda should still work). Could this error be a problem?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on September 07, 2018, 09:53:38 PM
Well this Version uses wcsgroup (a python Made alternative to Eventscripts keygroups). Your races propably Need some Work before they run as they are supposed to. I can Look through your races and See If I can help you If you want :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Hojjke on September 07, 2018, 10:10:45 PM
Well this Version uses wcsgroup (a python Made alternative to Eventscripts keygroups). Your races propably Need some Work before they run as they are supposed to. I can Look through your races and See If I can help you If you want :)

Thank you Kami, but we decided to try it by ourselves :)

I'll let you know if we need help or find anybugs :P

Problem was cause we added too much trash into default ulti file

Maybe you could help us with this skill? :P

Code: [Select]
[[skill2]]
setting = "es_xset wcs_chance 5|es_xset wcs_chance 5|es_xset wcs_chance 5|es_xset wcs_chance 5"
cmd = "if (event_var(hitgroup) = 1) then playerset healthadd event_var(userid) event_var(dmg_health)"
sfx = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);if (server_var(wcs_dice) <= 15) then es_if (server_var(wcs_alive) = 1) then 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) 2 13 16 155 5 155 255"

this should work like protection from non-fatal HS, but it works with 100% chance somehow :/
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on September 07, 2018, 10:42:40 PM
Try this:

Code: [Select]
[[skill2]]
setting = "es_xset wcs_chance 5|es_xset wcs_chance 5|es_xset wcs_chance 5|es_xset wcs_chance 5"
cmd = "if (server_var(wcs_dice2) <= server_var(wcs_chance)) then wcs_xalias racealias_healthulti"
racealias_healthulti = "if (event_var(hitgroup) = 1) then playerset healthadd event_var(userid) event_var(dmg_health)"
sfx = "if (server_var(wcs_dice2) <= server_var(wcs_chance)) then wcs_xalias racealias_healthulti_sfx"
racealias_healthulti_sfx = "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);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) 2 13 16 155 5 155 255"

There is a wcs_dice for every skill (with the according number, so skill2 has wcs_dice2) to avoid interferences between skills.

I also cleaned up the sfx part with a racealias, let me know if that works
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Hojjke on September 08, 2018, 01:35:54 AM
Try this:

Code: [Select]
[[skill2]]
setting = "es_xset wcs_chance 5|es_xset wcs_chance 5|es_xset wcs_chance 5|es_xset wcs_chance 5"
cmd = "if (server_var(wcs_dice2) <= server_var(wcs_chance)) then wcs_xalias racealias_healthulti"
racealias_healthulti = "if (event_var(hitgroup) = 1) then playerset healthadd event_var(userid) event_var(dmg_health)"
sfx = "if (server_var(wcs_dice2) <= server_var(wcs_chance)) then wcs_xalias racealias_healthulti_sfx"
racealias_healthulti_sfx = "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);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) 2 13 16 155 5 155 255"

There is a wcs_dice for every skill (with the according number, so skill2 has wcs_dice2) to avoid interferences between skills.

I also cleaned up the sfx part with a racealias, let me know if that works

thank you Kami, works perfectly now ^^

btw, why doesn't any popup menu work in cs:go? and is there any workaround/fix for that?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on September 08, 2018, 02:02:04 AM
Do you mean popups inside races or the Main WCS popups?

If you mean inside races then it could be a problem with the emulator. I can do some Tests on that later
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Hojjke on September 08, 2018, 02:16:05 AM
Do you mean popups inside races or the Main WCS popups?

If you mean inside races then it could be a problem with the emulator. I can do some Tests on that later

inside races, yea
same as if I'm trying to use Holliday's effetcs test plugin :/
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on September 08, 2018, 02:36:10 PM
I'd suggest you temporarily remove races that require popups or you try and remake them with SourcePython popups if you know how.

I'm not sure what the problem with the Eventscripts popups is but I will try to figure it out :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on September 09, 2018, 12:07:21 AM
Update:

Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Hojjke on September 09, 2018, 10:11:14 PM
Is it possible to fix this? I guess that's because es_emulator doesn't have csgo offsets or smth

Error:
Code: [Select]
Sep  9 23:53:49:  [SP] Caught an Exception:
Sep  9 23:53:49:  Traceback (most recent call last):
Sep  9 23:53:49:    File "../addons/source-python/plugins/wcs/commands.py", line 623, in getweapon
Sep  9 23:53:49:      userid = int(command[1])
Sep  9 23:53:49:
Sep  9 23:53:49:  ValueError: invalid literal for int() with base 10: 'event_var'
Sep  9 23:53:49:  [corelib/playergetset/setclip 1529] es_foreachkey: The keygroup '_primaryweapons' could not be found
Sep  9 23:53:49:  [corelib/playergetset/setclip 1531] es_foreachkey: The keygroup '_secondaryweapons' could not be found

There is my code:
Code: [Select]
block p90
{
  es es_cexec event_var(userid) r_screenoverlay effects/mh_blood1.vmt
  es_delayed 0.1 es_cexec event_var(userid) r_screenoverlay effects/mh_blood2.vmt
  es_delayed 0.2 es_cexec event_var(userid) r_screenoverlay effects/mh_blood3.vmt
  es_delayed 0.3 es_cexec event_var(userid) r_screenoverlay effects/mh_blood1.vmt
  es_delayed 0.4 es_cexec event_var(userid) r_screenoverlay effects/mh_blood2.vmt
  es_delayed 0.5 es_cexec event_var(userid) r_screenoverlay effects/mh_blood3.vmt
  es_delayed 0.6 es_cexec event_var(userid) r_screenoverlay effects/mh_blood1.vmt
  es_delayed 0.5 es_cexec event_var(userid) r_screenoverlay effects/mh_blood2.vmt
  es_delayed 0.8 es_cexec event_var(userid) r_screenoverlay effects/mh_blood3.vmt
  es_delayed 0.9 es_cexec event_var(userid) r_screenoverlay effects/mh_blood1.vmt
  es_delayed 1 es_cexec event_var(userid) r_screenoverlay effects/mh_blood2.vmt
  es_delayed 1.1 es_cexec event_var(userid) r_screenoverlay 0
  //es playerget primary wcs_tmpp90 event_var(userid)
  //es wcs_removeweapon event_var(wcs_userid) 1
  wcs_getweapon event_var(userid) wcs_tmpp90 1
  if (event_var(wcs_tmpp90) = 0) do
  {
    es wcs_give event_var(userid) weapon_p90
    es_delayed .5 es playerset clip event_var(userid) weapon_p90 server_var(wcs_ammo)
es_delayed .5 wcs_setfx 1stclip event_var(userid) = 200 0
    es_tell event_var(userid) #multi #lightgreen you spawned a p90 with a #green server_var(wcs_ammo) clip   
  } 
}

block Upgrade
{
  es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker)
  es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid)
  es_createvectorstring vector1 server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1)
  es_createvectorstring vector2 server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2)
  es est_effect_14 #a 0 effects/fire_cloud2.vmt server_var(vector2) server_var(vector2) 100 100 1000
  es_delayed .1 es est_effect_14 #a 0 effects/fire_cloud2.vmt server_var(vector2) server_var(vector1) 100 100 1000
  es_delayed .2 es est_effect_14 #a 0 effects/fire_cloud2.vmt server_var(vector2) server_var(vector1) 100 100 1000
  es_delayed .3 es est_effect_14 #a 0 effects/fire_cloud2.vmt server_var(vector2) server_var(vector1) 100 100 1000
  es es_cexec event_var(userid) r_screenoverlay effects/mh_blood1.vmt
  es_delayed 0.1 es_cexec event_var(userid) r_screenoverlay effects/mh_blood2.vmt
  es_delayed 0.2 es_cexec event_var(userid) r_screenoverlay effects/mh_blood3.vmt
  es_delayed 0.3 es_cexec event_var(userid) r_screenoverlay effects/mh_blood1.vmt
  es_delayed 0.4 es_cexec event_var(userid) r_screenoverlay effects/mh_blood2.vmt
  es_delayed 0.5 es_cexec event_var(userid) r_screenoverlay effects/mh_blood3.vmt
  es_delayed 0.6 es_cexec event_var(userid) r_screenoverlay effects/mh_blood1.vmt
  es_delayed 0.5 es_cexec event_var(userid) r_screenoverlay effects/mh_blood2.vmt
  es_delayed 0.8 es_cexec event_var(userid) r_screenoverlay effects/mh_blood3.vmt
  es_delayed 0.9 es_cexec event_var(userid) r_screenoverlay effects/mh_blood1.vmt
  es_delayed 1 es_cexec event_var(userid) r_screenoverlay effects/mh_blood2.vmt
  es_delayed 1.1 es_cexec event_var(userid) r_screenoverlay 0
  //wcs_getweapon event_var(attacker) wcs_tmp144 1
  if (event_var(weapon) = p90) do
  {
//es wcs spawn event_var(attacker) 1
es_delayed .2 es wcs_removeweapon event_var(attacker) 1
es_delayed .5 es wcs_give event_var(attacker) weapon_ak47
    //es_delayed .5 es playerset clip event_var(attacker) weapon_ak47 server_var(wcs_ammo)
es_delayed .6 wcs_setfx 1stclip event_var(attacker) = 200 0
    es_tell event_var(attacker) #multi #lightgreen you spawned an ak47 with a #green server_var(wcs_ammo) clip 
  }
  if (event_var(weapon) = ak47) do
  {
//es wcs spawn event_var(attacker) 1
es_delayed .2 es wcs_removeweapon event_var(attacker) 1
es_delayed .5 es wcs_give event_var(attacker) weapon_m4a1
    //es_delayed 1 playerset clip event_var(attacker) weapon_m4a1 server_var(wcs_ammo)
es_delayed .6 wcs_setfx 1stclip event_var(attacker) = 200 0
    es_tell event_var(attacker) #multi #lightgreenyou spawned an m4a1 with a #green server_var(wcs_ammo) clip

  }
  if (event_var(weapon) = m4a1) do
  {
    if (server_var(wcs_dice) <= 50) do
{
  //es wcs spawn event_var(attacker) 1
      es wcs_setfx health event_var(userid) + server_var(wcs_health)
      es_tell event_var(attacker) #multi #lightgreen you have gained #green server_var(wcs_health) hp
     }
    if (server_var(wcs_dice) >= 50) do
    {
  //es wcs spawn event_var(wcs_userid) 1
  es wcs_setfx speed event_var(attacker) = server_var(wcs_speed) 0
  es_set wcs_speed_var server_var(wcs_speed)
  es_xmath wcs_speed_var * 100
  es_xmath wcs_speed_var - 100
  es wcs_decimal wcs_speed_var server_var(wcs_speed_var)
      es_tell event_var(attacker) #multi #lightgreenyou have gained #green server_var(wcs_speed) speed     
  }
  }
}

code works perfect tho, but errors..
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on September 10, 2018, 07:19:16 AM
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.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Hojjke on September 10, 2018, 05:10:23 PM
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.

love ya Kami <3

Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Hojjke on September 11, 2018, 09:28:59 PM
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.

Hey Kami, getting this error when trying to set my SP to russian language and loading wcs:

Code: [Select]
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_plugin
Sep 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 load
Sep 11 19:26:26:      plugin._load()
Sep 11 19:26:26:    File "../addons/source-python/packages/source-python/plugins/instance.py", line 74, in _load
Sep 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 admin
Sep 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_admin
Sep 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 changerace
Sep 11 19:26:26:    File "../addons/source-python/plugins/wcs/changerace.py", line 8, in <module>
Sep 11 19:26:26:      from wcs import config
Sep 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 write
Sep 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_section
Sep 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' не может быть загружен.
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on September 14, 2018, 07:09:35 AM
The fix for this will be ready by tonight :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Hojjke on September 14, 2018, 08:00:49 AM
The fix for this will be ready by tonight :)
huuuuuuge Kami, thank you
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on September 14, 2018, 08:53:46 PM
The fix is beeing integrated into Source Python which can take a little while, but it should be included in the next version :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Hojjke on September 14, 2018, 10:56:00 PM
The fix is beeing integrated into Source Python which can take a little while, but it should be included in the next version :)

great job on this

any news about popups?

btw: checked the changes for manager.py, worked for me, thank you again :p
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Hojjke on September 16, 2018, 11:47:54 AM
hey Kami, are there any possibilities of getting player's level, xp, needed xp and current race?
I'm trying to make a panorama UI plugin showing this on the player's screen

Code: [Select]
@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))

Tryed smth like that, didn't work out :(
Could you help me, please?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on September 16, 2018, 12:34:13 PM
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?
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Hojjke on September 16, 2018, 12:41:45 PM
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?

if fck** works dude! woweee

and where can I find the keymenu for changes? like words, colors etc

nvm, found it ^^
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Hojjke on September 17, 2018, 08:22:05 AM
Greets, Kami

It seems like es_exists doesn't work at all
Code: [Select]
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"
sends "Uknown command 'exath'" into the console, are there any workarounds for that? Maybe another command..
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on September 17, 2018, 12:47:05 PM
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!

Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Hojjke on September 17, 2018, 05:06:08 PM
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!

Oke, thank you man, as usual :)

Found a bug or smth, sometimes it spams really hard with smth like that when keymenu is enabled:

Code: [Select]
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_tick
Sep 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_tick
Sep 17 15:04:25:      level = wcsplayers[userid].all_races[race]['level']
Sep 17 15:04:25:
Sep 17 15:04:25:  KeyError: 'level'

it can happen with any race
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on September 17, 2018, 05:57:29 PM
newest version should fix those errors :)

For future problems, please make a new post in the "Submit your bugs!" post :)
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Hojjke on September 17, 2018, 06:57:02 PM
newest version should fix those errors :)

For future problems, please make a new post in the "Submit your bugs!" post :)

thank you and ok, sorry :p
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on September 17, 2018, 07:25:28 PM
Did you fix the "nothing works" problem?^^
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Hojjke on September 17, 2018, 08:02:12 PM
Did you fix the "nothing works" problem?^^

yea, my bad xD
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Global Offenisve
Post by: bolarke on November 16, 2018, 07:37:31 PM
Hello! i am a noob... i am gettings this 2 errors... can u help me guys?


it looks like I am getting 2 errors. I am assuming one is caused by the other:

This is happening on a freshly installed server on Linux (NFO Managed Linux - CentOS 5 i believe)

Quote
[SP] Loading plugin 'es_emulator'...

[SP] Caught an Exception:
Traceback (most recent call last):
File "../addons/source-python/packages/source-python/plugins/command.py", line 162, in load_plugin
plugin = self.manager.load(plugin_name)
File "../addons/source-python/packages/source-python/plugins/manager.py", line 193, in load
plugin._load()
File "../addons/source-python/packages/source-python/plugins/instance.py", line 76, in _load
self.module.load()
File "../addons/source-python/plugins/es_emulator/es_emulator.py", line 32, in load
raise ValueError('EventScripts is already loaded.')

ValueError: EventScripts is already loaded.


[SP] Plugin 'es_emulator' was unable to be loaded.
[SP] Loading plugin 'wcs'...

[SP] Caught an Exception:
Traceback (most recent call last):
File "../addons/source-python/packages/source-python/plugins/command.py", line 162, in load_plugin
plugin = self.manager.load(plugin_name)
File "../addons/source-python/packages/source-python/plugins/manager.py", line 193, in load
plugin._load()
File "../addons/source-python/packages/source-python/plugins/instance.py", line 74, in _load
self.module = import_module(self.import_name)
File "../addons/source-python/plugins/wcs/wcs.py", line 35, in <module>
import es
File "../addons/source-python/plugins/es_emulator/eventscripts/es.py", line 12, in <module>
from es_C import *
File "../addons/source-python/plugins/es_emulator/eventscripts/es_C.py", line 75, in <module>
from es_emulator.logic import current_event_vars
File "../addons/source-python/plugins/es_emulator/logic.py", line 57, in <module>
from .helpers import _is_dead
File "../addons/source-python/plugins/es_emulator/helpers.py", line 115, in <module>
tier1 = memory.find_binary('bin/libtier0')

OSError: Unable to find ../bin/bin/libtier0_srv.so
Title: Re: [Release] Warcraft Source 0.78 for Counterstrike Source & Global Offensive
Post by: Kami on November 17, 2018, 03:45:28 PM
Hey guys, this version will no longer get support as there is a new and better version available:

https://forums.sourcepython.com/viewtopic.php?f=7&t=1925 (https://forums.sourcepython.com/viewtopic.php?f=7&t=1925)

With this new version I decided to finally retire from WCS so any bug reports or questions regarding my version will not be answered by me.

Thank you for your support and good luck with the new and improved WCS!