Jump to content
  • 0

auto pop up


Question

Posted

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

1 answer 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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • 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