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 2008-05-01 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
May 01, 2008, 12:17:54 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Current Official Servers:
#1 - 207.210.236.112:27015 Location US
#2 - 85.190.38.232:27015 Location Amsterdam
| Tick@100 | wcs 0.77 | Mani |
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
Author Topic: Where is the wcs_alive command/alias in .7x?  (Read 45 times)
Jeff
WCS ESP Dev Team
Level 7 Expert

Offline Offline

United States United States

Posts: 331



WWW
beastrace91
« on: April 23, 2008, 01:43:35 AM »

I am trying to add support for this command into WCSP... how ever I cannot find which file it is.

Anyone want to point it out to me? (And maybe what line it starts on?)

~J3ff
Logged

Jeff
WCS ESP Dev Team
Level 7 Expert

Offline Offline

United States United States

Posts: 331



WWW
beastrace91
« Reply #1 on: April 24, 2008, 03:31:00 AM »

My 0.8.6 is waiting on this command could someone at least tell me what it does if no one knows where the code that runs it is? (this is why I hate splitting all the core commands into 10+ different files.)

~J3ff
Logged

KaBoom
Level 3 Trained Apprentice
***
Offline Offline

United States United States

Posts: 65



« Reply #2 on: April 24, 2008, 11:39:01 PM »

Just using my Window's Search command on my wcs folder, I found "wcs_alive" in four files. These are es_wcs, es_WCSraces_db, es_WCSshop_db, and es_WCSultimates. I was guessing that it defines the command in es_wcs. Upon further examination of these files, every time it uses wcs_alive, it only uses that as a variable. It uses the varible two ways:
1.
Code:
es es_xgetlivingplayercount wcs_alive server_var(wcs_team_target);es es_xif (server_var(wcs_alive) < 1) then es_xsetinfo wcs_exists 0
2.
Code:
est_IsAlive wcs_alive event_var(userid);es_xif (server_var(wcs_alive) = 1) then . . .
I don't believe that there is an actual function by this name, only a variable by that name serving a few purposes within the code.
Logged
Jeff
WCS ESP Dev Team
Level 7 Expert

Offline Offline

United States United States

Posts: 331



WWW
beastrace91
« Reply #3 on: April 25, 2008, 03:15:05 PM »

Ahh that is why I was confused just one more var for me to define then.

Thank you for being useful.

~J3ff
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
April 30, 2008, 11:39:24 AM
HOLLIDAYS botchangerace script is also to be found in the downloads section
April 30, 2008, 11:34:31 AM
WCS Map CageFight added into Downloads
April 30, 2008, 01:54:03 AM
Yea cause WCSP is the future and I almost got backwards support fully working so very little reason not to use it over 0.7x now...

~J3ff
April 30, 2008, 12:27:18 AM
They were DIFFERENT links: n0Life gave link to WCS 0.77 and J3ff gave link to WCS:Python
April 29, 2008, 09:53:54 PM
i meant, That n0life Gave a link...
April 29, 2008, 09:52:53 PM
Jeff why the Double post?
April 29, 2008, 09:48:46 PM
Recent
[Today at 11:42:35 AM]

[Today at 11:35:19 AM]

[Today at 11:33:58 AM]

[Today at 11:28:48 AM]

[Today at 09:06:31 AM]

[Today at 08:16:43 AM]

[Today at 05:56:24 AM]

[Today at 04:35:17 AM]

[Today at 02:00:39 AM]

[April 30, 2008, 10:55:25 PM]
Theme switch

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