[MOD] cannons with a lot of features! [2.5] [cannons]

User avatar
Tom
Member
Posts: 52
Joined: Sat Dec 31, 2011 15:42
IRC: Tom-s
Location: France

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by Tom » Post

Thank you! Your mod is awesome Addi!

User avatar
Diamond knight
Member
Posts: 475
Joined: Sun Apr 19, 2015 19:50
GitHub: Diamondknight
In-game: Ferrumprinceps
Location: Chilling in Constantinople
Contact:

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by Diamond knight » Post

must download tnt update!!!!!!!!!!!!!!!

the tnt will be sooo much sithy fun!!!!!!!!!!!!!!!!!!!!

and btw what is the difference between the 3 cannons besides looks and recipies?

are some more durable than others?

User avatar
Hybrid Dog
Member
Posts: 2835
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by Hybrid Dog » Post

Could you add a digiline lit controller, which can be used to make a cannon shoot by sending a digiline signal (or mesecons)?

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by addi » Post

sorry for late response. for unknown reason I don't get Email-notifications any more.

@Tom: thanks :)

@ Diamond knight: its just an optical feature. it does nothing change with durability

@ Hybrid Dog: The cannons already shoot if they get a mesecons signal. But they shoot to the last direction they shoot before. May I add digilines signal to change direction (vector).

dannyplaysminetest
Member
Posts: 37
Joined: Sun Jun 28, 2015 19:20
In-game: Danny

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by dannyplaysminetest » Post

Thanks for this cool Mod the Cannons look awesome in front of my Fortified Castle and they wil look epic on Ships. ^_^

bbaez
Member
Posts: 51
Joined: Wed Jul 09, 2014 15:24

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by bbaez » Post

Love the mod! However, I got the following with the latest posted revision:

Code: Select all

07:09:46: ACTION[ServerThread]: alialiali6 right-clicks object 8806: LuaEntitySA   O at (-69,2.55,-102)
07:09:51: ACTION[ServerThread]: FARP12 damaged by 8 hp at (-2.376,1.5,-143.055)
07:09:52: ACTION[ServerThread]: FARP12 damaged by 8 hp at (-2.319,1.666,-142.794   )
07:09:56: ERROR[main]: ERROR: An unhandled exception occurred: ...est-0.4.12-neu   romancer/bin/../mods/cannons/functions.lua:163: attempt to index a nil value
07:09:56: ERROR[main]: stack traceback:
07:09:56: ERROR[main]:  ...est-0.4.12-neuromancer/bin/../mods/cannons/functions.   lua:163: in function 'on_rightclick'
07:09:56: ERROR[main]:  ...minetest-0.4.12-neuromancer/bin/../builtin/game/item.   lua:326: in function <...minetest-0.4.12-neuromancer/bin/../builtin/game/item.lu   a:319>

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by addi » Post

Thanks for reporting.
Fixed in version 2.5.1
Download .zip version 2.5.1 638.4 KB 06.07.2015
download other versions

bbaez
Member
Posts: 51
Joined: Wed Jul 09, 2014 15:24

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by bbaez » Post

Thanks for the quick turn around. I found another one though :)

Code: Select all

13:10:41: ACTION[ServerThread]: creeper_HD digs streets:asphalt_sideline at (86,3,71)
13:10:42: ACTION[ServerThread]: creeper_HD digs streets:asphalt_dashed_line at (85,3,64)
13:10:45: ACTION[ServerThread]: creeper_HD right-clicks object 2040: LuaEntitySAO at (84,3.75,59)
13:11:19: ACTION[ServerThread]: creeper_HD right-clicks object 2040: LuaEntitySAO at (85.4657,2.75,51.9)
13:11:22: ACTION[ServerThread]: creeper_HD places node cannons:wood_stand_with_cannon_steel at (85,4,47)
13:11:22: ACTION[ServerThread]: facedir: 2
13:11:22: WARNING: Undeclared global variable "itemstack" accessed at ...est-0.4.12-neuromancer/bin/../mods/cannons/functions.lua:148
13:11:22: ERROR[main]: ERROR: An unhandled exception occurred: error in error handling
13:11:22: ERROR[main]: stack traceback:
13:11:22: ERROR[main]:  [C]: in function 'add_node'
13:11:22: ERROR[main]:  ...minetest-0.4.12-neuromancer/bin/../builtin/game/item.lua:276: in function 'old_item_place_node'
13:11:22: ERROR[main]:  ...2-neuromancer/bin/../mods/node_owner/node_owner/init.lua:31: in function <...2-neuromancer/bin/../mods/node_owner/node_owner/init.lua:17>
Updated with another crash trace. I added this because of the privs warning encountered for node_owner. Just pointing it out since the server is public and I use node_owner to help with vandalizing :)

Code: Select all

14:32:42: ACTION[ServerThread]: swagger digs cannons:cannon_steel at (-6,3,-140)
14:32:42: ACTION[ServerThread]: swagger digs default:sand at (-6,2,-141)
14:32:54: ACTION[ServerThread]: swagger digs cannons:ship_stand at (-8,4,-141)
14:33:14: WARNING: Undeclared global variable "privs" accessed at ...2-neuromancer/bin/../mods/node_owner/node_owner/init.lua:23
14:33:14: ACTION[ServerThread]: swagger places node cannons:cannon_steel at (-7,6,-128)
14:33:14: ACTION[ServerThread]: facedir: 1
14:33:14: WARNING: Undeclared global variable "itemstack" accessed at ...est-0.4.12-neuromancer/bin/../mods/cannons/functions.lua:148
14:33:15: ERROR[main]: ERROR: An unhandled exception occurred: error in error handling
14:33:15: ERROR[main]: stack traceback:
14:33:15: ERROR[main]:  [C]: in function 'add_node'
14:33:15: ERROR[main]:  ...minetest-0.4.12-neuromancer/bin/../builtin/game/item.lua:276: in function 'old_item_place_node'
14:33:15: ERROR[main]:  ...2-neuromancer/bin/../mods/node_owner/node_owner/init.lua:31: in function <...2-neuromancer/bin/../mods/node_owner/node_owner/init.lua:17>

bbaez
Member
Posts: 51
Joined: Wed Jul 09, 2014 15:24

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by bbaez » Post

I switched out node_owner for areas and markers mod. That should resolve the errors I posted above. Didn't realize node_owner was deprecated.

bbaez
Member
Posts: 51
Joined: Wed Jul 09, 2014 15:24

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by bbaez » Post

Hi,

Still getting the same type of crash.

Code: Select all

12:33:29: ACTION[ServerThread]: sexygirl places node cannons:cannon_mithril at (94,4,41)
12:33:29: ACTION[ServerThread]: facedir: 0
12:33:29: WARNING: Undeclared global variable "itemstack" accessed at ...est-0.4.12-neuromancer/bin/../mods/cannons/functions.lua:148
12:33:29: ERROR[main]: ERROR: An unhandled exception occurred: error in error handling
12:33:29: ERROR[main]: stack traceback:
12:33:29: ERROR[main]:  [C]: in function 'add_node'
12:33:29: ERROR[main]:  ...minetest-0.4.12-neuromancer/bin/../builtin/game/item.lua:276: in function <...minetest-0.4.12-neuromancer/bin/../builtin/game/item.lua:191>

bbaez
Member
Posts: 51
Joined: Wed Jul 09, 2014 15:24

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by bbaez » Post

Hi,

I seem to have resolved the itemstack issue by adding itemstack to the function, but the add_node issue is still there.

Code: Select all

aa0001@minetest01:~/minetest/mods$ diff cannons/functions.lua ~/minetest/minetest-0.4.12-neuromancer/mods/cannons/functions.lua
146c146
< cannons.on_construct = function(pos)
---
> cannons.on_construct = function(pos, itemstack)

Code: Select all

16:06:14: ACTION[ServerThread]: Spawned creatures:zombie at (-137,-20,332)
16:07:00: ACTION[ServerThread]: Benjamin places node cannons:ship_stand_with_cannon_mithril at (-107,7,292)
16:07:00: ACTION[ServerThread]: facedir: 0
16:07:00: ERROR[main]: ERROR: An unhandled exception occurred: error in error handling
16:07:00: ERROR[main]: stack traceback:
16:07:00: ERROR[main]:  [C]: in function 'add_node'
16:07:00: ERROR[main]:  ...minetest-0.4.12-neuromancer/bin/../builtin/game/item.lua:276: in function <...minetest-0.4.12-neuromancer/bin/../builtin/game/item.lua:191>

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by addi » Post

Again thanks for reporting.
Sorry for the late response, I was impossible to login into this board the last 3 days.
Fixed in version 2.5.2
Download .zip version 2.5.2 638.4 KB 09.07.2015
download other versions

bbaez
Member
Posts: 51
Joined: Wed Jul 09, 2014 15:24

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by bbaez » Post

No problem. Thanks for the new version. I'll report back if there are issues.

Ben

bbaez
Member
Posts: 51
Joined: Wed Jul 09, 2014 15:24

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by bbaez » Post

No more crashing! However....

When you place a cannon with stand and hover over it you get "Cannon is out of Order" On right click you get "Cannon is Disabled. Place it on a cannon stand"

Cannon placed:

Code: Select all

13:44:45: ACTION[ServerThread]: Benjamin places node cannons:wood_stand_with_cannon_bronze at (-134,3,315)

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by Evergreen » Post

bbaez wrote:No more crashing! However....

When you place a cannon with stand and hover over it you get "Cannon is out of Order" On right click you get "Cannon is Disabled. Place it on a cannon stand"

Cannon placed:

Code: Select all

13:44:45: ACTION[ServerThread]: Benjamin places node cannons:wood_stand_with_cannon_bronze at (-134,3,315)
Just dig the canon and replace it. This is a bug though, and should be fixed.
Back from the dead!

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by addi » Post

the mod was firstly not designed to work in creative mode, but now it should work. Thanks.

Fixed in version 2.5.3
Download .zip version 2.5.3 638.4 KB 10.07.2015
download other versions

bbaez
Member
Posts: 51
Joined: Wed Jul 09, 2014 15:24

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by bbaez » Post

Thanks for the fixes.

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by addi » Post

great that it works now :-)

bbaez
Member
Posts: 51
Joined: Wed Jul 09, 2014 15:24

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by bbaez » Post

Hi Addi,

Another issue has cropped up where someone digs a cannon while interacting with Technic. Could you take a look at the possible resolution in [Mod] Technic [0.4.11] [technic] at the very end of the thread.

Thanks

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by addi » Post

bbaez wrote:Hi Addi,

Another issue has cropped up where someone digs a cannon while interacting with Technic. Could you take a look at the possible resolution in [Mod] Technic [0.4.11] [technic] at the very end of the thread.

Thanks
Thanks for reporting.

I'm not shure if this is my fault, a fault of the technic mod or just a fault of minetest itself.
Anyway it should be fixed now. Could you check if its solved with the following build of the cannons mod please?
https://bitbucket.org/kingarthursteam/c ... 1fac6a.zip

bbaez
Member
Posts: 51
Joined: Wed Jul 09, 2014 15:24

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by bbaez » Post

Thanks Addi for the quick turnaround. I uploaded the mod to my server. I have to wait and see it if crashes since I am not exactly sure how to replicate the issue. People love the cannons and technic. Funny they are using cannons in a reactor. :)

User avatar
Tom
Member
Posts: 52
Joined: Sat Dec 31, 2011 15:42
IRC: Tom-s
Location: France

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by Tom » Post

Thank you for the updates Addi.

@Bbaez: Is your server public? If so please give me the address, I'd like to play on a server with cannons!

Heraclitus
Member
Posts: 25
Joined: Tue Oct 11, 2016 17:14

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by Heraclitus » Post

I'm not sure if this mod is still being maintained, but I recently downloaded the last version and get some strange behavior when trying to craft a cannon. That is, when I attempt to craft a steel or bronze canon, it merely produces an "unknown item." I can successfully get a canon in creative mode. Any ideas about what could be wrong with the recipe?

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by addi » Post

Thanks for your comment. Yes, this mod is still maintained. I only forgott to upload the latest version :/

Well its up now and the craft rezeip should work.
Cannons Version 2.5.4 (.zip) 635.6 KB
other versions

BTW: Thanks to all for over 1000 Downloads of this mod!

Heraclitus
Member
Posts: 25
Joined: Tue Oct 11, 2016 17:14

Re: [MOD] cannons with a lot of features! [2.5] [cannons]

by Heraclitus » Post

Thanks so much for the quick response! Very good mod.

Post Reply

Who is online

Users browsing this forum: No registered users and 50 guests