[MOD] Petz (petz) [mobs_redo|mobkit] (v5.16)

Termos
Member
 
Posts: 260
Joined: Sun Dec 16, 2018 12:50

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.7)

by Termos » Sun Nov 10, 2019 18:36

Red_King_Cyclops wrote:Why does Santa Claus want to kill me? I thought giving out coal was the worst thing he could do.

You must have been naughty.
 

User avatar
runs
Member
 
Posts: 926
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy
 

User avatar
Imk
Member
 
Posts: 243
Joined: Mon Nov 05, 2018 19:15
Location: Crimea, Russia
In-game: Imk

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.7)

by Imk » Sun Nov 10, 2019 20:05

petz-5.6 (6.11.2019) mobkit (8.11.2019)
Code: Select all
2019-11-10 20:46:55: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '' in callback item_OnUse(): /home/imk/minetest/bin/../mods/protector/init.lua:228: bad argument #1 to 'chat_send_player' (string expected, got userdata)
2019-11-10 20:46:55: ERROR[Main]: stack traceback:
2019-11-10 20:46:55: ERROR[Main]:       [C]: in function 'chat_send_player'
2019-11-10 20:46:55: ERROR[Main]:       /home/imk/minetest/bin/../mods/protector/init.lua:228: in function 'can_dig'
2019-11-10 20:46:55: ERROR[Main]:       /home/imk/minetest/bin/../mods/protector/init.lua:277: in function 'is_protected'
2019-11-10 20:46:55: ERROR[Main]:       ...me/imk/minetest/bin/../mods/petz/petz/misc/nodes.lua:63: in function <...me/imk/minetest/bin/../mods/petz/petz/misc/nodes.lua:57>
 

User avatar
runs
Member
 
Posts: 926
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy
 

User avatar
runs
Member
 
Posts: 926
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.7)

by runs » Sun Nov 10, 2019 21:13

Imk wrote:petz-5.6 (6.11.2019) mobkit (8.11.2019)
Code: Select all
2019-11-10 20:46:55: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '' in callback item_OnUse(): /home/imk/minetest/bin/../mods/protector/init.lua:228: bad argument #1 to 'chat_send_player' (string expected, got userdata)
2019-11-10 20:46:55: ERROR[Main]: stack traceback:
2019-11-10 20:46:55: ERROR[Main]:       [C]: in function 'chat_send_player'
2019-11-10 20:46:55: ERROR[Main]:       /home/imk/minetest/bin/../mods/protector/init.lua:228: in function 'can_dig'
2019-11-10 20:46:55: ERROR[Main]:       /home/imk/minetest/bin/../mods/protector/init.lua:277: in function 'is_protected'
2019-11-10 20:46:55: ERROR[Main]:       ...me/imk/minetest/bin/../mods/petz/petz/misc/nodes.lua:63: in function <...me/imk/minetest/bin/../mods/petz/petz/misc/nodes.lua:57>


When put a kennel in a protected area and protector mod installed.
Fixed.
 

User avatar
Imk
Member
 
Posts: 243
Joined: Mon Nov 05, 2018 19:15
Location: Crimea, Russia
In-game: Imk
 

User avatar
runs
Member
 
Posts: 926
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy
 

User avatar
Imk
Member
 
Posts: 243
Joined: Mon Nov 05, 2018 19:15
Location: Crimea, Russia
In-game: Imk
 

User avatar
runs
Member
 
Posts: 926
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.9)

by runs » Sat Nov 16, 2019 21:06

v5.10
- Fixed?: Pigeons fly too high and with no limit.
- Russian translation updated.
 

User avatar
runs
Member
 
Posts: 926
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.10)

by runs » Sat Nov 16, 2019 22:20

v5.11
- Fixed: Proper follow behaviour for flying mobs. No more follow on ground, but flying.
 

User avatar
Imk
Member
 
Posts: 243
Joined: Mon Nov 05, 2018 19:15
Location: Crimea, Russia
In-game: Imk

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.11)

by Imk » Sun Nov 17, 2019 03:27

A thank-you note, poor pigeons ))

locale rus v5.11


Can do that?
If there are more than two wolves around
Attacked the player
Like they're in packs, so they attack
Attachments
petz.ru_5.11.zip
(3.35 KiB) Downloaded 7 times
 

User avatar
Imk
Member
 
Posts: 243
Joined: Mon Nov 05, 2018 19:15
Location: Crimea, Russia
In-game: Imk

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.11)

