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-04-15 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
April 15, 2008, 02:40:35 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Races and Items added into Download section from our great Race Coders!
Such as HOLLIDAY|NovaKiller|Stinkyfax|Frodo|TeacherCreature|Phat_Wizard
Google  
  Home   Forum   Help Search Login Register   *
Pages: 1 [2] 3   Go Down
  Print  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: Alpha Level keygroup race Adaptation  (Read 243 times)
Berettonawak
Level 7 Expert
*****
Offline Offline

France France

Posts: 415




Berettonawak
« Reply #15 on: April 08, 2008, 05:06:43 PM »

Waaaaaah!
That would be so great if you could do that.
Logged

Français, et fier de l´être!
Hide and Seek race :
http://www.warcraft-source.com/board/index.php?topic=3426
Damakex
Level 6 Experienced
*****
Offline Offline

Finland

Posts: 123


Wc:s [Pro Pwnage] Player


WWW
Damakex

myServer 88.193.135.157:27015
(Warning: click connects through Steam)
« Reply #16 on: April 08, 2008, 06:04:39 PM »

That are really nice. Nice work jeff!
Logged

Jeff
WCS ESP Dev Team
Level 7 Expert

Offline Offline

United States United States

Posts: 304



WWW
beastrace91
« Reply #17 on: April 08, 2008, 06:21:15 PM »

Has anyone tried loading a keygroup race with this method yet and can confirm whether or not this works?

~J3ff
Logged

Espeladden
Pwning ultra sexy beastly hot legend
Level 7 Expert
*****
Offline Offline

Norway

Posts: 492



WWW
Gastingor
Mursat

myServer 89.145.98.208:27015
(Warning: click connects through Steam)
« Reply #18 on: April 08, 2008, 08:34:55 PM »

Its out already?? 
Logged

Jeff
WCS ESP Dev Team
Level 7 Expert

Offline Offline

United States United States

Posts: 304



WWW
beastrace91
« Reply #19 on: April 08, 2008, 09:47:37 PM »

I have posted 0.8.5, get it here. I have not had a chance to test it yet though so anyone willing to fire it up, load up some keygroup races and then let me know about any errors they give I would love the help

~J3ff

Re-read that and it is not 100% clear but yes as of 0.8.5a this should now work but like I said have yet to play test it myself.

~J3ff
Logged

cobaltflux
Level 2 Apprentice
**
Offline Offline

United States United States

Posts: 44



« Reply #20 on: April 08, 2008, 09:52:52 PM »

I finally had a chance to test this method out today. I was testing alone on an empty server, I don't know if that matters. The race I chose at random was Weatherman created by Crishot and DrFire found here: http://warcraft-source.com/board/index.php/topic,1208.0.html

Code:
Loaded:races.Undead Scourge.Undead Scourge
Loaded:races.Human Alliance.Human Alliance
Loaded:races.Orcish Horde.Orcish Horde
Loaded:races.Night Elf.Night Elf
Loaded:races.Pandaren Brewmaster.Pandaren Brewmaster
Loaded:races.Priestess of the Moon.Priestess of the Moon
Loaded:races.Shadow Hunter.Shadow Hunter
Loaded:races.Warden.Warden
Loaded: addons/eventscripts/wcs/races/Weatherman/es_Weatherman_db.txt

In game, I see a Weatherman in the list, when I changerace to it and type showskills, there are no skills. I still get XP for kills and it says my race is Weatherman, but no skills show up.

Here is an interesting error messagea that you may find useful

This error happens right away on spawn:
Code:
Traceback (most recent call last):
  File "C:\SRCDS\cstrike\addons\eventscripts\es.py", line 199, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File "C:\SRCDS\cstrike\addons\eventscripts\wcs\wcs.py", line 987, in player_sp
awn
    spawncmd = int(keygroupraces[race]['race']['player_spawn_cmd'])
TypeError: unsubscriptable object
Traceback (most recent call last):
  File "C:\SRCDS\cstrike\addons\eventscripts\es.py", line 199, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File "C:\SRCDS\cstrike\addons\eventscripts\wcs\wcs.py", line 917, in round_sta
rt
    spawncmd = int(keygroupraces[race]['race']['round_start_cmd'])
TypeError: unsubscriptable object

