Force auto-login to specific server

Discussion about topics that don't fit elsewhere.
Post Reply
losludvig
Posts: 3
Joined: Sat Jun 26, 2010 8:07 am

Force auto-login to specific server

Post by losludvig »

I was wondering if it's possible to force the client to log-in to a specific server each and every time you start it...
mikaelh
Developer
Posts: 216
Joined: Sun Dec 13, 2009 3:18 pm

Re: Force auto-login to specific server

Post by mikaelh »

You can specify the server as a command line parameter. The Windows client comes with a .bat file that can be used to automatically connect to the official main server. The file is called TomeNET-main.bat.
losludvig
Posts: 3
Joined: Sat Jun 26, 2010 8:07 am

Re: Force auto-login to specific server

Post by losludvig »

Thanks.
User avatar
tangar
Posts: 1652
Joined: Tue Mar 03, 2015 3:49 pm
Contact:

Re: Force auto-login to specific server

Post by tangar »

Solution:
the ip address is an argument and the login/port are flags so the IP needs to come last
"-lTangar ********** 37.187.75.24" - works!

Thanks to jumal velho for help!



============================
Original message:
Sorry for necro posting, but it's pretty important topic.

Guys, please could you help to make auto-login which automatically choose server and fill log-password - so after I start the game I would immideatelly appear at character login screen
mikaelh wrote: Sat Jun 26, 2010 9:56 am You can specify the server as a command line parameter. The Windows client comes with a .bat file that can be used to automatically connect to the official main server. The file is called TomeNET-main.bat.
Currently there is no 'TomeNET-main.bat' file, but another one - 'TomeNET-direct.bat'. When I start it - nothing happens (small black window appear and closing right after). When I edit it I see there:
@echo off
TomeNET.exe 37.187.75.24
REM TomeNET.exe europe.tomenet.eu
Maybe I should add there something?

Also I tried to make auto-login via command line parameter for TomeNET.exe shortcut file (=https://tomenet.eu/guide.php?chapter=2 ... the guide
), but it didn't work. I used such comman line:

37.187.75.24 -p18348 -lTangar **********

..but it doesn't work

screenshot:
https://photos.google.com/share/AF1QipP ... BFZ3pQeG9R
Tangar's tileset, addon, guides & maps: English TomeNET page ||||||| Russian TomeNet page
http://youtube.com/GameGlaz — streams in English // http://youtube.com/StreamGuild — streams in Russian
My chars @ angband.oook.cz
User avatar
tokariew
Posts: 373
Joined: Thu May 13, 2010 8:20 pm
Location: Poland

Re: Force auto-login to specific server

Post by tokariew »

TomeNET.exe -lUser Password europe.tomenet.eu

Tangar, your screenshot don't work…
img {
max-width: 100%;
}
https://tokariew.xyz
User avatar
tangar
Posts: 1652
Joined: Tue Mar 03, 2015 3:49 pm
Contact:

Re: Force auto-login to specific server

Post by tangar »

yep, thanks! I've already edited my message cause I got answer about it in discord, but it nice that you also helped!

screenshot.. thanks, I'll fix it
Tangar's tileset, addon, guides & maps: English TomeNET page ||||||| Russian TomeNet page
http://youtube.com/GameGlaz — streams in English // http://youtube.com/StreamGuild — streams in Russian
My chars @ angband.oook.cz
Post Reply