Page 1 of 1

Can't connect to server

PostPosted: Sun Sep 16, 2012 02:03
by 0gb.us
I can't seem to be able to connect to any Minetest servers. I've been trying servers from a few different lists over the past couple weeks.

I should mention that my siblings use my computer for the other game, Minecraft. They have no trouble connecting to servers, so there's nothing wrong with my computer or internet connection.

Is there some sort of port forwarding or other shenanigans I have to pull in Minetest, but not Minecraft, to make this work?

Thanks for the advice!

PostPosted: Sun Sep 16, 2012 02:22
by Feorth
Uhm i think it could be either a firewall problem or maybe you are using a version of the game that's not compatible with the server.

PostPosted: Sun Sep 16, 2012 03:30
by InfinityProject
Does it say anything when you try to connect?
I.e. PROTOCOL VERSION NOT SUPPORTED

Or does it just keep loading forever?

PostPosted: Sun Sep 16, 2012 04:42
by 0gb.us
It says it's "Connecting to server ..." and counts down from ten, and then says "Connection timed out."

How would I go about finding out what version of the game I have installed?

Thanks!

PostPosted: Sun Sep 16, 2012 04:55
by InfinityProject
What is the name of the folder you downloaded? I think you have 0.3.1, which is not compatible with 0.4

PostPosted: Sun Sep 16, 2012 05:15
by 0gb.us
I didn't download a folder. I used Linux Mint's Software Installer, and told it to install Minetest. It wouldn't surprise me if it's out of date though. The version of PlayOnLinux it installs is also out of date.

Checking .... Yes, it looks like the installer is using 0.3.1.

I'll try manually updating it. Thanks you!

PostPosted: Sun Sep 16, 2012 05:19
by InfinityProject
No problem. Have fun!

PostPosted: Sun Sep 16, 2012 05:47
by 0gb.us
Well that was mildly amusing. The 0.3.1 package I had was called "minetest", but the new version is called "minetestc55". So instead of the computer treating it as an upgrade, it treated it as a separate application. However, it refused to install it, because installing it required overwriting the old files, which were still in use by the original version. Uninstalling the original version fixed the problem.

Now I get a different "Connecting to server (press Escape to cancel) /-\" message, but it doesn't seem to connect. I downloaded the latest version, and I'm attempting to connect to servers that are labeled as running the latest version. Is there something else I need to do to set this up?

Thanks!

PostPosted: Sun Sep 16, 2012 05:51
by Menche
If you're on Ubuntu/Mint, there are PPAs for daily unstable builds and stable builds. The stable ones should be new enough.

PostPosted: Sun Sep 16, 2012 05:59
by 0gb.us
Yeah, that's what I downloaded. The latest stable build from that page. It still doesn't connect.

PostPosted: Sun Sep 16, 2012 09:24
by Phitherek_
You can try my gitinstall script to obtain the latest latest version ;).
http://minetest.net/forum/viewtopic.php?id=2860

It depends on git, cmake and build-essentials ;).

PostPosted: Sun Sep 16, 2012 09:37
by Topywo
0gb.us wrote:Yeah, that's what I downloaded. The latest stable build from that page. It still doesn't connect.


I use Lubuntu (11.10). I prefer to download/compile Minetest as described in the readme.txt under "Compiling on GNU/Linux:" You find it when scrolling down on this page:

https://github.com/celeron55/minetest (minetest.net, Github)

I know it's 0.4.3 and not the 'stable' 0.4.1 but in my own experience, the newer unstables run smoother than the stables. And some (Half, didn't check) most of the time update to the latest unstable.

Good luck!

P.s. If you didn't find it yourself, one of the server lists: http://servers.minetest.ru/

PostPosted: Sun Sep 16, 2012 09:51
by Phitherek_
Topywo wrote:I prefer to download/compile Minetest as described in the readme.txt under "Compiling on GNU/Linux:" You find it when scrolling down on this page:
https://github.com/celeron55/minetest (minetest.net, Github)

That's exactly what my script does.

PostPosted: Sun Sep 16, 2012 10:01
by Topywo
Phitherek_ wrote:
Topywo wrote:I prefer to download/compile Minetest as described in the readme.txt under "Compiling on GNU/Linux:" You find it when scrolling down on this page:
https://github.com/celeron55/minetest (minetest.net, Github)

That's exactly what my script does.


Great! I saw it after typing. I'll try out your script for the next version (actually both of them :-) )

PostPosted: Sun Sep 16, 2012 13:57
by 0gb.us
When I ran the update script, it told me:
fatal: Not a git repository (or any of the parent directories): .git
/home/us_0gb/Desktop/Unsaved Document 1: line 3: cd: games/minetest: No such file or directory
fatal: Not a git repository (or any of the parent directories): .git
cat: check: No such file or directory
CMake Error: The source directory "/" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make: *** No targets specified and no makefile found. Stop.
rm: cannot remove `check': No such file or directory
chmod: cannot access `minetest': No such file or directory
/home/us_0gb/Desktop/Unsaved Document 1: line 16: cd: minetest: No such file or directory
Minetest updated!


I took a look at the file, and the specified path is relative, making it dependent on the directory it's run from. What directory are you expecting it to be run from? It looks like the git command is failing too, but since I've never used git, I don't know what sort of problem to look for.

Thanks!

PostPosted: Sun Sep 16, 2012 14:01
by PilzAdam
You need to clone the main Minetst repo with git:
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
git clone https://github.com/celeron55/minetest.git

This creates a folder "minetest". Go into this folder and run the script there.

PostPosted: Mon Sep 17, 2012 02:38
by 0gb.us
Now I feel like an idiot.

The page with the source code was loading painfully slowly, so while I was waiting, I went back and reread the posts in this thread to see if I had missed anything. Topywo mentioned a server list, so I decided to check it out. The first server rejected me, because my client was to new, not old, but I got into the second with no difficulty. Apparently, the server lists I was using are outdated or invalid, or something.

Thank you all for your support and help!

PostPosted: Mon Sep 17, 2012 10:50
by Phitherek_
0gb.us wrote:When I ran the update script, it told me:
fatal: Not a git repository (or any of the parent directories): .git
/home/us_0gb/Desktop/Unsaved Document 1: line 3: cd: games/minetest: No such file or directory
fatal: Not a git repository (or any of the parent directories): .git
cat: check: No such file or directory
CMake Error: The source directory "/" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make: *** No targets specified and no makefile found. Stop.
rm: cannot remove `check': No such file or directory
chmod: cannot access `minetest': No such file or directory
/home/us_0gb/Desktop/Unsaved Document 1: line 16: cd: minetest: No such file or directory
Minetest updated!

I took a look at the file, and the specified path is relative, making it dependent on the directory it's run from. What directory are you expecting it to be run from? It looks like the git command is failing too, but since I've never used git, I don't know what sort of problem to look for.

Thanks!

You cannot update an existing installation from the package. You must first run gitinstall script and then there use the gitupdate one.