Author Topic: requiredfiles doesn't work correct  (Read 3006 times)

Chef-Killer

  • Map Committee
  • Autococker
  • Posts: 1312
requiredfiles doesn't work correct
« on: November 09, 2010, 11:03:38 AM »
If there're two or more files, the game stops downloading as soon as it doesn't need to download a file.


Example 1:

"requiredfiles" "file1 file2 file3 file4 file5"

Let's say that a player has already file3.

file1 downloads correct
file2 downloads correct
file3 doesn't need to be downloaded
***the game stops/ends all downloads now***
file4 won't download
file5 won't download


Example 2:

"requiredfiles" "file1 file2 file3 file4 file5"

Let's say that a player has already file1.

file1 doesn't need to be downloaded
***the game stops/ends all downloads now***
file2 won't download
file3 won't download
file4 won't download
file5 won't download

So the game will download nothing.
« Last Edit: November 09, 2010, 11:24:40 AM by Chef-Killer »

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: requiredfiles doesn't work correct
« Reply #1 on: November 19, 2010, 10:20:04 AM »
I'll try to take a look at it soon.

Chef-Killer

  • Map Committee
  • Autococker
  • Posts: 1312
Re: requiredfiles doesn't work correct
« Reply #2 on: January 22, 2011, 03:01:12 PM »
There's an other problem with requiredfiles. It's not possible to add "requiredfiles" "#" in an ent file. This doesn't work. It seems like the download of the required files runs before the ent file gets activated. Is there a possibility to change this order that the ent file gets activated before the downloads of the required files runs?

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: requiredfiles doesn't work correct
« Reply #3 on: February 09, 2011, 09:11:32 PM »
"requiredfiles" is like any other field.  I don't see why it wouldn't work in an .ent file.  I'm looking into the other issue now.

Edit: Yeah, I just put requiredfiles in an ent file and it worked fine.

Chef-Killer

  • Map Committee
  • Autococker
  • Posts: 1312
Re: requiredfiles doesn't work correct
« Reply #4 on: February 10, 2011, 10:32:47 AM »
Ups :-X...it was the change from .skm to .md2 with an ent file where the download (skp files) doesn't work well. Sorry for the incorrect information.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: requiredfiles doesn't work correct
« Reply #5 on: February 15, 2011, 11:58:49 AM »
This should be fixed for the next release.

Chef-Killer

  • Map Committee
  • Autococker
  • Posts: 1312
Re: requiredfiles doesn't work correct
« Reply #6 on: February 15, 2011, 01:39:17 PM »
Thanks, very nice :)

Btw, I guess this only means the first thing, right?

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: requiredfiles doesn't work correct
« Reply #7 on: February 22, 2011, 11:52:38 AM »
Thanks, very nice :)

Btw, I guess this only means the first thing, right?
There was more than one thing?

The fix should be in build 32.  Test it out.

Chef-Killer

  • Map Committee
  • Autococker
  • Posts: 1312
Re: requiredfiles doesn't work correct
« Reply #8 on: February 24, 2011, 12:00:33 PM »
All I've tested works fine now :D

The second thing I was talking about was the following. It's not directly the "requiredfiles" field, but it has to do with required files.
it was the change from .skm to .md2 with an ent file where the download (skp files) doesn't work well.

However, there's no more need for an ent file because it also works with .skm now. I guess you already fixed this for build031, I just didn't understand it correct.
Quote from: jitspoe
- Replaced .skm in model keys with .md2 so downloading code will work properly and people will get the .skp pose files as well. 10:19 PM 5/18/2010