After the last huge updates we had, we decided to focus on a few of the smaller errors to improve our overall gaming performance and to fix several small issues we were having.
So I took a pack of issues on our github and started working on them.
Issue #1: here
First of all, a few weeks ago one of our mods accidentially removed his own colony and deleted all buildings because he didn't know that if you execute our "/mc colony delete" command without params it will destroy the colony of the executer.
Therefore, I added a nice command prompt to avoid people accidentially removing their colony.
This way no one should be able to delete their colony by accident anymore.
The code for this was quite simple as well.
I simple that the command expects an additional "true" with it to make the instant delete. So it simply reexecutes the command on "delete click" with the additional "true" with it.
Issue #2: here
Players were reporting that the shingles block I introduced a few posts ago instant deletes when you click on it.
I basically just forgot to set the hardness correctly of the block
After increasing the hardness constant to 3 it is just perfect now.
Issue #3: here
Then I noticed that our construction tape block code is quite ugly since we have 1 block for the corner and 1 block for the straight part.
This is a) a lot of duplicated code and b) Not a good style.
I therefore extended the first block to adapt itself as the shingles
read up here.
Just ignore the yellow part, it's sonar complaining about too many logic operators. But it's basically:
Check if two corner directions are connected with another constructiontape and if yes, switch to the cornertape style.
And then I removed the old block, added some small parts and ready.
100 lines of duplicated code less in our repository.
I fixed two more things which our project manager found when he was making some new promo videos for us.
First I fixed some language strings which were missing.
Which are for the townhall GUI.
Then, do you guys remember the refactor madness?
We forgot to add a check if the stack which should be compared with an ore is valid at all:
Fortunately we have an util method for that already.
And lastly, a user reported a bug, which I wasn't able to reproduce but on the way I found another Issue which I fixed as well.
Also regarding to my refactor madness, I didn't notice that permission changes do not trigger a new colony save so, if you change permission and then shut down the game, it won't be saved.
Basically just marking the colony as dirty on any permission dirty change.
That's all for today folks, the next weeks we'll publish 1-2 big updates, but we will try to focus on more of the smaller issues, to finally decrease the amount of issues we have and to make our gaming experience more solid.
Posted on Utopian.io - Rewarding Open Source Contributors
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey @reggaemuffin, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey @raycoms I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Good to see you finally got the post posted.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
A month ago, I played your mod. Now I'm surprised when I see it here. Good job! :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
=D Glad to hear that, hope you liked it.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I didn't play and don't remember that much. Only thing I remember is villagers were spamming the chat, "I'm hungry." :D
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Should've built a restaurant =D
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Whoa! Minecolony is still a thing? I remember playing with that mod well over 4 years ago. Nice that it isn't dead and forgotten. Never really found a mod like Minecolony again.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
We resurrected it and rewrote it better =D
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I am surprised something this serious is being brought to steemit. I truly am underestimating this platform. Can't really get a good grasp around its potential
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Did I just found a minecraft blog? Awesome
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Definitely =D It's mostly about minecraft and coding, but you should definitely check out our modification
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
one of the pitfalls of working collaboratively is someone else deleting everything.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Fortunately he removed his own colony =D
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
a nice update
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
wow that was an amazing improvement cool good job
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanxs for info sir
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Minecraft post! :)) nice that someone still plays this awesome game!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
We even develop the best modification there is!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Is that minesweeper?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
checkout this link
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
sorry for loss @raycoms but I bet the next one will be even better
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I didn't lose anything, he removed his own colony, I was just sad for him, that's why I added it.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
This is cool!! I love minecraft :p
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit