June 19, 2013, 05:30:31 AM

Author Topic: WCS V0.78.5g.4g.3  (Read 36231 times)

Offline Deathkilla

  • Level 7 Expert
  • *****
  • Posts: 859
    • Elite-Gamers Community
Re: WCS V0.78.5g.4g.3
« Reply #435 on: November 19, 2011, 11:56:49 AM »
I have tested the mod on my server. the server works perfectly. i have a linxus too btw.

only problem i had is figuring out the restrict system.

if anyone needs a working restrict here =)

spawncmd = "es wcs_restrict event_var(userid) all;es wcs_unrestrict event_var(userid) "knife,scout""
Visit Elite Gamers Today!
www.Elite-Gamers.org




Offline charly_yonkos

  • Level 0 Beginner
  • Posts: 3
  • <3 WCS :)
Re: WCS V0.78.5g.4g.3
« Reply #436 on: December 11, 2011, 08:46:54 AM »
Hi everyone
I'm new on this site, I'm from Spain. Some of my friends and I are trying to set a Warcraft server, we're using this version wcs_v0.78.5g.4g.3. We're having problems with the knife races too, we cannot restrict the weapons.
I would appreciate so much any help.
Thanks

Offline Numerouno

  • Level 7 Expert
  • *****
  • Posts: 157
  • <3 WCS :)
Re: WCS V0.78.5g.4g.3
« Reply #437 on: December 11, 2011, 09:53:06 AM »
spawncmd = 'es wcs_restrict event_var(userid) all;es wcs_unrestrict event_var(userid) "knife,grenade"'

Offline Lukas320

  • Level 7 Expert
  • *****
  • Posts: 455
  • <3 WCS :)
Re: WCS V0.78.5g.4g.3
« Reply #438 on: December 11, 2011, 10:29:10 AM »
Be aware the weapon restriction is bugged , it will be bugged out sometimes.
At some point you suddenly have everything restrict even knife , to try to fix that you've to changerace and change back works most of the time.
There is a new restriction coming soon in the new version which should work.

Lord Alucard

  • Guest
Re: WCS V0.78.5g.4g.3
« Reply #439 on: December 11, 2011, 11:57:35 AM »
i use the old wcsl plugin and it works without bugs

Offline charly_yonkos

  • Level 0 Beginner
  • Posts: 3
  • <3 WCS :)
Re: WCS V0.78.5g.4g.3
« Reply #440 on: December 11, 2011, 06:08:20 PM »
Be aware the weapon restriction is bugged , it will be bugged out sometimes.
At some point you suddenly have everything restrict even knife , to try to fix that you've to changerace and change back works most of the time.
There is a new restriction coming soon in the new version which should work.

You're right. We tried it, and at some point you couldn't use any weapon, not even the knife. But I will say more... when an admin uses a knife race nobody can't use any weapon... it's so weird...
We are trying to fix it, if we find anything I will tell you guys.
Thanks for everything

Offline charly_yonkos

  • Level 0 Beginner
  • Posts: 3
  • <3 WCS :)
Re: WCS V0.78.5g.4g.3
« Reply #441 on: December 12, 2011, 09:09:37 AM »
i use the old wcsl plugin and it works without bugs

Alucard, what version did you use? Because this is driving us nuts... ¬¬

Offline HooHaa

  • Level 7 Expert
  • *****
  • Posts: 195
Re: WCS V0.78.5g.4g.3
« Reply #442 on: December 12, 2011, 11:06:11 AM »
Charly_Yonkos,

PLease follow these instructions to resolve your restriction issues - this information is located in the forums - on the Approved Races and Addons forum - this was solution was not developed by me - but it is an approved addon and will be incorporated in the next release - u will also need to make script syntax  changes (see below) in your races.ini file:



This Restriction System will prevent player's from picking up restricted weapons

Changelog
Version 1.0
- Inital Release
Version 2.0
- Remade Plugin, better performance
Version 2.1
- Added new convar, some fixes + auto reset on changerace
Version 2.2
- Removed OnClientDisconnect Unhook stuff(ty joshtrav)

Required
SouceMod
SDKHooks Extension
Eventscripts(optional, not needed )
WCS ofc

Install
Just paste this file(v2.2) into your addons/sourcemod/plugins folder
now you're done, restart the server and the new restriction system will be ready to use( if you set up everything correctly  )

Usage
There are 2 new con commands you can easily use in your races
Code: [Select]
es wcs_restrict <userid> <weapon/s>
es wcs_unrestrict <userid> <weapon/s>
Examples
Code: [Select]
es wcs_restrict "event_var(userid)" "weapon_m4a1,weapon_ak47" //restricts m4a1&ak47
es wcs_restrict "event_var(userid)" "all" //restricts everything
es wcs_unrestrict "event_var(userid)" "weapon_m4a1,weapon_ak47" //unrestricts m4a1&ak47
es wcs_unrestrict "event_var(userid)" "all" //unrestricts everything
Note: weapon_m4a1 is the same as m4a1 (means you can also use this:)
es wcs_restrict "event_var(userid)" "m4a1,ak47,p90,awp,deagle"
Hope you like it

