single player high jacking

Post Reply
User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

single player high jacking

by jordan4ibanez » Post

well i don't know how this could ever happen ..but here:

i was randomly playing in single player and then POOF..sdzen joined my single player game..then menche..and i honestly dont know how this happened..but it did

http://www.youtube.com/watch?v=XA9F6yiXf1M

skip to about 53 seconds to see it happen
hello, am program. do language in rust. make computer do. okay i go now.

User avatar
Jeija
Member
Posts: 686
Joined: Fri Dec 23, 2011 21:46
Location: Nürtingen, Germany

by Jeija » Post

There is nothing like single player mode... Every minetest game also launches a server so that people can join if they have your ip and know the port that is forwarded to your computer. If you dont want them to join, you just have to set another port or something like that.
Redstone for minetest: Mesecons (mesecons.net)

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Post

well there could be a simple code to make it single player and only allow your local server to join ...like have a single player game or something? which it could be (i have no idea what the terms are) but.. like

--when the single player button the iflocal command is true

iflocal = bool(depen)

--where depen is set by localserver equaling 1 for yes or 0 for no

iflocal = maxplayers = 1

or something like that

basically the single player activates the iflocal command which tells it there can only be 1 player from the local game
Last edited by jordan4ibanez on Sat Dec 31, 2011 21:19, edited 1 time in total.
hello, am program. do language in rust. make computer do. okay i go now.

User avatar
sdzen
Member
Posts: 1170
Joined: Fri Aug 05, 2011 22:33
Location: Paradise (your not allowed)

by sdzen » Post

what did you think i was talking about with highjacking your ip?

Zen S.D.

The next generation of tranquility!
malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Post

sdzen wrote:what did you think i was talking about with highjacking your ip?
no no no ..i mean..if someone has their ports open they can get into their single player game if the person knows their ip and grief
hello, am program. do language in rust. make computer do. okay i go now.

Jordach
Member
Posts: 4534
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach
Location: Blender Scene

by Jordach » Post

So.....then its not SMP.

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Post

Jordach wrote:So.....then its not SMP.
thats right..single player is just a lone server
hello, am program. do language in rust. make computer do. okay i go now.

Maeredhel
New member
Posts: 2
Joined: Thu Dec 22, 2011 09:22

by Maeredhel » Post

To avoid other people join your own server, you can add a default password. This password will be needed by new players if they want to connect. Check the server section in your minetest.conf (you just need to add

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

by Calinou » Post

You can also set the player limit to 1 in minetest.conf. :)

sapier
Developer
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Post

Using last solution (1-player limit) there most likely will be a small gap (some microseconds) where another player may join your server before you join it ;-).

Honestly does anyone need a single player minetest? Most people are behind (nat)firewalls and if not I'd strongly suggest adding a least a firewall. But thats another thing.
DON'T mention coding style!
(c) sapier all rights reserved

User avatar
sdzen
Member
Posts: 1170
Joined: Fri Aug 05, 2011 22:33
Location: Paradise (your not allowed)

by sdzen » Post

sapier wrote: Honestly does anyone need a single player minetest?
Well have you seen many of the more or less 20,000 downloaders playing on the multiplayer servers?

Zen S.D.

The next generation of tranquility!
malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno

sapier
Developer
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Post

Sorry i forgot to pronounce the "need" ;-)
I self haven't been to one of the multiplayer servers by now too ;-). But as I'm behind a nat firewall noone would ever accidentaly enter my server. Wouldn't be much fun either it's restarted/crashed nearly every 5min while developing mods ;-)
DON'T mention coding style!
(c) sapier all rights reserved

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

by Calinou » Post

sapier wrote:Using last solution (1-player limit) there most likely will be a small gap (some microseconds) where another player may join your server before you join it ;-).

Honestly does anyone need a single player minetest? Most people are behind (nat)firewalls and if not I'd strongly suggest adding a least a firewall. But thats another thing.
Even better: set limit to 1 and set default rights to nothing. Players joining will not be able to speak and build... and ban them as soon as they join :)

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Post

as Hackeridze always does to me ... /facepalm ...the thing is..you SHOULDN'T! SHOULD NOT! have to configure your pc to block incoming users for the "single" player section of the game..it should be just SINGLE player..no-one else able to even join your game at all
hello, am program. do language in rust. make computer do. okay i go now.

User avatar
sdzen
Member
Posts: 1170
Joined: Fri Aug 05, 2011 22:33
Location: Paradise (your not allowed)

by sdzen » Post

It was because you had remobo on! otherwise I have to go through hurdles to let my friend across the road connect to my local server without it!

Zen S.D.

The next generation of tranquility!
malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Post

buttttt...heres what im saying....YOU ..cannot do that in minecraft..even with remobo..you cannot do that in any other game (that i know of) IT IS STILL...a glitch
hello, am program. do language in rust. make computer do. okay i go now.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests