AtheIstan Posted September 3, 2014 Posted September 3, 2014 Hi guys, I have frozen pack and I was wondering why restore CP/MP/HP is not working. Is it python problem or what? I need help. This is the code I have: #Restore CP if event == "112": st.takeItems(ADENA_ID,0) st.getPlayer().restoreCP() return "1.htm" st.setState(State.COMPLETED) #Restore HP if event == "113": st.takeItems(ADENA_ID,0) st.getPlayer().restoreHP() return "1.htm" st.setState(State.COMPLETED) #Restore MP if event == "114": st.takeItems(ADENA_ID,0) st.getPlayer().restoreMP() return "1.htm" st.setState(State.COMPLETED) #Restore CP/HP/MP if event == "115": st.takeItems(ADENA_ID,0) st.getPlayer().restoreCP() st.getPlayer().restoreHP() st.getPlayer().restoreMP() return "1.htm" st.setState(State.COMPLETED) Help me please. Thanks
0 nikosdevil20 Posted September 3, 2014 Posted September 3, 2014 (edited) Hi guys, I have frozen pack and I was wondering why restore CP/MP/HP is not working. Is it python problem or what? I need help. This is the code I have: #Restore CP if event == "112": st.takeItems(ADENA_ID,0) st.getPlayer().restoreCP() return "1.htm" st.setState(State.COMPLETED) #Restore HP if event == "113": st.takeItems(ADENA_ID,0) st.getPlayer().restoreHP() return "1.htm" st.setState(State.COMPLETED) #Restore MP if event == "114": st.takeItems(ADENA_ID,0) st.getPlayer().restoreMP() return "1.htm" st.setState(State.COMPLETED) #Restore CP/HP/MP if event == "115": st.takeItems(ADENA_ID,0) st.getPlayer().restoreCP() st.getPlayer().restoreHP() st.getPlayer().restoreMP() return "1.htm" st.setState(State.COMPLETED) Help me please. Thanks in html is correct? for example the button for restore cp have root 112? if event == "112" better post the html here i cannot explain you good what i mean :) 2nd if the roots are ok try to remove this lane : st.takeItems(ADENA_ID,0) and try again. (make backup from file) :D Edited September 3, 2014 by nikosdevil20
0 GiwrgosMasterGR Posted September 5, 2014 Posted September 5, 2014 delete l2jfrozen ! fail pack ever
0 GiwrgosMasterGR Posted September 13, 2014 Posted September 13, 2014 Delete Frozen man... full bugs. Start With l2jacis..
0 Thug!! Posted September 15, 2014 Posted September 15, 2014 buahahahahaha every time im crying when i see [help] i use Frozen... and every one post DELETE IT Hahaahahahah use acis ..hahahahahhah :( maybe ppl cant use acis.. if have problem with frozen :|...... @On problem fixed?
Question
AtheIstan
Hi guys, I have frozen pack and I was wondering why restore CP/MP/HP is not working. Is it python problem or what? I need help.
This is the code I have:
#Restore CP
if event == "112":
st.takeItems(ADENA_ID,0)
st.getPlayer().restoreCP()
return "1.htm"
st.setState(State.COMPLETED)
#Restore HP
if event == "113":
st.takeItems(ADENA_ID,0)
st.getPlayer().restoreHP()
return "1.htm"
st.setState(State.COMPLETED)
#Restore MP
if event == "114":
st.takeItems(ADENA_ID,0)
st.getPlayer().restoreMP()
return "1.htm"
st.setState(State.COMPLETED)
#Restore CP/HP/MP
if event == "115":
st.takeItems(ADENA_ID,0)
st.getPlayer().restoreCP()
st.getPlayer().restoreHP()
st.getPlayer().restoreMP()
return "1.htm"
st.setState(State.COMPLETED)
Help me please. Thanks
5 answers to this question
Recommended Posts