-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Couple of problems with challenges #27
Comments
I have a plan to be able to enable editing of challenges in-game, which will enable precise types of items to be specified, but I need to wait until I get a long holiday so I can focus on it! Maybe in a couple of weeks when I'm on Thanksgiving vacation. |
Okay, but what about level challenges or armor stands? |
Armor stands and paintings are actually entities, so you need to put them in the required entities section of the challenge after importing it. The "real" challenges are stored in the database/Challenges folder. So, like this.
|
If i would change that files in database, how can i reload it ingame? Is it possible or have I to restart the server? |
You have to stop, edit and restart for now. Ultimately, there will be in-game management tools. |
Is it possible to add /bsb challenges reload besides ingame management? It is often easier to change it in files |
By the way - the issue with FIREWORK_ROCKET, ENCHANTED_BOOK, WRITTEN_BOOK, POTION and FILLED_MAP are that the items are not exactly the same (meta data is different), so the matching does not work yet. For these, I can make it generic for now. Let me look at a reload and see if it's possible. |
It would be good if they would be generic. Especially FILLED_MAP, written book and firework. I think that they all could stay like that |
FIREWORK_ROCKET, ENCHANTED_BOOK, WRITTEN_BOOK and FILLED_MAP will be checked generically instead of specifically because meta data can be different when created each time. #27
This reloads from the database files so admins can edit the challenges and then reload them without restarting the server. #27
There is a problem with generic filled_map. Its not taked from inventory and challenge is not beeing completed, but it takes all other required items. And other items are taked for multiplicity of items in config. Ex if there is 16 soulsand it would take 16, 32, 48 etc, like some looping |
Okay, thanks. I'll test it more later. |
Little update. This problem is not if you have filled map in eq, but if you havent. EDIT: It doesnt matter. It takes a few items despite the generic item is in hand or not |
With armorstands the problem is that they are added to requiredblocks and requiredentities while importing and it should be only in required entities |
What does "eq" mean? |
equipement, inventory |
From latest version I have problems with some challenges, that they are taking items and not completing. Ex.
|
@tastybento The problem might be when you dont have equal number of items - too much or not enough |
@tastybento Im sorry for bothering you, but this is quite a serious problem :/ |
You're not bothering anyone, no worries. We're very busy at work/school, so that's why it takes time to fix bugs, etc. |
@Kryniowesegryderiusz I was at work. I'll have a look at this over the next few days. |
#27 Also added admin challenge reset command.
@Kryniowesegryderiusz Should be fixed now. Please test. |
@tastybento Now it takes all items that type from inv. Ex. Paper maker needs 21 papers, if you have 32 it takes it all |
Sorry. I fixed and added test cases to check functionality. It should work correctly now. |
Wow, this is still not working. I'll fix now. The issue is that I'm taking items twice, which is not caught by the test cases because it doesn't actually use the Bukkit API. |
Hi,
I have a couple of problems with challenges:
Server Information:
[Please complete the following information:]
Database being used (Flat file, MySQL, Mongo): MySQL
OS: Ubuntu
Java Version: 8
BentoBox version: 0.14.0
Addons installed?
BSkyBLock 0.5.0
WelcomeWarps 0.1.0
Level 0.1.0
Challenges 0.0.3
The text was updated successfully, but these errors were encountered: