Git Product home page Git Product logo

minetest-cloaking's People

Contributors

luk3yx avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

minetest-cloaking's Issues

Error when using /cloak name

AsyncErr: Lua: Runtime error from mod 'i3' in callback environment_Step(): (load):27: core.check_player_privs expects a player or playername as argument. stack traceback: [C]: in function 'error' ...nloads\minetest-5.7.0-win64\bin\..\builtin\game\misc.lua:23: in function 'check_player_privs' (load):27: in function 'is_creative_enabled' (load):1392: in function 'hide_items' (load):1534: in function 'get_items_fs' (load):1774: in function 'make_fs' (load):177: in function 'func' ...ads\minetest-5.7.0-win64\bin\..\builtin\common\after.lua:20: in function <...ads\minetest-5.7.0-win64\bin\..\builtin\common\after.lua:5> ...ds\minetest-5.7.0-win64\bin\..\builtin\game\register.lua:446: in function <...ds\minetest-5.7.0-win64\bin\..\builtin\game\register.lua:432>

new feature: command to attach to a player

Not 100% sure this is possible w/ everything else cloaking does, but I saw an example of another server where the admin could hide their avatar & attach to another player, to see what they were doing.

Hide the "cloaking" privilege.

A player on BlS just suggested this idea, and it's not so dumb. Would it be possible to hide the fact that a player has the "cloaking" priv when someone issues /privs PLAYERNAME?

Error when invoking cloaking.get_connected_players()

Hi, I got the following error a few times by now, hope you can help in understanding what's going wrong:

2021-08-20 11:51:00: ERROR[Main]: ServerError: AsyncErr: environment_Step: Runtime error from mod 'under_sky' in callback environment_Step(): ...home/minetest/minetest/bin/../mods/cloaking/core.lua:350: wrong number of arguments to 'insert'
2021-08-20 11:51:00: ERROR[Main]: stack traceback:
2021-08-20 11:51:00: ERROR[Main]:       [C]: in function 'insert'
2021-08-20 11:51:00: ERROR[Main]:       ...home/minetest/minetest/bin/../mods/cloaking/core.lua:350: in function 'get_connected_players'
2021-08-20 11:51:00: ERROR[Main]:       ...ome/minetest/minetest/bin/../mods/under_sky/init.lua:38: in function 'func'
2021-08-20 11:51:00: ERROR[Main]:       ...minetest/bin/../builtin/profiler/instrumentation.lua:106: in function '?'
2021-08-20 11:51:00: ERROR[Main]:       ...e/minetest/minetest/bin/../builtin/game/register.lua:422: in function <...e/minetest/minetest/bin/../builtin/game/register.lua:406>

Some context. The under_sky mod used there is a fork of mine, you can see it here. Basically I just tried to add support for cloaked players to it, by replacing calls to minetest.get_connected_players() with the corresponding API provided by cloaking. This seems to fail sometimes, that is when a cloaked players leaves the game.

Thanks in advance for any help you can give :)

Keep the cloaked state between leave/join

Would it be nice to save the cloaked state in player meta and re-apply it automatically on next join (ofc hiding the join message too) such that we can connect to the server silently. If agreed, perhaps would be the best to have a setting to enable this feature...

Has joined the game

if victim == "singleplayer" then

should be

if victim ~= "singleplayer" then

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.