Server disallow mobile clients

trainwrecktony
Member
 
Posts: 67
Joined: Sun Jun 08, 2014 05:24
Location: NJ USA
In-game: trainwrecktony

Server disallow mobile clients

by trainwrecktony » Sat Jun 14, 2014 22:45

Is this possible? Is there a specific string to mobile clients and just use some wildcard to block current and future builds?
I ask because first i noticed a player who gave themselves ability to fly and they told me they hit a button on their app to do so. very rogue feature to have.
Second mobile clients take newb to a whole other extreme. On my server they want to all live together since building is "hard"
Server Owner trainwrecktony.serveminecraft.net:30000 irc.freenode.net ##minetest-trainwrecktony
 

Sokomine
Member
 
Posts: 3890
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

Re: Server disallow mobile clients

by Sokomine » Sun Jun 15, 2014 00:25

trainwrecktony wrote:I ask because first i noticed a player who gave themselves ability to fly and they told me they hit a button on their app to do so. very rogue feature to have.

The same can be done with desktop clients. The best way to avoid that might be to place a rule on your rule-board forbidding the usage of such modifications and to get rid of players who continue to fly even after beeing reminded of the rule. There are also some anti-cheat-functions in the engine, but I'm not sure how well they work. In the past. those functions tended to annoy normal players more than those that where cheating.

trainwrecktony wrote:Second mobile clients take newb to a whole other extreme. On my server they want to all live together since building is "hard"

Oh. Wonder why they play at all in such a case. Admittedly building with a tablet or phone *is* hard - I didn't get much success there and have to be very careful not to accidently destroy anything when playing around with it.

Did you install the antiguest/noguest mod? That is useful in order to filter out those players who did not bother to enter a player name and which are still called Guest<random number>. If you want to provide homes for those lazy phone users, you might use my apartment mod. That way, they can have a "home", store their stuff, and, once they collected enough (experience and material), hopefully start building something.
A list of my mods can be found here.
 

trainwrecktony
Member
 
Posts: 67
Joined: Sun Jun 08, 2014 05:24
Location: NJ USA
In-game: trainwrecktony

Re: Server disallow mobile clients

by trainwrecktony » Sun Jun 15, 2014 00:54

i have no bad names mod to block guests and password required
I'm not too keen on building apartments i don't want my server to feel like playing the Sims you been on my server i have monsters, livestock, farming, hunger, there's plenty to do

what about the bandwidth mobile clients use? i see lots of timeouts on join. i'm down to 2173 registered nodes, items and tools. even on my laptop connecting to server via LAN is like 2mins to load. If the mobiles are slower and prone to timeout are they potentially congesting my network?
Server Owner trainwrecktony.serveminecraft.net:30000 irc.freenode.net ##minetest-trainwrecktony
 

CWz
Member
 
Posts: 197
Joined: Tue Dec 24, 2013 17:01
Location: Banana Land
GitHub: chaoswormz
IRC: CWz
In-game: CWz

Re: Server disallow mobile clients

by CWz » Sun Jun 15, 2014 09:08

it's possible to block clients older then 0.4.9 by modifying clientserver.h this requires recompiling.
 

User avatar
TenPlus1
Member
 
Posts: 2628
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: Server disallow mobile clients

by TenPlus1 » Sun Jun 15, 2014 10:20

Add this line to your minetest.conf file, it will stop anyone using an older client than what you are running from signing on to your server:

strict_protocol_version_checking = true
 

User avatar
Krock
Developer
 
Posts: 4393
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: Server disallow mobile clients

by Krock » Sun Jun 15, 2014 12:03

TenPlus1 wrote:Add this line to your minetest.conf file, it will stop anyone using an older client than what you are running from signing on to your server:

strict_protocol_version_checking = true


This only allows 0.4.9-dev versions if your server uses the -dev version.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

CWz
Member
 
Posts: 197
Joined: Tue Dec 24, 2013 17:01
Location: Banana Land
GitHub: chaoswormz
IRC: CWz
In-game: CWz

