Page 1 of 1
single player high jacking

Posted:
Sat Dec 31, 2011 20:46
by jordan4ibanez
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=XA9F6yiXf1Mskip to about 53 seconds to see it happen

Posted:
Sat Dec 31, 2011 21:08
by Jeija
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.

Posted:
Sat Dec 31, 2011 21:17
by jordan4ibanez
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

Posted:
Sat Dec 31, 2011 22:49
by sdzen
what did you think i was talking about with highjacking your ip?

Posted:
Sat Dec 31, 2011 23:08
by jordan4ibanez
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

Posted:
Sun Jan 01, 2012 02:12
by Jordach
So.....then its not SMP.

Posted:
Sun Jan 01, 2012 02:49
by jordan4ibanez
Jordach wrote:So.....then its not SMP.
thats right..single player is just a lone server

Posted:
Tue Jan 03, 2012 10:33
by Maeredhel
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

Posted:
Tue Jan 03, 2012 11:05
by Calinou
You can also set the player limit to 1 in minetest.conf. :)

Posted:
Tue Jan 03, 2012 11:58
by sapier
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.

Posted:
Tue Jan 03, 2012 22:35
by sdzen
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?

Posted:
Wed Jan 04, 2012 03:39
by sapier
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 ;-)

Posted:
Wed Jan 04, 2012 12:31
by Calinou
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 :)

Posted:
Wed Jan 04, 2012 13:13
by jordan4ibanez
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

Posted:
Wed Jan 04, 2012 21:28
by sdzen
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!

Posted:
Wed Jan 04, 2012 22:27
by jordan4ibanez
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