View Full Version : custom maps repeat downloading
bubble
03-31-2010, 02:35 AM
Hey all.
I've been recently having a problem, and this site has always provided a great source of server info in the past, so i thought i might query everyone to try to resolve this.
I just got a CoD4 server, to host my mod, and serve as a glitch or 'jumper' server.
So i set it all up, did servers cfg, my mod works great, set up server redirect, but im having a problem with the custom maps i put on there. What happens is sometimes some maps will repeat download some files. The client will be stuck just downloading the same .iwd or .ff file on a continuous loop. Its also not limited to citain maps. Some maps that work one time round, will repeat the next time round on the rotation. Some players that have the map files already, will be stuck downloading the next time round. And sometimes the maps will just work flawlessly. Its completely random.
I know its not my mod thats bugging it. Ive tested my mod, the similar codjumper mod, and default cod4, all the same thing.
Atm i have a server redirect setup. Settings are...
// Client Download Settings. (0=off/1=on) Used for MODs and custom maps
set sv_allowdownload "1" // Allow Clients to download
seta sv_wwwDownload "1" // Allow Re-Direct downloads
seta sv_wwwBaseURL "http://www.hypogaming.com/cod4" // Re-Direct Destination
seta sv_wwwDlDisconnected "0"
All map files have been tested for spelling errors and such on both redirect and cod4 server usermaps folder. If anyone has any ideas or could shine some light on this i would be very grateful.
Cheers.
sgTsTuFz
03-31-2010, 02:47 AM
Make sure the files are the same on both server and redirect - the very same.
Take your server files and up them to the redirect. Do you run the maps' iwd file in the mod folder ? If so, switch them to their own map folder in usermaps.
And redo that mod folder so its empty of all map iwd files. Thats a start.
bubble
03-31-2010, 03:00 AM
Make sure the files are the same on both server and redirect - the very same.
Take your server files and up them to the redirect. Do you run the maps' iwd file in the mod folder ? If so, switch them to their own map folder in usermaps.
And redo that mod folder so its empty of all map iwd files. Thats a start.
thanks for the reply.
And yea, ive done all that. Ive made a new modfolder, with just my mod. There are no map iwd's in there, only iwd in there is my one for the mod.
And the map names, ive checked everyone of them. There exactly the same. Ive also gone through, deleted all 40 off the maps, re-uploaded on the server ftp, and the redirect, making extra sure they were the same exact default map files. Still the same problem. Ive also gone through the console_mp.log, and games_mp.log, and there seems to be nothing in there that is saying theres a problem with the maps. It all looks fine, which is what has me puzzled.
sgTsTuFz
03-31-2010, 04:10 PM
I checked your redirect, your mp_bouncer_training.iwd has maps and materials folders - clean them out, delete them. then re-up to server and redirect.
Unless your mod.ff isn't compiled with the teams gsc stuff and whatnot, an iwd file with materials - maps folder just isn't needed and can foul up the file gets.
for an iwd file, images - weapons - sound folders are ok.
bubble
03-31-2010, 07:24 PM
Ok, now im really confused, lol. We originally did that, 'cleaned' the maps' iwd's. We deleted all files except the images, sounds, and weapons if they were there.
Then we had some problems, some users were reporting being kicked from the server for 'invalid iwd refrenced'. I thought this may be because we essentially changed the maps file structure, even though some clients already have those maps downloaded from other servers in there usermaps folder. For that reason, some clients maps didnt match up to the servers'.
Although I may be completely wrong on this. Whats the right way to do it?
regards.
sgTsTuFz
04-01-2010, 02:33 AM
Are you experiencing the errors in downloading ? the loops ?
yah, they have map iwds with folders or files other than
images
sounds
weapons folder should be in mod folder, not in map iwd.
so those players with iwds that are different, yah they are gonna get the looping download because what they have is different from what is on the server/redirect.
Same thing applies if they have clean map iwds and they are connecting to your server/redirect and your map iwds have extra folders/files that shouldn't be in there.
Its a file mismatch, plain and simple. So clean it up on your end and spread the word.
your players will thank you :D
bubble
04-01-2010, 06:35 AM
Are you experiencing the errors in downloading ? the loops ?
yah, they have map iwds with folders or files other than
images
sounds
weapons folder should be in mod folder, not in map iwd.
so those players with iwds that are different, yah they are gonna get the looping download because what they have is different from what is on the server/redirect.
Same thing applies if they have clean map iwds and they are connecting to your server/redirect and your map iwds have extra folders/files that shouldn't be in there.
Its a file mismatch, plain and simple. So clean it up on your end and spread the word.
your players will thank you :D
haha thank you for clearing that up. I did feel it was the right thing to do, but i was concerned that the general public had the wrong map iwd's, because wereever u go to download those maps on the net, they include the iwd's with them. I've also talked with another server owner hosting the same maps, he mentioned that some maps do that, (although he didnt know why). It starts to make sense that the bad iwd's are at fault. Ill clean it out tomorrow, and only leave maps with fastfiles, then go through and test all the new cleaned iwd maps.
Thanks for your help. Also, when i did clean the iwd's first time around, I turned off pure ( sv_pure "0") maybe thinking it would stop CoD4 being so critical of players that have old iwd's. but then all sought of things went wrong ( missing bullet impact textures, weried sounds, and crashing to name a few. ) Do you think i should keep it off? Will it even make a diffrence, i think some ppl still got kicked for invalid iwd's.
cheers
P.S also those weapons i was talking about were added by the mappers, all my Mod stuff is were its spose to be :P
sgTsTuFz
04-01-2010, 01:25 PM
you should set pure to 1. Makes sure your players files are matching whats on the server - stock files only, I believe.
I see in my replys I say weapons folder ok in a map iwd, then I back off.
- a weapons folders is USUALLY in the mod's iwd, not in a map's iwd.
One map - cloud_citi - has a weapons folder. Weapons folder is ok in a map's iwd file.
Kinda sounds like your planning on getting rid of the map iwds ... ? DONT !
just open the iwd in winrar and delete any folder that is not named:
images
sound
weapons
There shouldn't be anything but a readme.txt file in a map iwd. Even then, you can delete those.
bubble
04-01-2010, 10:36 PM
you should set pure to 1. Makes sure your players files are matching whats on the server - stock files only, I believe.
I see in my replys I say weapons folder ok in a map iwd, then I back off.
- a weapons folders is USUALLY in the mod's iwd, not in a map's iwd.
One map - cloud_citi - has a weapons folder. Weapons folder is ok in a map's iwd file.
Kinda sounds like your planning on getting rid of the map iwds ... ? DONT !
just open the iwd in winrar and delete any folder that is not named:
images
sound
weapons
There shouldn't be anything but a readme.txt file in a map iwd. Even then, you can delete those.
Yes, sry, spreading confusion on my part. The weapon Files i were refering to were the ones in some maps iwd's. These were added by the mappers, has nothing to do with my weapons that i made for my mod. And when i refer to deleting the iwd's, i didnt mean the entire thing, lol. Luckily im a modder so i know what im doing. All rawfile gsc's, menufiles, csv's, or anything else that mappers left in there iwd's that are not images, sounds or weapons i will remove from the iwd's. I was a little unsure about the material files, since they hold the information for the images. But I assume they have been compiled in the maps' fastfile.
Also, someone sent me a similar thread from another forum, Some guy was having the same problem. He mentioned there could be issues with uploading the map folders to the redirect. That they might not exactly match up to the servers map. Im going to keep the maps zip'd, upload the zipfile, then unzip them once there inside the redirect directory, See if it helps. I have really dodgy net, so it would make sense that some uploads of the map files may have failed marginally, even if they are only 1 kb diffrence in size.
Ill keep you posted.
sgTsTuFz
04-02-2010, 12:14 AM
You ARE on IT !! ;)
and yah materials should have been compiled to the ff
Hi, I'm new here. I found this thread because I'm experienced the same problem. But not exactly.
First, I speak spanish, so, sorry by my mistakes.
I didn't understand before this thread what "iwd clean" meant. Because of that, I have my server with the map's iwd files in the mod directory. So the redirect download, get them all when you join. And that worked fine.
Now, I added 4 new custom maps, and here comes the thing. I don't know why, but now every file you download, it does it two times.
Only two times and then enter to the game normally. And if you rejoin, doesn't download nothing else. So the files are ok, but the two downloads is what I don't understand.
Any clue?
I want to say this is a great site, I read it in the past, but now I have a question not answered. Thanks in advance at least for reading me.
sgTsTuFz
04-25-2010, 03:51 AM
sounds like you have these 4 new maps with iwds in the map folder and the mod folder, maybe eh ?
you know the time it takes to download a mod folder with a bunch of map iwds will kill your server - I know that I quit the server when I get forced with a bunch of map iwds BEFORE I can get the map files and join the server.
Why don't you come over to the winning team and put your map iwds to their map folders and clean that mod folder out !
cleaning map iwds means taking everything out of the iwd but the images and sounds folders.
good luck to ya :D
It's not the case, I don't have duplicates map's iwd on the usermaps folders. Also, a file of the previous added maps it dowload two times too. Every file downloads it two times now.
And I tested with another server, a local one, with the same config, and it downloads all the files like should be. So, there is a problem with my stock server, but has exactly the same files that a server who is working well.
Pretty rare, huh?
I will test cleaning the mod folder to see what happens.
I put the map's iwd files into his respective map folder and all is good now.
:D
sgTsTuFz
04-26-2010, 01:22 AM
good to hear, sounds like it fixed it. Tho that was a weirdy :confused:
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.