Code Monkey home page Code Monkey logo

minetest-skyblock's Introduction

Skyblock for Minetest

Build status home chat download forum bower license

SkyBlock

Description

Build a world starting from a small island in the sky. This Minetest mod is intended to be used as a minimal game that allows the player to craft and use all the default items in Minetest in a fun and challenging way.

Project Resources

minetest-skyblock's People

Contributors

cornernote avatar elementw avatar enrikoo avatar lymkwi avatar nycki93 avatar panquesito7 avatar tenplus1 avatar thatgraemeguy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

minetest-skyblock's Issues

Not sure if this one is a skyblock error: "ERROR[main]: Lua: error in error handling"

2015-08-05 18:44:50: ERROR[main]: UNRECOVERABLE error occurred. Stopping server. Please fix the following error:
2015-08-05 18:44:50: ERROR[main]: Lua: error in error handling

In thread 7f2241deb780:
/home/graeme/skyblock/src/server.cpp:511: void Server::step(float): A fatal error occurred: Lua: error in error handling
Debug stacks:
DEBUG STACK FOR THREAD 7f2239a37700:
#0  virtual void* EmergeThread::Thread()
(Leftover data: #1  MapBlock* ServerMap::loadBlock(v3s16))
(Leftover data: #2  void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool))
(Leftover data: #3  void ItemStack::deSerialize(std::istream&, IItemDefManager*))
DEBUG STACK FOR THREAD 7f223a238700:
#0  virtual void* CurlFetchThread::Thread()
DEBUG STACK FOR THREAD 7f223aa39700:
#0  virtual void* ServerThread::Thread()
#1  void Server::Receive()
(Leftover data: #2  void Server::SendBlocks(float))
(Leftover data: #3  void Server::SendBlockNoLock(irr::u16, MapBlock*, irr::u8, irr::u16))
(Leftover data: #4  void ItemStack::serialize(std::ostream&) const)
(Leftover data: #5  bool getCraftingResult(Inventory*, ItemStack&, std::vector<ItemStack>&, bool, IGameDef*))
(Leftover data: #6  void ItemStack::deSerialize(std::istream&, IItemDefManager*))
DEBUG STACK FOR THREAD 7f2241deb780:
#0  int main(int, char**)
#1  Dedicated server branch
#2  void dedicated_server_loop(Server&, bool&)
#3  void Server::step(float)
(Leftover data: #4  void Server::SendAccessDenied_Legacy(irr::u16, const wstring&))

command bugs

/who - doesnt fit into the chat, only shows like 5-6 lines

/level <player> - doesnt show the player, shows your own level

Skyblock server

new skyblock server Minetest Sky block [CZ/SK/EU]: 37.221.251.225:30000

built in protector

protector should protect the initial island

it may grow as the player progresses, or we may still rely on the protector mod's node to do this

Infinite water quest

I tried every known possible 3D variation of diagonal known in existence, multiple times.
And by multiple, I'm talking somewhere in the region of 100x.

RealBadAngel informed me that left mouse button and right mouse button have different spill modes.

Apparently you don't get the quest achievement if you use the wrong button.

Server crashing when specific player joins

2015-08-05 12:36:40: ACTION[ServerThread]: deadlycreature [1.2.3.4] joins game. 
2015-08-05 12:36:40: ACTION[ServerThread]: deadlycreature joins game. List of players: thatgraemeguy deadlycreature
12:36:45: WARNING: Undeclared global variable "level" accessed at .../../mods/skyblock/skyblock_levels/skyblock.feats.lua:175
2015-08-05 12:36:45: ERROR[main]: UNRECOVERABLE error occurred. Stopping server. Please fix the following error:
2015-08-05 12:36:45: ERROR[main]: Lua: .../../mods/skyblock/skyblock_levels/skyblock.feats.lua:175: attempt to index field '?' (a nil value)
2015-08-05 12:36:45: ERROR[main]: stack traceback:
2015-08-05 12:36:45: ERROR[main]:       .../../mods/skyblock/skyblock_levels/skyblock.feats.lua:175: in function <.../../mods/skyblock/skyblock_levels/skyblock.feats.lua:171>

In thread 7fceb96f8780:
/home/graeme/skyblock/src/server.cpp:511: void Server::step(float): A fatal error occurred: Lua: .../../mods/skyblock/skyblock_levels/skyblock.feats.lua:175: attempt to index field '?' (a nil value)
stack traceback:
        .../../mods/skyblock/skyblock_levels/skyblock.feats.lua:175: in function <.../../mods/skyblock/skyblock_levels/skyblock.feats.lua:171>
Debug stacks:
DEBUG STACK FOR THREAD 7fceb1344700:
#0  virtual void* EmergeThread::Thread()
(Leftover data: #1  MapBlock* ServerMap::loadBlock(v3s16))
(Leftover data: #2  void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool))
(Leftover data: #3  void ItemStack::deSerialize(std::istream&, IItemDefManager*))
DEBUG STACK FOR THREAD 7fceb1b45700:
#0  virtual void* CurlFetchThread::Thread()
DEBUG STACK FOR THREAD 7fceb2346700:
#0  virtual void* ServerThread::Thread()
#1  void Server::Receive()
(Leftover data: #2  void Server::SendBlocks(float))
(Leftover data: #3  void RemoteClient::GetNextBlocks(ServerEnvironment*, EmergeManager*, float, std::vector<PrioritySortedBlockTransfer>&))
(Leftover data: #4  void ItemStack::serialize(std::ostream&) const)
(Leftover data: #5  bool getCraftingResult(Inventory*, ItemStack&, std::vector<ItemStack>&, bool, IGameDef*))
(Leftover data: #6  void ItemStack::deSerialize(std::istream&, IItemDefManager*))
DEBUG STACK FOR THREAD 7fceb96f8780:
#0  int main(int, char**)
#1  Dedicated server branch
#2  void dedicated_server_loop(Server&, bool&)
#3  void Server::step(float)

use cloud to prevent flowing liquids going down too far

from Sokomine:

known source of lag. sometimes people let it spill over their islands
there's a reason why i made that cloud layer below the world. doesn't really limit anything except those...lava or water...accidents

getting less buggy but bags not working

04:42:40: WARNING: Undeclared global variable "get_formspec" accessed at ...t/mods/minetest-skyblock/skyblock_bags/skyblock.bags.lua:16
2015-07-27 04:42:40: ERROR[main]: ServerError: ...t/mods/minetest-skyblock/skyblock_bags/skyblock.bags.lua:16: attempt to call global 'get_formspec' (a nil value)
2015-07-27 04:42:40: ERROR[main]: stack traceback:
2015-07-27 04:42:40: ERROR[main]: ...t/mods/minetest-skyblock/skyblock_bags/skyblock.bags.lua:16: in function <...t/mods/minetest-skyblock/skyblock_bags/skyblock.bags.lua:14>
2015-07-27 04:42:40: ERROR[main]: /usr/local/share/minetest/builtin/game/register.lua:341: in function </usr/local/share/minetest/builtin/game/register.lua:329>

Dropping gravel off the edge crashes the game

If I drop a dozen gravel off the edge, I get this message:

2015-08-06 18:30:45: ERROR[main]: ServerError: Lua: ...ods/minetest-skyblock/skyblock_levels/skyblock.feats.lua:150: attempt to index local 'digger' (a nil value)
2015-08-06 18:30:45: ERROR[main]: stack traceback:
2015-08-06 18:30:45: ERROR[main]:   ...ods/minetest-skyblock/skyblock_levels/skyblock.feats.lua:150: in function 'callback'
2015-08-06 18:30:45: ERROR[main]:   /usr/share/minetest/builtin/game/falling.lua:97: in function </usr/share/minetest/builtin/game/falling.lua:49>

Players reset to level 1 after updating?

So I started a new server yesterday, cloned the github repo. After updating the mod this morning I've noticed that 2 people have complained that they were half way through level 2 when they left and now have been reset to level 1.

Is that normal?

I can't test on my player, I died last night and then left the game, so I was already reset to level 1 before updating the mod this morning.

Inactive Reward field

In latest build of all components have not active rewards fields and not reward given after quest end.

Its problem from skyblock mod or unified inventory mod?

skyblock_levels_rewards

Thx

game crashes when breaking blocks

04:42:40: WARNING: Undeclared global variable "get_formspec" accessed at ...t/mods/minetest-skyblock/skyblock_bags/skyblock.bags.lua:16
2015-07-27 04:42:40: ERROR[main]: ServerError: ...t/mods/minetest-skyblock/skyblock_bags/skyblock.bags.lua:16: attempt to call global 'get_formspec' (a nil value)
2015-07-27 04:42:40: ERROR[main]: stack traceback:
2015-07-27 04:42:40: ERROR[main]: ...t/mods/minetest-skyblock/skyblock_bags/skyblock.bags.lua:16: in function <...t/mods/minetest-skyblock/skyblock_bags/skyblock.bags.lua:14>
2015-07-27 04:42:40: ERROR[main]: /usr/local/share/minetest/builtin/game/register.lua:341: in function </usr/local/share/minetest/builtin/game/register.lua:329>

(btw i removed the _texturepack thing so i don't know if that has anything to do with it)

Somehow tell the player how protection blocks work

e.g. that they don't protect chests or furnaces.

<sfan5> cornernote: why do protection blocks not protect chests?
<cornernote> protection isnt my mod
<cornernote> you can make protector chests tho
<sfan5> ._.
<cornernote> and doors too
<sfan5> maybe you should tell the player
<cornernote> meh, players are jerks, they will learn
<cornernote> lol
<sfan5> getting all my stuff stolen will not make me want to play skyblock again
<cornernote> how will i tell them ?
<sfan5> when they get the protector block reward
<sfan5> put some text somewhere
<cornernote> i use news mod on my server, and i plan to include it in the mod
<cornernote> i can put it on the news
<cornernote> (news pops up as formspec when you join)

achievments and skyblock mods don't work atm

17:27:37: ERROR[main]: ========== ERROR FROM LUA ===========
17:27:37: ERROR[main]: Failed to load and run script from
17:27:37: ERROR[main]: /home/stormchaser3000/minetest-0.4.12/bin/../mods/minetest-skyblock/achievements/init.lua:
17:27:37: ERROR[main]: .../bin/../mods/minetest-skyblock/skyblock/api_skyblock.lua:320: bad argument #1 to 'pairs' (table expected, got nil)
17:27:37: ERROR[main]: stack traceback:
17:27:37: ERROR[main]: [C]: in function 'pairs'
17:27:37: ERROR[main]: .../bin/../mods/minetest-skyblock/skyblock/api_skyblock.lua:320: in function 'registered'
17:27:37: ERROR[main]: ...4.12/bin/../mods/minetest-skyblock/achievements/init.lua:201: in main chunk
17:27:37: ERROR[main]: ======= END OF ERROR FROM LUA ========

Another crash "attempt to concatenate local 'player_name' (a nil value)"

2015-08-05 12:52:27: ACTION[ServerThread]: deadlycreature places node doors:trapdoor at (1602,5,1566)
2015-08-05 12:52:27: ACTION[ServerThread]: facedir: 2
12:52:27: WARNING: Undeclared global variable "feats" accessed at .../mods/skyblock/skyblock_levels/skyblock.levels.2.lua:160
2015-08-05 12:52:27: ERROR[main]: UNRECOVERABLE error occurred. Stopping server. Please fix the following error:
2015-08-05 12:52:27: ERROR[main]: Lua: .../../mods/skyblock/skyblock_levels/skyblock.feats.lua:347: attempt to concatenate local 'player_name' (a nil value)
2015-08-05 12:52:27: ERROR[main]: stack traceback:
2015-08-05 12:52:27: ERROR[main]:       .../../mods/skyblock/skyblock_levels/skyblock.feats.lua:347: in function 'load'
2015-08-05 12:52:27: ERROR[main]:       .../../mods/skyblock/skyblock_levels/skyblock.feats.lua:70: in function 'get'
2015-08-05 12:52:27: ERROR[main]:       ...../mods/skyblock/skyblock_levels/skyblock.levels.lua:122: in function 'reward_feat'
2015-08-05 12:52:27: ERROR[main]:       .../mods/skyblock/skyblock_levels/skyblock.levels.2.lua:160: in function 'reward_feat'
2015-08-05 12:52:27: ERROR[main]:       .../../mods/skyblock/skyblock_levels/skyblock.feats.lua:90: in function 'add'
2015-08-05 12:52:27: ERROR[main]:       ...../mods/skyblock/skyblock_levels/skyblock.levels.lua:153: in function 'on_placenode'
2015-08-05 12:52:27: ERROR[main]:       .../mods/skyblock/skyblock_levels/skyblock.levels.2.lua:179: in function 'on_placenode'
2015-08-05 12:52:27: ERROR[main]:       .../../mods/skyblock/skyblock_levels/skyblock.feats.lua:161: in function 'callback'
2015-08-05 12:52:27: ERROR[main]:       /home/graeme/skyblock/bin/../builtin/game/item.lua:299: in function </home/graeme/skyblock/bin/../builtin/game/item.lua:191>
2015-08-05 12:52:27: ERROR[main]:       (tail call): ?
2015-08-05 12:52:27: ERROR[main]:       (tail call): ?
2015-08-05 12:52:27: ERROR[main]:       (tail call): ?

In thread 7f45bd612780:
/home/graeme/skyblock/src/server.cpp:511: void Server::step(float): A fatal error occurred: Lua: .../../mods/skyblock/skyblock_levels/skyblock.feats.lua:347: attempt to concatenate local 'player_name' (a nil value)
stack traceback:
        .../../mods/skyblock/skyblock_levels/skyblock.feats.lua:347: in function 'load'
        .../../mods/skyblock/skyblock_levels/skyblock.feats.lua:70: in function 'get'
        ...../mods/skyblock/skyblock_levels/skyblock.levels.lua:122: in function 'reward_feat'
        .../mods/skyblock/skyblock_levels/skyblock.levels.2.lua:160: in function 'reward_feat'
        .../../mods/skyblock/skyblock_levels/skyblock.feats.lua:90: in function 'add'
        ...../mods/skyblock/skyblock_levels/skyblock.levels.lua:153: in function 'on_placenode'
        .../mods/skyblock/skyblock_levels/skyblock.levels.2.lua:179: in function 'on_placenode'
        .../../mods/skyblock/skyblock_levels/skyblock.feats.lua:161: in function 'callback'
        /home/graeme/skyblock/bin/../builtin/game/item.lua:299: in function </home/graeme/skyblock/bin/../builtin/game/item.lua:191>
        (tail call): ?
        (tail call): ?
        (tail call): ?
Debug stacks:
DEBUG STACK FOR THREAD 7f45b525e700:
#0  virtual void* EmergeThread::Thread()
(Leftover data: #1  MapBlock* ServerMap::loadBlock(v3s16))
(Leftover data: #2  void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool))
(Leftover data: #3  void ItemStack::deSerialize(std::istream&, IItemDefManager*))
DEBUG STACK FOR THREAD 7f45b5a5f700:
#0  virtual void* CurlFetchThread::Thread()
DEBUG STACK FOR THREAD 7f45b6260700:
#0  virtual void* ServerThread::Thread()
#1  void Server::Receive()
(Leftover data: #2  void Server::SendBlocks(float))
(Leftover data: #3  void RemoteClient::GetNextBlocks(ServerEnvironment*, EmergeManager*, float, std::vector<PrioritySortedBlockTransfer>&))
(Leftover data: #4  void ItemStack::serialize(std::ostream&) const)
(Leftover data: #5  bool getCraftingResult(Inventory*, ItemStack&, std::vector<ItemStack>&, bool, IGameDef*))
(Leftover data: #6  void ItemStack::deSerialize(std::istream&, IItemDefManager*))
DEBUG STACK FOR THREAD 7f45bd612780:
#0  int main(int, char**)
#1  Dedicated server branch
#2  void dedicated_server_loop(Server&, bool&)
#3  void Server::step(float)

should death go back to level 1

<OldCoder> go all the way back? Is this consistent with video games?
<cornernote> interesting point
<OldCoder> Sleep on it
<OldCoder> Decide later, but decide

Another crash "Lua: Invalid position (expected table got nil)."

2015-08-05 13:30:20: ACTION[ServerThread]: thatgraemeguy uses bucket:bucket_empty, pointing at [node under=1600,5,1600 above=1600,6,1600]
13:30:20: WARNING: Assignment to undeclared global "liquiddef" inside a function at .../../mods/skyblock/skyblock_levels/skyblock.feats.lua:231.
2015-08-05 13:30:20: ACTION[ServerThread]: thatgraemeguy completed the quest "collect_water" on level 2
2015-08-05 13:30:20: ACTION[ServerThread]: thatgraemeguy completed level 2
13:30:23: WARNING: Undeclared global variable "feats" accessed at .../mods/skyblock/skyblock_levels/skyblock.levels.3.lua:199
2015-08-05 13:30:23: ERROR[main]: UNRECOVERABLE error occurred. Stopping server. Please fix the following error:
2015-08-05 13:30:23: ERROR[main]: Lua: Invalid position (expected table got nil).

In thread 7f4400ea8780:
/home/graeme/skyblock/src/server.cpp:511: void Server::step(float): A fatal error occurred: Lua: Invalid position (expected table got nil).
Debug stacks:
DEBUG STACK FOR THREAD 7f43f8af4700:
#0  virtual void* EmergeThread::Thread()
(Leftover data: #1  MapBlock* ServerMap::loadBlock(v3s16))
(Leftover data: #2  void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool))
(Leftover data: #3  void ItemStack::deSerialize(std::istream&, IItemDefManager*))
DEBUG STACK FOR THREAD 7f43f92f5700:
#0  virtual void* CurlFetchThread::Thread()
DEBUG STACK FOR THREAD 7f43f9af6700:
#0  virtual void* ServerThread::Thread()
#1  void Server::Receive()
(Leftover data: #2  void Server::SendBlocks(float))
(Leftover data: #3  void RemoteClient::GetNextBlocks(ServerEnvironment*, EmergeManager*, float, std::vector<PrioritySortedBlockTransfer>&))
(Leftover data: #4  void ItemStack::serialize(std::ostream&) const)
(Leftover data: #5  bool getCraftingResult(Inventory*, ItemStack&, std::vector<ItemStack>&, bool, IGameDef*))
(Leftover data: #6  void ItemStack::deSerialize(std::istream&, IItemDefManager*))
DEBUG STACK FOR THREAD 7f4400ea8780:
#0  int main(int, char**)
#1  Dedicated server branch
#2  void dedicated_server_loop(Server&, bool&)
#3  void Server::step(float)
(Leftover data: #4  void Server::SendAccessDenied_Legacy(irr::u16, const wstring&))

trees should only grow on organic/dirt nodes

from OldCoder:

It seems problematic to let them grow anywhere; this can block doorways or cut off paths. Additionally, it's counter-intuitive. I'd lean towards disallowing growth on cobble or wood.

way for admins to remove a quest node and make its position available for re-use

Just been running a skyblock server for a few days and already it seems littered with islands that appear abandoned. Obviously those people might come back, but say perhaps a month down the line it would be nice if I could see which islands seem abandoned and can be cleaned up.

So essentially I think that 3 things could help with this:

  1. A way to identify players that have not been online in a while. Either by metadata in the quest node which can be viewed with the relevant privs, or perhaps a command that can list players that haven't been around for more than X days, and a command to teleport the admin to that player's quest node/island for investigation.
  2. Once potentially abandoned islands are identified, a way for the admin/s to leave a note for that player. This could be a special type of sign that an admin could place, and only the target player could dig, perhaps even after having acknowledged reading the message. Something like "You don't seem to be active here, if you have not returned by 15 August your island will be removed and you will likely respawn in a new location if you join after that".
  3. Finally, a way for a quest node and its island to be removed. Now obviously this could be done with worldedit, but from what I can tell that won't make the position available for a new block to spawn, which is probably desirable in this case.

Is there even a way to "produce" sand?

Recently, some people have been finishing the last level (number 3) and noticed that the quest asking to place 50 sand blocks was very difficult as it seemed impossible to produce sand in mass like dirt. I've been inspecting all nodes I could get as rewards or dig, all craft recipes involving sand, and apparently, there's no way. So, how are we supposed to do that?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.