Jump to content
  • 0

[HELP] instances


Question

Posted

is there any guide for creating new instances i search but cant found a good guide thanx

 

 

my problem is : i cant take a party or a clan to an instance what is problem or what should i do

   1.  def onTalk (self,npc,player):
   2. st = player.getQuestState(qn)
   3. npcId = npc.getNpcId()
   4. party = player.getParty()
   5. if not party :
   6. html = "5000-01.htm"
   7. else :
   8. have_quest = False
   9. wrong_Level = False
  10. for partyMember in party.getPartyMembers().toArray() :
  11. pst = partyMember.getQuestState("Hisar")
  12. if pst : have_quest = True
  13. if partyMember.getLevel() < 60 or partyMember.getLevel() > 80 :
  14. wrong_Level = True
  15. player_name = partyMember.getName()
  16. if not have_quest :
  17. html = "5000-02.htm"
  18. elif player != party.getLeader() :
  19. party.broadcastToPartyMembers(SystemMessage(2185))
  20. html = "5000-03.htm"
  21. elif wrong_Level :
  22. party.broadcastToPartyMembers(SystemMessage(2097).addString(player_name))
  23. html = "5000-03.htm"
  24. else :
  25. for partyMember in party.getPartyMembers().toArray() :
  26. enterInstance(self, player, "Hisar.xml", tele)
  27. st.playSound("ItemSound.quest_middle")
  28. partyMember.teleToLocation(157041, 53662, -3264)
  29. html = ""
  30.  

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • We will help you pass verification on any service or application you need! Fast, reliable, and secure. Pay for the first verification and get a 10% discount on the second one. Learn more: Go to
    • We will help you pass verification on any service or application you need! Fast, reliable, and secure. Pay for the first verification and get a 10% discount on the second one. Learn more: Go to
    • Long-term rental of virtual numbers — maximum control and convenience. No need to change numbers every time or worry about losing access anymore. Now you can rent virtual numbers for hours, days, or months and use them as permanent ones: — stable SMS reception from popular services — permanent access to accounts — an ideal solution for registration, verification, and repeated logins — one number — full control for the entire rental period This is the choice for those who value reliability, uninterrupted access, and predictable results. Important: even many top SMS services are unable to offer such an exclusive long-term rental option. Go to the SMS service
    • We are looking for partners and account suppliers for cooperation We are open to partnerships with reliable account suppliers for the following dating services: ➡ Tinder ➡ Badoo ➡ Bumble ➡ Hinge ➡ Happn ➡ Meetic ➡ VK Dating We are considering long-term cooperation, stable volumes, and mutually beneficial terms. If you have any offers, we will be glad to discuss the details. Contact us using the details below. ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • We are looking for partners and account suppliers for cooperation We are open to partnerships with reliable account suppliers for the following dating services: ➡ Tinder ➡ Badoo ➡ Bumble ➡ Hinge ➡ Happn ➡ Meetic ➡ VK Dating We are considering long-term cooperation, stable volumes, and mutually beneficial terms. If you have any offers, we will be glad to discuss the details. Contact us using the details below. ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • Topics

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