[Mod] Petz [DEPRECATED] [petz]
Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v4.3.5)
v4.3.6
- Beewax candle more stylized.
- Compatibility with the Sailkit Mod Fixed.
- Beewax candle more stylized.
- Compatibility with the Sailkit Mod Fixed.
Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v4.3.5)
I don't think so, I'm afraid this fixes nothing.runs wrote:- Compatibility with the Sailkit Mod Fixed.
What if the original runs after and overwrites your version?
Will you be providing fixes for all mods using mobkit, existing and future?
Would you be happy if somebody distributed a different MT mod called petz and kept overwriting your functions?
You've chosen to make it as difficult as possible for yourself, this is not so much my concern as long as you don't overwrite my stuff. All you need to do is incorporate the modified function into your mod and give it a different name.
But if you'd like to do it properly with orders of magnitude less effort, you can always come over and ask you know ;)
Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v4.3.5)
Don't be angry. :-D It is related to my flying mobs tweaks. If I did, it's because you said your mod was in alpha status. If you say it's usable now, then I'll make my mod dependent on yours.Termos wrote:I don't think so, I'm afraid this fixes nothing.runs wrote:- Compatibility with the Sailkit Mod Fixed.
What if the original runs after and overwrites your version?
Will you be providing fixes for all mods using mobkit, existing and future?
Would you be happy if somebody distributed a different MT mod called petz and kept overwriting your functions?
You've chosen to make it as difficult as possible for yourself, this is not so much my concern as long as you don't overwrite my stuff. All you need to do is incorporate the modified function into your mod and give it a different name.
But if you'd like to do it properly with orders of magnitude less effort, you can always come over and ask you know ;)
Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v4.3.5)
Well, none of that requires using my namespace.runs wrote:It is related to my flying mobs tweaks. If I did, it's because you said your mod was in alpha status.
In fact, you didn't even need to change a single line. Physics comes first for a reason, and all of it can be overriden with a single call to set_acceleration from within your mod, how's that compared to maintaining a whole someone else's mod? You could save yourself a lot of unnecessary work.
Please stop using my namespace ASAP as I asked you before, start with incorporating your modified mobkit.stepfunc into your mod and changing the name, then if you wish come and ask and we'll see about making it better.
Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v4.3.5)
So could you incorporate a flying variable to avoid gravity and friction in your mod?Termos wrote:Well, none of that requires using my namespace.runs wrote:It is related to my flying mobs tweaks. If I did, it's because you said your mod was in alpha status.
In fact, you didn't even need to change a single line. Physics comes first for a reason, and all of it can be overriden with a single call to set_acceleration from within your mod, how's that compared to maintaining a whole someone else's mod? You could save yourself a lot of unnecessary work.
Please stop using my namespace ASAP as I asked you before, start with incorporating your modified mobkit.stepfunc into your mod and changing the name, then if you wish come and ask and we'll see about making it better.
Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v4.3.6)
v5.0
- Customized mobkit version removed from the modpack. Now you should install the mobkit mod at your own as a dependency.
- petz.stepfunc(self,dtime) added.
- Customized mobkit version removed from the modpack. Now you should install the mobkit mod at your own as a dependency.
- petz.stepfunc(self,dtime) added.
Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v4.3.5)
You don't need a variable, just do a set_acceleration({x=0,y=0,z=0}) first thing in brainfunc to disable physics on the mob level, or first thing in a behavior to disable it on the behavior level.runs wrote: So could you incorporate a flying variable to avoid gravity and friction in your mod?
Still, disabling gravity in order to make things fly is not a great idea, it should be counteracted instead, but that's another topic.
I suspect you're trying to use mobkit as you would mobs_redo, while these things aren't even the same category.
When coding for mobkit try to forget redo.
Mobkit is an API, you don't get to modify it directly, instead you use it to develop your own code.
Also forget about flipping switches, these make sense only if you have that blob of code handling all mobs at once. Mobkit is modular, every brain and behavior is a separate function, you don't need switches like self.can_fly whatsoever - a mob can fly if it has a flying behavior defined, that's all.
Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v4.3.5)
Oh, OK. I am doing.Termos wrote:You don't need a variable, just do a set_acceleration({x=0,y=0,z=0}) first thing in brainfunc to disable physics on the mob level, or first thing in a behavior to disable it on the behavior level.runs wrote: So could you incorporate a flying variable to avoid gravity and friction in your mod?
Still, disabling gravity in order to make things fly is not a great idea, it should be counteracted instead, but that's another topic.
I suspect you're trying to use mobkit as you would mobs_redo, while these things aren't even the same category.
When coding for mobkit try to forget redo.
Mobkit is an API, you don't get to modify it directly, instead you use it to develop your own code.
Also forget about flipping switches, these make sense only if you have that blob of code handling all mobs at once. Mobkit is modular, every brain and behavior is a separate function, you don't need switches like self.can_fly whatsoever - a mob can fly if it has a flying behavior defined, that's all.
Can you tell me how to avoid the friction? It is the last step :-)
Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v4.3.5)
You probably don't need to worry about that, friction only works when an entity is inert, any call to set_velocity in a behavior nullifies friction.runs wrote: Can you tell me how to avoid the friction? It is the last step :-)
Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.0)
v5.1
- Migration to default mobkit mod completed. Customized petz.stepfunc removed. Now all petz use the default mobkit.stepfunc function.
From now the mobkit version has to be updated to its last version from the mod source. It is no longer supplied with the default mod Petz.
- Migration to default mobkit mod completed. Customized petz.stepfunc removed. Now all petz use the default mobkit.stepfunc function.
From now the mobkit version has to be updated to its last version from the mod source. It is no longer supplied with the default mod Petz.
Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.1)
petz-v4.3.3
just showed up again today.
just showed up again today.
upgrade to v5.12019-10-25 13:47:54: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Invalid float vector dimension range 'y' (expected -2.14748e+06 < y < 2.14748e+06 got -nan).
2019-10-25 16:13:38: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Invalid float vector dimension range 'y' (expected -2.14748e+06 < y < 2.14748e+06 got -nan).
v5.1 hasn't been corrected!!!petz.es
154,156 repetition Brown
Code: Select all
...
Brown=Marrón
Grey=Gris
Brown=Marrón
...
Last edited by Imk on Fri Oct 25, 2019 13:54, edited 3 times in total.
Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.1)
Yes, the NAN check was introduced in v4.3.5. Upgrade and report.Imk wrote:petz-v4.3.3
just showed up again today.upgrade to v5.12019-10-25 13:47:54: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Invalid float vector dimension range 'y' (expected -2.14748e+06 < y < 2.14748e+06 got -nan).
2019-10-25 16:13:38: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Invalid float vector dimension range 'y' (expected -2.14748e+06 < y < 2.14748e+06 got -nan).
Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.1)
v5.1.1
- Fixed translation.
- Added the Russian translation.
- Fixed translation.
- Added the Russian translation.
Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.1.1)
Please add it to the hat.
for convenience
Depends: mobkit viewtopic.php?f=9&t=22112
I have zombies mod cme and there's also mobkit
the players will be eaten )))))
(I'll keep an eye on the balance, maybe I'll turn it off.)
for convenience
Depends: mobkit viewtopic.php?f=9&t=22112
I have zombies mod cme and there's also mobkit
the players will be eaten )))))
(I'll keep an eye on the balance, maybe I'll turn it off.)
Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.1.1)
I don't understand what you want to say.Imk wrote:Please add it to the hat.
for convenience
Depends: mobkit viewtopic.php?f=9&t=22112
I have zombies mod cme and there's also mobkit
the players will be eaten )))))
(I'll keep an eye on the balance, maybe I'll turn it off.)
Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.1.1)
petz-v5.1 that with the turtle, I guess
Code: Select all
2019-10-25 18:40:21: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'petz' in callback luaentity_Step(): /home/imk/minetest/bin/../mods/mobkit/init.lua:1314: attempt to compare nil with number
2019-10-25 18:40:21: ERROR[Main]: stack traceback:
2019-10-25 18:40:21: ERROR[Main]: /home/imk/minetest/bin/../mods/mobkit/init.lua:1314: in function 'stepfunc'
2019-10-25 18:40:21: ERROR[Main]: ...inetest/bin/../mods/petz/petz/petz/turtle_mobkit.lua:73: in function <...inetest/bin/../mods/petz/petz/petz/turtle_mobkit.lua:72>
Last edited by Imk on Fri Oct 25, 2019 16:28, edited 1 time in total.
Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.1.1)
add a link in the header of your sectionI don't understand what you want to say.
Depends: mobkit
Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.1.1)
petz-v5.1
Code: Select all
2019-10-25 19:32:08: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'petz' in callback luaentity_Step(): /home/imk/minetest/bin/../mods/mobkit/init.lua:1314: attempt to compare nil with number
2019-10-25 19:32:08: ERROR[Main]: stack traceback:
2019-10-25 19:32:08: ERROR[Main]: /home/imk/minetest/bin/../mods/mobkit/init.lua:1314: in function 'stepfunc'
2019-10-25 19:32:08: ERROR[Main]: ...inetest/bin/../mods/petz/petz/petz/beaver_mobkit.lua:80: in function <...inetest/bin/../mods/petz/petz/petz/beaver_mobkit.lua:79>
Code: Select all
2019-10-25 19:49:06: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'petz' in callback luaentity_Step(): /home/imk/minetest/bin/../mods/mobkit/init.lua:1314: attempt to compare nil with number
2019-10-25 19:49:06: ERROR[Main]: stack traceback:
2019-10-25 19:49:06: ERROR[Main]: /home/imk/minetest/bin/../mods/mobkit/init.lua:1314: in function 'stepfunc'
2019-10-25 19:49:06: ERROR[Main]: ...inetest/bin/../mods/petz/petz/petz/turtle_mobkit.lua:73: in function <...inetest/bin/../mods/petz/petz/petz/turtle_mobkit.lua:72>
Code: Select all
2019-10-25 19:53:00: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'petz' in callback luaentity_Step(): /home/imk/minetest/bin/../mods/mobkit/init.lua:1314: attempt to compare nil with number
2019-10-25 19:53:00: ERROR[Main]: stack traceback:
2019-10-25 19:53:00: ERROR[Main]: /home/imk/minetest/bin/../mods/mobkit/init.lua:1314: in function 'stepfunc'
2019-10-25 19:53:00: ERROR[Main]: ...inetest/bin/../mods/petz/petz/petz/turtle_mobkit.lua:73: in function <...inetest/bin/../mods/petz/petz/petz/turtle_mobkit.lua:72>
Code: Select all
2019-10-25 22:25:55: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'petz' in callback luaentity_Step(): /home/imk/minetest/bin/../mods/mobkit/init.lua:1314: attempt to compare nil with number
2019-10-25 22:25:55: ERROR[Main]: stack traceback:
2019-10-25 22:25:55: ERROR[Main]: /home/imk/minetest/bin/../mods/mobkit/init.lua:1314: in function 'stepfunc'
2019-10-25 22:25:55: ERROR[Main]: .../minetest/bin/../mods/petz/petz/petz/frog_mobkit.lua:75: in function <.../minetest/bin/../mods/petz/petz/petz/frog_mobkit.lua:74>
Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.1.1)
What is the line 1314 in your mobkit mod (init.lua)?
Did you delete the old mobkit mod from the petz folder?
Did you delete the old mobkit mod from the petz folder?
Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.1.1)
естественноDid you delete the old mobkit mod from the petz folder?
не убегай сейчас все отвечу на английском
yes, of course.I understand what it means modpack.
mobkit.0.10.32What is the line 1314 in your mobkit mod (init.lua)?
Code: Select all
if self.oxygen <= 0 then self.hp=0 end -- drown
Code: Select all
1306 -- vitals: oxygen
local headnode = mobkit.nodeatpos(mobkit.pos_shift(self.object:get_pos(),{y=self.collisionbox[5]})) -- node at hitbox top
if headnode and headnode.drawtype == 'liquid' then
self.oxygen = self.oxygen - self.dtime
else
self.oxygen = self.lung_capacity
end
1314 if self.oxygen <= 0 then self.hp=0 end -- drown
self:sensefunc()
self:brainfunc()
execute_queues(self)
end
Last edited by Imk on Fri Oct 25, 2019 21:39, edited 1 time in total.
Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.1.1)
That is a very old version. The latest mobkit version is always:
https://github.com/TheTermos/mobkit/archive/master.zip
https://github.com/TheTermos/mobkit/archive/master.zip
Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.1.1)
COMING SOON..
Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.1.1)
Ок )
That's why I asked for a link
viewtopic.php?f=9&t=22112
Previous release:
mobkit.0.10.32.zip
how do I know if it's old or new. Previous ((
thank you runs
I'm gonna try it with her.
https://github.com/TheTermos/mobkit/archive/master.zip
!!!
That's why I asked for a link
viewtopic.php?f=9&t=22112
Previous release:
mobkit.0.10.32.zip
how do I know if it's old or new. Previous ((
thank you runs
I'm gonna try it with her.
https://github.com/TheTermos/mobkit/archive/master.zip
!!!
Imk wrote:add a link in the header of your sectionI don't understand what you want to say.
Depends: mobkit
Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.1.1)
Thank you for the candles)
- Attachments
-
- screenshot_20191026_044008.jpg (183.68 KiB) Viewed 1062 times
Who is online
Users browsing this forum: No registered users and 20 guests