wootguy / Glitch-Life

Randomizes Sven Co-op maps
http://forums.svencoop.com/showthread.php/42021-Glitch-Life-program
36 stars 8 forks source link

Multiplayer map transfer #23

Closed MisterFreeman15 closed 2 years ago

MisterFreeman15 commented 4 years ago

Hey I have a quick question, I started a P2P server with my buddy, after the randomisation was complete I send him the folder with the content folder, so he didn’t have to download everything, but for some reason he still has to download the map when joining my game. He put the content in het addons folder just like you said.

wootguy commented 4 years ago

I guess the parent folder was put into svencoop_addon, instead of its contents. The path to the map for him should be: svencoop_addon/maps/mapname.bsp and not svencoop_addon/gsrand_output/maps/mapname.bsp

MisterFreeman15 commented 4 years ago

He did what you instructed but still getting the downloads

wootguy commented 4 years ago

I'd check which file is getting downloaded, and see if that file exists in your gsrand_output folder. If it does exist then things still aren't being copied right. If it doesn't exist in gsrand_output then there's a bug in gsrand, or you might have some plugins installed that have their own file downloads.

If it's a map that uses scripts you might need to install from scmapdb first. I don't think the gsrand_output folder will copy the files used by map scripts.

One workaround could be to use resguy to create a map package for the the gsrand* maps (or whatever map prefix you used), then send that to him. Resguy command: `resguy gsrand* -7z`.

MisterFreeman15 commented 4 years ago

I only randomize the standard half life maps, so the scripts and custom content shouldn’t be a problem.

wootguy commented 4 years ago

alright you can skip the bit about scmapdb then