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-10 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
April 10, 2008, 11:54:38 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  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: A bug in v0.8.2RC2 : Negative Skill Points...  (Read 106 times)
Phat_Wizard
WCS ESP Dev Team
Level 7 Expert

Online Online

Canada Canada

Posts: 207




Phat_Wizard
phatwizard
« on: March 09, 2008, 02:40:41 AM »

Well I would think that this is a major bug, it lets players spend skill points they do not have! I was able to spend 5 skill points into skills even tho I didn't have any. And i could of kept going!

Here are some screen shots:




I hope this can be resolved quickly and simply...
Logged

freddukes
WCS ESP Dev Team
Level 7 Expert

Offline Offline

United Kingdom

Posts: 230



« Reply #1 on: March 09, 2008, 10:28:48 AM »

Hmm.. I don't know about you, but whenever I try to spend my skills with 0 skill points I get this message...

Code:
You do not have any unspent skill points at this time.


-freddukes
Logged

Jeff
WCS ESP Dev Team
Level 7 Expert

Online Online

United States United States

Posts: 295



WWW
beastrace91
« Reply #2 on: March 09, 2008, 02:22:14 PM »

Error message or anything? Sounds like something may have gotten tweaked in your wcs.py

~J3ff
Logged

freddukes
WCS ESP Dev Team
Level 7 Expert

Offline Offline

United Kingdom

Posts: 230



« Reply #3 on: March 09, 2008, 02:59:52 PM »

line 680 - 694 should say this:

Code
GeSHi (python):
def spendSelect(userid, choice, popupid):
if choice[0] != 'Low':
if choice[0] != 'Max':
playerkey = getSteam(userid)[choice[0]]
playerkey[choice[1]] += 1
playerkey['unspent skills'] -= 1
es.tell(userid, '#multi', "#lightgreen #green%s #lightgreenhas advanced to level #green%s#lightgreen."%(choice[1], playerkey[choice[1]]))
 
                       # MAKE SURE THE LINE BELOW SAYS THIS!!!
 
if playerkey['unspent skills'] and es.getplayersteamid(userid) != "BOT":
spendskills(userid)
else:
es.tell(userid, '#multi', "#defaultYour #green%s #defaultis already at it's max level."%(choice[1]))
spendskills(userid)
else:
es.tell(userid, '#multi', '#lightgreenYou must be level #green%s #lightgreento advance #green%s #lightgreento rank #green%s#lightgreen.'%(choice[1], choice[3], choice[2]))
spendskills(userid)
 

If it says all that, it should be fine

-freddukes
Logged

Phat_Wizard
WCS ESP Dev Team
Level 7 Expert

Online Online

Canada Canada

Posts: 207




Phat_Wizard
phatwizard
« Reply #4 on: March 09, 2008, 08:37:52 PM »

A fresh install seemed to solve this problem... but I think it happened if I got the spend skill menu opened when i had no more skill points, or it could of been just a fluke or randomly generated feature? 
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 #5 on: March 10, 2008, 12:31:30 AM »

yea happened to 2 of my players when i gave them levels via wcsadmin
Logged

Phat_Wizard
WCS ESP Dev Team
Level 7 Expert

Online Online

Canada Canada

Posts: 207




Phat_Wizard
phatwizard
« Reply #6 on: March 10, 2008, 05:54:05 AM »

I got some more info...

This can/did happen when a player died with the spend skills menu open, also happened when a player leveled with the menu was opened.
Also note the server was fresh install with only base WCSp.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 08:23:54 PM
not really power, there are bad people and there are people who are killing other people, and there are people who are destroying other people.
Today at 05:07:31 PM
Who's happy ? ^^
Today at 04:45:28 PM
Yea, well be happy that there is still some people whom behave like me... without... the world would be a boring(better) place.... wich sucks...
Today at 02:43:59 PM
i'm not serious, i'm just pointing how do you behave (always)
Today at 10:16:51 AM
all im doing is keeping an uppy attitude... im trying to look a bit positive at this... you arez teh ones always being negative... yo uguys shouldnt be so F*kin Serious...
April 09, 2008, 08:11:39 PM
thats not positive feedback at all, it is just making that guy more frustrated
April 09, 2008, 04:52:39 PM
you mean "postive feedback"?
Recent
by Jeff
[Today at 11:50:15 PM]

[Today at 10:48:04 PM]

by Jeff
[Today at 08:55:56 PM]

by Jeff
[Today at 08:48:07 PM]

[Today at 08:10:58 PM]

[Today at 07:21:15 PM]

by Jeff
[Today at 06:24:17 PM]

[Today at 05:37:32 PM]

[Today at 05:27:50 PM]

[Today at 05:24:58 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.067 seconds with 24 queries.