Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2013-11-15 (original capture). Home · Forum · All archived topics · Downloads
November 15, 2013, 10:33:06 AM

Author Topic: WCS 0.78.6b  (Read 7677 times)

Offline maxolahird

  • Level 7 Expert
  • *****
  • Posts: 402
Re: WCS 0.78.6
« Reply #15 on: April 22, 2013, 10:41:09 AM »
i got it working but with many bugs

- god mode races have permanent god
- Invisibility races with invis not invisp still dont use rgb alpha so its 100% invisible
-
click the banner to join


Offline Masteraviv13

  • Level 7 Expert
  • *****
  • Posts: 394
  • Python remains a bitch, though I will never quit
    • <a href="http://alwaysfunkilling.com" title="An evolution of modern combat">Always Fun Killing</a>]<a href="http://alwaysfunkilling.com" title="An evolution of modern combat">Always Fun Killing<
Re: WCS 0.78.6
« Reply #16 on: April 22, 2013, 10:52:23 AM »
Ver nice this new wcs mod etc,

But cmon can't anyway fix the invisp for LINUX?

Since on windows it appears to work great.. -_-

I mean many things seem to be added/fixed but one of the most annyoing bugs don't..
Fuck logic!




Offline DoCNL

  • Level 7 Expert
  • *****
  • Posts: 230
    • 5* website
Re: WCS 0.78.6
« Reply #17 on: April 22, 2013, 11:16:30 AM »
Yeah... invisp would be great to have back! :/

And also, if anyone feels like (i cant do it, idk how to haha).
Freeze and Speed are bugged for wcs+zm servers...
Can anyone take a look some day?

Speed simply doesnt activate.
And Freeze has a chance to set the zombie's speed to 0%, doesnt reset after dieing,
only resets after mapchange, slay or reconnect.
Freeze:
Show content
setting =          "es_xset wcs_chance 10|es_xset wcs_chance 15|es_xset wcs_chance 20|es_xset wcs_chance 22|es_xset wcs_chance 25"
racealias_freeze =      "es wcs_setfx freeze event_var(userid) = 1 1;es_centertell event_var(userid) You got Frozen!;es_centertell event_var(attacker) You Froze event_var(es_username)!"
cmd =             "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xif (event_var(es_userdead) = 0) then wcs_xalias racealias_freeze"
sfx =              ""

Speed:
Show content
setting =    "es_xset wcs_speed 1.15|es_xset wcs_speed 1.20|es_xset wcs_speed 1.25|es_xset wcs_speed 1.30|es_xset wcs_speed 1.35|es_xset wcs_speed 1.40"
cmd =        "es wcs_setfx speed event_var(userid) = server_var(wcs_speed) 0"
sfx =        ""
Questions about wcs/map making?
I'll answer whatever i have answers to! (In English and Dutch!)

Join us!
http://steamcommunity.com/groups/5starz
www.5-starz.webs.com


Offline Masteraviv13

  • Level 7 Expert
  • *****
  • Posts: 394
  • Python remains a bitch, though I will never quit
    • <a href="http://alwaysfunkilling.com" title="An evolution of modern combat">Always Fun Killing</a>]<a href="http://alwaysfunkilling.com" title="An evolution of modern combat">Always Fun Killing<
Re: WCS 0.78.6
« Reply #18 on: April 22, 2013, 11:26:11 AM »
The freeze is a problem of setfx..

Setfx is coded in ES --> invisp broken
Setfx is coded in ESP --> Freeze stucks people.

But I found a fix for the freeze.
Just this I think..
Can't remember if this was the working version or not.. x)

remove your current setfx code in python by this one, and try it out.
Code: [Select]
def setfx(args):
if len(args) == 5:
type = args[0]
if not type in 'freeze|jetpack|god|noblock|burn|speed|health|armor|cash|gravity|ulti_immunity|disguiser|1stclip|2ndclip|longjump|lj|invisp|location|blind|evade':
logging.log('wcs_setfx: '+type+' is not a valid type.')
type = 0
uid = args[1]
op = args[2]
if not op in '=|+|-':
op = "="
value = float(args[3])
time = float(args[4])
player = playerlib.getPlayer(uid)
if type == 'freeze':
if op == '=':
curSpeed = player.getSpeed()
if value >= 1:
player.setSpeed(curSpeed-curSpeed)
if time > 0:
speed = player.getSpeed()
gamethread.delayed(time, player.setSpeed(speed+curSpeed)
else:
logging.log('wcs_setfx: '+type+' can only use values 1 or 0.')


Something like that..
It removes the freezepart,
I changed to to reduce speed to 0. should work the same?
Well it did, but I just hope this is the fixed version x)




Offline 하츠네 미쿠

  • Level 7 Expert
  • *****
  • Posts: 276
  • I'm a strange creature.
Re: WCS 0.78.6
« Reply #19 on: April 22, 2013, 11:29:10 AM »
The freeze is a problem of setfx..

Setfx is coded in ES --> invisp broken
Setfx is coded in ESP --> Freeze stucks people.

But I found a fix for the freeze.
Just this I think..
Can't remember if this was the working version or not.. x)

