Sty CTF map

For all the help you need with Armagetron!
Oxmaster
Posts: 8
Joined: Wed Jun 05, 2013 2:41 pm

Re: Sty CTF map

Post by Oxmaster »

I can login but, everything is like normal server, without CTF. For now I'm giving up, I will try tomorrow.

User avatar
Light
Reverse Outside Corner Grinder
Posts: 1659
Joined: Thu Oct 20, 2011 2:11 pm

Re: Sty CTF map

Post by Light »

Oxmaster wrote:I can login but, everything is like normal server, without CTF. For now I'm giving up, I will try tomorrow.
All you have to do is remove the map you have downloaded at the moment. It's in the resource folder. resource/automatic/Your_mom

I put:

Code: Select all

RESOURCE_REPOSITORY_SERVER lightron.tk/armagetronad
MAP_FILE Your_mom/clever/ctfsty-0.0.2.aamap.xml
In my test server, and you can see it working fine. "Light's Test Server" if you're curious to see.

XD|VIPer
Average Program
Posts: 76
Joined: Thu Feb 09, 2012 12:53 am

Re: Sty CTF map

Post by XD|VIPer »

RESOURCE_REPOSITORY_SERVER lightron.tk/armagetronad
This should probley be

Code: Select all

RESOURCE_REPOSITORY_SERVER http://lightron.tk/armagetronad/
That should fix it. As far as I know, you have to have the http:// at the beginning and the / at the end for it to work.

User avatar
LOVER$BOY
Match Winner
Posts: 725
Joined: Thu Jan 24, 2008 12:46 pm
Contact:

Re: Sty CTF map

Post by LOVER$BOY »

XD|VIPer wrote:
RESOURCE_REPOSITORY_SERVER lightron.tk/armagetronad
This should probley be

Code: Select all

RESOURCE_REPOSITORY_SERVER http://lightron.tk/armagetronad/
That should fix it. As far as I know, you have to have the http:// at the beginning and the / at the end for it to work.
Exactly!
Image

User avatar
Light
Reverse Outside Corner Grinder
Posts: 1659
Joined: Thu Oct 20, 2011 2:11 pm

Re: Sty CTF map

Post by Light »

LOVER$BOY wrote:Exactly!
:'(
XD|VIPer wrote:

Code: Select all

RESOURCE_REPOSITORY_SERVER http://lightron.tk/armagetronad/
That should fix it. As far as I know, you have to have the http:// at the beginning and the / at the end for it to work.
I haven't actually had to bother with that for quite a while, so thanks. :P

User avatar
LOVER$BOY
Match Winner
Posts: 725
Joined: Thu Jan 24, 2008 12:46 pm
Contact:

Re: Sty CTF map

Post by LOVER$BOY »

Light wrote:
LOVER$BOY wrote:Exactly!
:'(
Well you can't blame me when the code for the resource, in the game, turns out to be like this:

Code: Select all

tString tResourceManager::resRepoServer("http://resource.armagetronad.net/resource/");
static nSettingItem<tString> conf_res_repo("RESOURCE_REPOSITORY_SERVER", tResourceManager::resRepoServer);

tString tResourceManager::resRepoClient("http://resource.armagetronad.net/resource/");
static tSettingItem<tString> conf_res_repo("RESOURCE_REPOSITORY_CLIENT", tResourceManager::resRepoClient);

    // add repositories to uri
    if ( resRepoServer.Len() > 2 )
        a_uri << resRepoServer << file << ';';

    if ( resRepoClient.Len() > 2 && resRepoClient != resRepoServer )
        a_uri << resRepoClient << file << ';';
EXAMPLE
file: Lover-Boy/Advanced/Racing-Alternative_Worlds-1.0.0.aamap.xml
resRepoServer: http://vertrex.tk/aa/resource/

Result: http://vertrex.tk/aa/resource/Lover-Boy ... .aamap.xml;

; is mainly for separating the server link and the client link so that both can be connected for loading of that file.
Image

User avatar
Light
Reverse Outside Corner Grinder
Posts: 1659
Joined: Thu Oct 20, 2011 2:11 pm

Re: Sty CTF map

Post by Light »

LOVER$BOY wrote:is mainly for separating the server link and the client link so that both can be connected for loading of that file.
Yeh, I get it .. I just didn't really put thought into it.

Post Reply