Page 1 of 1

Help

PostPosted: Sun Mar 31, 2013 19:17
by artur99
Can anybody explain me how to do this:
"Open command prompt by going in the Minetest installation folder, then in the "bin" folder, hold Shift, do a right click on a empty file (not on minetest.exe), click "Open command window here"."
im using windows, and that is from http://wiki.minetest.com/wiki/Setting_up_a_server
And that tutorial is for making a online server?

PostPosted: Sun Mar 31, 2013 20:30
by LionLAD
... but i dont get that ether so i did this...

i went to control_panel/appearance and themes/folder options/view... under hidden files and folders click the box that sais "hide extensions for know types of files" now you should have something like .txt on the end of a text document... now go into you minetest-0.4.5/bin right, than click mouse over "new" than click "text document" rename it something like minetestserver.bat (note you can name it any thing but it needs .bat at the end)

hit enter than say yes to "do you want to change this file" right click on the .bat file hit edit...

if you have only one world type : minetest.exe --server

is you have multiple worlds type : minetest.exe --server --worldname WORLDNAME ... but instead of WORLDNAME put the actual name of you world file... than after creating this just play around with you minetest.conf file than left click twice to run and as long as this window is open your server will be up

... i hope this helps :)

PostPosted: Mon Apr 01, 2013 09:22
by artur99
I have the extensions visible!
Thanks for help!
And if i want somebody join my server should i tell him my ip?

PostPosted: Mon Apr 01, 2013 12:31
by LionLAD
yes with out it they can't join... but i suggest that you make a sub domain like mine is laughallday.tk and you can get free .tk URLs at dot.tk simple easy and short.

EDIT: oh this is what i used to find my ip :) http://www.whatismyip.com/

PostPosted: Mon Apr 01, 2013 12:36
by artur99
If i have a domain: artur99server.tk, who will want to connect to my server must write on adress: artur99server.tk ?

PostPosted: Mon Apr 01, 2013 13:06
by LionLAD
yes but you need to make the minetest.conf know that's your ip... so in the minetest.conf not minetest.conf.example but minetest.conf you need to type server_address = artur99server.tk into your minetest.conf

PostPosted: Mon Apr 01, 2013 13:49
by artur99
And should i put someting on the website?

PostPosted: Mon Apr 01, 2013 17:24
by LionLAD
umm i don't think you need to but some people put 2D maps of the server and update it every so often

PostPosted: Mon Apr 01, 2013 18:11
by artur99
i have minetest.conf:
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
server_address = 213.233.92.96
anisotropic_filter = 0
bilinear_filter = 0
creative_mode = 1
enable_3d_clouds = 1
enable_damage = 1
enable_particles = 1
enable_shaders = 2
mip_map = 0
name = artur99
new_style_leaves = 1
opaque_water = 0
port = 30000
preload_item_visuals = 1
selected_mainmenu_tab = 1
selected_world_path = E:\david\Minetest\minetest-0.4.5\bin\..\worlds\WORLDNAME
server_announce = 0
server_dedicated = false
smooth_lighting = 1
trilinear_filter = 0




And my ip is 213.233.92.96!


In minetestserver.bat, i have:
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
minetest.exe --server --worldname WORLDNAME



The world named WORLDNAME is one of the worlds i have on single player!

What should i write on address to connect?
MY ip? I tryed, to write my ip, but all along apears "Connecting to server...(pres Esc to cancel)". The minetestserver.bat was and is working It-s on!

I tried to connect with ipv4 address! it worked, i told a friend to join 213.233.92.96 but it didn't worked. i told hime to join my ipv4 adress, but it didn't worked too!

PostPosted: Mon Apr 01, 2013 19:44
by Calinou
You write "127.0.0.1" or "localhost" without the quotes to join a server you started on your computer.

PostPosted: Mon Apr 01, 2013 19:46
by artur99
and if i want other computer access my server (from my pc) what address should i use there?

PostPosted: Mon Apr 01, 2013 20:03
by rarkenin
artur99 wrote:and if i want other computer access my server (from my pc) what address should i use there?


Um? The server's internal IP address.

PostPosted: Mon Apr 01, 2013 20:05
by artur99
but how to find out the server's internal ip? is it ipv4?

