Irrelevant Posted March 10, 2021 Posted March 10, 2021 (edited) Hi , i facing a problem with teleport for grandbosses,even if player have the quest item,player get the message: " You are either not carrying out your quest or don't meet the criteria. ". Pic: Edited March 10, 2021 by Irrelevant
0 Kara Posted March 10, 2021 Posted March 10, 2021 45 minutes ago, Irrelevant said: Hi , i facing a problem with teleport for grandbosses,even if player have the quest item,player get the message: " You are either not carrying out your quest or don't meet the criteria. ". Pic: I had the same thing with my ex. Whenever i asked her to make out she said you're either not carrying the quest item or you don't meet the criteria. Overall you need to check if your script is loaded cause this look like NPC is not binded to any script or GrandBossTeleporters.java is not loaded at all. 2
0 Irrelevant Posted March 10, 2021 Author Posted March 10, 2021 (edited) 8 minutes ago, Kara said: I had the same thing with my ex. Whenever i asked her to make out she said you're either not carrying the quest item or you don't meet the criteria. Overall you need to check if your script is loaded cause this look like NPC is not binded to any script or GrandBossTeleporters.java is not loaded at all. hahahahahahhaha that's was actually nice joke.. but lets talk about the issue~> scripts.cfg is ok Edited March 10, 2021 by Irrelevant
0 melron Posted March 10, 2021 Posted March 10, 2021 (edited) 1 hour ago, Kara said: I had the same thing with my ex. Whenever i asked her to make out she said you're either not carrying the quest item or you don't meet the criteria. Overall you need to check if your script is loaded cause this look like NPC is not binded to any script or GrandBossTeleporters.java is not loaded at all. Your ex was probably right. You were not carried any 'quest item' for her. Thats why she is 'ex' ... sad ... I'm sorry... @onTopic In theory, by getting the Q item at your inventory you can teleport at the boss. In code theory now, the check is not only the quest item but the whole quest. Each one, have states. So with a quick glance: public void showQuestWindow(final L2PcInstance player, String questId) { String content = null; Quest q = null; if (!Config.ALT_DEV_NO_QUESTS) q = QuestManager.getInstance().getQuest(questId); // Get the state of the selected quest QuestState qs = player.getQuestState(questId); if (q == null) { // No quests found content = "<html><body>You are either not on a quest that involves this NPC, or you don't meet this NPC's minimum quest requirements.</body></html>"; } else { If the specific quest is null there, you will face this html . If not, the correct html will popup (probably a teleport link text) with the correct bypass inside will appear. So, either change generally the structure of this algorithm and checking for q items, or add your cases by npc id for example, or even Q.id . Edited March 10, 2021 by melron
0 Kara Posted March 10, 2021 Posted March 10, 2021 (edited) Didn't expect that but okay. I usually hit straight to your face, that was a hit under the belt. Still to the owner of the topic since the script is loaded and GrandBossTeleporters are working you need to exam of the possibility of you not having the QuestState. On a Quest on the defined starting NPC it start your State for that specific quest and this is checked tho the whole quest most of the times. If you skip the starting NPC and you try talk or interact with a different NPC it will give you this message. So you either need to post your GrandBossTeleporters.java here or you need to check the code in that file which refer to valakas. I'm pretty sure Heart of Volcano is the last NPC you talk to enter Valaka's cave. Offtopic Edit: Oh i also forgot Object.isNull() since some people are bothered. Soon i'll use generic suppliers too to increase the bothersomeness even more Edited March 10, 2021 by Kara
0 Irrelevant Posted March 10, 2021 Author Posted March 10, 2021 (edited) @Kara @melron , i found the bug(or not) , to enter you need to take the bypass from npc "klein"(cause quest is by orders),but teleport player far away from heart of valakas(for mid server is far away) and i would like to change it so i went at quest of "klein" and hasnt teleport loc to change it. but now it figure out how it worked https://imgur.com/a/WjcHDIY Edited March 10, 2021 by Irrelevant
0 Kara Posted March 10, 2021 Posted March 10, 2021 35 minutes ago, Irrelevant said: @Kara @melron , i found the bug(or not) , to enter you need to take the bypass from npc "klein"(cause quest is by orders),but teleport player far away from heart of valakas(for mid server is far away) and i would like to change it so i went at quest of "klein" and hasnt teleport loc to change it. but now it figure out how it worked https://imgur.com/a/WjcHDIY You realise this is not bug and this is what i described you on the 2nd comment i wrote? That you can't just talk to a NPC if not first talk to the Start NPC of the quest/script? I was going to write you down that you need to talk to Klein first but i wasn't sure if that was for Antharas or Valakas.
0 Irrelevant Posted March 10, 2021 Author Posted March 10, 2021 10 minutes ago, Kara said: You realise this is not bug and this is what i described you on the 2nd comment i wrote? That you can't just talk to a NPC if not first talk to the Start NPC of the quest/script? I was going to write you down that you need to talk to Klein first but i wasn't sure if that was for Antharas or Valakas. yy, i just didn't notice that,anyway fixed! can be locked
Question
Irrelevant
Hi , i facing a problem with teleport for grandbosses,even if player have the quest item,player get the message:
" You are either not carrying out your quest or don't meet the criteria. ".
Pic:

Edited by Irrelevant7 answers to this question
Recommended Posts