by Imk » Sun Nov 17, 2019 09:31

Code: Select all
2019-11-17 09:05:52: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'petz' in callback luaentity_Step(): /home/imk/minetest/bin/../mods/mobkit/init.lua:120: Invalid float vector dimension range 'y' (expected -2.14748e+06 < y < 2.14748e+06 got nan).
2019-11-17 09:05:52: ERROR[Main]: stack traceback:
2019-11-17 09:05:52: ERROR[Main]:       [C]: in function 'set_acceleration'
2019-11-17 09:05:52: ERROR[Main]:       /home/imk/minetest/bin/../mods/mobkit/init.lua:120: in function 'set_acceleration'
2019-11-17 09:05:52: ERROR[Main]:       /home/imk/minetest/bin/../mods/mobkit/init.lua:828: in function 'physics'
2019-11-17 09:05:52: ERROR[Main]:       /home/imk/minetest/bin/../mods/mobkit/init.lua:936: in function 'stepfunc'
2019-11-17 09:05:52: ERROR[Main]:       ...inetest/bin/../mods/petz/petz/petz/pigeon_mobkit.lua:82: in function <...inetest/bin/../mods/petz/petz/petz/pigeon_mobkit.lua:81>

v 5.11 (

I'm gonna turn them off for the time being.
pigeon_spawn = false
 

User avatar
runs
Member
 
Posts: 926
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.11)

by runs » Sun Nov 17, 2019 10:36

v5.12
- Fixed: Removed duplicated functions for flying behaviours.
- Wolves: Now they attack when in a pack or are hit.
 

User avatar
runs
Member
 
Posts: 926
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.11)

by runs » Sun Nov 17, 2019 10:38

Imk wrote:
Code: Select all
2019-11-17 09:05:52: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'petz' in callback luaentity_Step(): /home/imk/minetest/bin/../mods/mobkit/init.lua:120: Invalid float vector dimension range 'y' (expected -2.14748e+06 < y < 2.14748e+06 got nan).
2019-11-17 09:05:52: ERROR[Main]: stack traceback:
2019-11-17 09:05:52: ERROR[Main]:       [C]: in function 'set_acceleration'
2019-11-17 09:05:52: ERROR[Main]:       /home/imk/minetest/bin/../mods/mobkit/init.lua:120: in function 'set_acceleration'
2019-11-17 09:05:52: ERROR[Main]:       /home/imk/minetest/bin/../mods/mobkit/init.lua:828: in function 'physics'
2019-11-17 09:05:52: ERROR[Main]:       /home/imk/minetest/bin/../mods/mobkit/init.lua:936: in function 'stepfunc'
2019-11-17 09:05:52: ERROR[Main]:       ...inetest/bin/../mods/petz/petz/petz/pigeon_mobkit.lua:82: in function <...inetest/bin/../mods/petz/petz/petz/pigeon_mobkit.lua:81>

v 5.11 (

I'm gonna turn them off for the time being.
pigeon_spawn = false


No, please, check the version 5.12.
 

User avatar
runs
Member
 
Posts: 926
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.11)

by runs » Sun Nov 17, 2019 11:00

lmk if still crashes the workaround is to tweak the mobkit "init.lua":

Add to the line 119 that it should be empty:

Code: Select all
if minetest.is_nan(vec.y) then return end


so the function would be:
Code: Select all
function mobkit.set_acceleration(thing,vec,limit)
   limit = limit or 100
   if type(thing) == 'table' then thing=thing.object end
   vec.x=mobkit.minmax(vec.x,limit)
   vec.y=mobkit.minmax(vec.y,limit)
   vec.z=mobkit.minmax(vec.z,limit)
   if minetest.is_nan(vec.y) then return end
   thing:set_acceleration(vec)
end


This will not solve the issue but the server will not crash ever.
 

User avatar
Imk
Member
 
Posts: 243
Joined: Mon Nov 05, 2018 19:15
Location: Crimea, Russia
In-game: Imk

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.12)

by Imk » Sun Nov 17, 2019 11:56