PostPosted: Mon Apr 01, 2013 20:22
by rarkenin
artur99 wrote:but how to find out the server's internal ip? is it ipv4?


Try running ipconfig. It should give you an IP address and a ton of other crap. It is most likely IPv4.

PostPosted: Mon Apr 01, 2013 20:27
by artur99
Default Gateway or Subnet mask?
From Ethernet adapter Hamachi or from Wireless LAN adapter Wireless Network Connection ?

PostPosted: Mon Apr 01, 2013 20:38
by rarkenin
artur99 wrote:Default Gateway or Subnet mask?
From Ethernet adapter Hamachi or from Wireless LAN adapter Wireless Network Connection ?



Oh, don't use Hamachi. Use the IP address from the wireless connection. You can paste the output of ipconfig here if you can;t find it.

PostPosted: Mon Apr 01, 2013 20:42
by artur99
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

Wireless LAN adapter Wireless Network Connection:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::258a:df8e:e269:9ecd%11
   IPv4 Address. . . . . . . . . . . : 192.168.2.103
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.2.1

Ethernet adapter Hamachi:

   Connection-specific DNS Suffix  . :
   IPv6 Address. . . . . . . . . . . : 2620:9b::1992:566f
   Link-local IPv6 Address . . . . . : fe80::315f:5456:9ff:ef2%22
   IPv4 Address. . . . . . . . . . . : 25.146.86.111
   Subnet Mask . . . . . . . . . . . : 255.0.0.0
   Default Gateway . . . . . . . . . : 2620:9b::1900:1
                                       25.0.0.1

PostPosted: Mon Apr 01, 2013 20:58
by Calinou
Your internal IP is 192.168.2.103

PostPosted: Mon Apr 01, 2013 20:59
by artur99
Calinou wrote:Your internal IP is 192.168.2.103

and whit this ip, other players can connect to my server?

PostPosted: Mon Apr 01, 2013 21:00
by ShadowNinja
artur99 wrote:
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

Wireless LAN adapter Wireless Network Connection:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::258a:df8e:e269:9ecd%11
   IPv4 Address. . . . . . . . . . . : 192.168.2.103
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.2.1

Ethernet adapter Hamachi:

   Connection-specific DNS Suffix  . :
   IPv6 Address. . . . . . . . . . . : 2620:9b::1992:566f
   Link-local IPv6 Address . . . . . : fe80::315f:5456:9ff:ef2%22
   IPv4 Address. . . . . . . . . . . : 25.146.86.111
   Subnet Mask . . . . . . . . . . . : 255.0.0.0
   Default Gateway . . . . . . . . . : 2620:9b::1900:1
                                       25.0.0.1


If the other players will be connecting from the same network(your wifi) then they can connect to 192.168.2.103.
However if they will be connecting from somewhere else you will have to set up port forwarding by going to 192.168.2.1 and then have them connect to your public ip address, you can get that by googleing "what is my ip address".
Instructions for setting up port-forwarding vary by manufacturer, you can look at [url]portforward.com[/url] for instructions.

PostPosted: Mon Apr 01, 2013 21:06
by artur99
and whan i want to connect to to my server must i write 192.168.2.103 too?

PostPosted: Mon Apr 01, 2013 21:11
by ShadowNinja
artur99 wrote:and whan i want to connect to to my server must i write 192.168.2.103 too?

If you are on the same computer as the server you can use your public ip, your local ip(192.168.2.103), or the loopback address(127.0.0.1).

PostPosted: Mon Apr 01, 2013 22:05
by rarkenin
Your IP address is 192.168.2.103 if you are connection from within your network. If connection from outside, you need to set up your router to forward port 30000(if it asks TCP or UDP, reply UDP) to 192.168.2.103, and access your system from the external IP.

PostPosted: Tue Apr 02, 2013 11:08
by artur99
Like this:
Image
?

PostPosted: Tue Apr 02, 2013 15:52
by ShadowNinja
artur99 wrote:Like this:
Image
?


Yes, now other players should be able to use your public ip to connect.

PostPosted: Tue Apr 02, 2013 16:48
by artur99
So, i must start minetestserver.bat, than i must start minetest, rhan i must connect on advanced: address: 127.0.0.2 and port 30000. Than i have to try to connect from another computer on multiplayer with: adress: 192.168.2.103, and port 30000.


Is that correct?