Jump to content
  • 0

I have a problem with buffer


Question

Posted

guys i have a problem with my buffer

when i press restore cp/hp it says me this

43076814.jpg

 

and when i press bless of queen it tells me this

width=600 height=480http://img141.imageshack.us/img141/1373/47472243.jpg[/img]

 

 

i know the error is at init.py but it looks good to me can u help me plz?

10 answers to this question

Recommended Posts

  • 0
Posted

The problem is that your script for the NPC buffer has wrong link/direction to the CP/HP heal... open __init__ in your script/custom/buffer (smthing like that) and find the CP/HP heal section...

 

should looks smthing like this

 

		#Restore HP/CP
		st.getPlayer().restoreHPCP()
		st.setState(COMPLETED)

 

  • 0
Posted

only the part with hp/cp i will here it is:i did what u told me

 

 

#Song of Water

if event == "69":

SkillTable.getInstance().getInfo(266,1).getEffects(st.getPlayer(),st.getPlayer())

return "4.htm"

st.setState(COMPLETED)

 

#Song of Wind

if event == "70":

SkillTable.getInstance().getInfo(268,1).getEffects(st.getPlayer(),st.getPlayer())

return "4.htm"

st.setState(COMPLETED)

 

#Restore HP/CP

st.getPlayer().restoreHPCP()

st.setState(COMPLETED)

 

#Cancel Buffs - Thanks to YummiE

if event == "72":

st.getPlayer().stopAllEffects()

return "5.htm"

st.setState(COMPLETED)

 

#Wind Walk

if event == "73":

SkillTable.getInstance().getInfo(1204,2).getEffects(st.getPlayer(),st.getPlayer())

return "2.htm"

st.setState(COMPLETED)

 

  • 0
Posted

the line at the CP/HP that is missing is

 

if event == "[number of event]":

 

use this code

 

		#Restore HP/CP
	if event == "71":
		st.getPlayer().restoreHPCP()
		return "5.htm"
		st.setState(COMPLETED)

 

this should solve the problem

 

 

  • 0
Posted

@gregory13  Double posts are not allowed. Please take a look at the rules. It is the last warning for you.

 

Topic Locked.

Guest
This topic is now closed to further replies.


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock