Closed etz closed 3 years ago
After some investigation, it appears droptimes from https://drops.peet.ws (found in constants for the NameMC_API) are incorrect, which matches the data found in the log.
From https://drops.peet.ws/droptime?name=Purpel -
{"name":"Purpel","UNIX":1626512171,"searches":163,"updated":1626171432,"message":"'PiratSnipe on top!' -everyone"}
1626512171 converts to 2021-07-17 08:56:11 UTC, which matches buckshot. NameMC says the name is available at 1626551457 which is 2021-07-17 19:50:57 UTC.
So, unfortunately the API currently used is providing incorrect information and the bot will not be able to make snipes.
Ah, I see. Well thanks for the testing, I'll try to ask peet bout that tmr.
Changed api to one that mcsniperpy uses. Issue should be fixed. Get newest version.
Droptimes are either improperly calculated or are getting bad information from API. To reproduce the issue:
Names that are upcoming to claim on NameMC (few hours to drop) are already 'claimed' when attempting to setup buckshot.
Here is an example from the console log:
(The username is not claimable for another 3.25 hours, according to NameMC at time of posting)