Connecting to a server without the actual client

Post Reply
The_Blank
New member
Posts: 4
Joined: Tue Oct 20, 2020 14:48
GitHub: muhymenulhaque
In-game: The_Blank

Connecting to a server without the actual client

by The_Blank » Post

I am aiming to connect to minetest servers without actually having the client itself. Its because minetest objects like machines and robots remain inactive when there is no player near it. So I want to make a bot which can connect to the server and act as a user to keep the machines running. I think a TCP and UDP connection would be enough to accomplish this but I dont know what it sends and how it encrypts the data it sends. Since minetest is a open source project, I thought it wouldn't be wrong to get answer to this.
Now, what are the things that the client sends to the server and what can I do to keep the player act as active?

User avatar
Linuxdirk
Member
Posts: 3217
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: Connecting to a server without the actual client

by Linuxdirk » Post

The_Blank wrote:
Tue Oct 20, 2020 14:58
I am aiming to connect to minetest servers without actually having the client itself. Its because minetest objects like machines and robots remain inactive when there is no player near it.
Why not simply use the “world anchor” provided by the technic mod?

https://github.com/minetest-mods/techni ... rld-anchor

The_Blank
New member
Posts: 4
Joined: Tue Oct 20, 2020 14:48
GitHub: muhymenulhaque
In-game: The_Blank

Re: Connecting to a server without the actual client

by The_Blank » Post

Linuxdirk wrote:
Tue Oct 20, 2020 15:03
The_Blank wrote:
Tue Oct 20, 2020 14:58
I am aiming to connect to minetest servers without actually having the client itself. Its because minetest objects like machines and robots remain inactive when there is no player near it.
Why not simply use the “world anchor” provided by the technic mod?

https://github.com/minetest-mods/techni ... rld-anchor
You are right Linuxdirl. But if only the admin do that for me. Let me give it a try and see of the admins of the server I play in really give me a world anchor or not.
Also if I keep a blinky plant close to a active player then even if the machines connected to it are far, will the machines keep working?

The_Blank
New member
Posts: 4
Joined: Tue Oct 20, 2020 14:48
GitHub: muhymenulhaque
In-game: The_Blank

Re: Connecting to a server without the actual client

by The_Blank » Post

I tried asking the admins buts they wont give me. So that's the only option I see.

User avatar
Yvanhoe
Member
Posts: 140
Joined: Fri Jul 05, 2019 03:18
Location: Japan

Re: Connecting to a server without the actual client

by Yvanhoe » Post

The fact that machines switch off when people are not near them is a feature, not a bug, of the game. It allows server to save their limited resources. World anchors are the solution but if admins refuse them, they probably have their reasons (save resources).

That's an infuriating limitation of minetest as it is now. I wish we could have some cheap ways to have offline simulation going on but right now is it expensive.

What you are trying to achieve is technically possible but I don't recommend doing it.

The_Blank
New member
Posts: 4
Joined: Tue Oct 20, 2020 14:48
GitHub: muhymenulhaque
In-game: The_Blank

Re: Connecting to a server without the actual client

by The_Blank » Post

Ok ...

texnofobix
New member
Posts: 5
Joined: Thu Oct 15, 2020 12:14
GitHub: texnofobix
IRC: texnofobix

Re: Connecting to a server without the actual client

by texnofobix » Post

World anchors don't seem to work for Injectors /blinky plants or at least with my testing.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests