[Mod] Pyramids [0.4.2 beta] [pyramids]
- Pitriss
- Member
- Posts: 254
- Joined: Mon Aug 05, 2013 17:09
- GitHub: Pitriss
- IRC: pitriss
- In-game: pitriss
- Location: Czech republic, Bohumin
paramat: Ehh I live in Czech republic more than 30 years, so please stop trying to be expert for everything:// There are no pyramids at all.. Even on internet there is no trusthworthy site that will say otherwise..
I reject your reality and substitute my own. (A. Savage, Mythbusters)
I'm not modding and/or playing minetest anymore. All my mods were released under WTFPL. You can fix/modify them yourself. Don't ask me for support. Thanks.
I'm not modding and/or playing minetest anymore. All my mods were released under WTFPL. You can fix/modify them yourself. Don't ask me for support. Thanks.
-
- Member
- Posts: 19
- Joined: Mon Jan 13, 2014 09:38
- In-game: Landrover
- Location: South luangwa , Zambia
shaheerziya wrote:I have a request that is can you please add a different types of pyramids like:
Egyptian Pyramid with short mummies(the biggest and strongest pyramid)
Czech Pyramids with tall mummies(2nd most strongest)
Normal Pyramids with normal mummies(At last)
Egyptian pyramids would be gigantic and be having lots of treasure(spawning: super dooper rare)
Czech would be smaller and weaker(spawning: rare)
Normal would be normal(spawning:Moderate)
Tanks in advance i would really like it if you will add this in the next version
(My 2nd most favorite mod this is and i am a kid and do not know lua.)
There will be jungle pyramids in the future, but i can't tell you when i will add them.
Czech pyramids? Nope, sry.
Oh, should be fixed now. https://github.com/BlockMen/pyramids/co ... 6965b4032fVanessaE wrote:terminate called after throwing an instance of 'ServerError'
what(): ...t/worlds/Survival_World/worldmods/pyramids/mummy.lua:316: attempt
to index local 'p' (a nil value)
stack traceback:
...t/worlds/Survival_World/worldmods/pyramids/mummy.lua:316: in function
<...t/worlds/Survival_World/worldmods/pyramids/mummy.lua:182>
/home/minetest/Scripts/minetestserver-survival.sh: line 27: 21955 Aborted
(Minetest git pulled earlier this morning, pyramids mod is up-to-date also)
Last edited by BlockMen on Tue Jan 14, 2014 14:38, edited 1 time in total.
-
- New member
- Posts: 5
- Joined: Thu Feb 13, 2014 02:20
http://dev.minetest.net/Introtimontreduffie wrote:um hi i made my account on 2/12/14 and i wanna know hwre to go to make a mod. thx!!
and just look at and copy from existing mods.
-- Posting under Mod Releases under a mod topic usually means you have a question/remark about that mod. First try to find a similar question and if not successful, for modding, post your question under modding general.
- Krock
- Developer
- Posts: 4650
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Maya "pyramides"/temples would be nice.Achilles wrote:Jungle Pyramids would be a really good idea... Could also make Small Castles In jungles even through this is a Pyramid mod
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
- Achilles
- Member
- Posts: 247
- Joined: Sun Dec 15, 2013 11:55
- In-game: Achilles
- Location: Excuse Me???? -_-
I know... Have seen some pictures of them before... They look great.Krock wrote:Maya "pyramides"/temples would be nice.Achilles wrote:Jungle Pyramids would be a really good idea... Could also make Small Castles In jungles even through this is a Pyramid mod
The Ironic Thing About Common Sense Is That It Isn't Very Common
- Achilles
- Member
- Posts: 247
- Joined: Sun Dec 15, 2013 11:55
- In-game: Achilles
- Location: Excuse Me???? -_-
I had the mod and It worked fine for me, Also works fine on some of the servers I've seen.mcfan wrote:For some reason I don't get the pyramid part when the pyramid generates. I just get the room and the pillars.
BTW nice nick
Last edited by Achilles on Mon Apr 07, 2014 15:17, edited 1 time in total.
The Ironic Thing About Common Sense Is That It Isn't Very Common
- VanessaE
- Moderator
- Posts: 4655
- Joined: Sun Apr 01, 2012 12:38
- GitHub: VanessaE
- IRC: VanessaE
- In-game: VanessaE
- Location: Western NC
- Contact:
Re: [Mod] Pyramids [0.4 beta] [pyramids]
Another one for you, BlockMen. No idea how or why this happened, I just saw it in my logs while I was searching for an unrelated crash.
Code: Select all
terminate called after throwing an instance of 'ServerError'
what(): ...etest/worlds/Survival_World/worldmods/pyramids/nodes.lua:18: attempt to compare nil with number
stack traceback:
...etest/worlds/Survival_World/worldmods/pyramids/nodes.lua:18: in function <...etest/worlds/Survival_World/worldmods/pyramids/nodes.lua:13>
/home/minetest/Scripts/minetestserver-survival.sh: line 25: 17201 Aborted
/usr/bin/minetestserver --worldname Survival_World --config /home/minetest/.minetest/minetest-server-survival.conf --gameid dreambuilder_game --port 30001 --disable-unittests --logfile $DEBUG
- FreeLikeGNU
- Member
- Posts: 280
- Joined: Tue Oct 28, 2014 02:50
- GitHub: FreeLikeGNU
- IRC: freelikegnu
- In-game: FreeLikeGNU
Re: [Mod] Pyramids [0.4 beta] [pyramids]
Hi, Blockmen!
I compiled minetest from git 7a6e4dc54a3eb4187e67a21c4ece60f39bb1d13b today and tried pyramids.
I've been getting:
which is part of
and line 137 is:
I really want to use this mod, but pyramids dont seem to spawn in deserts. I'm also using mapgen v7 incase that has something to do with the issue.
I compiled minetest from git 7a6e4dc54a3eb4187e67a21c4ece60f39bb1d13b today and tried pyramids.
I've been getting:
Code: Select all
WARNING: Assignment to undeclared global "p2" inside a function at ../mods/pyramids/init.lua:137
Code: Select all
minetest.register_on_generated(function(minp, maxp, seed)
Code: Select all
p2 = minetest.find_node_near(mpos, 25, {"default:desert_sand"})
- Napiophelios
- Member
- Posts: 1035
- Joined: Mon Jul 07, 2014 01:14
- GitHub: Napiophelios
- IRC: Nappi
- In-game: Nappi
Re: [Mod] Pyramids [0.4 beta] [pyramids]
add "local" to the beginning of line 137 and see if you still get the error
with mapgen v7 the pyramids seem to generate under ground
Code: Select all
local p2 = minetest.find_node_near(mpos, 25, {"default:desert_sand"})
- swordpaint12
- Member
- Posts: 191
- Joined: Sat Aug 22, 2015 00:50
- In-game: [swordpaint12][Belching_Balladeer]
- Location: Foobass, isle of Atlantis, castle of Bardvendelle
Re: [Mod] Pyramids [0.4 beta] [pyramids]
This is neat, I haven't come across a pyramid yet but it's a very nice mod!
God's not dead; remember that!
Yay for MT! No MC here!
I am a human. I'm younger than 100 years old.
I've been playing Minetest since December 2014.
I'm amazed that I haven't been on here in so long! My latest minetest accomplishment was mining by hand (well, as close as you can get in a computer game) a circle 30 blocks in diameter. It took forever but it's pretty cool.
Yay for MT! No MC here!
I am a human. I'm younger than 100 years old.
I've been playing Minetest since December 2014.
I'm amazed that I haven't been on here in so long! My latest minetest accomplishment was mining by hand (well, as close as you can get in a computer game) a circle 30 blocks in diameter. It took forever but it's pretty cool.
Re: [Mod] Pyramids [0.4 beta] [pyramids]
Hi,
I added local as above to fix that error but now get the following. I also added an error from CME that preceded it. I don't think it is related since I see that error often, but just in case.
Thanks!
I added local as above to fix that error but now get the following. I also added an error from CME that preceded it. I don't think it is related since I see that error often, but just in case.
Code: Select all
2015-11-08 01:04:18: ERROR[ServerThread]: LuaEntity name "creatures:dummy_zombie" not defined
2015-11-08 01:04:19: ERROR[ServerThread]: LuaEntity name "creatures:dummy_sheep" not defined
2015-11-08 01:04:19: ERROR[ServerThread]: LuaEntity name "creatures:dummy_sheep" not defined
2015-11-08 01:04:20: ERROR[main]: UNRECOVERABLE error occurred. Stopping server. Please fix the following error:
2015-11-08 01:04:20: ERROR[main]: Lua: Runtime error from mod 'pyramids' in callback LuaABM::trigger(): .../minetest/minetest-0.4.13/bin/../mods/pyramids/mummy.lua:398: attempt to index a nil value
2015-11-08 01:04:20: ERROR[main]: stack traceback:
2015-11-08 01:04:20: ERROR[main]: .../minetest/minetest-0.4.13/bin/../mods/pyramids/mummy.lua:398: in function <.../minetest/minetest-0.4.13/bin/../mods/pyramids/mummy.lua:391>
In thread 7fc8bed217c0:
/home/aa0001/minetest/minetest-0.4.13/src/server.cpp:511: void Server::step(float): A fatal error occurred: Lua: Runtime error from mod 'pyramids' in callback LuaABM::trigger(): .../minetest/minetest-0.4.13/bin/../mods/pyramids/mummy.lua:398: attempt to index a nil value
stack traceback:
.../minetest/minetest-0.4.13/bin/../mods/pyramids/mummy.lua:398: in function <.../minetest/minetest-0.4.13/bin/../mods/pyramids/mummy.lua:391>
Debug stacks:
DEBUG STACK FOR THREAD 7fc8b572f700:
#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 7fc8b5f30700:
#0 virtual void* CurlFetchThread::Thread()
DEBUG STACK FOR THREAD 7fc8b6731700:
#0 virtual void* ServerThread::Thread()
#1 void Server::AsyncRunStep(bool)
#2 virtual void ServerMap::save(ModifiedState)
(Leftover data: #3 void Server::SendPlayerHP(irr::u16))
(Leftover data: #4 void Server::SendHP(irr::u16, irr::u8))
(Leftover data: #5 bool getCraftingResult(Inventory*, ItemStack&, std::vector<ItemStack>&, bool, IGameDef*))
(Leftover data: #6 void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool))
DEBUG STACK FOR THREAD 7fc8bed217c0:
#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&))
./Neuromancerserver.sh: line 3: 406 Aborted (core dumped) ./minetestserver --gameid Neuromancer --world neuromancerworld --port 30001 --config neuromancerworld.conf
Re: [Mod] Pyramids [0.4 beta] [pyramids]
bbaez wrote:Hi,
I added local as above to fix that error but now get the following. I also added an error from CME that preceded it. I don't think it is related since I see that error often, but just in case.
Thanks!Code: Select all
2015-11-08 01:04:18: ERROR[ServerThread]: LuaEntity name "creatures:dummy_zombie" not defined 2015-11-08 01:04:19: ERROR[ServerThread]: LuaEntity name "creatures:dummy_sheep" not defined 2015-11-08 01:04:19: ERROR[ServerThread]: LuaEntity name "creatures:dummy_sheep" not defined 2015-11-08 01:04:20: ERROR[main]: UNRECOVERABLE error occurred. Stopping server. Please fix the following error: 2015-11-08 01:04:20: ERROR[main]: Lua: Runtime error from mod 'pyramids' in callback LuaABM::trigger(): .../minetest/minetest-0.4.13/bin/../mods/pyramids/mummy.lua:398: attempt to index a nil value 2015-11-08 01:04:20: ERROR[main]: stack traceback: 2015-11-08 01:04:20: ERROR[main]: .../minetest/minetest-0.4.13/bin/../mods/pyramids/mummy.lua:398: in function <.../minetest/minetest-0.4.13/bin/../mods/pyramids/mummy.lua:391> In thread 7fc8bed217c0: /home/aa0001/minetest/minetest-0.4.13/src/server.cpp:511: void Server::step(float): A fatal error occurred: Lua: Runtime error from mod 'pyramids' in callback LuaABM::trigger(): .../minetest/minetest-0.4.13/bin/../mods/pyramids/mummy.lua:398: attempt to index a nil value stack traceback: .../minetest/minetest-0.4.13/bin/../mods/pyramids/mummy.lua:398: in function <.../minetest/minetest-0.4.13/bin/../mods/pyramids/mummy.lua:391> Debug stacks: DEBUG STACK FOR THREAD 7fc8b572f700: #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 7fc8b5f30700: #0 virtual void* CurlFetchThread::Thread() DEBUG STACK FOR THREAD 7fc8b6731700: #0 virtual void* ServerThread::Thread() #1 void Server::AsyncRunStep(bool) #2 virtual void ServerMap::save(ModifiedState) (Leftover data: #3 void Server::SendPlayerHP(irr::u16)) (Leftover data: #4 void Server::SendHP(irr::u16, irr::u8)) (Leftover data: #5 bool getCraftingResult(Inventory*, ItemStack&, std::vector<ItemStack>&, bool, IGameDef*)) (Leftover data: #6 void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool)) DEBUG STACK FOR THREAD 7fc8bed217c0: #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&)) ./Neuromancerserver.sh: line 3: 406 Aborted (core dumped) ./minetestserver --gameid Neuromancer --world neuromancerworld --port 30001 --config neuromancerworld.conf
Code: Select all
2015-11-08 01:04:18: ERROR[ServerThread]: LuaEntity name "creatures:dummy_zombie" not defined
2015-11-08 01:04:19: ERROR[ServerThread]: LuaEntity name "creatures:dummy_sheep" not defined
2015-11-08 01:04:19: ERROR[ServerThread]: LuaEntity name "creatures:dummy_sheep" not defined
And wich version of pyramids are you using, 0.4 or 0.4.1?
Re: [Mod] Pyramids [0.4 beta] [pyramids]
BlockMen, I downloaded 4.1? from github and got this:
Code: Select all
10:43:16: WARNING: Assignment to undeclared global "p2" inside a function at ...test0413-dev/bin/../games/my_game/mods/pyramids/init.lua:137.
2015-11-11 10:43:28: ACTION[Server]: singleplayer granted (fly) privileges to singleplayer
2015-11-11 10:43:32: ACTION[Server]: Created pyramid at (95,1,-188)
10:43:32: WARNING: Undeclared global variable "default_model_def" accessed at ...est0413-dev/bin/../games/my_game/mods/pyramids/mummy.lua:63
10:43:32: WARNING: Assignment to undeclared global "visual" inside a function at ...est0413-dev/bin/../games/my_game/mods/pyramids/mummy.lua:63.
10:43:32: WARNING: Assignment to undeclared global "prop" inside a function at ...est0413-dev/bin/../games/my_game/mods/pyramids/mummy.lua:70.
- duane
- Member
- Posts: 1715
- Joined: Wed Aug 19, 2015 19:11
- GitHub: duane-r
- Location: Oklahoma City
- Contact:
Re: [Mod] Pyramids [0.4 beta] [pyramids]
Those won't do any harm, but if you want to fix them, you can use this patch.necron099 wrote:BlockMen, I downloaded 4.1? from github and got this:
Code: Select all
diff --git a/init.lua b/init.lua
index 5a8d89c..03e26ca 100644
--- a/init.lua
+++ b/init.lua
@@ -134,7 +134,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
if noise1 > 0.25 or noise1 < -0.26 then
local mpos = {x=math.random(minp.x,maxp.x), y=math.random(minp.y,maxp.y), z=math.random(minp.z,maxp.z)}
- p2 = minetest.find_node_near(mpos, 25, {"default:desert_sand"})
+ local p2 = minetest.find_node_near(mpos, 25, {"default:desert_sand"})
while p2 == nil and cnt < 5 do
cnt = cnt+1
mpos = {x=math.random(minp.x,maxp.x), y=math.random(minp.y,maxp.y), z=math.random(minp.z,maxp.z)}
diff --git a/mummy.lua b/mummy.lua
index 0c4d611..96d1ec2 100644
--- a/mummy.lua
+++ b/mummy.lua
@@ -47,23 +47,23 @@ local ANIM_WALK_MINE = 5
local ANIM_MINE = 6
function hit(self)
- prop = {
+ local prop = {
mesh = mummy_mesh,
textures = {"pyramids_mummy.png^pyramids_hit.png"},
}
self.object:set_properties(prop)
minetest.after(0.4, function()
- prop = {textures = mummy_texture,}
+ local prop = {textures = mummy_texture,}
self.object:set_properties(prop)
end)
end
function mummy_update_visuals_def(self)
--local name = get_player_name()
- visual = default_model_def
+ --visual = default_model_def
npc_anim = 0 -- Animation will be set further below immediately
--npc_sneak[name] = false
- prop = {
+ local prop = {
mesh = mummy_mesh,
textures = mummy_texture,
--visual_size = {x=1, y=1, z=1},
@@ -257,8 +257,8 @@ MUMMY_DEF.on_step = function(self, dtime)
for _,object in ipairs(minetest.env:get_objects_inside_radius(self.object:getpos(), 4)) do
if object:is_player() then
self.yawwer = false
- NPC = self.object:getpos()
- PLAYER = object:getpos()
+ local NPC = self.object:getpos()
+ local PLAYER = object:getpos()
self.vec = {x=PLAYER.x-NPC.x, y=PLAYER.y-NPC.y, z=PLAYER.z-NPC.z}
self.yaw = math.atan(self.vec.z/self.vec.x)+math.pi^2
if PLAYER.x > NPC.x then
Believe in people and you don't need to believe anything else.
Re: [Mod] Pyramids [0.4 beta] [pyramids]
Thanks duane, appreciate it :)
Re: [Mod] Pyramids [0.4.2 beta] [pyramids]
Sorry BlockMen that I didn't get back to you. Thanks for the tips about CME. There is something more strange going on there and I need to verify. As for the version, it was 0.4.1 beta (a git pull as of Jul 1 2015).
Re: [Mod] Pyramids [0.4.2 beta] [pyramids]
Hi BlockMen,
I tried using /clearobjects but after a few minutes there is a core dump. Tried this several times. Not descriptive, sorry. Anyway of turning up logging without recompiling?
Thanks for the help!
I tried using /clearobjects but after a few minutes there is a core dump. Tried this several times. Not descriptive, sorry. Anyway of turning up logging without recompiling?
Code: Select all
2015-11-14 05:18:44: ACTION[ServerThread]: Benjamin clears all objects.
./Neuromancerserver.sh: line 3: 6382 Segmentation fault (core dumped) ./minetestserver --gameid Neuromancer --world neuromancerworld --port 30001 --config neuromancerworld.conf
Re: [Mod] Pyramids [0.4.2 beta] [pyramids]
@bbaez - the same thing happened to me. I just kept loading the world a bunch of times and it finally cleared things.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!
A list of my mods can be found here
A list of my mods can be found here
Re: [Mod] Pyramids [0.4.2 beta] [pyramids]
Thank you Bats! After 40 times or so clearing objects I implemented the clean mode posted on "Delete unknown blocks and objects" that prestidigitator posted. So far working great.
Who is online
Users browsing this forum: No registered users and 2 guests