port?

Content and general development discussion, including maps, quests, and server code from the development team.
Post Reply
phoenixangel
Peon
Peon
Posts: 7
Joined: Mon Feb 11, 2008 11:57 pm

port?

Post by phoenixangel » Tue Feb 12, 2008 12:08 am

How can I change the port used by the client to connect to the login server from 6901 to 7201 ?
User avatar
Simeon
Peon
Peon
Posts: 33
Joined: Mon Feb 04, 2008 6:55 pm
Location: The Netherlands

Post by Simeon » Tue Feb 12, 2008 12:10 am

Try editting the 'port' option in .tmw/config.xml (in the user directory).
phoenixangel
Peon
Peon
Posts: 7
Joined: Mon Feb 11, 2008 11:57 pm

Post by phoenixangel » Tue Feb 12, 2008 12:13 am

I don't have any config.xml file in my TMW folders...
User avatar
Simeon
Peon
Peon
Posts: 33
Joined: Mon Feb 04, 2008 6:55 pm
Location: The Netherlands

Post by Simeon » Tue Feb 12, 2008 12:17 am

It's not in the directory where you installed TMW, it's in your user directory (the location of that directory varies per operating system).
phoenixangel
Peon
Peon
Posts: 7
Joined: Mon Feb 11, 2008 11:57 pm

Post by phoenixangel » Tue Feb 12, 2008 12:22 am

found it ^^'
~ thanks

but is it possible to change this '.tmw' folder to another location... ?
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: Thu Nov 01, 2007 6:35 pm
Location: Internet

Post by Jaxad0127 » Tue Feb 12, 2008 1:07 am

You could recompile the client source code. Or, if you're running Linux/Unix(/Mac OS X) you could turn the folder into a link to where you want it to be.
phoenixangel
Peon
Peon
Posts: 7
Joined: Mon Feb 11, 2008 11:57 pm

Post by phoenixangel » Tue Feb 12, 2008 1:17 am

I will recompile it then ^^'

it's probably in the 'configuration.h'

~ thanks ^^'
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: Thu Aug 25, 2005 5:08 pm
Location: Germany

Post by Crush » Tue Feb 12, 2008 1:35 am

You can change the config file by running TMW with the command line option "-C path/to/configfile.xml"
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
Post Reply