Make bot check inventory when taking/submitting #6

Merged
Quaternions merged 2 commits from check-inventory-on-submit into master 2024-04-15 21:13:17 +00:00
Collaborator

The bot will check if the map ID is in it's inventory before letting you submit it, and vice versa that the map isn't already in the inventory when taking it. (closes #5)

Also, I updated the Noblox version because it fixed getProductInfo to use the newer API, which I had implemented a workaround for previously.

Finally, I noticed that the Roblox API endpoint for product info is really strict and limits you to only like 1 request per 30 seconds. I couldn't find a better alternative, but I added a better error message for when that happens.

The bot will check if the map ID is in it's inventory before letting you submit it, and vice versa that the map isn't already in the inventory when taking it. (closes #5) Also, I updated the Noblox version because it fixed getProductInfo to use the newer API, which I had implemented a workaround for previously. Finally, I noticed that the Roblox API endpoint for product info is really strict and limits you to only like 1 request per 30 seconds. I couldn't find a better alternative, but I added a better error message for when that happens.
fiveman1 added 1 commit 2024-04-15 08:17:42 +00:00
fiveman1 changed title from Bot checks inventory when taking/submitting to Make bot check inventory when taking/submitting 2024-04-15 08:18:52 +00:00
fiveman1 added 1 commit 2024-04-15 17:13:21 +00:00
Use built-in Noblox 'buy' function
All checks were successful
continuous-integration/drone/push Build is passing
14d57a4561
Owner

Wonderful, thanks!

Wonderful, thanks!
Quaternions merged commit 14d57a4561 into master 2024-04-15 21:13:17 +00:00
Quaternions deleted branch check-inventory-on-submit 2024-04-15 21:13:17 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: StrafesNET/maptest-bot#6
No description provided.