Comments (3)
The "teleport" button triggers a search for air in a 3x3 flat area around the destination, (player pos +- 2 nodes):
mapserver_mod/bridge/search.lua
Lines 41 to 55 in 52b5c97
I noticed the failures to teleport too and bumped the limit from originally 1 node around the player (ae12aa3)
Do you know how the target area looks like?
Bumping that to a higher value could solve the problem again, maybe 5 nodes?
With the side-effect that someone can end up on the other side of a wall or in vacuum/lava 😉
from mapserver_mod.
Did some testing and realized what the problem was: the code doesn't load the nodes around the target, so of course there's no air there... 😄 I think adding this on line 49 will fix it:
minetest.get_voxel_manip():read_from_map(pos1, pos2)
Also maybe for bones would it be better to teleport the player above them, in case they are in the air?
from mapserver_mod.
the code doesn't load the nodes around the target
ugh, right 👍
Also maybe for bones would it be better to teleport the player above them, in case they are in the air?
good idea, it prevents further death traps if the bones are high up in the air 😄
from mapserver_mod.
Related Issues (11)
- Inconsistent chat message when shops without items found
- Runtime error HOT 1
- issue/crash with non-default games (loria, exile, etc)
- Issue: Does not allow clicking on dead players HOT 1
- [crash] mapserver_mod causes crashloop on EdenLost HOT 2
- Mapserver cause dev Minetest to crash. HOT 6
- `http.fetch` issue HOT 2
- Bug: I can not dig nodes in mineclone
- syntax error
- Cannot create poi for mapserver HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapserver_mod.