This is what it says whenever I typed anything in-game:
Code:
Traceback (most recent call last):
  File "C:\SRCDS\cstrike\addons\eventscripts\es.py", line 199, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File "C:\SRCDS\cstrike\addons\eventscripts\wcs\wcs.py", line 1287, in player_s
ay
    skillscfg = keygroupraces[race]['race']['skillcfg'].split('|')
TypeError: unsubscriptable object

And I believe there were other errors for player_death, and round_end but I didn't catch those.

To sum things up, it didn't work. But I hope this can provide you with some sort of idea for a fix.



Here is what's running

Loaded plugins:
---------------------
0:   "The_WuH's ES_Tools (NeoWuH) (c) 2006, Version : 0.420 Website : "http://www.ThewAc.NET""
1:   "Mani Admin Plugin 2006 V1.2BetaR VSP, www.mani-admin-plugin.com"
2:   "Mattie's EventScripts, http://mattie.info/cs, Version:2.0.0.247"
---------------------
Logged
Jeff
WCS ESP Dev Team
Level 7 Expert

Offline Offline

United States United States

Posts: 304



WWW
beastrace91
« Reply #21 on: April 08, 2008, 10:16:21 PM »

That was a really useful debug/reply! Thank you alot, I will be looking into these error shortly.

As for catching errors please go grab this: http://addons.eventscripts.com/addons/view/errorlog

and have it run when testing so that way you can log any and all errors that are occurring.

All in all very useful thank you!

~J3ff
Logged

cobaltflux
Level 2 Apprentice
**
Offline Offline

United States United States

Posts: 44



« Reply #22 on: April 08, 2008, 10:20:36 PM »

Ah, thanks for the ESP debug logger, I'm gonna start using this right away on my home server and my rented server.

Edit: I just installed ESP debug logger and I tested out the script to catch as many of these errors as possible. I played with 1 bot for about two rounds and here are the different errors that they it grabbed. These are only one of each, as you can probably imagine, it spammed quite a bit of them.

Code:
04/08/08 16:06:21
Traceback (most recent call last):
  File "C:\SRCDS\cstrike\addons\eventscripts\es.py", line 266, in callBlock
    self.Blocks[blockname]()
  File "C:\SRCDS\cstrike\addons\eventscripts\wcs\wcs.py", line 438, in wcscommand
    for i in keygroupraces[race]['race']:
TypeError: unsubscriptable object

04/08/08 16:07:17
Traceback (most recent call last):
  File "C:\SRCDS\cstrike\addons\eventscripts\es.py", line 199, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File "C:\SRCDS\cstrike\addons\eventscripts\wcs\wcs.py", line 987, in player_spawn
    spawncmd = int(keygroupraces[race]['race']['player_spawn_cmd'])
TypeError: unsubscriptable object

04/08/08 16:07:28
Traceback (most recent call last):
  File "C:\SRCDS\cstrike\addons\eventscripts\es.py", line 199, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File "C:\SRCDS\cstrike\addons\eventscripts\wcs\wcs.py", line 933, in round_end
    spawncmd = int(keygroupraces[race]['race']['round_end_cmd'])
TypeError: unsubscriptable object

04/08/08 16:07:31
Traceback (most recent call last):
  File "C:\SRCDS\cstrike\addons\eventscripts\es.py", line 199, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File "C:\SRCDS\cstrike\addons\eventscripts\wcs\wcs.py", line 917, in round_start
    spawncmd = int(keygroupraces[race]['race']['round_start_cmd'])
TypeError: unsubscriptable object

04/08/08 16:07:38
Traceback (most recent call last):
  File "C:\SRCDS\cstrike\addons\eventscripts\es.py", line 199, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File "C:\SRCDS\cstrike\addons\eventscripts\wcs\wcs.py", line 1211, in prep_hurt
    skillscfg = keygroupraces[race]['race']['skillcfg'].split('|')
TypeError: unsubscriptable object

04/08/08 16:07:42
Traceback (most recent call last):
  File "C:\SRCDS\cstrike\addons\eventscripts\es.py", line 199, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File "C:\SRCDS\cstrike\addons\eventscripts\wcs\wcs.py", line 1222, in prep_hurt
    skillscfg = keygroupraces[race]['race']['skillcfg'].split('|')
TypeError: unsubscriptable object

04/08/08 16:07:42
Traceback (most recent call last):
  File "C:\SRCDS\cstrike\addons\eventscripts\es.py", line 199, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File "C:\SRCDS\cstrike\addons\eventscripts\wcs\wcs.py", line 1312, in player_death
    skillscfg = keygroupraces[race]['race']['skillcfg'].split('|')
TypeError: unsubscriptable object

04/08/08 16:08:11
Traceback (most recent call last):
  File "C:\SRCDS\cstrike\addons\eventscripts\es.py", line 199, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File "C:\SRCDS\cstrike\addons\eventscripts\wcs\wcs.py", line 1301, in player_death
    skillscfg = keygroupraces[race]['race']['skillcfg'].split('|')
TypeError: unsubscriptable object

04/08/08 16:08:32
Traceback (most recent call last):
  File "C:\SRCDS\cstrike\addons\eventscripts\es.py", line 199, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File "C:\SRCDS\cstrike\addons\eventscripts\wcs\wcs.py", line 1287, in player_say
    skillscfg = keygroupraces[race]['race']['skillcfg'].split('|')
TypeError: unsubscriptable object
« Last Edit: April 08, 2008, 10:35:28 PM by cobaltflux » Logged
Jeff
WCS ESP Dev Team
Level 7 Expert

Offline Offline

United States United States

Posts: 304



WWW
beastrace91
« Reply #23 on: April 08, 2008, 11:18:23 PM »

Awesome! Working on correcting these ones now (also thank you for editing down to only one of each error!)

Edited: Posted 0.8.5c should fix most (hopefully all) of these errors, load it up and let me know what ones you still see! (Also do not forget to clear your errorlog!)

~J3ff
« Last Edit: April 08, 2008, 11:22:03 PM by Jeff » Logged

cobaltflux
Level 2 Apprentice
**
Offline Offline

United States United States

Posts: 44



« Reply #24 on: April 09, 2008, 12:23:52 AM »

I still see a lot of errors after replacing all my files to 0.8.5c

Code:
04/08/08 17:51:49
Traceback (most recent call last):
  File "C:\SRCDS\cstrike\addons\eventscripts\es.py", line 266, in callBlock
    self.Blocks[blockname]()
  File "C:\SRCDS\cstrike\addons\eventscripts\wcs\wcs.py", line 444, in wcscommand
    for i in keygroupraces[race]['race']:
TypeError: unsubscriptable object

04/08/08 17:52:22
Traceback (most recent call last):
  File "C:\SRCDS\cstrike\addons\eventscripts\es.py", line 199, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File "C:\SRCDS\cstrike\addons\eventscripts\wcs\wcs.py", line 993, in player_spawn
    spawncmd = str(keygroupraces[race]['race']['player_spawn_cmd'])
TypeError: unsubscriptable object

04/08/08 17:52:47
Traceback (most recent call last):
  File "C:\SRCDS\cstrike\addons\eventscripts\es.py", line 199, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File "C:\SRCDS\cstrike\addons\eventscripts\wcs\wcs.py", line 1293, in player_say
    skillscfg = str(keygroupraces[race]['race']['skillcfg']).split('|')
TypeError: unsubscriptable object

04/08/08 17:53:14
Traceback (most recent call last):
  File "C:\SRCDS\cstrike\addons\eventscripts\es.py", line 199, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File "C:\SRCDS\cstrike\addons\eventscripts\wcs\wcs.py", line 939, in round_end
    spawncmd = str(keygroupraces[race]['race']['round_end_cmd'])
TypeError: unsubscriptable object

04/08/08 17:54:26
Traceback (most recent call last):
  File "C:\SRCDS\cstrike\addons\eventscripts\es.py", line 199, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File "C:\SRCDS\cstrike\addons\eventscripts\wcs\wcs.py", line 1228, in prep_hurt
    skillscfg = str(keygroupraces[race]['race']['skillcfg']).split('|')
TypeError: unsubscriptable object

04/08/08 17:54:33
Traceback (most recent call last):
  File "C:\SRCDS\cstrike\addons\eventscripts\es.py", line 199, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File "C:\SRCDS\cstrike\addons\eventscripts\wcs\wcs.py", line 1318, in player_death
    skillscfg = str(keygroupraces[race]['race']['skillcfg']).split('|')
TypeError: unsubscriptable object

04/08/08 17:54:38
Traceback (most recent call last):
  File "C:\SRCDS\cstrike\addons\eventscripts\es.py", line 199, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File "C:\SRCDS\cstrike\addons\eventscripts\wcs\wcs.py", line 923, in round_start
    spawncmd = str(keygroupraces[race]['race']['round_start_cmd'])
TypeError: unsubscriptable object

04/08/08 17:54:58
Traceback (most recent call last):
  File "C:\SRCDS\cstrike\addons\eventscripts\es.py", line 199, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File "C:\SRCDS\cstrike\addons\eventscripts\wcs\wcs.py", line 1217, in prep_hurt
    skillscfg = str(keygroupraces[race]['race']['skillcfg']).split('|')
TypeError: unsubscriptable object

04/08/08 17:55:11
Traceback (most recent call last):
  File "C:\SRCDS\cstrike\addons\eventscripts\es.py", line 199, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File "C:\SRCDS\cstrike\addons\eventscripts\wcs\wcs.py", line 1307, in player_death
    skillscfg = str(keygroupraces[race]['race']['skillcfg']).split('|')
TypeError: unsubscriptable object

Again, after a few rounds with a bot, all the unique errors that came up. Many of which, if not all, came up last time as well... That's all I got time for today, but I'll be sure to keep trying any and all updates tomorrow as well. Good luck
Logged
Jeff
WCS ESP Dev Team
Level 7 Expert

Offline Offline

United States United States

Posts: 304



WWW
beastrace91
« Reply #25 on: April 09, 2008, 02:13:53 AM »

kk having some issues with keyvalues it appears, I will debug it personally when I get home in a few hours, thnx for the work thus far.

~J3ff
Logged

Jeff
WCS ESP Dev Team
Level 7 Expert

Offline Offline

United States United States

Posts: 304



WWW
beastrace91
« Reply #26 on: April 09, 2008, 05:38:34 AM »

Ok so I have posted up version 0.8.5d, it successfully loaded up keygroup races for me... others please test and let me know.

~J3ff
Logged

Jeff
WCS ESP Dev Team
Level 7 Expert

Offline Offline

United States United States

Posts: 304



WWW
beastrace91
« Reply #27 on: April 09, 2008, 05:56:50 AM »

As of 0.8.5e I have also added support for races that need the es_WCSultimate.txt to run skills. (it is there now )

Also any race creators that would not mind making the few syntax changes, it would be awesome if keygroup races could start getting posted on EASM for download.

~J3ff
Logged

Berettonawak
Level 7 Expert
*****
Offline Offline

France France

Posts: 415




Berettonawak
« Reply #28 on: April 09, 2008, 12:42:43 PM »

only a little question : are ultimate blocks in ES or in python?
Logged

Français, et fier de l´être!
Hide and Seek race :
http://www.warcraft-source.com/board/index.php?topic=3426
Jeff
WCS ESP Dev Team
Level 7 Expert

Offline Offline

United States United States

Posts: 304



WWW
beastrace91
« Reply #29 on: April 09, 2008, 03:03:42 PM »

They are in ESS still (for the 1000th time Python is still an Event Script!)

~J3ff
Logged

Pages: 1 [2] 3   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
April 14, 2008, 08:47:37 PM
Seconds u there
April 14, 2008, 06:57:57 PM
Ty see u there
April 13, 2008, 11:00:29 PM
@overfinch123, your application has been accepted
April 13, 2008, 10:10:47 PM
ESELADDEN I entered your WCS tournament i left a reply want me to send itt to you?
April 13, 2008, 10:09:54 PM
Eseladden u there?
April 13, 2008, 08:30:55 AM
WCSUsers db file, move that file
April 13, 2008, 06:24:38 AM
Hey guys how do I move levels to another server?
Recent
[Today at 09:46:52 AM]

[Today at 09:03:58 AM]

[Today at 08:09:13 AM]

by Jeff
[Today at 04:43:43 AM]

[Today at 02:43:57 AM]

[Today at 02:28:18 AM]

by amiq
[April 14, 2008, 11:54:27 PM]

[April 14, 2008, 11:21:30 PM]

[April 14, 2008, 11:00:02 PM]

by amiq
[April 14, 2008, 10:58:23 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.102 seconds with 26 queries.