Page 1 of 5

[Mod] TNT [tnt]

PostPosted: Wed Aug 29, 2012 17:26
by PilzAdam
Hello everyone!
Well... I dont know what to explain here. Its just TNT.
Craft coal+gravel to get gunpowder, then put four wood in a + shape around the gunpowder to get TNT. Blow it up with a torch. Thats all. For more information read the README.txt.

License:
WTFPL

Depends:
default
fire

Download:
Requires a later version than 0.4.3
https://github.com/PilzAdam/TNT/zipball/master

GitHub:
https://github.com/PilzAdam/TNT

PostPosted: Wed Aug 29, 2012 17:56
by Echo
remotely detonated? cool!

PostPosted: Thu Aug 30, 2012 21:54
by PilzAdam
Released.

PostPosted: Fri Aug 31, 2012 03:07
by Josh
Thank's PilzAdam for a simple TNT mod. I am going to have so much fun blowing up stuff!
Also i find your mods very cool!!

PostPosted: Fri Aug 31, 2012 03:45
by Josh
I tried it earlier & man does the TNT pack a wallop! Super job PilzAdam.

PostPosted: Fri Aug 31, 2012 11:45
by cHyper
awesome mod... maybe you could make various types of T.n.T with different damage... keep up the good work...

PostPosted: Fri Aug 31, 2012 11:49
by PilzAdam
cHyper wrote:awesome mod... maybe you could make various types of T.n.T with different damage... keep up the good work...

I dont add different TNT types. You have the nuke mod for that. This inteded to be a mining help. Greater explosion radii would overpower this mod.

PostPosted: Fri Aug 31, 2012 12:33
by graphics boy
This mod is so cool!!
is there anyway to make it not spit out all those blocks every where?

PostPosted: Fri Aug 31, 2012 13:13
by PilzAdam
graphics boy wrote:This mod is so cool!!
is there anyway to make it not spit out all those blocks every where?

Use nuke mod if dont want it. You have to pick up all these items by hand. Using TNT is hard work!

PostPosted: Fri Aug 31, 2012 14:30
by irksomeduck
Just what minetest needs! Normal sized non-nuclear tnt!

PostPosted: Fri Aug 31, 2012 15:53
by graphics boy
PilzAdam wrote:
graphics boy wrote:This mod is so cool!!
is there anyway to make it not spit out all those blocks every where?

Use nuke mod if dont want it. You have to pick up all these items by hand. Using TNT is hard work!

The nuke mod only works in minimal game

PostPosted: Fri Aug 31, 2012 16:15
by PilzAdam
graphics boy wrote:
PilzAdam wrote:
graphics boy wrote:This mod is so cool!!
is there anyway to make it not spit out all those blocks every where?

Use nuke mod if dont want it. You have to pick up all these items by hand. Using TNT is hard work!

The nuke mod only works in minimal game

Not for me. It also in default minetest_game for me (latest git).

PostPosted: Fri Aug 31, 2012 19:14
by Mito551
not working.

23:13:26: VERBOSE[main]: error_message = ServerError: LuaError: error: ...d38b465-win32\bin\..\games\dwarves\mods\tnt\init.lua:251: attempt to call method 'register_effector' (a nil value)
23:13:26: VERBOSE[main]: stack traceback:

PostPosted: Fri Aug 31, 2012 19:25
by Jordach
Mito551 wrote:not working.

23:13:26: VERBOSE[main]: error_message = ServerError: LuaError: error: ...d38b465-win32\bin\..\games\dwarves\mods\tnt\init.lua:251: attempt to call method 'register_effector' (a nil value)
23:13:26: VERBOSE[main]: stack traceback:

You don't seem to have mesecons installed.

PostPosted: Fri Aug 31, 2012 22:29
by PilzAdam
Jordach wrote:
Mito551 wrote:not working.

23:13:26: VERBOSE[main]: error_message = ServerError: LuaError: error: ...d38b465-win32\bin\..\games\dwarves\mods\tnt\init.lua:251: attempt to call method 'register_effector' (a nil value)
23:13:26: VERBOSE[main]: stack traceback:

You don't seem to have mesecons installed.

No. He has a old version of mesecons. This mod does not depend on mesecons, so delete it or install latest version.

