It is currently 18 Apr 2024, 02:18
   
Text Size

need help on server

by BetaSteward

Moderators: North, BetaSteward, noxx, jeffwadsworth, JayDi, TheElk801, LevelX, CCGHQ Admins

need help on server

Postby Milod » 31 Jul 2011, 17:31

so i edited the xml file in server/config map i entered <server serverAddress="my ip" serverName="mage-server" port="17171"

opended port 17171 and is it tcp or udp?

then i runned startserver.bat but the program interface wont start only the log screen then i tried to run startmage.bat and runs then i type localhost for the server conect then it never conects me tried to enter my own ip wont work either then my machine ip also not working
so i reseted the config.xml file to localhost now i can play the game and i gave my ip to my friend and my port number no conection timed out he says

so my question is wat exacly do i need to edit and wat does my friend need to have about me to conect to me and wat port udp tcp?

iam bit new to this so little easy explain plz
Milod
 
Posts: 360
Joined: 20 Jul 2011, 08:57
Has thanked: 4 times
Been thanked: 5 times

Re: need help on server

Postby nantuko84 » 01 Aug 2011, 10:37

it uses rmi that is on top of tcp/ip

to make it working you have to change the following:
1. /server/config/config.xml
<server serverAddress="10.11.12.13" serverName="mage-server" port="17171" maxGameThreads="10" maxSecondsIdle="600"/>
2. run startserver.bat
it should start and write in console:
Code: Select all
INFO  [2011-08-01 14:32 [08:810]] Main[main]: MAGE server - using address 10.11.12.13
3. 17171 should be opened
you may check that it works from your place:
Code: Select all
telnet 10.11.12.13 17171
second player may also check the same to make sure ports are opened and your network is reachable
Code: Select all
telnet 10.11.12.13 17171
4. start client with startclient.bat
5. enter 10.11.12.13 as address, and 17171 as port

it should connect now to your server
Mage\MagicWars blog: http://mwars.blogspot.com/
nantuko84
DEVELOPER
 
Posts: 266
Joined: 08 Feb 2009, 21:14
Has thanked: 2 times
Been thanked: 9 times


Return to XMage

Who is online

Users browsing this forum: No registered users and 53 guests


Who is online

In total there are 53 users online :: 0 registered, 0 hidden and 53 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 53 guests

Login Form