ManiaPlanet 2 Beta Server 2012-07-11

Moderator: NADEO

Re: ManiaPlanet 2 Beta Server 2012-07-11

Postby matrix142 » 15 Jul 2012, 19:10

The Heroes Pack isn't in the server folder, but I found it in ProgramData. Thanks :)
User avatar
matrix142
 
Posts: 373
Joined: 18 Mar 2011, 18:12
Manialink: gr
TrackMania Forever:
Nickname: -=GR=-маדяוж142 ©
Multiplayer ranking: 76 519

Re: ManiaPlanet 2 Beta Server 2012-07-11

Postby XtremeOmega » 16 Jul 2012, 23:47

Is the LAN issue already fixed? I'm still updating my Mania Planet
XtremeOmega
 
Posts: 23
Joined: 10 Jul 2012, 23:13

Re: ManiaPlanet 2 Beta Server 2012-07-11

Postby _bb_mort » 17 Jul 2012, 00:07

No its not. I don't even know if its a maniaplanet issue or a dedicated server issue, but its still disabled.
_bb_mort
 
Posts: 100
Joined: 21 Aug 2011, 13:19

Re: ManiaPlanet 2 Beta Server 2012-07-11

Postby XtremeOmega » 17 Jul 2012, 00:19

It's a maniaplanet problem. They said that LAN mode is disabled, that's why you can't join your local IP while running a dedicated server. Someone posted a solution for this, but it's in french and no one translated it yet.
XtremeOmega
 
Posts: 23
Joined: 10 Jul 2012, 23:13

Re: ManiaPlanet 2 Beta Server 2012-07-11

Postby fng_thatoneguy » 17 Jul 2012, 00:29

Run that post's content through http://translate.google.com/ and/or post the link to the forum post here (you should probably link it regardless.)

I'd heard of one where you can put the /lan switch in the command-line for running the server, but I don't know if that will work with the problem you're discussing.
Image
User avatar
fng_thatoneguy
 
Posts: 451
Joined: 05 Jan 2011, 18:06
Location: That One Place
TrackMania Forever:
Nickname: FNG_ThatOneGuy
Zone: United States of America»Utah
Solo ranking: 2 701
Multiplayer ranking: 213 301

Re: ManiaPlanet 2 Beta Server 2012-07-11

Postby XtremeOmega » 17 Jul 2012, 00:52

This is addressed to those that have a dedicated server connection on their personal TM (which works for other players, and for themselves in local connection!), Have an adsl box which does not allow them to Login to their own local server other than local, and are keen to connect over internet in order to play the ladder above. Apart from this case, this tutorial is not for you.

Prerequisites
- Having a dedicated server on the same machine (or LAN) play, and that works correctly: so other players can connect from outside, and you can even connect a LAN.
- Have configured different ports for the game and dedicated server (eg 2350 and 3450 to leave the game, and put 2352 and 3452 for the dedicated)

Attention
- If the prerequisites above are not effective, then it can not walk in any mode internet for you either! In no case does it help to run your dedicated server!
- The only interest of these "tricks" are trying to have the points ladder who also work for the local player to the server. So if you are not addicted to the ladder then drop and play in local network, simply.
- A priori it does not work for a server on Vista or Win7, apparently wanting to be "intelligent" to prevent its own public ip alias ip on the map of the machine.


If for some reason or another, these solutions do not work for you 3 choices:
- Play "LAN", without ladder.
- Buy a router-nat which manages port forwarding normally
- Put the TM server on another machine (Win XP or linux)


The problem
With a number of ADSL modem routers, the port forwardings are not made when the connection comes from the local network, or when it comes to the machine to redirect should be done. If you have a router that does not accept these cases, the practical effect is that you can connect to its own Internet server mode.


Solution
First, we must add to the network adapter of the machine where the dedicated server is the public IP of the ADSL connection. If the server and the game are on different machines will require something in addition, described below.

For example, the public IP is 82.125.58.101, and the server's local IP is 192.168.1.210. You must also replace them with images! To find your public IP address for example you can go there.

Note: once these configs do (and if its correct!), There may need to wait several minutes before it work, long time that certain information be "forgotten" by machines and router (NAT timeout, arp, etc.). For simplicity, once made the configs, you can reboot machine (s) and router (not forgetting to redo the road for manual machines involved if games and server are on different machines if it is not permanent).

At the end of the post you have a small utility to simplify configuration


Windows Server
If you were in control, you must reconfigure your network card static IP. Open a command prompt and use the command 'ipconfig / all', you will have the information obtained by car, but to copy them into static, increasing the fourth number of the IP address (you just need to use a value not used by another machine in the example below, I put 210)







Once the public address of your connection added, if the dedicated server and play are on the same machine, it's over, it should work. Very happy

Obviously, for those who do not have a fixed address public will need to change the public IP in the config whenever it changes Confused
Note: The only way to have a static IP is to ask your ISP. For those who are at Orange, the option exists in the Pro subscription, but I think it is not given Sad Finally going to see your account on orange.fr ...


Linux server
For Debian or Ubuntu, edit the / etc / network / interfaces and add an alias to your network interface. We must add something that looks like this:
Code:

auto eth0: 0
iface eth0: 0 inet static
address 82.125.58.101
netmask 255.255.255.0

but to pass the command 'ifup eth0: 0' or reboot.
(Edit the file and the command must be done as root, or by placing a ubuntu 'sudo' in front)

For other distributions, look in the documentation and the network config aliases.


If the game is on another machine
In addition to what is explained above to the server, there are two possible solutions for what is to be done on the client:
- Also add a 2nd IP to the client, in the same bracket as the public IP, so just by changing the 4th number of the IP (using the example above I could have for example 82.125.58.102). To do that, same method as above for the server.

or

- Tell the machine how to contact the server by specifying a "route" static. To do this, open a command prompt and doing (using IP to see you, not those of example):
route add 82.125.58.152 192.168.1.210
In fact, there I said: 82.125.58.152 to join, you must go to 192.168.1.210. And since the server was told that he is 82.125.58.152, he will be happy and able to respond very happy

Note: If you have a static IP and want to make this permanent road, so do not do it again every boot, add a-p: route-p add ....




Well, normally it should work, if you have not followed the info ... (You do not set the example IP instead of your minimum? ^ ^)



A small utility that can afford to use this principle more simply, and this time also be usable to those who have a changing ip
http://www.trackmania.com/fr/forum/view ... p?p=775525 # 775525
mojor wrote:

Small program to connect to the Internet dedicated server mode.

Program Description:

What you need to do
-1 - Check fields in the interface it must match your network configuration changes if necessary.

Action Program
-2 - Returns the public ip address
-3 - Use netsh to configure IP

Result
-4 - + Accessible server can connect to the Internet dedicated server mode.

CAUTION read well you need to do and understand.

PS: The Framwork dotNet must be installed, runs on Windows XP, was tested on Vista and 7

Edit: Just to clarify on the small program to function with Vista, you must open it with administrator rights.

I put a copy of the program here: http://dedimania.net/tmiproute/


Link with images posted by original author: http://www.trackmania.com/fr/forum/view ... hp?t=23916
XtremeOmega
 
Posts: 23
Joined: 10 Jul 2012, 23:13

Re: ManiaPlanet 2 Beta Server 2012-07-11

Postby kik2k9 » 17 Jul 2012, 08:19

XtremeOmega wrote:
Link with images posted by original author: http://www.trackmania.com/fr/forum/view ... hp?t=23916


This worked for me, thanks for posting!
Running the server on Ubuntu and the client on Windows.
/////kik
kik2k9
 
Posts: 6
Joined: 30 Jun 2012, 11:27

Re: ManiaPlanet 2 Beta Server 2012-07-11

Postby NwK » 17 Jul 2012, 13:11

if something is not clear about the translation tell me i'll translate for you
NwK
 
Posts: 18
Joined: 04 Jul 2012, 14:49

Re: ManiaPlanet 2 Beta Server 2012-07-11

Postby kremsy » 18 Jul 2012, 10:16

I have a short Request.

Is it Possible for the Methodes:
GetModeScriptSettings()
and
SetModeScriptSettings(array)

That it also shows the Settings of the next Script?

I mean GetScriptName gives me:

Array
(
[CurrentValue] => BattleWaves.Script.txt
[NextValue] => BattleWaves.Script.txt
)


so it would be nice to also get the settings and make it possible to change for the next script.
Lukas, Developer of MPAseco more information: http://MPAseco.org

If you are interested in ordering a Shootmania Server check out http://www.mania-server.net

For Trackmania Server you can check out: http://www.tm2-server.net
kremsy
 
Posts: 613
Joined: 21 Jul 2011, 09:51

Re: ManiaPlanet 2 Beta Server 2012-07-11

Postby kremsy » 19 Jul 2012, 13:49

The Methods: GetCurrentRanking(int, int) and GetCurrentRankingForLogin(string) are not working in Shootmania.

Lol and when I call GetCurrentRankingForLogin the server crashes :D.
Last edited by kremsy on 19 Jul 2012, 13:52, edited 1 time in total.
Lukas, Developer of MPAseco more information: http://MPAseco.org

If you are interested in ordering a Shootmania Server check out http://www.mania-server.net

For Trackmania Server you can check out: http://www.tm2-server.net
kremsy
 
Posts: 613
Joined: 21 Jul 2011, 09:51

PreviousNext

Return to Dedicated Server

Who is online

Users browsing this forum: No registered users and 1 guest