KONO Posted August 23, 2013 Posted August 23, 2013 help me please I want create auto pop up. if player level 52 level52.htm <html><title>NewBieAuto Item</title><body> <center><font color="LEVEL">Welcome.</font><br> <button action="bypass -h voice .b_fight" value="Fight" width=200 height=27 back="L2UI_CT1.OlympiadWnd_DF_HeroConfirm_Down" fore="L2UI_CT1.OlympiadWnd_DF_HeroConfirm"> <button action="bypass -h voice .b_magic" value="Magic" width=200 height=27 back="L2UI_CT1.OlympiadWnd_DF_HeroConfirm_Down" fore="L2UI_CT1.OlympiadWnd_DF_HeroConfirm"> <button action="bypass -h voice .b_small" value="Small" width=200 height=27 back="L2UI_CT1.OlympiadWnd_DF_HeroConfirm_Down" fore="L2UI_CT1.OlympiadWnd_DF_HeroConfirm"> </body></html> add to file ?? if (player.getLevel() == 52) { String autoarmor= HtmCache.getInstance().getHtm(activeChar.getHtmlPrefix(), "data/html/level5.htm"); if (serverNews != null) { sendPacket(new NpcHtmlMessage(1, autoarmor)); } } I edit Quest 255_Tutorial. and add elif playerLevel == 48 : if st.getInt("lvl") < 48: st.playSound("ItemSound.quest_tutorial") st.set("lvl","48") st.showQuestionMark(33) + elif playerLevel >= 52 : + if st.getInt("lvl") < 52: + st.playSound("ItemSound.quest_tutorial") + st.set("lvl","76") + htmltext = "../../../html/level52.htm" elif playerLevel == 58 : if st.getInt("lvl") < 58: It not work help me please
0 mcbigmac Posted August 23, 2013 Posted August 23, 2013 Wrong forum - L2J. Learn to post correctly first - and you might get better help :)
Question
KONO
help me please
I want create auto pop up. if player level 52
level52.htm
add to file ??
if (player.getLevel() == 52) { String autoarmor= HtmCache.getInstance().getHtm(activeChar.getHtmlPrefix(), "data/html/level5.htm"); if (serverNews != null) { sendPacket(new NpcHtmlMessage(1, autoarmor)); } }I edit Quest 255_Tutorial. and add
elif playerLevel == 48 : if st.getInt("lvl") < 48: st.playSound("ItemSound.quest_tutorial") st.set("lvl","48") st.showQuestionMark(33) + elif playerLevel >= 52 : + if st.getInt("lvl") < 52: + st.playSound("ItemSound.quest_tutorial") + st.set("lvl","76") + htmltext = "../../../html/level52.htm" elif playerLevel == 58 : if st.getInt("lvl") < 58:It not work
help me please
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now