Quick connect using hosts file

Share your custom configs, homemade binds, ET related programs, etc.
Spam Noob
User avatar
Posts: 7
Joined: Fri Dec 12, 2008 1:00

Quick connect using hosts file

Postby Speedzor » Fri Dec 12, 2008 20:00

If I may add a tip that is very easy in use?

Go to C:/Windows/system32/drivers/etc/hosts
and open this program with notepad.

You'll probably see an ip adres at the bottom of the file.
This is where you can add your ip adresses.
I don't know the -|PS|- IP's by heart, but it comes to the same

Simple do it like this:

Code: Select all
84.243.238.114 [Tab] ps1

And replace tab by a press on the tab button ofcourse.
After this you'll just have to open your ET and typ
Code: Select all
/connect ps1

and you'll be connected.
I, for example, already have 10 servers in it.
Btw: don't typ the port number (27960)!

greetings,
speedzor

Server Owner
Posts: 2147
Joined: Sun Dec 23, 2007 1:00
Location: PS

Postby Ninjadeer » Fri Dec 12, 2008 20:30

i dont undestand all, but it sounds interesting... but 1 question, how it really connects to right server, because for example if you use ps1 ip: 213.239.219.249 port 27960 connects you to ps1 but 27961 to ps7. how that thing knows which port it should connect if you dont give the port to it? :?
Image thx for diamond :D

Spam Noob
User avatar
Posts: 7
Joined: Fri Dec 12, 2008 1:00

Postby Speedzor » Fri Dec 12, 2008 20:34

I'm not sure, but I think this is because it uses the standard port which is 27960.
I've tried it out with ps3, and I came to a whole different server, so my guess is that this trick only works for the servers ending on 27960.
That's pitty, so I'll try to find out how this comes.

Spam Lord
Posts: 464
Joined: Fri Feb 15, 2008 1:00

Postby mephir » Fri Dec 12, 2008 22:04

Nice idea! :)

But its true, you can only use Server-IPs with default port, cause the hosts-file is only a "local DNS resolver", which is used before the DNS-request to your Router/ISP is sent.

Maybe it would work, if you create one entry for PS2, PS4 and PS5 (all on same srv):
Code: Select all
88.198.62.41     PS245 #or any other name


Then you could try in ET:
Code: Select all
/connect PS245:27961

This should connect you to PS4 and you only have to remember the ports, instead of the whole ip.


PS: It _should_ work, but i havent testet. 8)

Edit: Another idea (for ppl with a lot free keys a.k.a Logitech G11-Users 8) ):
Just create a bind to connect:
Code: Select all
bind "KP_DEL" "connect 88.198.62.41:27961"
Last edited by mephir on Fri Dec 12, 2008 22:09, edited 1 time in total.

Server Owner
Posts: 2147
Joined: Sun Dec 23, 2007 1:00
Location: PS

Postby Ninjadeer » Fri Dec 12, 2008 22:06

ye, port 27960 with ps3 ip isn't prime squadron server, it is owned by two nice ps admins, but it belongs to another community... so keep on testing your connecting tool! :D
Image thx for diamond :D

Spam Noob
User avatar
Posts: 1
Joined: Tue Dec 16, 2008 1:00

Postby Harle » Tue Dec 16, 2008 15:58

nice feature indeed.

This doesnt work with not standard-ports (only 27960), in hosts-file you can only put in ip-adresses, but not specify a port (applications use their standard-ports).

Btw you can use this not only for ET, also for all other stuff (Teamspeak, Games, Hosts, what ever).
Every time when you are asked for a ip-adress you can add a alias in this file, tell you comp who is who.

Cheers!
Last edited by Harle on Fri May 22, 2009 10:05, edited 1 time in total.
Image

Server Owner
Posts: 952
Joined: Sat Dec 23, 2006 1:00
Location: Germany-> Niedersachsen, -|PS|-#3

Postby stephan » Fri Jan 02, 2009 18:11

or use this:
http://www.speedyshare.com/617608390.html
place the cfg files in etmain dir
and then ingame enter /exec ps3 for example connect to ps3
(maybe you need to change the ips in the file because maybe they are wrong) :)
i use that and its quick and dirty


sorry for pushing topic
Image

Return to PS Techz0ne

Who is online

Users browsing this forum: No registered users and 15 guests