Code: Select all
[b]2019-11-17 14:35:31: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'petz' in callback luaentity_Step(): /home/imk/minetest/bin/../mods/mobkit/init.lua:120: Invalid float vector dimension range 'y' (expected -2.14748e+06 < y < 2.14748e+06 got nan).
2019-11-17 14:35:31: ERROR[Main]: stack traceback:
2019-11-17 14:35:31: ERROR[Main]:       [C]: in function 'set_acceleration'
2019-11-17 14:35:31: ERROR[Main]:       /home/imk/minetest/bin/../mods/mobkit/init.lua:120: in function 'set_acceleration'
2019-11-17 14:35:31: ERROR[Main]:       /home/imk/minetest/bin/../mods/mobkit/init.lua:828: in function 'physics'
2019-11-17 14:35:31: ERROR[Main]:       /home/imk/minetest/bin/../mods/mobkit/init.lua:936: in function 'stepfunc'
2019-11-17 14:35:31: ERROR[Main]:       ...inetest/bin/../mods/petz/petz/petz/pigeon_mobkit.lua:82: in function <...inetest/bin/../mods/petz/petz/petz/pigeon_mobkit.lua:81>[/b]

very strangely
with the pigeons off.
Last edited by Imk on Sun Nov 17, 2019 12:52, edited 1 time in total.
 

Termos
Member
 
Posts: 260
Joined: Sun Dec 16, 2018 12:50

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.12)

by Termos » Sun Nov 17, 2019 12:34

Please try today's mobkit update and let me know if it helped.
 

User avatar
Imk
Member
 
Posts: 243
Joined: Mon Nov 05, 2018 19:15
Location: Crimea, Russia
In-game: Imk

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.12)

by Imk » Sun Nov 17, 2019 12:52

Runs Internet lag Didn't see the message right away.
- Wolves: Now they attack when in a pack or are hit.

very well

Termos, ок

update: mobkit-191117, petz-5.12
 

User avatar
runs
Member
 
Posts: 926
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.12)

by runs » Sun Nov 17, 2019 14:00

Imk wrote:
Code: Select all
[b]2019-11-17 14:35:31: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'petz' in callback luaentity_Step(): /home/imk/minetest/bin/../mods/mobkit/init.lua:120: Invalid float vector dimension range 'y' (expected -2.14748e+06 < y < 2.14748e+06 got nan).
2019-11-17 14:35:31: ERROR[Main]: stack traceback:
2019-11-17 14:35:31: ERROR[Main]:       [C]: in function 'set_acceleration'
2019-11-17 14:35:31: ERROR[Main]:       /home/imk/minetest/bin/../mods/mobkit/init.lua:120: in function 'set_acceleration'
2019-11-17 14:35:31: ERROR[Main]:       /home/imk/minetest/bin/../mods/mobkit/init.lua:828: in function 'physics'
2019-11-17 14:35:31: ERROR[Main]:       /home/imk/minetest/bin/../mods/mobkit/init.lua:936: in function 'stepfunc'
2019-11-17 14:35:31: ERROR[Main]:       ...inetest/bin/../mods/petz/petz/petz/pigeon_mobkit.lua:82: in function <...inetest/bin/../mods/petz/petz/petz/pigeon_mobkit.lua:81>[/b]

very strangely
with the pigeons off.


Not pigeons off, but no spawn.

If already exists pigeons in the world the issue is still there. You should to kill them :-)
 

User avatar
Melkor
Member
 
Posts: 328
Joined: Sat Sep 24, 2011 01:03
Location: Underground
 

User avatar
runs
Member
 
Posts: 926
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy
 

User avatar
Imk
Member
 
Posts: 243
Joined: Mon Nov 05, 2018 19:15
Location: Crimea, Russia
In-game: Imk
 

User avatar
runs
Member
 
Posts: 926
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.12)

by runs » Mon Nov 25, 2019 11:56

Imk wrote:mobkit-191117, petz-5.12
there's no mistake :)
Eight days.


Fine. So I await for the Christmas Update to be released to avoid introduce new bugs.
 

Bread
Member
 
Posts: 22
Joined: Tue Mar 17, 2015 14:29

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.12)

by Bread » Wed Nov 27, 2019 13:10

I have not seen Lion or Elephant in Minetest Game 5.1.0 world.
I think it is because there are no "default:dirt_with_dry_grass" in Minetest Game 5.1.0 world.
 

User avatar
runs
Member
 
Posts: 926
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.12)

by runs » Wed Nov 27, 2019 17:04

Bread wrote:I have not seen Lion or Elephant in Minetest Game 5.1.0 world.
I think it is because there are no "default:dirt_with_dry_grass" in Minetest Game 5.1.0 world.


You're right.
 

PreviousNext

Return to WIP Mods



Who is online

Users browsing this forum: MSN [Bot] and 4 guests