[Modpack] Creatures MOB-Engine [2.3.1] [cme]

Post Reply
User avatar
heavy gale
Member
Posts: 17
Joined: Fri Mar 14, 2014 18:37
GitHub: heavygale
IRC: heavygale
In-game: Max or heavygale
Location: Germany
Contact:

Re: [Mod] Creatures [1.1.2 beta] [creatures]

by heavy gale » Post

My server went down with the same error as gsmanners posted.

Code: Select all

03:01:26: ERROR[main]: ERROR: An unhandled exception occurred: /home/minetest/minetest-s2/bin/../mods/creatures/init.lua:57: attempt to perform arithmetic on a nil value

Code: Select all

14:28:09: ERROR[main]: ERROR: An unhandled exception occurred: /home/minetest/minetest-s2/bin/../mods/creatures/init.lua:57: attempt to perform arithmetic on a nil value
EDIT: I just saw this already got fixed.

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

by BlockMen » Post

Update! Version 1.1.3 released

Changelog:
- Fixed crash caused by spawning control
- Prevent the mobs flood once and for all (confirmation request)
- Drop items aswell when settings define max lifetime (item_entity_ttl)

TG-MyinaWD
Member
Posts: 356
Joined: Thu May 08, 2014 21:22
GitHub: Maddie-Myina
IRC: Maddie-Myina
In-game: .
Location: Far Eden

Re: [Mod] Creatures [1.1.3 beta] [creatures]

by TG-MyinaWD » Post

Hey BlockMen I am making a game mode and was wondering how do, I make the Zombies don't die when it come day.

Since I am making a Horror game. well I got loads of ideas for it. but all I can say the theme of the, place is B&W.
No color at all. Just Black and White. same for the player skin. And I liked have zombies so I was wondering how I make them can spawn in day and don't die.
I'm a Transgender no shame about it.
I prefer to be considered as a "Girl/Lady/Miss/Madam/Female" for now on.

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

Re: [Mod] Creatures [1.1.3 beta] [creatures]

by BlockMen » Post

Alt. Tester wrote:Hey BlockMen I am making a game mode and was wondering how do, I make the Zombies don't die when it come day.

Since I am making a Horror game. well I got loads of ideas for it. but all I can say the theme of the, place is B&W.
No color at all. Just Black and White. same for the player skin. And I liked have zombies so I was wondering how I make them can spawn in day and don't die.
Remove this line: https://github.com/BlockMen/creatures/b ... e.lua#L197 and change "or" in L196 to "then"

User avatar
lipki
Member
Posts: 44
Joined: Mon May 19, 2014 22:57
GitHub: lipki
IRC: likpi
In-game: lipki

Re: [Mod] Creatures [1.1.3 beta] [creatures]

by lipki » Post

Texture guide for sheep.

The muzzle is inverted relative to the rest of the face and legs deforms pixels.
The tail is set on the right side of the abdomen, we can not change it.

Image

vvvvvvvv

Image

^^^^^^^^

example :
Image

User avatar
Desour
Member
Posts: 1469
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [Mod] Creatures [1.1.3 beta] [creatures]

by Desour » Post

BlockMen wrote: Ghosts only spawn at night-time and they don't spawn underground. They are flying in the world and attack you aswell if they notice you.
Ghosts have 15 HP and don't drop any items atm (might be changed if i have an idea what they could drop; suggestions welcome).
let them rarely drop souls
-------------------------------------------------------------------------------------------
s=soul, d=diamond
sss
sds = 1souldiamond
sss
-------------------------------------------------------------------------------------------
d=souldiamond, m=mese_cristal, x=nothing

ddd
xmx =ghostpick {shift*left-click=switch mode [(1=1x1x1blockradius, 2=3x3x1blockradius)for stone/...]}
xmx

ddx
dmx =ghostaxe (treecapitator/chainsaw-effekt)
xmx

xdx
xmx =ghostshovle {shift*left-click=switch mode [(1=1x1x1blockradius, 2=3x3x1blockradius)for dirt/...]}
xmx

ddx
xmx =ghosthoe (hoe makes wet soil)
xmx

xdx
xdx =ghostsword (10 damage and very hight knockback and does not break)
xmx
------------------------------------------------------------------------------------------------------------------------
Last edited by Desour on Thu Sep 04, 2014 13:41, edited 1 time in total.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

varnayskiy
New member
Posts: 5
Joined: Tue Jun 24, 2014 15:13

Re: [Mod] Creatures [1.1.3 beta] [creatures]

