User panel stuff on forum
  10 posts on 1 page  1
Server Talk
2017-03-02, 02:18
Member
805 posts

Registered:
Mar 2006
How do I download mvd demos from a fteqw server?

I can see de demos list using cmd demolist, but cmd download demos/<nameofthedemo> gives:

In the client:
]cmd download demos/ffa_e1m1(1).mvd

Failed to open



In the server:
Downloading demos/ffa_e1m1(1).mvd to vqc.vegetous


but there are no demos downloaded!
https://tinyurl.com/qwbrasil - QuakeFiles
2017-03-02, 09:32
Administrator
1025 posts

Registered:
Apr 2006
vegetous wrote:
How do I download mvd demos from a fteqw server?

I can see de demos list using cmd demolist, but cmd download demos/<nameofthedemo> gives:

In the client:
]cmd download demos/ffa_e1m1(1).mvd

Failed to open



In the server:
Downloading demos/ffa_e1m1(1).mvd to vqc.vegetous


but there are no demos downloaded!

Server version?
Client?
Client version?
2017-03-03, 03:32
Member
271 posts

Registered:
Feb 2006
don't use 'cmd'. just use the client's download command directly.

'cmd' means the server handles it instead of the client, which would be a major security risk for the client if it were to allow the server to write arbitrary files anywhere.
most clients just silently ignore any such downloads assuming them to be from demos, which is the safe thing to do.

I could rant about it, but I think I'll save that for another day.
moo
2017-03-06, 17:07
Member
15 posts

Registered:
Apr 2009
I used to run FTEQWSV to use the Pro-X mod for Clan Arena when I was running the fusion league however it's been a while so I may not know all the commands.
off the top of my head.

One of the small drawbacks of running the FTE server was getting demos, it was a bit complicated since you couldn't just do the command for demolist and then just do "cmd dl demo .." I think when a match starts, it says "Starting recording demo#.xyz.mvd" so what you have to do is basically know the full name of the demo so you'll have to do "download demo#.fullname.xyz.mvd" and that will allow you to download it.

Of course this was a bit tedious when you're playing multiple matches so what I had to do was basically run a small apache server and link the demo directory of where those demos were being kept, and then I just went to http://quakeserver and see the listing of the demos and did it that way.

Other than that, FTE was quiet useful since it was the only server that ran Pro-X as the MVDSV had a small bug when running the mod.

Hope that helps
2017-03-06, 21:42
Member
805 posts

Registered:
Mar 2006
Thank you all for the answers!

Using ezquake, the command download demos/NAMEOFTHEDEMO.mvd does the trick. Except when you have a duel and the demo is named after player's nicknames with special characters. In this case you end up with files containing special characters, and you can't download the demos at all!

And as clawunf pointed out, cmd dl NUMBEROFTHEDEMO is a lot easier than type a huge demo name in console. I'll probably start to copy the demo names from my console log and past it back to download the ones I'm interested!
https://tinyurl.com/qwbrasil - QuakeFiles
2017-03-07, 04:53
Member
805 posts

Registered:
Mar 2006
update

Ok, the demo name isn't saved with special characters, it's saved exactly as it is showed in the console, with upper and lower cases. Looks like the problem is that ezquake sends only lower cases to the server, so doesn't matter if I write the file name correctly with lower and upper cases.
https://tinyurl.com/qwbrasil - QuakeFiles
2017-03-07, 07:15
Administrator
284 posts

Registered:
Sep 2015
vegetous wrote:
Looks like the problem is that ezquake sends only lower cases to the server, so doesn't matter if I write the file name correctly with lower and upper cases.


Just tested, ezquake sends AbCdEf.mvd, it's the server that converts that string to lowercase before checking if the file exists. (both ftesv & mvdsv do this)

So at the moment, the mod/server needs to save the demo file in lowercase to allow clients to download it.
2017-03-07, 08:42
Member
344 posts

Registered:
Nov 2006
Well if the request is converted to lowercase, then recording should do the same i guess?

Fix your game Spike! ;-)
2017-03-08, 12:03
Member
805 posts

Registered:
Mar 2006
A friend was trying to fix the issue in the source, and disccovered that download demonun\NUMBEROFTHEDEMO, will also download de desired demo.

So, problem solved!
https://tinyurl.com/qwbrasil - QuakeFiles
2017-03-21, 15:02
Member
805 posts

Registered:
Mar 2006
There's also another problem related to duel matches! FTESV is not filtering special characters like ">", and using them in the demo's names. Resulting in a file that can not be downloaded to Windows!
https://tinyurl.com/qwbrasil - QuakeFiles
  10 posts on 1 page  1