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 2011-05-11 (original capture). Home · Forum · All archived topics · Downloads

Author Topic: issue with mole skill  (Read 62 times)

$Diablo$

  • Level 7 Expert
  • Posts: 442
issue with mole skill
« on: May 09, 2011, 03:22:15 AM »
Hi guys every time when mole skill activate itself
player_spawn
Code: [Select]
[[skill1]]
      setting        = "es_xset wcs_chance 10|es_xset wcs_chance 12|es_xset wcs_chance 25|es_xset wcs_chance 30|es_xset wcs_chance 33"
      cmd            = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_delayed 1 wcs_mole_activate event_var(userid)"
      sfx            = ""

i get this Traceback report in console anyone know how to fix it?

Code: [Select]
*** EventScripts caught an exception:
Traceback (most recent call last):
  File "C:\srcds\orangebox\cstrike\addons\eventscripts\es.py", line 279, in tick

    x()
  File "C:\srcds\orangebox\cstrike\addons\eventscripts\_libs\python\gamethread.p
y", line 173, in tick
    _executenode(first)
  File "C:\srcds\orangebox\cstrike\addons\eventscripts\_libs\python\gamethread.p
y", line 155, in _executenode
    function(*a, **kw)




Muse

  • Russian
  • Watchdog
  • Level 7 Expert
  • Posts: 760
  • The lord of drunken bears, 102 lvl.
Re: issue with mole skill
« Reply #1 on: May 09, 2011, 03:30:10 AM »
Code: [Select]
    x()awesome traceback
Лет'с толк ин личку ин рашен.

[√] Learn how to code eventscripts
[√] Learn how to code sourcemod
[√] Restore effects
[√] Restore restrict
[] Make my own mod from 0
[] Eat candy
Russian moderator
alpha version.. soon

$Diablo$

  • Level 7 Expert
  • Posts: 442
Re: issue with mole skill
« Reply #2 on: May 09, 2011, 05:25:46 AM »



RedNäck

  • Level 7 Expert
  • Posts: 268
  • In a golden Fever/HAPPY
Re: issue with mole skill
« Reply #3 on: May 09, 2011, 05:55:22 AM »
Code: [Select]
[[skill1]]
      setting        = "es_xset wcs_chance 10|es_xset wcs_chance 12|es_xset wcs_chance 25|es_xset wcs_chance 30|es_xset wcs_chance 33"
      cmd            = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_delayed 1 es wcs_mole_activate event_var(userid);es_tell event_var(userid) #multi #lightgrenn you are now a #greenMOLE!"
      sfx            = ""

with this i dont get any tracebacks, maybe something else on your server?


Du suchst einen guten Server?
http://www.server-junkys.de
ist da die perfekte Adresse

WCS = AWESOME
Minecraft =AWESOME
Eventscripts for Minecraft = ADORABLE
Minecraft + WCS = a lot Work to do


 


* Ads