PostPosted: Sat Sep 01, 2012 03:17
by Josh
Also i like how the TNT cause's damage.

PostPosted: Mon Sep 10, 2012 03:34
by SegFault22
Erp, something's not working...
All it says is ''ServerError: LuaError: attempt to index a number value''
And for some reason, debug.txt is...blank...

PostPosted: Mon Sep 10, 2012 14:41
by PilzAdam
SegFault22 wrote:Erp, something's not working...
All it says is ''ServerError: LuaError: attempt to index a number value''
And for some reason, debug.txt is...blank...

You have to use latest github of Minetest if you use the github version of TNT.

PostPosted: Mon Sep 10, 2012 19:00
by Mito551
VERBOSE[main]: error_message = ServerError: LuaError: error: ...9696ed3-win32\bin\..\games\dwarves\mods\tnt\init.lua:268: attempt to call method 'register_effector' (a nil value)

0.4.3-9696ed3

do you need any more details?
i'm sorry, if i don't follow the "protocol", the way, report should be done, and being inefficient. i'm trying hard to be polite and efficent, but i don't feel i succed...

PostPosted: Mon Sep 10, 2012 19:14
by PilzAdam
Mito551 wrote:VERBOSE[main]: error_message = ServerError: LuaError: error: ...9696ed3-win32\bin\..\games\dwarves\mods\tnt\init.lua:268: attempt to call method 'register_effector' (a nil value)

0.4.3-9696ed3

do you need any more details?
i'm sorry, if i don't follow the "protocol", the way, report should be done, and being inefficient. i'm trying hard to be polite and efficent, but i don't feel i succed...

Okay this bug is in the mesecon section. It should only be executed if you have mesecons installed. And if you have latest mesecons installed, the function 'register_effector' should be implemented. So be sure you have latest mesecons installed.

PostPosted: Tue Sep 11, 2012 02:05
by SegFault22
You have to use latest github of Minetest if you use the github version of TNT.

I don't use git-hub. All I did was download the mod and put it in the /mods/minetest/ directory, USING LATEST VERSION OF MINETEST (here in bold print so that everyone sees it)
Mkay?

PostPosted: Thu Sep 13, 2012 16:58
by SmiggzYh
Mhm, I'm having the same problem as SegFault22 :/

17:48:24: VERBOSE[main]: error_message = ServerError: LuaError: error: attempt to index a number value
17:48:24: VERBOSE[main]: stack traceback:

I'm almost certain everything I have is up to date. (I dl'd it all today, so...) All from GitHub as well.

In my game, the TNT I've tried to blow up (I've done it a few time to verify it was a problem) I've got the explosion left, with no damage done to block, and a seperate TNT I set up to blow is un-detonated, but the fuse is lit, and is constantly lit.

I won't lie, I'm new to this stuff, but Help would be wonderful. Many thanks.

PostPosted: Thu Sep 13, 2012 17:06
by PilzAdam
SmiggzYh wrote:Mhm, I'm having the same problem as SegFault22 :/

17:48:24: VERBOSE[main]: error_message = ServerError: LuaError: error: attempt to index a number value
17:48:24: VERBOSE[main]: stack traceback:

I'm almost certain everything I have is up to date. (I dl'd it all today, so...) All from GitHub as well.

In my game, the TNT I've tried to blow up (I've done it a few time to verify it was a problem) I've got the explosion left, with no damage done to block, and a seperate TNT I set up to blow is un-detonated, but the fuse is lit, and is constantly lit.

I won't lie, I'm new to this stuff, but Help would be wonderful. Many thanks.

Is there a object (player or animal or cart) near (~7 blocks) the explosion when the error occurs?

PostPosted: Thu Sep 13, 2012 18:12
by SmiggzYh
PilzAdam wrote:
SmiggzYh wrote:Mhm, I'm having the same problem as SegFault22 :/

17:48:24: VERBOSE[main]: error_message = ServerError: LuaError: error: attempt to index a number value
17:48:24: VERBOSE[main]: stack traceback:

I'm almost certain everything I have is up to date. (I dl'd it all today, so...) All from GitHub as well.

