Server redirect issue


(shuego) #1

Just recently had an issue with server admin settings, thats fixed now I have a new problem…

I realized that ET has a very slow download cap and I don’t like that and I’m sure anyone that trys to download the maps that slow won’t like that. I looked into redirects and I have followed those directions pretty carefully. Every time I connect with another computer that doesn’t have the map its like the file doesn’t exist and completely ignores the link I put in to download the files. I am connecting to my server by the way.http://deathbydefault.co.nr/jaymod/venice.pk3 will prove I have the map its looking for.


//////////////////////////////////////////////////////////////////////
//
// NETWORKING
//
//////////////////////////////////////////////////////////////////////

set sv_allowDownload      "1"
set sv_dl_maxRate         "42000"
set sv_floodProtect       "1"
set sv_fps                "20"
set sv_fullmsg            "Server is full."
set sv_lanForceRate       "1"
set sv_maxPing            "0"
set sv_maxRate            "13000"
set sv_maxclients         "30"
set sv_minPing            "0"
set sv_packetdelay        "0"
set sv_packetloss         "0"
set sv_padPackets         "0"
set sv_privateClients     "0"
set sv_pure               "1"
set sv_reconnectlimit     "3"
set sv_showAverageBPS     "0"
set sv_showloss           "0"
set sv_timeout            "240"
set sv_wwwBaseURL         "http://deathbydefault.co.nr"
set sv_wwwDlDisconnected  "1"
set sv_wwwDownload        "1"
set sv_wwwFallbackURL     ""
set sv_zombietime         "2"

Thats what I have in my jaymod.cfg and in my server.cfg

Not sure what the problem is… From what I have read around the net, that should work. If you have any ideas, please let me know. Thanks.


(shuego) #2

I’ve been messing with it to see if I can figure it out… Still nothing. I have however gathered more information.


Client 1 connecting with 100 challenge ping
ClientConnect: 0
Userinfo: \g_password
one\cl_guid\\cl_wwwDownload\1
ame\Zaknafein\rate\32000\snaps\20\cl_anonymous\0\cl_punkbuster\1\protocol\84\qport\12132\challenge\1928433787\ip\67.160.16.82:1024
ClientUserinfoChanged: 0 n\Zaknafein	\3\c\0\r\2\m\0000000\s\0200000\dn\\dr\0\w\0\lw\0\sw\0\mu\1\ref\0\sc\0
clientDownload: 0 : beginning "jaymod/venice.pk3"
Redirecting client 'Zaknafein' to http://deathbydefault.co.nr/jaymod/venice.pk3
ClientDisconnect: 0

thats from the server console, don’t know if that will help you guys or not. It just disconnects and reconnects, I don’t get it.


(Paul) #3

I don’t know it exactly, but as first I recommend you remove your cl’guid for the public, it’s never a good idea to spread that around :slight_smile:


(shuego) #4

I suppose your right =P Doesn’t really bother me though, not like anything is really going to happen. I doubt a hacker would be leik HAI ima spend my life trying to hack this guys computer. Who knows xD. Can’t really do much to a guid in server either. But hey, might as well take the precaution.


(system) #5

your doing it wrong

(sorry but you should be able to set a path and at least test your server locally…wich you barbie did not do…)


(Cambodunum) #6

maps into etmain
mods into jaymod

… sv_wwwDlDisconnected “1” is for “disconnecting while downloading” stuff from your server or redirect … if there isnt any file at the redirect … then the player comes back and will download the file with 8/kbs from your server … so please dont show everyone your configs and put the maps into the right folder

… so delete every mapfile from your jaymod-folder (client and server) and try it again
… oh and thank you very much for your rcon-password :cool:

greetz Cambo


(shuego) #7

The game is requesting the maps from the jaymod folder. The maps are in both the etmain and jaymod folder. I’m running Jaymod 2.1.7 by the way.


(Rudi) #8

If the maps are in the jaymod folder, then that’s an issue in itself - They shouldn’t be!

Maps in there, as far as I’m aware, will be required for the server to launch. If this has always been the case, the reason it’s not working is because the maps arn’t in /jaymod/ here -> http://deathbydefault.co.nr/jaymod

That’s correct, because as previously stated by M|A|D [Cambo], maps should only be in etmain. After you’ve removed them from jaymod and restarted the server - It should work.


(shuego) #9

Okay, so I removed the maps from my jaymod folder now it wants them from the etmain folder. This is still not working however. I put the maps on my webserver in http://deathbydefault.co.nr/etmain/ . The game is redirecting me to http://deathbydefault.co.nr/etmain/SuperGoldrush_Final.pk3 and it still won’t download. What happens in detail… I start up the server. I test it using another computer without the maps and when I join it just skips over everything as if it wasen’t there, but you can clearly see it’s there. I also tried to use the computer that is hosting the server to connect and try and download the maps, I even tried using a local path to redirect to and it still won’t work. Would this have to do with a checksum or anything? It just isn’t making sense because its redirecting correctly to the files that clearly exist but the game just skips over them… I don’t know. Thanks for everyones help so far, please keep it up =) much appreciated!