Re: Server disallow mobile clients

by CWz » Sun Jun 15, 2014 15:01

my suggestion is more flexible it will allow 0.4.9 clients and 0.4.9-dev clients to log in but not anything older.
 

User avatar
Calinou
Moderator
 
Posts: 3156
Joined: Mon Aug 01, 2011 14:26
Location: Troyes, France
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: Server disallow mobile clients

by Calinou » Sun Jun 15, 2014 15:57

There's no anti-flight in the default anti-cheat; a client can be modified to fly at normal speed (or fast speed if fast privilege is granted), pass through walls and floors and receive no fall damage, the anti-cheat will never catch them.

Get some more moderators around to watch players and don't forget to disallow Guest names.

Media downloading is pretty slow unless you use a remote_media server (not trivial to set up, I suggest asking on IRC for details); to fight this, you could compress the mod textures using OptiPNG or similar and remove some additional sounds.
 

User avatar
CraigyDavi
Member
 
Posts: 582
Joined: Sat Aug 10, 2013 13:08
Location: Hampshire, UK
GitHub: davisonio
IRC: davisonio
In-game: CraigyDavi

Re: Server disallow mobile clients

by CraigyDavi » Wed Jun 18, 2014 17:26

trainwrecktony wrote:I ask because first i noticed a player who gave themselves ability to fly and they told me they hit a button on their app to do so. very rogue feature to have.

There's no way they could have done that if you have set anticheat on and have disabled fly priv by default.

My suggestion for developers:
- Merge the pull request by sfan5 which uses minetest.get_system_info
- Make a way to find out system info and then act accordingly with the data

Something like:

minetest.get_system_info
if minetest.get_system_info words contain = Apple/Android/Tablet/Mobile/Phone
minetest.kick_player

It could be done as a mod.
 

User avatar
sfan5
Moderator
 
Posts: 3816
Joined: Wed Aug 24, 2011 09:44
Location: Germany
GitHub: sfan5
IRC: sfan5

Re: Server disallow mobile clients

by sfan5 » Wed Jun 18, 2014 18:32

CraigyDavi wrote:
trainwrecktony wrote:I ask because first i noticed a player who gave themselves ability to fly and they told me they hit a button on their app to do so. very rogue feature to have.

There's no way they could have done that if you have set anticheat on and have disabled fly priv by default.

My suggestion for developers:
- Merge the pull request by sfan5 which uses minetest.get_system_info

This is would not help until the android builds update to a version with the patch included.
CraigyDavi wrote:- Make a way to find out system info and then act accordingly with the data

Something like:

minetest.get_system_info
if minetest.get_system_info words contain = Apple/Android/Tablet/Mobile/Phone
minetest.kick_player

It could be done as a mod.

The sysinfo would look like Linux/3.4.0 armv7l or Darwin/14.0.0 armv7.
It would not be easy to identify an Android device with 100% success rate.
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
Wuzzy
Member
 
Posts: 3628
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: Server disallow mobile clients

by Wuzzy » Thu Jun 19, 2014 19:36

I ask because first i noticed a player who gave themselves ability to fly and they told me they hit a button on their app to do so. very rogue feature to have.

Obviously this is a problem with Minetest itself then.

Why the hell can this stuff be influenced by the client in the first place? You are effectively inviting cheaters to mess around. ;-)

Inventories are server-sided for the same reasons, so why not player velocity?
Obvious downside would be of course more net traffic … :/

I don’t think banning certain clients would work. The server would have to know what kind of client it is dealing with. I wonder how you want to find out, since the server can’t just look into the client software. ;-)
 

trainwrecktony
Member
 
Posts: 67
Joined: Sun Jun 08, 2014 05:24
Location: NJ USA
In-game: trainwrecktony

Re: Server disallow mobile clients

by trainwrecktony » Fri Jun 20, 2014 13:37

Extra info i disabled anitcheat due to moving too fast resetting issue, no users have fly priv, and this was an ipad client.

