[Mod] Lucky Block [1.3] [lucky_block]

User avatar
TenPlus1
Member
 
Posts: 2588
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Lucky Block [0.2][lucky_block]

by TenPlus1 » Wed Nov 25, 2015 08:43

When adding lucky blocks for other mods it's always handy to add some nice blocks and some bad one's to mix it up a little, so theres a chance of giving a hopper or spawning lava under the player :) otherwise it would be boring getting good stuffs all the time.
 

wilkgr76
Member
 
Posts: 831
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: [Mod] Lucky Block [0.2][lucky_block]

by wilkgr76 » Wed Nov 25, 2015 09:17

TenPlus1 wrote:When adding lucky blocks for other mods it's always handy to add some nice blocks and some bad one's to mix it up a little, so theres a chance of giving a hopper or spawning lava under the player :) otherwise it would be boring getting good stuffs all the time.

I was just wondering why it was under "hopper" and not part of default... That's all.
N/A
 

User avatar
Napiophelios
Member
 
Posts: 981
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [Mod] Lucky Block [0.2][lucky_block]

by Napiophelios » Wed Nov 25, 2015 09:59

drawtype = nodebox will crash the game if you click with screwdriver.

I added some simple animated textures for fun, see if you like it.
lucky_block-0.2_animated.zip
(59.44 KiB) Downloaded 64 times


Image
lb-anim.png
(49.37 KiB) Not downloaded yet
 

User avatar
TenPlus1
Member
 
Posts: 2588
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Lucky Block [0.2][lucky_block]

by TenPlus1 » Wed Nov 25, 2015 12:12

Thanks Napiophelios, fixed the nodebox and protector variable bugs and added support for animated textures... Would be nice to see other servers using their own lucky block textures :)
 

blert2112
Member
 
Posts: 244
Joined: Sat Apr 25, 2015 04:05
GitHub: blert2112

Re: [Mod] Lucky Block [0.2][lucky_block]

by blert2112 » Fri Dec 11, 2015 07:43

TenPlus1... I added some stuff into this mod. Worked a very long time on it and I hope that you might find some of it useful. Help yourself to whatever you like. See my repo and please be sure to read the readme.
 

User avatar
TenPlus1
Member
 
Posts: 2588
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Lucky Block [0.3][lucky_block]

by TenPlus1 » Fri Dec 11, 2015 11:18

Updated to version 0.3:

- Added new lucky blocks
- Error checking added to some routines
- Added new features
- Schematics overhaul
- Re-wrote API.txt to make things clearer
 

User avatar
SaKeL
Member
 
Posts: 652
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: [Mod] Lucky Block [0.3][lucky_block]

by SaKeL » Tue Dec 22, 2015 09:46

can this lucky blocks spawn automatically in the world or someone has to place them manually ?
 

User avatar
TenPlus1
Member
 
Posts: 2588
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Lucky Block [0.3][lucky_block]

by TenPlus1 » Tue Dec 22, 2015 20:37

Lucky Blocks can be crafted using a chest surrounded by gold ingots, although it's up to server owners if they wish to have them spawn in-game automatically.

Update (7th January 2016):

- Fixed bug where schematics were always forcefully placed
- Added error checking to spawned entities
- Added nametags to spawned mobs
- Fixed instafarm block

Update (7th February 2016):

- Added default tree's (apple, jungle, pine, acacia, aspen)
- improved explosions (no more square holes)
 

wilkgr76
Member
 
Posts: 831
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: [Mod] Lucky Block [0.3][lucky_block]

by wilkgr76 » Wed Feb 24, 2016 21:53

Ok, this is particularly nefarious, but how about if the user has his home set with /sethome, placing a lava source there... That's quite evil.
N/A
 

User avatar
Don
Member
 
Posts: 1643
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod] Lucky Block [0.3][lucky_block]

by Don » Thu Feb 25, 2016 01:12

That is really evil.
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
 

wilkgr76
Member
 
Posts: 831
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76
 

User avatar
TenPlus1
Member
 
Posts: 2588
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Lucky Block [0.3][lucky_block]

by TenPlus1 » Wed Mar 02, 2016 21:16

Update:

- Lucky block explosions now support on_blast function thanks to MT-Modder
 

User avatar
TenPlus1
Member
 
Posts: 2588
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Lucky Block [0.4][lucky_block]

by TenPlus1 » Fri Sep 30, 2016 13:04

Updated to 0.4

- Added ability to use custom functions inside lucky blocks.
- Fixed traps so player is in position when they appear.

Notice: I'm looking for new blocks to add so if any mod authors would like to make some for there own mods that would be awesome :)
 

User avatar
ParaklataChotou
Member
 
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: [Mod] Lucky Block [0.4][lucky_block]

by ParaklataChotou » Sat Oct 01, 2016 21:43

I'll try this new update. Thank you. Any errors (if there's any) I'll send it to you the error file. It's an excellent mod.
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.
 

User avatar
ParaklataChotou
Member
 
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: [Mod] Lucky Block [0.4][lucky_block]

by ParaklataChotou » Sun Oct 02, 2016 01:32

The same glitch. take the error file.
Code: Select all
2016-10-01 20:48:05: ERROR[Main]: ServerError: Runtime error from mod '*builtin*' in callback environment_Step(): ...ra\minetest-0.4.14-win64\bin\..\builtin\game\falling.lua:24: attempt to index local 'node' (a nil value)
2016-10-01 20:48:05: ERROR[Main]: stack traceback:
2016-10-01 20:48:05: ERROR[Main]:    ...ra\minetest-0.4.14-win64\bin\..\builtin\game\falling.lua:24: in function 'set_node'
2016-10-01 20:48:05: ERROR[Main]:    ...a\minetest-0.4.14-win64\bin\..\mods\lucky_block\init.lua:473: in function 'func'
2016-10-01 20:48:05: ERROR[Main]:    ...andra\minetest-0.4.14-win64\bin\..\builtin\game\misc.lua:34: in function <...andra\minetest-0.4.14-win64\bin\..\builtin\game\misc.lua:11>
2016-10-01 20:48:05: ERROR[Main]:    ...a\minetest-0.4.14-win64\bin\..\builtin\game\register.lua:369: in function <...a\minetest-0.4.14-win64\bin\..\builtin\game\register.lua:349>


and thanks anyways. The mod is cool, but it causes the servers crash.
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.
 

User avatar
MineYoshi
Member
 
Posts: 5370
Joined: Wed Jul 08, 2015 13:20

Re: [Mod] Lucky Block [0.4][lucky_block]

by MineYoshi » Sun Oct 02, 2016 01:41

ParaklataChotou wrote:The same glitch. take the error file.
Code: Select all
2016-10-01 20:48:05: ERROR[Main]: ServerError: Runtime error from mod '*builtin*' in callback environment_Step(): ...ra\minetest-0.4.14-win64\bin\..\builtin\game\falling.lua:24: attempt to index local 'node' (a nil value)
2016-10-01 20:48:05: ERROR[Main]: stack traceback:
2016-10-01 20:48:05: ERROR[Main]:    ...ra\minetest-0.4.14-win64\bin\..\builtin\game\falling.lua:24: in function 'set_node'
2016-10-01 20:48:05: ERROR[Main]:    ...a\minetest-0.4.14-win64\bin\..\mods\lucky_block\init.lua:473: in function 'func'
2016-10-01 20:48:05: ERROR[Main]:    ...andra\minetest-0.4.14-win64\bin\..\builtin\game\misc.lua:34: in function <...andra\minetest-0.4.14-win64\bin\..\builtin\game\misc.lua:11>
2016-10-01 20:48:05: ERROR[Main]:    ...a\minetest-0.4.14-win64\bin\..\builtin\game\register.lua:369: in function <...a\minetest-0.4.14-win64\bin\..\builtin\game\register.lua:349>


and thanks anyways. The mod is cool, but it causes the servers crash.

Is that the build from the main page?
 

User avatar
TenPlus1
Member
 
Posts: 2588
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Lucky Block [0.4][lucky_block]

by TenPlus1 » Sun Oct 02, 2016 07:58

ParaklataChotou - if a falling node is dropped by a lucky block and the node doesn't exist in-game then you get the above error, so I've added a check for that... Works ok now :)
Last edited by TenPlus1 on Mon Oct 03, 2016 07:06, edited 1 time in total.
 

User avatar
ParaklataChotou
Member
 
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: [Mod] Lucky Block [0.4][lucky_block]

by ParaklataChotou » Sun Oct 02, 2016 20:44

TenPlus1 wrote:ParaklataChotou - if a falling node it dropped by a lucky block that doesn't exist then you get the above error, so I've added a check for that... Works ok now :)

Really? cool. n_n. Now I'll try it again on Android Server. and I'll tell you the results. Thanks.
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.
 

User avatar
ParaklataChotou
Member
 
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: [Mod] Lucky Block [0.4][lucky_block]

by ParaklataChotou » Mon Oct 03, 2016 23:15

TenPlus1 wrote:ParaklataChotou - if a falling node is dropped by a lucky block and the node doesn't exist in-game then you get the above error, so I've added a check for that... Works ok now :)


Now it's working like the weed. Thank you n_n. Now it's not causing crash on my server.
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.
 

Kosmos
Member
 
Posts: 131
Joined: Sun Sep 11, 2016 12:42
In-game: KosmosHD

Re: [Mod] Lucky Block [0.4][lucky_block]

by Kosmos » Fri Oct 21, 2016 17:02

Hey,
so can i make my own schematics???(i mean if i copy it in the schem folder they have a chance to spawn???)
 

User avatar
TenPlus1
Member
 
Posts: 2588
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Lucky Block [0.4][lucky_block]

by TenPlus1 » Fri Oct 21, 2016 20:10

Kosmos, yes you can add schematic files and have them spawn from lucky blocks :) follow guide.
 

User avatar
Andrey01
Member
 
Posts: 2301
Joined: Wed Oct 19, 2016 15:18
Location: Russia, Moscow
GitHub: Andrey2470T
In-game: Andrey01
 

User avatar
TenPlus1
Member
 
Posts: 2588
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1
 

User avatar
TenPlus1
Member
 
Posts: 2588
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Lucky Block [0.4][lucky_block]

by TenPlus1 » Sat Dec 10, 2016 10:35

Update:

- Added new troll block (Dry Shrub takeover).
- Added 'stop punching yourself' block.
 

User avatar
TenPlus1
Member
 
Posts: 2588
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Lucky Block [0.5][lucky_block]

by TenPlus1 » Tue Apr 25, 2017 09:28

Updated to 0.5:

- Added explosion radius and fire settings
- Added 12 new blocks for 0.4.15+
 

PreviousNext

Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 9 guests