port?

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

port?

Post by phoenixangel » 12 Feb 2008, 00:08

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: 04 Feb 2008, 18:55
Location: The Netherlands

Post by Simeon » 12 Feb 2008, 00:10

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

Post by phoenixangel » 12 Feb 2008, 00:13

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

Post by Simeon » 12 Feb 2008, 00:17

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: 11 Feb 2008, 23:57

Post by phoenixangel » 12 Feb 2008, 00:22

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: 01 Nov 2007, 18:35
Location: Internet

Post by Jaxad0127 » 12 Feb 2008, 01:07

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: 11 Feb 2008, 23:57

Post by phoenixangel » 12 Feb 2008, 01:17

I will recompile it then ^^'

it's probably in the 'configuration.h'

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

Post by Crush » 12 Feb 2008, 01:35

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