Source is avaible here
Thanks to :
Ownz/Darkenergy(W3S Weapon Engine)
« Last Edit: November 15, 2011, 09:22:36 AM by Revan »

 8)

Offline tweakIce

  • Level 2 Apprentice
  • **
  • Posts: 42
  • tweakgaming warcraft
    • tweakgaming
Re: WCS V0.78.5g.4g.3
« Reply #443 on: December 12, 2011, 11:37:09 AM »
were is the download link?

tnx for putting it up

Offline Lukas320

  • Level 7 Expert
  • *****
  • Posts: 455
  • <3 WCS :)
Re: WCS V0.78.5g.4g.3
« Reply #444 on: December 12, 2011, 11:40:53 AM »
HooHaa are you aware that that restriction bugges out after some time?
like i told before check some posts above you or previous page ;)
And i used syntaxes etc properly even talked with La Muerte for it...
It just bugs out after awhile.

Offline sUL

  • Level 0 Beginner
  • Posts: 1
  • <3 WCS :)
Re: WCS V0.78.5g.4g.3
« Reply #445 on: December 12, 2011, 11:57:39 AM »
I'm one of those Charly's friends :D
Thank's for your reply HooHaa.
I'll try that fix it tonight, but... that's the way i install everything in our server:

1st - Download and install the needed components (SourceMod, SDKHooks etc...)
2nd - Download and install WCS V0.78.5g.4g.3 (create autoexec.cfg etc...).
3rd- Download and install Jhonam's Pack, for edit and translate it's races.ini. (To edit the races, i use the WcsRaceChecker VS 0.2.7)
4th- In races like Rapscallion or Flame Predator we use this line (i'm at work right now, so dont remember exactly letter by letter):
Code: [Select]
"es wcs_restrict event_var(userid) all;es wcs_unrestrict event_var(userid) knife;es wcs_unrestrict event_var(userid) hegrenade"
Is it right?

Because if i use this code in RaceChecker:
Code: [Select]
es wcs_restrict "event_var(userid)" "all" RaceChecker shows it to me like "wrong code".

If the code that RaceChecker shows me is not correct, should this be ok for knife races?:
Code: [Select]
es wcs_restrict "event_var(userid)" "all";es wcs_unrestrict "event_var(userid)" "knife,hegrenade"

Thank u guys.

PD- With our main code, knife races works like a charm for  one "changerace", then when you change to a weapon race... Rapscallion f.e. drops his knife and it's able to take weapons, at the sametime weapon races drops the knife.

Offline Predz

  • WCS Developer
  • Level 7 Expert
  • *****
  • Posts: 343
  • Warcraft:SPE
Re: WCS V0.78.5g.4g.3
« Reply #446 on: December 12, 2011, 04:50:41 PM »
WCS Dev Version

Okay I am sorry to say but we are not going to release the newest WCS version yet because of the Source Python Extensions not being compatible with Linux. Therefore the new Restriction, Effects and Evasion system do not work yet with Linux. I will hopefully get La Muerte to update the current WCS with all the current files converted into Python soon and so everything in WCS will now be written in Python. The following have been converted to Python and are working on Linux and Windows:

Code: [Select]
setfx
items
amulet

Offline Deathkilla

  • Level 7 Expert
  • *****
  • Posts: 859
    • Elite-Gamers Community
Re: WCS V0.78.5g.4g.3
« Reply #447 on: December 12, 2011, 08:07:57 PM »
WCS Dev Version

Okay I am sorry to say but we are not going to release the newest WCS version yet because of the Source Python Extensions not being compatible with Linux. Therefore the new Restriction, Effects and Evasion system do not work yet with Linux. I will hopefully get La Muerte to update the current WCS with all the current files converted into Python soon and so everything in WCS will now be written in Python. The following have been converted to Python and are working on Linux and Windows:

Code: [Select]
setfx
items
amulet

alright sexy thang!
Visit Elite Gamers Today!
www.Elite-Gamers.org




Offline Lukas320

  • Level 7 Expert
  • *****
  • Posts: 455
  • <3 WCS :)
Re: WCS V0.78.5g.4g.3
« Reply #448 on: January 02, 2012, 07:32:29 PM »
Wrong value type sent to the database. Integer expected. (week)

can't download wcs >.<

Offline Deathkilla

  • Level 7 Expert
  • *****
  • Posts: 859
    • Elite-Gamers Community
Re: WCS V0.78.5g.4g.3
« Reply #449 on: January 02, 2012, 07:47:08 PM »
WCS Dev Version

Okay I am sorry to say but we are not going to release the newest WCS version yet because of the Source Python Extensions not being compatible with Linux. Therefore the new Restriction, Effects and Evasion system do not work yet with Linux. I will hopefully get La Muerte to update the current WCS with all the current files converted into Python soon and so everything in WCS will now be written in Python. The following have been converted to Python and are working on Linux and Windows:

Code: [Select]
setfx
items
amulet

alright sexy thang!

ok i was drunk when i typed that ^_^

*cough* DELETE IT ADMIN! lolz
Visit Elite Gamers Today!
www.Elite-Gamers.org