Hello guys, i have an error in python while i try to add subclass(custom quest) to a player. When his getting his subclass his level will get at level 40, the problem is that the error occurs at changing the level. Someone has an idea why?
error:
code:
try :
ins.executeUpdate()
ins.close()
con.close()
except : pass
if resetskills(st) == 1: pass
if ReqItems == True and not st.player.isGM() : st.takeItems(Item2_Req,Item2_Num)
if DecLevel == True and not st.player.isGM() :
pXp = st.player.getExp()
tXp = Experience.LEVEL[NewLevel]
if pXp > tXp: st.player.removeExpAndSp(pXp - tXp, 0)
st.player.setClassId(int(event))
if not st.player.isSubClassActive(): st.player.setBaseClass(int(event))
st.player.store()
st.player.broadcastUserInfo()
return complete(st)
st.exitQuest(1)
The code line error : tXp = Experience.LEVEL[NewLevel]
Original was based off L2OFF, so how would he even be able to compete or deliver the same quality? It will be just another L2F from shein.
Whatsoever, some times you should just let the horse die.
Bump
NEW USER IN TELEGRAM AND DISCORD IS "mileanum"
NEW USER IN TELEGRAM AND DISCORD IS "mileanum"
NEW USER IN TELEGRAM AND DISCORD IS "mileanum"
NEW USER IN TELEGRAM AND DISCORD IS "mileanum"
Question
L2Mercury
Hello guys, i have an error in python while i try to add subclass(custom quest) to a player. When his getting his subclass his level will get at level 40, the problem is that the error occurs at changing the level. Someone has an idea why?
error:
code:
The code line error : tXp = Experience.LEVEL[NewLevel]
Edited by L2Mercury2 answers to this question
Recommended Posts