For now i'm using strict_protocol_version_checking = true , which giving me like no players now. Been a while since i done any compiling used to compile Shareaza SVN and Pidgin SVN regularly so i may look into modifying clientserver.h
Server Owner trainwrecktony.serveminecraft.net:30000 irc.freenode.net ##minetest-trainwrecktony
 

User avatar
Calinou
Moderator
 
Posts: 3156
Joined: Mon Aug 01, 2011 14:26
Location: Troyes, France
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: Server disallow mobile clients

by Calinou » Sun Jun 22, 2014 07:25

Wuzzy wrote:
I ask because first i noticed a player who gave themselves ability to fly and they told me they hit a button on their app to do so. very rogue feature to have.

Inventories are server-sided for the same reasons, so why not player velocity?
Obvious downside would be of course more net traffic … :/


Lag should never be made obvious. By having server-side movement, even if predicted client-side, you make lag obvious for people who don't have low latency connections and you increase server load. “fat client”, “thin server” model is getting increasingly used: notice how recent games move more and more stuff client-side, because these clients are more powerful and made for such calculations.

This would also make cheaters find other ways to cheat.

Fix your community instead: get moderators to sanction cheaters. It's not like these cheats aren't obvious anyway.
 

User avatar
RajMahal
New member
 
Posts: 7
Joined: Wed Jan 16, 2019 20:56

Re: Server disallow mobile clients

by RajMahal » Fri Jan 25, 2019 04:40

___ Will (should) mobil apk/android be able to connect to Windows or Linux servers in future revisions of Minetest. Relocated this FROM another forum.

*in-process*
+ Spoiler
Last edited by RajMahal on Tue May 14, 2019 13:59, edited 66 times in total.
 

User avatar
Festus1965
Member
 
Posts: 933
Joined: Sun Jan 03, 2016 11:58
Location: Thailand - Chiang Mai (+5-6h to MEZ)
In-game: Thomas Explorer

Re: Server disallow mobile clients

by Festus1965 » Fri Jan 25, 2019 21:21

I use very successfully the mod no_guests, where i am able to filter most of this gamer12 and gamer123 (2 or 3 numbers ending) players (what indicates most this mobile apps), using that annoying sometime cheat helping apps (mobile clients)

I got my rules for 2 and 3 following/ending numbers working, and got rid of most of this gamers. No login flooding anymore also.

To avoid loading lag, set better cache settings for ubuntu, and/or keep the spawn loaded with worldanchor, or switchings stations if - so this area is sent out from ram and so faster.
also check minetest.conf some of the network settings, more/less data, also the distance data is sent, low it = less data to transfer - mobile gamers dont see far, so no problem

my rule g is mot used to block them
Code: Select all
["^[A-Za-z]+[0-9][0-9][0-9]+$"]      =   "g) Please choice your own username without 3 numberes. Only Minetest.net App wished here.",
["^[A-Za-z]+[0-9][0-9]+$"]      =   "i) Please choice your own username without 2 numbers. Only Minetest.net App wished here.",


Some understand and take a letter behind or use "-" or "_" before/after numbers - but that people are able to think already, so not too bad yet.
Server: still up, see some gamer - but there is a new 1st important thread "climate change" for me. Something I know since 1992 - had seen the melting glacier in Switzerland.
 

yw05
Member
 
Posts: 114
Joined: Tue May 07, 2019 12:59
Location: linux-forks.de port 30000
IRC: yw05
In-game: ywang

Re: Server disallow mobile clients

by yw05 » Thu Jun 06, 2019 14:18

I currently play on a server with moderators from (almost) all over the world, so most of the time at least one of them is online making sure that users aren't using hacked clients and stuff like that - only a few moderators have fly priv, and temporary fly priv can be given (i.e. you can ask for fly priv if you are building something tall, but a moderator will stay beside you until you finish, and then they revoke it). If they do see someone flying alone that's most likely a cheater.
Huh, why am I still using Minetest 4.x?
 


Return to Feature Discussion



Who is online

Users browsing this forum: No registered users and 6 guests