by varnayskiy » Post

Why sheeps don't drop meat when die?
I take meat from another mod:

Code: Select all

...
local s2_drop = "mobs:meat_raw"
		if self.object:get_hp() < 1 then
		    creatures.drop(my_pos, {{name=s2_drop, count=math.random(0,1)}}, dir)
And i was dissapoint, that zombies don't activate pressure plates from messecons.
Sorry for my english. Thanks for the nice mod.

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

Re: [Mod] Creatures [1.1.3 beta] [creatures]

by JPRuehmann » Post

Hello
Since Yesterday creatures is not working anymore.
If I only enable it in a normal minetest game I get the following screen.
Pink screen and only one inventory Field. I am using the latest Version of the Mod and of Minetest (github) to.
There is no error message for it in the Terminal or the Log File.
How can I get it back to work?
Thanks,
JPR
Pink Screen with defective Inventory Bar.
Pink Screen with defective Inventory Bar.
Bildschirmfoto5.png (977.43 KiB) Viewed 2067 times

Jordach
Member
Posts: 4534
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach
Location: Blender Scene

Re: [Mod] Creatures [1.1.3 beta] [creatures]

by Jordach » Post

JPRuehmann wrote:Hello
Since Yesterday creatures is not working anymore.
If I only enable it in a normal minetest game I get the following screen.
Pink screen and only one inventory Field. I am using the latest Version of the Mod and of Minetest (github) to.
There is no error message for it in the Terminal or the Log File.
How can I get it back to work?
Thanks,
JPR
Bildschirmfoto5.png
You've installed MirceaKitsune's creatures mod. Remove it.

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

Re: [Mod] Creatures [1.1.3 beta] [creatures]

by JPRuehmann » Post

Thanks
That helped,
JPR

Ragnar
Member
Posts: 849
Joined: Thu Oct 25, 2012 15:19
Location: Estonia
Contact:

Re: [Mod] Creatures [1.1.3 beta] [creatures]

by Ragnar » Post

BlockMen wrote:Hello everyone,

this mod adds 2 hostile and 1 friendly mob to Minetest, so far zombies, ghosts and sheeps.
Sheep*

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

Re: [Mod] Creatures [1.1.3 beta] [creatures]

by BlockMen » Post

Ragnar wrote:
BlockMen wrote:Hello everyone,

this mod adds 2 hostile and 1 friendly mob to Minetest, so far zombies, ghosts and sheeps.
Sheep*
Changed

freejack
Member
Posts: 72
Joined: Wed Jan 08, 2014 06:37

Re: [Mod] Creatures [1.1.3 beta] [creatures]

by freejack » Post

Is this the flood you have said is fixed ?

