Culley-Studios / ProQuests-Documentation

The most customizable and immersive quest plugin.
1 stars 2 forks source link

There is a problem with "OBTAIN_QUEST" in the Quest #338

Open AntiThesis1250 opened 4 years ago

AntiThesis1250 commented 4 years ago

Sometimes you don't have the items you need. But you can also do this by placing other items in the picture's location

Spigot1.12.2 and paperspigot1.12.2 all have this problem

Spigot account - https://www.spigotmc.org/members/blsk.650345/

Plugin Version: 2.1.1.15

Spigot Version spigot1.12.2 and paperspigot1.12.2 - b1618

Hello, my friend! There is a problem with "OBTAIN_QUEST" in the Proquest

detailed: There are some problems in the detection of ProQuest's quest of getting items. Sometimes the item can not be detected, sometimes the wrong item will be deducted Sometimes I have enough items, but I can't finish the quest When prompted that I don't have enough items, I put the required items in the position in the picture, and the quest can be completed

No error logs You can know the problem by using it yourself

QQ截图20200218233831

JCulley commented 4 years ago

This still does not follow the format. Update the original message and reply once you have done so.

AntiThesis1250 commented 4 years ago

这仍然不遵循格式。更新原始消息并在完成后回复。

Is this format OK?

JCulley commented 4 years ago

Can you provide your quest file that is causing this issue.

JCulley commented 4 years ago

Can you provide it in its YAML file format as formatting is rather important. If this is exactly how it is in your file then it wouldn’t work to begin with.

Sites such as pastebin are rather useful additionally you have still not provided your entire log, pretty sure it’s clearly stated that I don’t care if you see any errors or not, I need it for debugging purposes.

AntiThesis1250 commented 4 years ago

Can you provide it in its YAML file format as formatting is rather important. If this is exactly how it is in your file then it wouldn’t work to begin with.

Sites such as pastebin are rather useful additionally you have still not provided your entire log, pretty sure it’s clearly stated that I don’t care if you see any errors or not, I need it for debugging purposes.

https://pastebin.com/4BTrJ7eg

JCulley commented 4 years ago

additionally you have still not provided your entire log, pretty sure it’s clearly stated that I don’t care if you see any errors or not, I need it for debugging purposes.

JCulley commented 4 years ago

I need the entire log, otherwise how am I to know this is the case.

AntiThesis1250 commented 4 years ago

https://pastebin.com/sSxk6kK4 OK, I will delete other plug-ins and generate logs

Quest deleted my other item error8

When I finish the request, the proquest has no error log

I then stopped the server

AntiThesis1250 commented 4 years ago

It should be the problem of "EligibilityUtil.inventoryitemcheck" Different items and different quantities can complete the quest. Only when there is no item in the backpack, it can't be completed

Does your server have this problem? Can you fix it? Please test it with 1.12.2

JCulley commented 4 years ago

Different items and different quantities can complete the quest

Don’t understand this statement, additionally it is against the TOS to decompile the plugin.

The inventory check simply compares against each item you have specified for the specific quest then removes them using the inventory removeItem(ItemStack) function which as stated in the docs will remove the item with the most similar details.

Is it only certain items which tend to fail?

Are there only certain items which get taken by mistake?

Have you tried a quest with a basic item?

Seems as though this is more the remove function not finding proper item, which if this is the case would require a major overhaul of how I go about removing items which would be a large fix.

AntiThesis1250 commented 4 years ago

All items will generate this bug

moskhajornsak commented 4 years ago

I also encountered this problem. @JCulley

Spigot1.14.4 Plugin Version: 2.1.1.15 Spigot account: https://www.spigotmc.org/members/mosza1999.185467/