[Mod] Free from Android [free_from_andoid]
[Mod] Free from Android [free_from_andoid]
Free from Android
___________________________________________________________________________________________________
Download | Github
Mod protects your server from phone/tablet users with 99% efficiency. How it works?
Each visit the player must enter personal unique password from tooltip and press "enter".
Tested with:
___________________________________________________________________________________________________
Download | Github
Mod protects your server from phone/tablet users with 99% efficiency. How it works?
Each visit the player must enter personal unique password from tooltip and press "enter".
Tested with:
Last edited by bosapara on Wed Jun 12, 2019 06:38, edited 5 times in total.
- TalkLounge
- Member
- Posts: 324
- Joined: Sun Mar 26, 2017 12:42
- GitHub: TalkLounge
- In-game: TalkLounge
- Location: Germany
Re: [Mod] Free from Android [free_from_andoid]
This idea +1
But a method to just block players that don't play minetest would be even better
But a method to just block players that don't play minetest would be even better
Subgames Server: Sky World Subgames German Survival Server: Wildes Land 2 E-Mail: talklounge@yahoo.de
Re: [Mod] Free from Android [free_from_andoid]
Update
_____________________________________________________________
1. Changed formspec design by texmex
2. On join players lost "interact" and "shout" privs while password will not be entered
3. Kick if password is wrong or by the reason of closed formspec
4. Added info about server available for PC users only
_____________________________________________________________
1. Changed formspec design by texmex
2. On join players lost "interact" and "shout" privs while password will not be entered
3. Kick if password is wrong or by the reason of closed formspec
4. Added info about server available for PC users only
Last edited by bosapara on Mon Jun 10, 2019 14:48, edited 1 time in total.
- texmex
- Member
- Posts: 1753
- Joined: Mon Jul 11, 2016 21:08
- GitHub: tacotexmex
- In-game: tacotexmex
Re: [Mod] Free from Android [free_from_andoid]
Yay, now I’m a UI designer.
Re: [Mod] Free from Android [free_from_andoid]
Yep, now it works and looks better.texmex wrote:Yay, now I’m a UI designer.
- Linuxdirk
- Member
- Posts: 3217
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: [Mod] Free from Android [free_from_andoid]
On latest available Android client on Android 9 (Pie) you can simply long-tap the key to show the tooltip.
Re: [Mod] Free from Android [free_from_andoid]
Thanks you for info. I will add tooltip to "enter" button instead of picture.Linuxdirk wrote:On latest available Android client on Android 9 (Pie) you can simply long-tap the key to show the tooltip.
______________________________
Unfortunately password can be opened with long-tap even in 4.17 from any place: fields, buttons or image_buttons
- texmex
- Member
- Posts: 1753
- Joined: Mon Jul 11, 2016 21:08
- GitHub: tacotexmex
- In-game: tacotexmex
Re: [Mod] Free from Android [free_from_andoid]
Darn. Scrap that idea then. Well played, Linuxdirk! :D
Re: [Mod] Free from Android [free_from_andoid]
By the way not all know about long-tap with tooltips. In any way it was good try to block phone users with fake app with advertising.texmex wrote:Darn. Scrap that idea then. Well played, Linuxdirk! :D
- Desour
- Member
- Posts: 1469
- Joined: Thu Jun 19, 2014 19:49
- GitHub: Desour
- IRC: Desour
- In-game: DS
- Location: I'm scared that if this is too exact, I will be unable to use my keyboard.
Re: [Mod] Free from Android [free_from_andoid]
Idea to improve this:
Make the tooltip to a button_exit and require to close the formspec with esc (or with close_on_enter, idk).
Make the tooltip to a button_exit and require to close the formspec with esc (or with close_on_enter, idk).
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)
- sorcerykid
- Member
- Posts: 1841
- Joined: Fri Aug 26, 2016 15:36
- GitHub: sorcerykid
- In-game: Nemo
- Location: Illinois, USA
Re: [Mod] Free from Android [free_from_andoid]
How does this mod distinguish between "fake" apps and the official Minetest app for Android that has no advertising?bosapara wrote:In any way it was good try to block phone users with fake app with advertising.
- Festus1965
- Member
- Posts: 4181
- Joined: Sun Jan 03, 2016 11:58
- GitHub: Festus1965
- In-game: Festus1965 Thomas Thailand Explorer
- Location: Thailand ChiangMai
- Contact:
Re: [Mod] Free from Android [free_from_andoid]
sorcerykid , read first post again:
I agree with this Idea, as I am nearly also sure that low and bad connection users have an bad impact on the hole server.
When I see how the service about settings and other things in the forum this time - I am happy some people like bosapara take action.
Is was not about Game, it is only about too often maybe WiFi using lagging Tab and Phone users general.bosapara wrote:Mod protects your server from phone/tablet users. How it works?
I agree with this Idea, as I am nearly also sure that low and bad connection users have an bad impact on the hole server.
The mod has not to used, so let those server admins which see this impact, shelter their servers and "costumer" and don't focus on something else not meant here.TumeniNodes wrote:I do not blame anyone who wants to keep their server mobile-user-free.
When I see how the service about settings and other things in the forum this time - I am happy some people like bosapara take action.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)
If urgend, you find me in Roblox (as CNXThomas)
Re: [Mod] Free from Android [free_from_andoid]
Main part of phone users 99.9% using fake apps, stats of google store can prove it. There are a lot of reasons to block all phone users besides fake app users.sorcerykid wrote:How does this mod distinguish between "fake" apps and the official Minetest app for Android that has no advertising?
Re: [Mod] Free from Android [free_from_andoid]
Phone users can see tooltip from "button_exit". "Esc" can be repeated too. Not fully understood how can help "close_on_enter" for mod.DS-minetest wrote:Idea to improve this:
Make the tooltip to a button_exit and require to close the formspec with esc (or with close_on_enter, idk).
- Desour
- Member
- Posts: 1469
- Joined: Thu Jun 19, 2014 19:49
- GitHub: Desour
- IRC: Desour
- In-game: DS
- Location: I'm scared that if this is too exact, I will be unable to use my keyboard.
Re: [Mod] Free from Android [free_from_andoid]
You could set field_close_on_enter for your password field. I don't know whether mobile users can trigger the close_on_enter, but maybe they can't.bosapara wrote:Phone users can see tooltip from "button_exit". "Esc" can be repeated too. Not fully understood how can help "close_on_enter" for mod.DS-minetest wrote:Idea to improve this:
Make the tooltip to a button_exit and require to close the formspec with esc (or with close_on_enter, idk).
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)
Re: [Mod] Free from Android [free_from_andoid]
Thanks you for advice.DS-minetest wrote:You could set field_close_on_enter for your password field.
_________________________________________________________
Update
Added "field_close_on_enter" and deleted enter button, it must help with join of PC users only.
- texmex
- Member
- Posts: 1753
- Joined: Mon Jul 11, 2016 21:08
- GitHub: tacotexmex
- In-game: tacotexmex
Re: [Mod] Free from Android [free_from_andoid]
Well, did it? Commence hacking, Linuxdirk.
Bosapara, you need to start adding a license on your code. It's important for it to live on in the future, if nothing else!
Bosapara, you need to start adding a license on your code. It's important for it to live on in the future, if nothing else!
- Linuxdirk
- Member
- Posts: 3217
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: [Mod] Free from Android [free_from_andoid]
Long-tapping the key and lifting the finger now crashes the server.
Code: Select all
2019-06-11 16:03:59: WARNING[Server]: Undeclared global variable "name" accessed at /home/dirk/.minetest/mods/free_from_andoid/init.lua:42
2019-06-11 16:03:59: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'free_from_andoid' in callback on_playerReceiveFields(): /home/dirk/.minetest/mods/free_from_andoid/init.lua:42: bad argument #1 to 'kick_player' (string expected, got nil)
2019-06-11 16:03:59: ERROR[Main]: stack traceback:
2019-06-11 16:03:59: ERROR[Main]: [C]: in function 'kick_player'
2019-06-11 16:03:59: ERROR[Main]: /home/dirk/.minetest/mods/free_from_andoid/init.lua:42: in function </home/dirk/.minetest/mods/free_from_andoid/init.lua:25>
2019-06-11 16:03:59: ERROR[Main]: /usr/share/minetest/builtin/game/register.lua:419: in function </usr/share/minetest/builtin/game/register.lua:399>
Re: [Mod] Free from Android [free_from_andoid]
Possibly, you using 5.0? Mod tested only with 4.16 and 4.17Linuxdirk wrote:Long-tapping the key and lifting the finger now crashes the server.
- Linuxdirk
- Member
- Posts: 3217
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: [Mod] Free from Android [free_from_andoid]
Yeah … but 0.4.x is dead :)
Re: [Mod] Free from Android [free_from_andoid]
We have a lot of servers that using 4.16 / 4.17Linuxdirk wrote:Yeah … but 0.4.x is dead :)
I've updated mod, now it must work with 5.0
- Linuxdirk
- Member
- Posts: 3217
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: [Mod] Free from Android [free_from_andoid]
Jep, works now.
You can still get the password by tapping and holding the key and then sliding away from the key to prevent the untap event to be triggered on the key.
But with Gboard (the Android standard keyboard) there is no way to press enter in the input field. Alternate keyboards with dedicated enter key (or hardware keyboards) might still be able to confirm the dialog. The not so tech-savvy everyday user can’t login though.
You can still get the password by tapping and holding the key and then sliding away from the key to prevent the untap event to be triggered on the key.
But with Gboard (the Android standard keyboard) there is no way to press enter in the input field. Alternate keyboards with dedicated enter key (or hardware keyboards) might still be able to confirm the dialog. The not so tech-savvy everyday user can’t login though.
Re: [Mod] Free from Android [free_from_andoid]
Yep, players can see password (if they know about long-tap), but not all can press enter.Linuxdirk wrote:You can still get the password by tapping and holding the key and then sliding away from the key to prevent the untap event to be triggered on the key.
- Festus1965
- Member
- Posts: 4181
- Joined: Sun Jan 03, 2016 11:58
- GitHub: Festus1965
- In-game: Festus1965 Thomas Thailand Explorer
- Location: Thailand ChiangMai
- Contact:
Re: [Mod] Free from Android [free_from_andoid]
??? that is new for meLinuxdirk wrote:Yeah … but 0.4.x is dead :)
- and there still more gamer on 0.4.x than on 5.x
- and it seams this MCc gamer are even more than the MTc gamer
bosapara, go on - your are trying it, that counts !
Sure there will be a way to get it sure safe.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)
If urgend, you find me in Roblox (as CNXThomas)
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: [Mod] Free from Android [free_from_andoid]
Latest serverlist statistics show 87% of activity is MT 5.0.0 or later.
I like what this mod does, useful.
I like what this mod does, useful.
Who is online
Users browsing this forum: Semrush [Bot] and 23 guests