22:32:34: ACTION[ServerThread]: Spawned creatures:zombie at (-319,-19,302)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-396,17,210)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-395,16,211)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-395,17,208)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-394,16,209)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-393,16,211)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-392,15,211)
22:33:42: ACTION[ServerThread]: Spawned creatures:zombie at (-391,14,216)
22:33:42: ACTION[ServerThread]: Spawned creatures:zombie at (-391,15,211)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-391,15,212)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-390,14,216)
22:33:42: ACTION[ServerThread]: Spawned creatures:zombie at (-388,13,211)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-388,14,209)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-386,12,216)
22:33:42: ACTION[ServerThread]: Spawned creatures:zombie at (-385,12,208)
22:33:42: ACTION[ServerThread]: Spawned creatures:zombie at (-385,12,210)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-384,12,218)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-383,12,218)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-382,12,221)
22:33:42: ACTION[ServerThread]: Spawned creatures:zombie at (-381,12,210)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-381,12,214)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-380,12,209)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-380,12,223)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-379,12,211)
22:33:42: ACTION[ServerThread]: Spawned creatures:zombie at (-378,12,208)
22:33:42: ACTION[ServerThread]: Spawned creatures:zombie at (-378,12,210)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-378,12,220)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-377,13,213)
22:33:42: ACTION[ServerThread]: Spawned creatures:zombie at (-376,12,209)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-375,13,208)
22:33:42: ACTION[ServerThread]: Spawned creatures:zombie at (-375,13,210)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-374,13,213)
22:33:42: ACTION[ServerThread]: Spawned creatures:zombie at (-371,13,210)
22:33:42: ACTION[ServerThread]: Spawned creatures:zombie at (-370,13,209)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-370,13,211)
22:33:42: ACTION[ServerThread]: Spawned creatures:zombie at (-396,17,211)
22:33:42: ACTION[ServerThread]: Spawned creatures:zombie at (-395,17,209)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-392,15,210)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-391,14,216)
22:33:42: ACTION[ServerThread]: Spawned creatures:zombie at (-390,14,212)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-388,13,215)
22:33:42: ACTION[ServerThread]: Spawned creatures:zombie at (-386,13,210)
22:33:42: ACTION[ServerThread]: Spawned creatures:zombie at (-384,12,210)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-382,12,213)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-381,12,213)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-380,12,220)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-379,12,219)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-378,12,217)
22:33:42: ACTION[ServerThread]: Spawned creatures:zombie at (-376,12,208)
22:33:42: ACTION[ServerThread]: Spawned creatures:ghost at (-375,13,209)
22:33:42: ACTION[ServerThread]: Spawned creatures:zombie at (-372,13,211)
22:33:42: ACTION[ServerThread]: Spawned creatures:zombie at (-370,13,210)
22:33:43: ACTION[ServerThread]: Spawned creatures:zombie at (-397,17,208)
22:33:43: ACTION[ServerThread]: Spawned creatures:zombie at (-394,16,212)
22:33:44: ACTION[ServerThread]: Spawned creatures:zombie at (-408,-22,234)
22:33:44: ACTION[ServerThread]: Spawned creatures:zombie at (-405,-23,238)
22:33:44: ACTION[ServerThread]: Spawned creatures:zombie at (-401,-19,233)
22:33:44: ACTION[ServerThread]: Spawned creatures:zombie at (-413,-30,217)
22:33:44: ACTION[ServerThread]: Spawned creatures:zombie at (-410,-30,213)
22:33:44: ACTION[ServerThread]: Spawned creatures:zombie at (-415,-27,235)
22:33:44: ACTION[ServerThread]: Spawned creatures:zombie at (-406,-23,238)
22:33:44: ACTION[ServerThread]: Spawned creatures:zombie at (-412,-29,211)
22:33:44: ACTION[ServerThread]: Spawned creatures:zombie at (-409,-23,234)
22:33:44: ACTION[ServerThread]: Freejack right-clicks object 15076: LuaEntitySAO at (-371.1,7.51,242.1)
22:33:44: ACTION[ServerThread]: Spawned creatures:zombie at (-403,-23,237)
22:33:45: ACTION[ServerThread]: Spawned creatures:zombie at (-403,-30,211)


This is my first time using creatures, granted it does not stop the server like mobs does. I have tweaked it a bit:

-- Max number of mobs per mapblock
creatures.zombie_max = 1
creatures.ghost_max = 1
creatures.sheep_max = 2


I have also noticed it doing it with the farming mod so I am not sure where the issue is where it floods like this.....


Well my edit didn't go so well and all I changed was the part I showed...... now I get this:

23:16:16: ERROR[main]: ========== ERROR FROM LUA ===========
23:16:16: ERROR[main]: Failed to load and run script from
23:16:16: ERROR[main]: /home/dtruesdale/.minetest/mods/creatures/init.lua:
23:16:16: ERROR[main]: /home/dtruesdale/.minetest/mods/creatures/init.lua:147: '=' expected near '<eof>'
23:16:16: ERROR[main]: ======= END OF ERROR FROM LUA ========
23:16:16: ERROR[main]: Server: Failed to load and run /home/dtruesdale/.minetest/mods/creatures/init.lua
23:16:16: ERROR[main]: ERROR: An unhandled exception occurred: ModError: Failed to load and run /home/dtruesdale/.minetest/mods/creatures/init.lua

freejack
Member
Posts: 72
Joined: Wed Jan 08, 2014 06:37

Re: [Mod] Creatures [1.1.3 beta] [creatures]

by freejack » Post

ok edited in nano fixed the init.lau error

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

Re: [Mod] Creatures [1.1.4 beta] [creatures]

by BlockMen » Post

Update! Version 1.1.4 released

Changelog:
- Fixed mobs flood (yes, really! tested on Meowtest server)
- Sheep drop raw flesh on death
- Sheep are not stuck that often in valleys; spawning less
- Improved jumping of zombies and sheep

falsegrayburger
Member
Posts: 158
Joined: Sat Aug 03, 2013 15:16
In-game: naro

Re: [Mod] Creatures [1.1.4 beta] [creatures]

by falsegrayburger » Post

i have one ghost drop idea
she drop 1-3 "soul shard"
2 soul shard for one soul stick
9 soul shard for one soul gem

soul stick + soul gem =iron class soulgem tools

User avatar
Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

Re: [Mod] Creatures [1.1.4 beta] [creatures]

by Minetestforfun » Post

Thank you for your work !
Last edited by Minetestforfun on Tue Sep 02, 2014 20:21, edited 1 time in total.

shaheerziya
Member
Posts: 51
Joined: Sat Dec 07, 2013 06:57
Location: Pakistan

Re: [Mod] Creatures [1.1.4 beta] [creatures]

by shaheerziya » Post

How about ghosts having a chance of 1/32 of dropping a gold nugget
??

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

Re: [Mod] Creatures [1.1.4 beta] [creatures]

by Calinou » Post

shaheerziya wrote:How about ghosts having a chance of 1/32 of dropping a gold nugget
??
Just make every ghost drop a Mese crystal fragment, don't be into Minecraft-like silly randomness.

User avatar
Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

Re: [Mod] Creatures [1.1.4 beta] [creatures]

by Minetestforfun » Post

Your code is very strange, every other mobs mod has a simple and easy reading, your code is very different...
I use your mod in part, it works perfectly, but i want changes a lot of things like monster hp / damage / drop, can you explain me where is the lines for make these changes ?

varnayskiy
New member
Posts: 5
Joined: Tue Jun 24, 2014 15:13

Re:

by varnayskiy » Post

RHR wrote:Nice mod! It makes lot's of fun to play!

Here are some suggestions:
Raw rotten flesh should harm you and cooked rotten flesh should give you HP back.
I think you partially right :)
I have changed items.lua, and rotten flesh now harm player a little bit:

Code: Select all

minetest.register_craftitem("creatures:rotten_flesh", {
	description = "Rotten Flesh",
	inventory_image = "creatures_rotten_flesh.png",
	on_use = minetest.item_eat(-3),
})

alcipri
Member
Posts: 15
Joined: Sat Apr 12, 2014 15:27

Re: [Mod] Creatures [1.1.4 beta] [creatures]

by alcipri » Post

Can you include a spider in your mod? You can get it from Spider mod viewtopic.php?f=11&t=10045

User avatar
rubberduck
Member
Posts: 505
Joined: Thu Feb 27, 2014 19:19
IRC: rbduck
In-game: rubberduck
Location: error 404 - location not found
Contact:

Re: [Mod] Creatures [1.1.4 beta] [creatures]

by rubberduck » Post

or add some cows, they should give you milk that you can drink...

and what about a setting file where you can enable/disable every creature (so you can play with zombies, but without ghosts), another idea is to change rarity of each creature.

i have one question too, does this mod slow down the game???, because i heard that some creature mods make the game much slower.

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

Re: [Mod] Creatures [1.1.4 beta] [creatures]

by BlockMen » Post

varnayskiy wrote:
RHR wrote:Nice mod! It makes lot's of fun to play!

Here are some suggestions:
Raw rotten flesh should harm you and cooked rotten flesh should give you HP back.
I think you partially right :)
I have changed items.lua, and rotten flesh now harm player a little bit:

Code: Select all

minetest.register_craftitem("creatures:rotten_flesh", {
	description = "Rotten Flesh",
	inventory_image = "creatures_rotten_flesh.png",
	on_use = minetest.item_eat(-3),
})
Your code makes the rotten flesh useless at all. Best solution is when using the hunger (by my hud/hunger mod). Then you get some satuaration and damage/poisen aswell.
alcipri wrote:Can you include a spider in your mod? You can get it from Spider mod viewtopic.php?f=11&t=10045
What would be a good reason to add it to this mod instead using the linked?
rubberduck wrote:or add some cows, they should give you milk that you can drink...

and what about a setting file where you can enable/disable every creature (so you can play with zombies, but without ghosts), another idea is to change rarity of each creature.

i have one question too, does this mod slow down the game???, because i heard that some creature mods make the game much slower.
Cows would be nice to add, but I'm currently short of time. In general new mobs will be some kind of modular, idk in what way exactly. And yes, every mob mod slows down a server/game. Idk if this does more than other, at least no-one told me that yet.

User avatar
SAMIAMNOT
Member
Posts: 416
Joined: Wed Sep 03, 2014 00:51
In-game: notanewbie
Location: Desert

Re: [Mod] Creatures [1.1.4 beta] [creatures]

by SAMIAMNOT » Post

Zombies arent spawning...:/ do they only spawn in survival *ahem* adventure mode?
EDIT 1: Neither are sheep or any mobs.
Also can you PLEASE add Villagers that spawn randomly?
I test mines.

Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests