[Suggestion] Profile chooser

User avatar
mahmutelmas06
Member
 
Posts: 355
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

[Suggestion] Profile chooser

by mahmutelmas06 » Wed Mar 04, 2015 12:05

It could be nice if there was an choose profile option for singleplayer game.

If there are more player in a home they wants to play in a same world but no chance to touch each others objects using protector, landmark etc...

We can make it in minetest.conf but this option could be a lot better
Last edited by mahmutelmas06 on Wed Mar 04, 2015 17:07, edited 1 time in total.
My Mods:

Beverage
 

User avatar
ExeterDad
Member
 
Posts: 1121
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad

Re: [Suggestion]

by ExeterDad » Wed Mar 04, 2015 12:59

That's actually a very good idea.
٩(̾●̮̮̃̾•̃̾)۶

Kibbie and I have a beautiful public server now! HOMETOWN
 

User avatar
oleastre
Member
 
Posts: 81
Joined: Wed Aug 13, 2014 21:39
GitHub: oleastre
In-game: oleastre

Re: [Suggestion]

by oleastre » Wed Mar 04, 2015 14:15

You can already do something similar using the "server" tab of the UI: pick a world, a user name and a password.
Minetest will launch and connect you to your world with the given username.
 

User avatar
mahmutelmas06
Member
 
Posts: 355
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [Suggestion]

by mahmutelmas06 » Wed Mar 04, 2015 14:56

We can play single on server tab but we still have another tab called singleplayer right. There must be something different on thoose tabs otherwise why we have singleplayer tab in game menu right ? :D
My Mods:

Beverage
 

User avatar
oleastre
Member
 
Posts: 81
Joined: Wed Aug 13, 2014 21:39
GitHub: oleastre
In-game: oleastre

Re: [Suggestion] Profile chooser

by oleastre » Wed Mar 04, 2015 18:47

Some dev can probably confirm, but mostly, the singleplayer tab is just a shortcut to launch a server with a predefined user name which is "singleplayer".
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Suggestion] Profile chooser

by rubenwardy » Wed Mar 04, 2015 20:24

Oleastre is correct, except it also stops over people from connecting. It starts a server, and only lets single player join. Not sure how it does this.

Citation needed.
 

User avatar
TG-MyinaWD
Member
 
Posts: 355
Joined: Thu May 08, 2014 21:22
GitHub: Maddie-Myina
IRC: Maddie-Myina
In-game: .

Re: [Suggestion] Profile chooser

by TG-MyinaWD » Thu Mar 05, 2015 02:32

rubenwardy wrote:Oleastre is correct, except it also stops over people from connecting. It starts a server, and only lets single player join. Not sure how it does this.

Citation needed.

I think it links you to localhost. Since your IP Comes out 0.0.0.0. And a random port.

But to I think it blacklist all names then the name "singleplayer".

But what I know Me no Core Contributer. Only an Modder Contributer and few others.

But If want an different player name each time via Singleplayer Just open world folder and rename singleplayer to something and change it back when want load the player.

Or use the Server Tab.

edit:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Example Naming:

singleplayer_001_foo
singleplayer_002_bar
I'm a Transgender no shame about it.
I prefer to be considered as a "Girl/Lady/Miss/Madam/Female" for now on.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Suggestion] Profile chooser

by rubenwardy » Thu Mar 05, 2015 08:43

I can't work out what you are saying. Something about testing to see how it works? You could test it by starting singleplayer and trying to connect to "127.0.01" on another Minetest client.
 

User avatar
addi
Member
 
Posts: 605
Joined: Thu Sep 20, 2012 03:16

Re: [Suggestion] Profile chooser

by addi » Thu Mar 05, 2015 11:56

the singleplayer game is just a normal server, using a (more or less) random port.
to test it fetch the lines from console or from debug txt
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
12:44:58: ACTION[main]:         .__               __                   __
12:44:58: ACTION[main]:   _____ |__| ____   _____/  |_  ____   _______/  |_
12:44:58: ACTION[main]:  /     \|  |/    \_/ __ \   __\/ __ \ /  ___/\   __\
12:44:58: ACTION[main]: |  Y Y  \  |   |  \  ___/|  | \  ___/ \___ \  |  |
12:44:58: ACTION[main]: |__|_|  /__|___|  /\___  >__|  \___  >____  > |__|
12:44:58: ACTION[main]:       \/        \/     \/          \/     \/
12:44:58: ACTION[main]: World at [D:\Programme\minetest\bin\..\worlds\test]
12:44:58: ACTION[main]: Server for gameid="minetest" listening on 0.0.0.0:49437.

most intresting is the last line and the last number after the ":" its the port.
its changing each time you start a singleplayergame.

now start a 2nd instance of minetest and enter server: 127.0.0.1 and port: that from the last line, here: 49437
the username matters not, so you can call yourself "addi" or whatever you want.
there is no blacklist for names in singleplayer mode!
 

User avatar
mahmutelmas06
Member
 
Posts: 355
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [Suggestion] Profile chooser

by mahmutelmas06 » Thu Mar 05, 2015 17:10

So seems there is nothing special to singleplayer just offline one.

If its so dont you think its a useless tab ?
My Mods:

Beverage
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Suggestion] Profile chooser

by rubenwardy » Thu Mar 05, 2015 17:31

It hides away useless settings which you don't need for singleplayer. Like announce. There is also no name or password box, which makes it easier.
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 16 guests

cron