Posts: 1,051
Threads: 55
Joined: Nov 2010
Thanks: 29
Given 81 thank(s) in 45 post(s)
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
Thanks: 0
Given 0 thank(s) in 0 post(s)
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,823
Threads: 20
Joined: Jun 2010
Thanks: 0
Given 5 thank(s) in 1 post(s)
10 Feb 11, 01:04PM
(This post was last modified: 10 Feb 11, 01:05PM by Gibstick.)
assaultcube://iphere?port=blah&pass=blah
Posts: 297
Threads: 5
Joined: Jun 2010
Thanks: 7
Given 7 thank(s) in 7 post(s)
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
Thanks: 0
Given 1 thank(s) in 1 post(s)
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
Thanks: 7
Given 7 thank(s) in 7 post(s)
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