need help on server
by BetaSteward
Moderators: North, BetaSteward, noxx, jeffwadsworth, JayDi, TheElk801, LevelX, CCGHQ Admins
need help on server
by 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
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
Re: need help on server
by 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:
you may check that it works from your place:
5. enter 10.11.12.13 as address, and 17171 as port
it should connect now to your server
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
you may check that it works from your place:
- Code: Select all
telnet 10.11.12.13 17171
- Code: Select all
telnet 10.11.12.13 17171
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/
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 181 guests