[Mod] Poison Mod [0.1] [poison]

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

[Mod] Poison Mod [0.1] [poison]

by lkjoel » Sun Apr 08, 2012 22:42

I keep on making respawning holes, but as I cannot fly on c55's server, it's much harder to make them.
Anyways, I decided to make a mod to kill you easily.
To make poison, smelt some mossy cobblestone:
Image
To make a poisonous apple, put an apple beside poison:
Image
Use a poisonous apple like any apple, but just remember that you will instantly die (-50HP, and you have 20HP)
You can get this mod here: https://github.com/lkjoel/minetest-mods

License: WTFPL
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

User avatar
Death Dealer
Member
 
Posts: 1379
Joined: Wed Feb 15, 2012 18:46

by Death Dealer » Sun Apr 08, 2012 22:43

cool im tring it now
Keep calm and code python^_^
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Sun Apr 08, 2012 22:43

I needed some practice with mods to make the generation code for my mod creator :)
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

User avatar
Death Dealer
Member
 
Posts: 1379
Joined: Wed Feb 15, 2012 18:46

by Death Dealer » Sun Apr 08, 2012 22:44

oh thats so cool i cant wait till its done man:D great job.
Keep calm and code python^_^
 

User avatar
JPRuehmann
Member
 
Posts: 334
Joined: Fri Mar 21, 2014 21:40

by JPRuehmann » Tue Apr 08, 2014 11:42

I´d like try it out, but get the following error.

23:01:44: ERROR[main]: ========== ERROR FROM LUA ===========
23:01:44: ERROR[main]: Failed to load and run script from
23:01:44: ERROR[main]: /home/ruehmann/.minetest/mods/poison/init.lua:
23:01:44: ERROR[main]: /home/ruehmann/.minetest/mods/poison/init.lua:36: attempt to index global 'default' (a nil value)
23:01:44: ERROR[main]: stack traceback:
23:01:44: ERROR[main]: /home/ruehmann/.minetest/mods/poison/init.lua:36: in main chunk
23:01:44: ERROR[main]: ======= END OF ERROR FROM LUA ========
23:01:44: ERROR[main]: Server: Failed to load and run /home/ruehmann/.minetest/mods/poison/init.lua
23:01:44: ERROR[main]: ModError: ModError: Failed to load and run /home/ruehmann/.minetest/mods/poison/init.lua

love to see it fixed.
thanks,
JPR
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Tue Apr 08, 2014 12:14

JPRuehmann wrote:I´d like try it out, but get the following error.

23:01:44: ERROR[main]: ========== ERROR FROM LUA ===========
23:01:44: ERROR[main]: Failed to load and run script from
23:01:44: ERROR[main]: /home/ruehmann/.minetest/mods/poison/init.lua:
23:01:44: ERROR[main]: /home/ruehmann/.minetest/mods/poison/init.lua:36: attempt to index global 'default' (a nil value)
23:01:44: ERROR[main]: stack traceback:
23:01:44: ERROR[main]: /home/ruehmann/.minetest/mods/poison/init.lua:36: in main chunk
23:01:44: ERROR[main]: ======= END OF ERROR FROM LUA ========
23:01:44: ERROR[main]: Server: Failed to load and run /home/ruehmann/.minetest/mods/poison/init.lua
23:01:44: ERROR[main]: ModError: ModError: Failed to load and run /home/ruehmann/.minetest/mods/poison/init.lua

love to see it fixed.
thanks,
JPR
Do you even look at the date mods are posted? It's good to post bugs, just don't expect an answer.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

Amaz
Member
 
Posts: 328
Joined: Wed May 08, 2013 08:26
GitHub: Amaz1
IRC: Amaz
In-game: Amaz

by Amaz » Tue Apr 08, 2014 12:19

JPRuehmann wrote:I´d like try it out, but get the following error.

23:01:44: ERROR[main]: ========== ERROR FROM LUA ===========
23:01:44: ERROR[main]: Failed to load and run script from
23:01:44: ERROR[main]: /home/ruehmann/.minetest/mods/poison/init.lua:
23:01:44: ERROR[main]: /home/ruehmann/.minetest/mods/poison/init.lua:36: attempt to index global 'default' (a nil value)
23:01:44: ERROR[main]: stack traceback:
23:01:44: ERROR[main]: /home/ruehmann/.minetest/mods/poison/init.lua:36: in main chunk
23:01:44: ERROR[main]: ======= END OF ERROR FROM LUA ========
23:01:44: ERROR[main]: Server: Failed to load and run /home/ruehmann/.minetest/mods/poison/init.lua
23:01:44: ERROR[main]: ModError: ModError: Failed to load and run /home/ruehmann/.minetest/mods/poison/init.lua

love to see it fixed.
thanks,
JPR

In the mod directory (of posion), create a file called depends.txt open it up, and type default
Save the file, and it should work.
And do the same for all mods when they give this error message
ERROR[main]: /home/ruehmann/.minetest/mods/poison/init.lua:36: attempt to index global 'default' (a nil value)
Adding the thing before (a nil value) to depends.txt without the ' ' And if it doesn't look like the name of a mod, (for example if it has "sound" in it) then just try putting default in.
Last edited by Amaz on Tue Apr 08, 2014 12:34, edited 1 time in total.
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

by Krock » Tue Apr 08, 2014 16:50

JPRuehmann wrote:23:01:44: ERROR[main]: ========== ERROR FROM LUA

Go better to bed instead of digging around in dead topics.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
JPRuehmann
Member
 
Posts: 334
Joined: Fri Mar 21, 2014 21:40

by JPRuehmann » Thu Apr 10, 2014 11:46

Hello
@Amaz thanks that helped and now I know what this error means too. Great.

@Krock you are right, but this is not my Style.
This Night was another without sleep in order to make MineTest work as I will.

Thanks,
JPR
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 7 guests

cron