(hellreturn) #10

You should do something like this:

On your redirect FTP you should have folder name downloads in root and then sub folders inside downloads name etmain and jaymod i.e.

http://deathbydefault.co.nr/downloads/etmain
http://deathbydefault.co.nr/downloads/jaymod

Now in server config your redirect link would be “http://deathbydefault.co.nr/downloads

http://deathbydefault.co.nr/downloads/etmain – Should have all maps pk3’s.
http://deathbydefault.co.nr/downloads/jaymod – Should have all mod related pk3’s.

If your server is linux make sure permission of pk3 file is 775. Also check the permission of folders on redirect.

I hope it helps.


(shuego) #11

Thanks, I tried what you said, still not changing anything. http://www.xfire.com/video/1fe9e5/

I took that video to see if it can help identify the problem. Quality is terrible but good enough to see whats happening. I put all the mod related pk3’s into the jaymod folder, and all the map pk3’s in the etmain folder. http://deathbydefault.co.nr/downloads

I was wondering if it had anything to do with my apache settings so I messed with that a bit and well I changed some settings so that it doesn’t download things as text/plain. Still no change at all, its been doing this same problem this whole time. Eventually i’ll find out how to fix it I hope. Keep posting ideas, much appreciated.


(Rudi) #12

Right what’s the server IP? If you want, also PM me the whole server config (excluding passwords etc) and I’ll try to take a good look at it for you today.

Note that the files should be downloaded as application/octet-stream for maximum compatibility.


(shuego) #13

Hmm, got another brainstorm here…
I think it has to do with my web server config. I am quite new to apache, so if anyone has any ideas, or things I should add to the config to maybe make this work let me know. I have DefaultType application/octet-stream and I took a look at the mime-types. Anyway… From what I have been told the config for ET is set to redirect, it just won’t download… So it has to be my config for apache.

Thanks! Hope to hear from someone soon. :slight_smile:


(Rudi) #14

Shit. I didn’t get an email that you PMed me or anything, sorry! Will try it soon… If it is your server there’s several other places you could use as a redirect.


(ailmanki) #15

I suppose its related to how your hostname is resolved, it is I think not directly linking… I tried to check with Chrome, as it has some developer tools - first try; not bad tools - apparently it finds 2 ressources for your etmain, one located on the hostname and one on the ip which is linked somehow.

When the et-server tries to get that file, I doubt it can resolve the correct ressource.
I bet if you would put in the ip of your server for the download it would work.

edit: d’oh its a frigging frameset covering the hole page, containing the stuff from your server downloads,
infact there are 2 pages loaded - no wonder ET can’t get it.

edit2: for a free hostname you should IMHO use a service like dyndns.org


(Rudi) #16

What he said ^

Use http://67.160.16.82/downloads/ as your redirect for ET.


(hellreturn) #17

[QUOTE=shuego;209262]Just recently had an issue with server admin settings, thats fixed now I have a new problem…
[/QUOTE]

Good job for using same pk3’s. Al least get some decent brains and rename it? ffs level of copy is just going down. No wonder you can’t fix your redirect.

On your redirect you have all pk3’s of our clan …

Edit: Why not copy our forums topics and post too?


(shuego) #18

I am aware I have the pk3’s of your clan. This server is pretty much just for me and my friends, no one else. Other people can join if they please however… And credit is left where it is needed. If you truely don’t like the fact that I am using the pk3’s I suppose I will just remove them, or just create my own, I was in a hurry. Been working on the thing for a week.

Thanks everyone for helping me figure this out. It works like a charm now!


(hellreturn) #19

[QUOTE=shuego;210128] If you truely don’t like the fact that I am using the pk3’s I suppose I will just remove them, or just create my own, I was in a hurry. Been working on the thing for a week.

Thanks everyone for helping me figure this out. It works like a charm now![/QUOTE]

FYI

  1. You never contacted us.
  2. If I don’t like helping others then I wouldn’t have helped in my previous post.
  3. If it was private server I wouldn’t had said anything, but it’s public server.

All you did was change the =F|A= names and websites from pk3’s to your clan name and websites.

If you had asked me I wouldn’t had said no. But if you keep same name of pk3’s then when people will join my server after joining yours or vice versa they wouldn’t be able to, due to the fact of having same name and different md5 checksum which creates bad downloads and issues.

I did checked the pk3’s. It’s exact same ditto for jaymod extra packs except in it everywhere it’s your clan name/website and not mine. So, saying you left the credit’s is just lie.

Anyways you can use it if you like but just rename each pk3 you use to something like fearlessaddon.pk3 and I am fine with it.


(shuego) #20

Alright, no problem, i’ll change the names. Let me know if you would like anything else done. I might end up just making my own stuff. I just used your pk3’s so I could get the hang of editing stuff like that, I hope you understand. Didn’t mean to stir anything up. I completely respect that its your clans work, just say the word and i’ll remove them.