In my game, the TNT I've tried to blow up (I've done it a few time to verify it was a problem) I've got the explosion left, with no damage done to block, and a seperate TNT I set up to blow is un-detonated, but the fuse is lit, and is constantly lit.

I won't lie, I'm new to this stuff, but Help would be wonderful. Many thanks.

Is there a object (player or animal or cart) near (~7 blocks) the explosion when the error occurs?


Yeah, the problem was that I was near it. Is that just because I have damage disabled? Or should I always avoid being near it?

PostPosted: Thu Sep 13, 2012 18:42
by PilzAdam
SmiggzYh wrote:
PilzAdam wrote:
SmiggzYh wrote:Mhm, I'm having the same problem as SegFault22 :/

17:48:24: VERBOSE[main]: error_message = ServerError: LuaError: error: attempt to index a number value
17:48:24: VERBOSE[main]: stack traceback:

I'm almost certain everything I have is up to date. (I dl'd it all today, so...) All from GitHub as well.

In my game, the TNT I've tried to blow up (I've done it a few time to verify it was a problem) I've got the explosion left, with no damage done to block, and a seperate TNT I set up to blow is un-detonated, but the fuse is lit, and is constantly lit.

I won't lie, I'm new to this stuff, but Help would be wonderful. Many thanks.

Is there a object (player or animal or cart) near (~7 blocks) the explosion when the error occurs?


Yeah, the problem was that I was near it. Is that just because I have damage disabled? Or should I always avoid being near it?

You need this version of minetest or later: https://github.com/celeron55/minetest/commit/ac628c9b0ab8c69313b3fe401384ecd0fc20eb14

PostPosted: Fri Sep 14, 2012 09:10
by cornernote
i get this error:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
18:37:10: ACTION[ServerThread]: singleplayer joins game. List of players: singleplayer
Font size: 8 15
singleplayer takes item from creative inventory; listname="main", index=94, stack=<userdata>
stack:get_name()="tnt:tnt", stack:get_count()=49
singleplayer takes item from creative inventory; listname="main", index=61, stack=<userdata>
stack:get_name()="default:torch", stack:get_count()=49
18:37:25: ACTION[ServerThread]: singleplayer places node tnt:tnt at (-2,2,-15)
18:37:31: ACTION[ServerThread]: singleplayer leaves game. List of players:
18:37:32: ERROR[main]: ServerError: LuaError: error: attempt to index a number value
18:37:32: ERROR[main]: stack traceback:


It ends there, doesnt give the stack dump. =(

running 0.4.3, no other mods

PostPosted: Fri Sep 14, 2012 12:31
by PilzAdam
cornernote wrote:i get this error:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
18:37:10: ACTION[ServerThread]: singleplayer joins game. List of players: singleplayer
Font size: 8 15
singleplayer takes item from creative inventory; listname="main", index=94, stack=<userdata>
stack:get_name()="tnt:tnt", stack:get_count()=49
singleplayer takes item from creative inventory; listname="main", index=61, stack=<userdata>
stack:get_name()="default:torch", stack:get_count()=49
18:37:25: ACTION[ServerThread]: singleplayer places node tnt:tnt at (-2,2,-15)
18:37:31: ACTION[ServerThread]: singleplayer leaves game. List of players:
18:37:32: ERROR[main]: ServerError: LuaError: error: attempt to index a number value
18:37:32: ERROR[main]: stack traceback:


It ends there, doesnt give the stack dump. =(

running 0.4.3, no other mods

As i said before: You need a later version than 0.4.3

EDIT: If you cant get this version just be sure that every object (player, carts, animals) is more than 7 blocks away from the explosion.

PostPosted: Fri Sep 14, 2012 18:50
by Ragnarok
This is definitely better than Minecraft TNT =) boom, boom, boom, boom... BOOM! Works fine on latest GIT.

PostPosted: Fri Sep 14, 2012 22:11
by BrandonReese
My server crashes when a player is near the TNT when it detonates, are you aware of this bug?

PostPosted: Sat Sep 15, 2012 08:19
by PilzAdam
BrandonReese wrote:My server crashes when a player is near the TNT when it detonates, are you aware of this bug?

http://minetest.net/forum/viewtopic.php?pid=42549#p42549