DrDeath Posted February 25, 2009 Posted February 25, 2009 hi all plz i need help i maked Custom NPC Buffer , that give only Hero Buffs Every thing going right but when i run my server i get error it's : importing quests ... ... done importing custom data ... importing custom: 3995: echo: 7 crystals ...done importing custom: 9999: NPCBuffer failed to import quest : 5050_HEROBUFFER ... done why i get this " failed to import quest : 5050_HEROBUFFER " im not are i need to edit the file that called " __init__$py.class " if i have to edit it plz tell me how i edit it if not need to edit it plz tell me what i have to do and sry 4 my bad English plz i need answer Quote
0 Fogotendx20 Posted February 25, 2009 Posted February 25, 2009 u need this if st.getPlayer().isHero() == 0 : htmltext = "Error1.htm" this is one example def onEvent(self,event,st): htmltext = event count=st.getQuestItemsCount(ADENA_ID) if count < 1000 or st.getPlayer().getLevel() < 10 : htmltext = "<html><head><body>You dont have enought Adena.</body></html>" elif st.getPlayer().isHero() == 0 : htmltext = "Error1.htm" Quote
0 DrDeath Posted February 25, 2009 Author Posted February 25, 2009 Thnx alot alot , i will try it now but is this can make me get this massege on startgameserver.bat : failed to import quest : 5050_HEROBUFFER ?????? thnx alot and plaz if you can tell me what programe i need to edit the file that called : " __init__$py.class " or how i can make one because i checked some npc buffers that another ppl who made it and i found a file called " __init__$py.class " inside the files thnx again Quote
0 Fogotendx20 Posted February 25, 2009 Posted February 25, 2009 i will give u my bufer tommorown! BRB i have to go some bosses now ;p Quote
Question
DrDeath
hi all
plz i need help
i maked Custom NPC Buffer , that give only Hero Buffs
Every thing going right
but when i run my server i get error
it's :
importing quests ...
... done
importing custom data ...
importing custom: 3995: echo: 7 crystals ...done
importing custom: 9999: NPCBuffer
failed to import quest : 5050_HEROBUFFER
... done
why i get this " failed to import quest : 5050_HEROBUFFER "
im not are i need to edit the file that called " __init__$py.class "
if i have to edit it plz tell me how i edit it
if not need to edit it plz tell me what i have to do
and sry 4 my bad English
plz i need answer
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.