Redo delay isn't working
Blamo27 opened this issue · 28 comments
Redo delay isn't working, players can redo the quests instantly after finishing it. (Spigot 1.8.9)
I deleted all quest data and the jar file. Reinstalled and started making quests again. Not a week has passed and this bug has reappeared. :/ Is there still no fix?
I attempted to replicate bug with the Kill a Dead NPC method mentioned above, but did not work. Haven't a clue what is causing it :/
There is a way...
I think, when you create a new quest, you can add some requested things
So you can create a fake redodelay with the command "scoreboard"
I think is : /scoreboard objectives add Time play stat.playOneMinute
You can choose any word in "Time"
The problem is that you must create a scoreboard for any quest.
(I don't know how to edit the previous msg sry ;/ )
Remember, with the score "playOneMinute", the countdown is in 'Ticks' and you must find a way to set the command (so the score) in the requested things ^^
@Blamo27 Post your Quests version and config settings, please.
Quests version : 2.6.0-b99
Spigot version : 1.8.8
language: en
allow-command-questing: true
allow-command-quests-with-npcs: false
show-requirements: true
allow-quitting: true
ignore-locked-quests: false
debug-mode: false
generate-files-on-join: true
kill-delay: 600
accept-timeout: 20
show-npc-effects: true
npc-effect: note
max-quests: 0
convert-data-on-startup: false
I will have to send you that in a private message, how would you like me to send you that ? Also, to be more precise about my problem : it's only some players that are affected. Redo delays seem to be working perfectly fine globally, but sometimes, for no apparent reason, a specific player is able to redo instantly every quest without any delay, even though for other players, the redo delay is still working.
@Blamo27 This is a public repo, so sending the folder directly to me would ruin your chance of getting help from others should I become unavailable or cannot locate the issue. Additionally, there is no private messaging on Github. Quests does not save any sensitive information, but feel free to narrow down which players are affected and upload their data only.
http://pastebin.com/abbTqPyv :
This is the data of a player currently affected by this issue.
This is our quests.yml, and our events.yml. Do not hesitate to ask if you need anything else.
Quests.yml : http://pastebin.com/AsTUZ3XP
Events.yml : http://pastebin.com/YXWfQijy
In the player's data, i see there is a "null" value at the bottom of "completed-Quests". Try removing that line and try again.
Note: Appears to be duplicate of #67
So, we tried removing the "null" from the player data. We then proceeded to ask the player to take a redoable quest and finish it. He did, and after that he wasn't able to take the quest again (delay was working). However, he then disconnected, and reconnected, and the "null" appeared again, and the redo delay stopped working.
@Blamo27 Unlikely. Because I am unable to replicate this bug in my test environment, I am hoping others will be able to provide some insight.
@FlyingPikachu The bug is still there, players have this bug when they disconnect from the server
I also have this issue, players can skip the redo delay by reconnecting to the server.
Hi, sorry for my bad english
The bug could happend when the serveur reloads, during a redoDelay of a players.
Sorry for 2 posts
I found how to make a "- null" in folder Data
I've a quests named 'bandit' (it's french)
In this quest you must kill a NPC. this quest works normaly
The "- null" appears when you get the quest when that NPC is dead.
So, you get a "- null" when the stage's quest does NOT existe.
If you can't understand what i wrote, plz tell me ^^
@FlyingPikachu So there is a quest cooldown issue when the server is reloading, or restarting maybe ?
And when a player is reconnecting.
The bug is very annoying, we need an update to fix the Quest timestamp.
Thanks.
If you want, i can create a video to show you how to create the "- null"
(forget about the reload)
Plz correct my wrong english, it will help me ^^
Oui je vais arranger ton Anglais ne t'inquiète pas mon petit, je vais tout lui expliquer.
Mais faudrait d’abord qu'il réponde. :p