Posts: 1,049
Threads: 55
Joined: Nov 2010
I am having a problem with connecting to a server from a website using a direct server link. That is, on my site, I can use the direct link only once because the connect port defaults to 28763. In example: My direct link for server one is assaultcube://76.233.167.228 which is ok because server one has ports 28763 but when I want to add 28765 as the next connect link: assaultcube://76.233.167.228:28765, I end up seeing assaultcube://76.233.167.228:28765:28763 when it tries to connect. The 28763 likes to add itself automatically. How would I be able to make a direct link using different ports? You may mess with this link and look yourself, just put assaultcube://76.233.167.228 in your web browsers address bar and hit go and watch, it will connect to 28763 and go to my server, then try adding 28765 and see what I'm talking about. All help appreciated :) and maybe some people learned a new trick today.
Posts: 137
Threads: 5
Joined: Jan 2011
I couldn't connect to it at all.
I typed in assaultcube://76.233.167.228 and it came up with bing lol
Posts: 1,049
Threads: 55
Joined: Nov 2010
(10 Feb 11, 08:33AM)Hav0c Wrote: I couldn't connect to it at all.
I typed in assaultcube://76.233.167.228 and it came up with bing lol
lol, you can't put it in a search engine, it has to go directly into your address bar otherwise you will get nothing. I also know now that you use bing to search for stuff xD
Posts: 1,823
Threads: 20
Joined: Jun 2010
10 Feb 11, 01:04PM
(This post was last modified: 10 Feb 11, 01:05PM by Gibstick.)
assaultcube://iphere?port=blah&pass=blah
Posts: 1,049
Threads: 55
Joined: Nov 2010
(10 Feb 11, 01:04PM)Gibstick Wrote: assaultcube://iphere?port=blah&pass=blah
Nothing shows up past the ? and it still connects by defaults. So just to make sure, this is correct: assaultcube://76.233.167.228?28765=pass
Posts: 297
Threads: 5
Joined: Jun 2010
Same here
If the port is a custom one, or a password is used how do you form the url.
Have used the search function, points to the changelog. are there docs for this?
Posts: 533
Threads: 33
Joined: Jun 2010
assaultcube://76.233.167.228?port=28765
This is going to work
assaultcube://76.233.167.228:28765 will work in the next version of AC
In general it´s like
assaultcube://example.com/?password=secretpw&port=28763/
The slashes after "example.com" and "28763" aren´t needed. The first argument after the IP/Host starts with "?" and every following argument will get a "&". There is no strict order for the arguments, so it doesn´t matter if you write first "password" and later "port" or otherwise.
Posts: 297
Threads: 5
Joined: Jun 2010
This works,
same format as gibstiks post (must have been user-error)
ty guys
Quote "assaultcube://76.233.167.228:28765 will work in the next version of AC"
how about password? like will it be: assaultcube://76.233.167.228:28765:PASSWORD
or
assaultcube://76.233.167.228:28765&password=PASSWORD
Posts: 533
Threads: 33
Joined: Jun 2010
10 Feb 11, 10:34PM
(This post was last modified: 10 Feb 11, 11:28PM by ärkefiende.)
(10 Feb 11, 09:14PM)Bullpup Wrote: assaultcube://76.233.167.228:28765&password=PASSWORD
It will always be like this. For the ports the "port=28763" will work also in the later versions!
the ":" is a standard used for port definitions
EDIT:
as a little help:
URL Generator
This generator isn´t finished yet but working ;)
Posts: 502
Threads: 20
Joined: Dec 2010