[Mod] Lucky Block [0.4][lucky_block]

User avatar
TenPlus1
Member
 
Posts: 1874
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: 193
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 ?
Follow my Collection for more Minetest creations found on my server or join the Community for the latest Server updates and news.

SaKeL
 

User avatar
TenPlus1
Member
 
Posts: 1874
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)
 

User avatar
wilkgr76
Member
 
Posts: 680
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76
IRC: wilkgr
In-game: wilkgr

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.
I do not care.
 

User avatar
Don
Member
 
Posts: 1641
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
 

User avatar
wilkgr76
Member
 
Posts: 680
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76
IRC: wilkgr
In-game: wilkgr

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

by wilkgr76 » Thu Feb 25, 2016 22:56

Don wrote:That is really evil.

Precisely.
I do not care.
 

User avatar
TenPlus1
Member
 
Posts: 1874
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: 1874
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.
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
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: 4267
Joined: Wed Jul 08, 2015 13:20
GitHub: MineYosh
IRC: MineYoshi
In-game: Kirby_Retro

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.
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
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?
People talk about freedom of speech, so i'll say that God exists.
Open your eyes!! See The big unicorn conspiracy.!! :D The government has been lying to us about unicorns!!
"I've learned there are three things you don't discuss with people: religion, politics and the Great Pumpkin" - Linus Van Pelt
I'm the Officially 1st ABJist in the world ( ͡° ͜ʖ ͡°)
 

User avatar
TenPlus1
Member
 
Posts: 1874
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: 117
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: 1874
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: 431
Joined: Wed Oct 19, 2016 15:18
In-game: Andrey01

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

by Andrey01 » Sun Oct 23, 2016 14:38

TenPlus1, for what have you done is this mod?
 

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

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

by TenPlus1 » Sun Oct 23, 2016 17:00

Andrey: how do you mean ?
 

User avatar
TenPlus1
Member
 
Posts: 1874
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.
 

Previous

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 11 guests

cron