remove your current setfx code in python by this one, and try it out.
Code: [Select]
def setfx(args):
if len(args) == 5:
type = args[0]
if not type in 'freeze|jetpack|god|noblock|burn|speed|health|armor|cash|gravity|ulti_immunity|disguiser|1stclip|2ndclip|longjump|lj|invisp|location|blind|evade':
logging.log('wcs_setfx: '+type+' is not a valid type.')
type = 0
uid = args[1]
op = args[2]
if not op in '=|+|-':
op = "="
value = float(args[3])
time = float(args[4])
player = playerlib.getPlayer(uid)
if type == 'freeze':
if op == '=':
curSpeed = player.getSpeed()
if value >= 1:
player.setSpeed(curSpeed-curSpeed)
if time > 0:
speed = player.getSpeed()
gamethread.delayed(time, player.setSpeed(speed+curSpeed)
else:
logging.log('wcs_setfx: '+type+' can only use values 1 or 0.')


Something like that..
It removes the freezepart,
I changed to to reduce speed to 0. should work the same?
Well it did, but I just hope this is the fixed version x)

i myself just use sm_freeze :b.. in case already frozen, you get unfreezed. else auto unfreeze in x seconds (depends what you set it to) ^^

(maybe not the best way, but hey.. free freeze effect and sound xD)

Offline DoCNL

  • Level 7 Expert
  • *****
  • Posts: 230
    • 5* website
Re: WCS 0.78.6
« Reply #20 on: April 22, 2013, 11:57:12 AM »
alright, both thank you!
I'd also like to see your skill on ma_freeze, if possible :3 (@ night witch)
and thanks aviv ^^ gonna take a look
Questions about wcs/map making?
I'll answer whatever i have answers to! (In English and Dutch!)

Join us!
http://steamcommunity.com/groups/5starz
www.5-starz.webs.com


Online Mr.Malinka

  • WCS Developer
  • Level 7 Expert
  • *****
  • Posts: 296
Re: WCS 0.78.6
« Reply #21 on: April 22, 2013, 02:02:27 PM »
fix god mode
wcs/tools/setfx
http://rghost.ru/45482557

Offline maxolahird

  • Level 7 Expert
  • *****
  • Posts: 402
Re: WCS 0.78.6
« Reply #22 on: April 22, 2013, 02:29:15 PM »
fix god mode
wcs/tools/setfx
http://rghost.ru/45482557

only god? doesn't it fixes invis too?
click the banner to join


Offline maxolahird

  • Level 7 Expert
  • *****
  • Posts: 402
Re: WCS 0.78.6
« Reply #23 on: April 23, 2013, 12:48:26 AM »
please can a kind soul fix invisibility ? It's not working as it should :s

I love how the new menus looks like... can you guys tell me at least how to use it in the old version of wcs?
click the banner to join


Offline La Muerte

  • Administrator
  • Level 7 Expert
  • *****
  • Posts: 1782
  • Carry On Wayward Son
    • Fortitude
Re: WCS 0.78.6b
« Reply #24 on: April 23, 2013, 12:47:21 PM »
Version v0.78.6b has been released. Download from first post or Patch from below attachment.
Fortitude powered by GTX

Offline maxolahird

  • Level 7 Expert
  • *****
  • Posts: 402
Re: WCS 0.78.6b
« Reply #25 on: April 23, 2013, 12:50:36 PM »
Version v0.78.6b has been released. Download from first post or Patch from below attachment.

please is invisp fixed?
click the banner to join


Offline maxolahird

  • Level 7 Expert
  • *****
  • Posts: 402
Re: WCS 0.78.6b
« Reply #26 on: April 23, 2013, 01:04:22 PM »
please also fix ultimate msg, it doesn't lower the remaining time value


It's like


Ultimate time is 5 seconds, 5 seconds left.
Ultimate time is 5 seconds, 5 seconds left.
Ultimate time is 5 seconds, 5 seconds left.
Ultimate time is 5 seconds, 5 seconds left.
click the banner to join


Offline Naiken

  • Level 7 Expert
  • *****
  • Posts: 198
  • [TWKDev Team]
    • TWKGaming
Re: WCS 0.78.6b
« Reply #27 on: April 23, 2013, 04:12:53 PM »
anyone else getting es exceptions in relation to weapon colouring?
Code: [Select]
  File "addons/eventscripts/_libs/python/playerlib.py", line 357, in getWeaponIndex
    raise ValueError, "'%s' is not a valid weapon" % weapon

Also i'm getting crashes on es_reload wcs (I don't do this very often but It should atleast not crash)
« Last Edit: April 23, 2013, 04:34:01 PM by Naiken »

Offline maxolahird

  • Level 7 Expert
  • *****
  • Posts: 402
Re: WCS 0.78.6b
« Reply #28 on: April 23, 2013, 05:07:42 PM »
anyone else getting es exceptions in relation to weapon colouring?
Code: [Select]
  File "addons/eventscripts/_libs/python/playerlib.py", line 357, in getWeaponIndex
    raise ValueError, "'%s' is not a valid weapon" % weapon

Also i'm getting crashes on es_reload wcs (I don't do this very often but It should atleast not crash)

show your race code to change weapon color
click the banner to join


Offline Naiken

  • Level 7 Expert
  • *****
  • Posts: 198
  • [TWKDev Team]
    • TWKGaming
Re: WCS 0.78.6b
« Reply #29 on: April 23, 2013, 05:11:03 PM »
The race code is not the problem, weapon colours have been and still work fine, it's just the first time i'm getting this message, it does not affect functionality. Only started occuring since I updated around 2 hours ago ( Didn't on previous version).

Also: I'm running Linux.

Everything works fine except the following:

Crashes a little more often,
Crashes on es_reload wcs (Very often)
Ultimate cooldown display is gone.

Another is the levelup effect & sound no longer play. (Which is fine as I use a custom one anyway, just thought i'd mention it)



« Last Edit: April 23, 2013, 05:14:10 PM by Naiken »