This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
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.
Question
sancak
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
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