GithubHelp home page GithubHelp logo

3d_armor_flyswim's People

Contributors

panquesito7 avatar sirrobzeroone avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

3d_armor_flyswim's Issues

skinsdb: incompatibility

Swim and fly animations not applied when using: skinsdb.
Still when 'swimming' the head looks the sky (swim is detected).

I still like to be able to change skin so simple-skins seems to be an altenative.

Assignment to undeclared global

2021-03-07 01:23:18: WARNING[Server]: Assignment to undeclared global "n_draw" inside a function at ...t-server/.minetest/mods/3d_armor_flyswim/i_functions.lua:56.

Fly and swim animation wrong offset

I don't know if the player position should be offested on z by +0.5 when flying and swimming, or if it's just related to the models.
Anyway this make terrible camera jumps when getting in and out of water.
When flying it seems ok with player position, quite sure just require offset the model by +0.5

I don't know if you will get this schematic but rotation is now like this "| -> _" when it should be "| -> -"

Oups global variable created

Think this one needs local

--- i_functions.lua
+++ i_functions.lua
@@ -52,6 +52,7 @@
                compare = draw_tl
        end
 
+       local_ndraw
        for k,v in pairs(nodes) do
                n_draw = minetest.registered_nodes[v.name].drawtype
                        for k2,v2 in ipairs(compare) do

Sed fix:
sed -i '55i local_ndraw' i_functions.lua

Nil value crash in crouch_wa

2022-08-13 17:48:06: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod '' in callback environment_Step(): /home/sam/.minetest/mods/3d_arm
or_flyswim/i_functions.lua:107: attempt to index a nil value
2022-08-13 17:48:06: ERROR[Main]: stack traceback:
2022-08-13 17:48:06: ERROR[Main]: .minetest/mods/3d_armor_flyswim/i_functions.lua:107: in function 'crouch_wa'
2022-08-13 17:48:06: ERROR[Main]: .minetest/mods/3d_armor_flyswim/init.lua:142: in function <.minetest/mods/3d_armor_flyswim/
init.lua:130>
2022-08-13 17:48:06: ERROR[Main]: /usr/share/minetest/builtin/game/register.lua:429: in function </usr/share/minetest/builtin/game/register.lua:4
15>

Crash on 5.7.0

Crash when I activate that module:

Nov 12 06:35:10 minetest minetestserver[459786]: 2023-11-12 06:35:10: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod '' in callback environment_Step(): ...minetestsrc/bin/../mods/3d_armor_flyswim/i_functions.lua:106: wrong number of arguments to 'insert'
Nov 12 06:35:10 minetest minetestserver[459786]: 2023-11-12 06:35:10: ERROR[Main]: stack traceback:
Nov 12 06:35:10 minetest minetestserver[459786]: 2023-11-12 06:35:10: ERROR[Main]:         [C]: in function 'insert'
Nov 12 06:35:10 minetest minetestserver[459786]: 2023-11-12 06:35:10: ERROR[Main]:         ...minetestsrc/bin/../mods/3d_armor_flyswim/i_functions.lua:106: in function 'get_node_down_drawtype'
Nov 12 06:35:10 minetest minetestserver[459786]: 2023-11-12 06:35:10: ERROR[Main]:         ...netest/minetestsrc/bin/../mods/3d_armor_flyswim/init.lua:203: in function 'func'
Nov 12 06:35:10 minetest minetestserver[459786]: 2023-11-12 06:35:10: ERROR[Main]:         .../minetestsrc/bin/../builtin/profiler/instrumentation.lua:108: in function 'globalstep'
Nov 12 06:35:10 minetest minetestserver[459786]: 2023-11-12 06:35:10: ERROR[Main]:         ...inetestsrc/bin/../mods/monitoring/builtin/globalstep.lua:32: in function <...inetestsrc/bin/../mods/monitoring/builtin/globalstep.lua:24>
Nov 12 06:35:10 minetest minetestserver[459786]: 2023-11-12 06:35:10: ERROR[Main]:         /opt/minetest/minetestsrc/bin/../builtin/game/register.lua:446: in function </opt/minetest/minetestsrc/bin/../builtin/game/register.lua:432>
Nov 12 06:35:10 minetest systemd[1]: minetestserver.service: Main process exited, code=exited, status=1/FAILURE

Stepping onto unknown node leads to "attempt to index a nil value"

Stepping onto unknown node triggeres it.

AsyncErr: environment_Step: Runtime error from mod '' in callback environment_Step(): .minetest/mods/3d_armor_flyswim/init.lua:117: attempt to index a nil value
stack traceback:
	/mods/3d_armor_flyswim/init.lua:117: in function <.minetest/mods/3d_armor_flyswim/init.lua:106>
	/usr/share/games/minetest/builtin/game/register.lua:429: in function </usr/share/games/minetest/builtin/game/register.lua:413>
stack traceback:

Elbows and Knees

It would be interesting to include animations of elbows and knees to use in the rpg, the game would be more dynamic!

Player Crouch Bug

If the player is on shift and stays in the corner of the block, undoes the crouching animation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.