Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Changed max homes on an existing server=crash #75

Closed
salllaf opened this issue Feb 1, 2020 · 2 comments
Closed

Changed max homes on an existing server=crash #75

salllaf opened this issue Feb 1, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@salllaf
Copy link

salllaf commented Feb 1, 2020

  1. Max homes were at "10"
  2. Switched to "15"
  3. Player added 11th home, server crashed.
    4 Config switched back to "10"
  4. All others can use /home
  5. This one player can't even use home or try to delete that home without the server crashing. Have tried putting the config back at 15 long enough for him to delete it, same crash.

I've updated to your latest software and all other requirements are updated.
OS: linux ubuntu 18.04 bionic beaver
Please see screenshot for crash errors and other info, thanks! (also thank you for providing this software and your hard work, the players enjoy it)
Screenshot (199)

@codehz codehz added the bug Something isn't working label Feb 1, 2020
@ghost
Copy link

ghost commented Feb 1, 2020

@salllaf There is a hard-coded limit (max=10).So if you created more than 10 homes,the behavior is undefined.
ways to solve this problem:
1.modify the source code,you can find the hard-coded limit 10 in 'struct homes'
2.I will fix this as soon as possible,but I'm sorry that I'm occupied with something important these days.
3.If you have a leveldb editor you can delete the abnormal home data.

@salllaf
Copy link
Author

salllaf commented Feb 1, 2020

Awesome. I can work with this information, thank you. I've enjoyed figuring out most things on my own as you all have done a great job of posting information and replying to people. This one was beating me though ha ha. Thanks again!

@salllaf salllaf closed this as completed Feb 1, 2020
@ghost ghost mentioned this issue Feb 2, 2020
5 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants