Jump to content
  • 0

Buffer Problem Python - Frozen


Question

Posted

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

  • 0
Posted (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 by nikosdevil20
  • 0
Posted

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?

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..