Hey bullshit here.
Im having a problem when i reset the total level of an account. the person is being moved to spec and cant join a team. The person cant either choose any race. They are simply gone.
I got this debug report:
I change so you got 1 xp when you got reset.
Another thing is that im having trouble with my undead. It cant have more than 100 hp.
Im having a problem when i reset the total level of an account. the person is being moved to spec and cant join a team. The person cant either choose any race. They are simply gone.
I got this debug report:
Code: [Select]
************
WarCraft: Source Version: 0.8.7a Python
Created by Jeff Hoogland (Jeff91) and Steven Hartin (freddukes)
Log file started at Sunday 25 April 2010 - 12:10:03
System Info:
OS: Windows
Eventscripts Version: 2.0.0.250
Corelib Version: 2.0.0.250i
Eventscript Tools Version: 0.420
Eventscripts Noisy: 0
Popuplib version: oy30
ModEvents: False
************
Sunday 04 2010 - 12:21:02 - Bullshit | Ibis.A is trying to play without a race - Forcing race now.I fixed this problem by one way. If its right or not it worked for me but still i wont to tell that somethings wrong. I change so you got 1 xp when you got reset.
Code: [Select]
def resetTotalLevel(userid, choice, popupid):
""" Clear the players current dictionary values, and re-assign default values """
steamid = getDictInstance(choice)
if steamid is not None:
steamid.clear()
steamid['getlevel'] = float(es.ServerVar('wcs_freelevels'))
steamid['getxp'] = 1
wcs.defaultrace(userid, playerlib.uniqueid(userid, True))
if isOnline(choice):
""" Slay the player and tell them a message if they are online """
choice = es.getuserid(choice)
es.server.queuecmd('damage %s %s'% (userid, es.getplayerprop(userid, 'CBasePlayer.m_iHealth') ) )
es.tell(choice, '#multi', text('reset total level', {'admin' : es.getplayername(userid)}, playerlib.getPlayer(choice).get("lang") ) )
else:
sendUnkownError(userid)Another thing is that im having trouble with my undead. It cant have more than 100 hp.
Logged
