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 2010-02-04 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
February 04, 2010, 05:26:30 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Join the new Facebook Warcraft-Source.com Group! It has been currently opened!
Join!
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
Author Topic: Satyr  (Read 222 times)
Jeff
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 458



WWW
beastrace91
« on: February 29, 2008, 05:55:12 AM »

Satyr Knife only race for WCS:Python:

Satyr

~J3ff
« Last Edit: March 01, 2008, 03:44:58 PM by Jeff » Logged

Zero Skillz
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 525




Zero Skillz (<-[SD]->madcow)
madcow767
« Reply #1 on: March 01, 2008, 04:45:29 AM »

wow.... gotta love the capabilities of python, gotta hate learning and understanding it. I tried for ages (35 hours) of work into trying to make something with that ultimate... i gave up with i started resurrecting other people, on the other side of the map on the wrong team >.> never came close but with python BOOM its done cant wait to see what else is coming great work guys..
Logged

Mouth662
Level 3 Trained Apprentice
***
Offline Offline

United States United States

Posts: 66


Your going to feel a little prick!


WWW
mouth662
mouth662
« Reply #2 on: March 06, 2008, 01:27:55 AM »

Im having some problems with the satyr race. Im being told no one is being ressurected. Error log associated with this:
Code:
03/05/08 17:35:55
Traceback (most recent call last):
  File "C:\Games\sevenlance\GameServers\TC35226142351266212120468\cstrike\addons\eventscripts\es.py", line 204, in tick
    x()
  File "C:\Games\sevenlance\GameServers\TC35226142351266212120468\cstrike\addons\eventscripts\_libs\python\gamethread.py", line 178, in tick
    _executenode(task)
  File "C:\Games\sevenlance\GameServers\TC35226142351266212120468\cstrike\addons\eventscripts\_libs\python\gamethread.py", line 155, in _executenode
    function(*a, **kw)
  File "C:\Games\sevenlance\GameServers\TC35226142351266212120468\cstrike\addons\eventscripts\wcs\races\Satyr\Satyr.py", line 65, in stealth_loop
    if not playerlib.getPlayer(userid).get('isdead') and es.exists('userid', userid):
  File "C:\Games\sevenlance\GameServers\TC35226142351266212120468\cstrike\addons\eventscripts\_libs\python\playerlib.py", line 556, in getPlayer
    raise e
UseridError: 14 is an invalid userid

03/05/08 17:44:24
Traceback (most recent call last):
  File "C:\Games\sevenlance\GameServers\TC35226142351266212120468\cstrike\addons\eventscripts\es.py", line 199, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File "C:\Games\sevenlance\GameServers\TC35226142351266212120468\cstrike\addons\eventscripts\wcs\races\Satyr\Satyr.py", line 89, in player_ultimate_on
    deadnear(userid, filter)
  File "C:\Games\sevenlance\GameServers\TC35226142351266212120468\cstrike\addons\eventscripts\wcs\races\Satyr\Satyr.py", line 92, in deadnear
    x, y, z = es.getplayerlocation(self.userid)
NameError: global name 'self' is not defined
and i updated to the latest playerlib like you suggested j3ff and the other error i was gettting stopped but theni got this one, however i dont think anyone was a satyr before i switched them. people seem to love and hate this race though, they hate it when they get knifed that is lol.
Logged

Jeff
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 458



WWW
beastrace91
« Reply #3 on: March 06, 2008, 04:08:51 AM »

Yea caught this on my box also. (Glad people like it Wink I always loved playing knife races like this one myself) Go download the latest Satyr (0.7.2) and it fixes this small typo.

~J3ff
Logged

Mouth662
Level 3 Trained Apprentice
***
Offline Offline

United States United States

Posts: 66


Your going to feel a little prick!


WWW
mouth662
mouth662
« Reply #4 on: March 07, 2008, 12:36:55 AM »

still have a few bugs with this, first off when you attempt to buy something u get it stripped but dont get your money back, not sure if this is by design, and when you changerace but do not die before you are changed you keep your weapon.

ultimate still not working:
Code:
03/06/08 17:16:52
Traceback (most recent call last):
  File "C:\Games\sevenlance\GameServers\TC35226142351266212120468\cstrike\addons\eventscripts\es.py", line 199, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File "C:\Games\sevenlance\GameServers\TC35226142351266212120468\cstrike\addons\eventscripts\wcs\races\Satyr\Satyr.py", line 90, in player_ultimate_on
    deadnear(userid, filter)
  File "C:\Games\sevenlance\GameServers\TC35226142351266212120468\cstrike\addons\eventscripts\wcs\races\Satyr\Satyr.py", line 94, in deadnear
    for player in playerlib.getPlayerList(filter,'#dead'):
TypeError: getPlayerList() takes at most 1 argument (2 given)

03/06/08 17:16:57
Traceback (most recent call last):
  File "C:\Games\sevenlance\GameServers\TC35226142351266212120468\cstrike\addons\eventscripts\es.py", line 199, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File "C:\Games\sevenlance\GameServers\TC35226142351266212120468\cstrike\addons\eventscripts\wcs\races\Satyr\Satyr.py", line 90, in player_ultimate_on
    deadnear(userid, filter)
  File "C:\Games\sevenlance\GameServers\TC35226142351266212120468\cstrike\addons\eventscripts\wcs\races\Satyr\Satyr.py", line 94, in deadnear
    for player in playerlib.getPlayerList(filter,'#dead'):
TypeError: getPlayerList() takes at most 1 argument (2 given)
Logged

freddukes
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 292



« Reply #5 on: March 07, 2008, 12:41:05 AM »

change this line

Code
GeSHi (python):
for player in playerlib.getPlayerList(filter,'#dead'):
 

to this

Code
GeSHi (python):
for player in playerlib.getPlayerList(filter + ',#dead'):
 

Many of the bug, including those 2 two there, are being sorted at next release.

-freddukes
« Last Edit: March 07, 2008, 08:06:44 PM by freddukes » Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 02:33:47 AM
Sup?
Today at 02:33:37 AM
hey Ghost
Today at 01:44:10 AM
hey dark
February 02, 2010, 10:43:30 AM
Yap, he mean eventscripter xD
February 02, 2010, 01:03:48 AM
Eventscripter. lol
February 02, 2010, 12:23:17 AM
A WCS scripter?
February 01, 2010, 06:12:18 PM
izh lookeh for 1 scripter to supp0t me
Recent
[Today at 03:16:50 PM]

[Today at 01:30:33 AM]

[Today at 12:44:51 AM]

[February 03, 2010, 11:57:35 PM]

[February 03, 2010, 11:17:14 PM]

[February 03, 2010, 10:05:11 PM]

[February 03, 2010, 09:50:54 PM]

[February 03, 2010, 06:40:35 PM]

[February 03, 2010, 04:33:23 PM]

[February 03, 2010, 02:30:39 PM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2009, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.11 seconds with 24 queries.