Page 5 of 15

Re: [mod] water_life - mobs for mobkit[200220][water_life]

Posted: Thu Feb 27, 2020 22:19
by Clyde
Hello Gundul,

Code: Select all

Assignment to undeclared global "under" inside a function at ...est/games/smalltech_game/mods/mp_mobs/water_life/api.lua:572
Throwing from a Testserver and let the Server crash.
MT was the last Dev-Version.

It seems, you define the local Var "under" inside a if-then-else-block. This line is out of the Block and the Var then isn't valid anymore.
You have a Pull-Request for this.

Greetings, Clyde.

Re: [mod] water_life - mobs for mobkit[200220][water_life]

Posted: Thu Feb 27, 2020 23:14
by Clyde

Code: Select all

Undeclared global variable "fast" accessed at ...games/smalltech_game/mods/mp_mobs/water_life/piranha.lua:38
This variable is really undeclared, it comes as Warning.

Greetings, Clyde.

Re: [mod] water_life - mobs for mobkit[200220][water_life]

Posted: Fri Feb 28, 2020 11:47
by Gundul
Clyde wrote:

Code: Select all

Undeclared global variable "fast" accessed at ...games/smalltech_game/mods/mp_mobs/water_life/piranha.lua:38
This variable is really undeclared, it comes as Warning.

Greetings, Clyde.
Hi Clyde,

thanks for PR and info, but I already fixed it yesterday :) Only I had no opportunity to upload because they
are doing works on our hotel's accesspoints. So I was kind of cut off. But it looks like it is done.
the 'fast' and also the 'def' global vars are not really vars. I just forgot the quotes of the animation names.

I will upload as soon as possible, I still have some problems with my vpn, from here.

Re: [mod] water_life - mobs for mobkit[200220][water_life]

Posted: Fri Feb 28, 2020 15:54
by Clyde
Seems you have a really slow internet:
Latest commit c10e647 6 days ago.

But never mind, you are knowing about it and the update will come, don't care ;-).

Greetings, Clyde.

Re: [mod] water_life - mobs for mobkit[200220][water_life]

Posted: Sat Feb 29, 2020 06:03
by Gundul
Clyde wrote:Hello Gundul,

Code: Select all

Assignment to undeclared global "under" inside a function at ...est/games/smalltech_game/mods/mp_mobs/water_life/api.lua:572
Throwing from a Testserver and let the Server crash.
MT was the last Dev-Version.
This can only crash if you have by coincidence an other mod using "under" as global var.
Not very likely but can happen. Usually global vars are like modname.variable if not done by error like here.

Re: [mod] water_life - mobs for mobkit[200220][water_life]

Posted: Sat Feb 29, 2020 22:30
by runs
Hi Gundul, I've checked and I think another variable is global:

line 419: (local) yaw = water_life.get_yaw_to_pos(self,endpos)

And line 396 I am not sure.

Re: [mod] water_life - mobs for mobkit - V010320[water_life]

Posted: Sun Mar 01, 2020 04:52
by Gundul
Update:

thanks to Bastrabun, Clyde and runs for reporting the false global vars.
I checked the log files and I hope I found them all now.
  • - fixed undeclared global vars
    - changed hq_water_attack behavior
    - different other small fixes

Re: [mod] water_life - mobs for mobkit - V010320[water_life]

Posted: Sat Mar 28, 2020 17:18
by Gundul
Update to 280320:
  • - no spawn of sharks near shark buoys
    - fix problem with whales and muddy water
    - clean up code (replace spaces by tabs)

Re: [mod] water_life - mobs for mobkit - V040420[water_life]

Posted: Sat Apr 04, 2020 14:34
by Gundul
update 040420:

- fix api and mob overpopulation
- decrease amount of spawning piranhas

Re: [mod] water_life - mobs for mobkit - V130420[water_life]

Posted: Mon Apr 13, 2020 13:26
by Gundul
Update 130420:

- caught piranhas with bugnet will stay permanently in world when released again
- api adjustments

Re: [mod] water_life - mobs for mobkit - V130420[water_life]

Posted: Tue Apr 14, 2020 05:23
by BlueTangs Rock
Looking back on the older comments here, I noticed that whales and sharks don't have many unique drops, with diamonds seeming to be the current uncommon placeholder drop.

I'm not completely sure if this is the right place to make suggestions for this mod pack, but I'ld like to briefly make a suggestion for the mob drops.

Prehaps the whales could have the chance to drop oil, as long ago whalers would hunt whales for their oil to fuel things such as lamps, even though I believe in real life this only applied to species such as sperm whales, but for the sake of the mod it can be generalized to the whale mob.

Prehaps in the mod, this oil can be fuel for a lantern-like block or item, and/or could be used as furnace fuel.

As for sharks, prehaps they could occasionally drop a few shark teeth, or prehaps once every couple minutes the shark could randomly drop a shark tooth while remaining alive as their real life counterparts often get rid of their old teeth to grow in new ones.

Prehaps the teeth could be used as decoration, could possibly be used to make bonemeal if you and the bonemeal mod creator would like to have a feature that goes across the mods, or the teeth could be used in a weapon or armor set, prehaps the weapon could be a trident or spear if you'd like.

Re: [mod] water_life - mobs for mobkit - V130420[water_life]

Posted: Wed Apr 15, 2020 16:16
by Gundul
BlueTangs Rock wrote:Looking back on the older comments here, I noticed that whales and sharks don't have many unique drops, with diamonds seeming to be the current uncommon placeholder drop.

I'm not completely sure if this is the right place to make suggestions for this mod pack, but I'ld like to briefly make a suggestion for the mob drops.

Prehaps the whales could have the chance to drop oil, as long ago whalers would hunt whales for their oil to fuel things such as lamps, even though I believe in real life this only applied to species such as sperm whales, but for the sake of the mod it can be generalized to the whale mob.

Prehaps in the mod, this oil can be fuel for a lantern-like block or item, and/or could be used as furnace fuel.

As for sharks, prehaps they could occasionally drop a few shark teeth, or prehaps once every couple minutes the shark could randomly drop a shark tooth while remaining alive as their real life counterparts often get rid of their old teeth to grow in new ones.

Prehaps the teeth could be used as decoration, could possibly be used to make bonemeal if you and the bonemeal mod creator would like to have a feature that goes across the mods, or the teeth could be used in a weapon or armor set, prehaps the weapon could be a trident or spear if you'd like.
This is surely the right place to make suggestions. :)
And the idea of whale oil and shark teeth is really worth thinking about.
There is still one problem, I am an awful designer when it comes to painting things.

Whale oil maybe can come in barrels and whale bones were also used to build fences.
Shark teeth could be used to craft arrows and spears, while shark fins can be used for cooking :)

Anyone who can make textures for these ? And it will be part of the next update.

Re: [mod] water_life - mobs for mobkit - V130420[water_life]

Posted: Wed Apr 15, 2020 16:26
by BlueTangs Rock
Gundul wrote: This is surely the right place to make suggestions. :)
And the idea of whale oil and shark teeth is really worth thinking about.
There is still one problem, I am an awful designer when it comes to painting things.

Whale oil maybe can come in barrels and whale bones were also used to build fences.
Shark teeth could be used to craft arrows and spears, while shark fins can be used for cooking :)

Anyone who can make textures for these ? And it will be part of the next update.
Thank you for considering the suggestion,
I could create the textures if you'ld like as for the last couple weeks I've been practicing creating texture sprites with some decent progress, I could send a link to the images when I finish them up.

Re: [mod] water_life - mobs for mobkit - V130420[water_life]

Posted: Thu Apr 16, 2020 04:34
by Gundul
BlueTangs Rock wrote: Thank you for considering the suggestion,
I could create the textures if you'ld like as for the last couple weeks I've been practicing creating texture sprites with some decent progress, I could send a link to the images when I finish them up.
Go ahead :) I am already curious what they will look like.

Re: [mod] water_life - mobs for mobkit - V130420[water_life]

Posted: Thu Apr 16, 2020 06:54
by BlueTangs Rock
Sprite creation update:
I'm half way done with total amount of textures, however it's 2:53 AM, and I have online school tomorrow, so I likely won't be completely finished until tomorrow, but I'm still going in strong on the textures regardless.

Re: [mod] water_life - mobs for mobkit - V130420[water_life]

Posted: Thu Apr 16, 2020 20:36
by Gundul
BlueTangs Rock wrote:Sprite creation update:
I'm half way done with total amount of textures, however it's 2:53 AM, and I have online school tomorrow, so I likely won't be completely finished until tomorrow, but I'm still going in strong on the textures regardless.
Take your time. :) This is no competition of who is the fastest texture painter XD
Only the result is what counts :)

Re: [mod] water_life - mobs for mobkit - V130420[water_life]

Posted: Fri Apr 17, 2020 04:36
by BlueTangs Rock
Gundul wrote:
BlueTangs Rock wrote:Sprite creation update:
I'm half way done with total amount of textures, however it's 2:53 AM, and I have online school tomorrow, so I likely won't be completely finished until tomorrow, but I'm still going in strong on the textures regardless.
Take your time. :) This is no competition of who is the fastest texture painter XD
Only the result is what counts :)
That is true, Lol.

Re: [mod] water_life - mobs for mobkit - V130420[water_life]

Posted: Sun Apr 19, 2020 06:09
by BlueTangs Rock
The textures are complete.
I also created some extra non-shark/whale related item textures in case they're needed in the future which includes:
-Raw and cooked piranha
-Raw and cooked urchin
-Kelp cutting(Raw kelp that could also be used to replant kelp plants) and dried kelp
-Sushi rolls.

Hopefully these extra textures are alright, if not then that's alright as well.

Re: [mod] water_life - mobs for mobkit - V130420[water_life]

Posted: Sun Apr 19, 2020 06:54
by Gundul
BlueTangs Rock wrote:The textures are complete.
I also created some extra non-shark/whale related item textures in case they're needed in the future which includes:
-Raw and cooked piranha
-Raw and cooked urchin
-Kelp cutting(Raw kelp that could also be used to replant kelp plants) and dried kelp
-Sushi rolls.

Hopefully these extra textures are alright, if not then that's alright as well.
Thanks, most of your textures are really pretty, like the lit oil lamp and many others, too.
The cooked piranha is maybe not so. x)
But I will definitely use your shark and whale stuff, also the cooked urchin and spears and
arrows. Only, could you please change the background color to transparent ?
And maybe a barrel for whale oil would be a cool addition. Whales would have to drop
hundreds of oil bottles :D I will then make a recipe where you can make a barrel of oil to 9
bottles.

Re: [mod] water_life - mobs for mobkit - V130420[water_life]

Posted: Sun Apr 19, 2020 07:55
by BlueTangs Rock
Gundul wrote: Thanks, most of your textures are really pretty, like the lit oil lamp and many others, too.
The cooked piranha is maybe not so. x)
But I will definitely use your shark and whale stuff, also the cooked urchin and spears and
arrows. Only, could you please change the background color to transparent ?
And maybe a barrel for whale oil would be a cool addition. Whales would have to drop
hundreds of oil bottles :D I will then make a recipe where you can make a barrel of oil to 9
bottles.
Thank you for your feedback! :D I'll make sure to fix these problems and upload the improved textures on here.

Re: [mod] water_life - mobs for mobkit - V130420[water_life]

Posted: Mon Apr 20, 2020 08:49
by BlueTangs Rock
Texture Creation update: I have now created a Whale oil barrel and redone the texture of the cooked variant of piranha, now the only thing left is to find a way to get transparent backgrounds as Microsoft paint supposedly can't do that, Lol.

Re: [mod] water_life - mobs for mobkit - V130420[water_life]

Posted: Mon Apr 20, 2020 17:41
by Gundul
BlueTangs Rock wrote:Texture Creation update: I have now created a Whale oil barrel and redone the texture of the cooked variant of piranha, now the only thing left is to find a way to get transparent backgrounds as Microsoft paint supposedly can't do that, Lol.
Sry I can't help with windows very much. I do not use it for maybe 20 yrs now :D Only to play a game from time to time. But there are surely other apps available than Microsoft paint, I guess. Google is your friend :)
windows png change background transparent

Re: [mod] water_life - mobs for mobkit - V130420[water_life]

Posted: Mon Apr 20, 2020 18:16
by Termos
Gundul wrote:there are surely other apps available than Microsoft paint, I guess.
like gimp

Re: [mod] water_life - mobs for mobkit - V130420[water_life]

Posted: Tue Apr 21, 2020 02:32
by mexilord
Termos wrote:
Gundul wrote:there are surely other apps available than Microsoft paint, I guess.
like gimp
or krita (i prefer krita)
https://krita.org/en/

Re: [mod] water_life - mobs for mobkit - V130420[water_life]

Posted: Wed Apr 22, 2020 21:10
by BlueTangs Rock
mexilord wrote:
Termos wrote:
Gundul wrote:there are surely other apps available than Microsoft paint, I guess.
like gimp
or krita (i prefer krita)
https://krita.org/en/
Ok, I'll make sure to check it out later. Thank you guys for program suggestions!