{"action":"created","issue":{"url":"https://api.github.com/repos/Unvanquished/Unvanquished/issues/540","labels_url":"https://api.github.com/repos/Unvanquished/Unvanquished/issues/540/labels{/name}","comments_url":"https://api.github.com/repos/Unvanquished/Unvanquished/issues/540/comments","events_url":"https://api.github.com/repos/Unvanquished/Unvanquished/issues/540/events","html_url":"https://github.com/Unvanquished/Unvanquished/issues/540","id":55633589,"number":540,"title":"demo player does not load extrapacks (must play a game before)","user":{"login":"illwieckz","id":2311649,"avatar_url":"https://avatars.githubusercontent.com/u/2311649?v=3","gravatar_id":"","url":"https://api.github.com/users/illwieckz","html_url":"https://github.com/illwieckz","followers_url":"https://api.github.com/users/illwieckz/followers","following_url":"https://api.github.com/users/illwieckz/following{/other_user}","gists_url":"https://api.github.com/users/illwieckz/gists{/gist_id}","starred_url":"https://api.github.com/users/illwieckz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/illwieckz/subscriptions","organizations_url":"https://api.github.com/users/illwieckz/orgs","repos_url":"https://api.github.com/users/illwieckz/repos","events_url":"https://api.github.com/users/illwieckz/events{/privacy}","received_events_url":"https://api.github.com/users/illwieckz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Unvanquished/Unvanquished/labels/A-Engine","name":"A-Engine","color":"e11d21"},{"url":"https://api.github.com/repos/Unvanquished/Unvanquished/labels/T-Bug","name":"T-Bug","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-27T15:41:38Z","updated_at":"2015-01-29T18:21:37Z","closed_at":null,"body":"Hi, If I run server like that: (with some `mod-devserver` pk3 in `pkg/dev`)\r\n\r\n```\r\ndaemonded +set fs_extrapaks dev/mod-devserver\r\n```\r\n\r\nThen I connect the `daemon` client to this server and record a demo.\r\n\r\nThen I play the demo like that:\r\n\r\n```\r\ndaemon +demo demoname\r\n```\r\n\r\nOr like that:\r\n\r\n```\r\ndaemon +set fs_extrapaks dev/mod-devserver +demo name\r\n```\r\n\r\nIn both cases I get some model mismatch like that (here rocket pods rendered as armoury):\r\n\r\n![model mismatch](http://dl.illwieckz.net/u/thomas-debesse/bazar/unvanquished/bugs/unvanquished_2015-01-25_022201_000.jpg)\r\n\r\nThe only way to load the demo correctly is to load a game joining the server first, then playing the demo.\r\n\r\nSo, it seems that playing a demo don't use extrapacks until you play with these extrapacks.\r\n\r\nAt Unvanquished startup, if you play a game with extrapacks first, demo will use them, if you play a demo first, demo will not use them even if you pass them as arguments at runtime.\r\n\r\nYou can reproduce playing this demo at Unvanquished startup: [demo file](http://dl.illwieckz.net/u/thomas-debesse/bazar/unvanquished/demos/unv035git.perseus-rocket-dodge-in-hell.1-dretch-versus-40-rocket-pods.dm_86).\r\nIf you want to play this demo correctly, you can connect to `gg.illwieckz.net:27960` first at Unvanquished startup then play the demo."},"comment":{"url":"https://api.github.com/repos/Unvanquished/Unvanquished/issues/comments/72076140","html_url":"https://github.com/Unvanquished/Unvanquished/issues/540#issuecomment-72076140","issue_url":"https://api.github.com/repos/Unvanquished/Unvanquished/issues/540","id":72076140,"user":{"login":"Kangz","id":472810,"avatar_url":"https://avatars.githubusercontent.com/u/472810?v=3","gravatar_id":"","url":"https://api.github.com/users/Kangz","html_url":"https://github.com/Kangz","followers_url":"https://api.github.com/users/Kangz/followers","following_url":"https://api.github.com/users/Kangz/following{/other_user}","gists_url":"https://api.github.com/users/Kangz/gists{/gist_id}","starred_url":"https://api.github.com/users/Kangz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kangz/subscriptions","organizations_url":"https://api.github.com/users/Kangz/orgs","repos_url":"https://api.github.com/users/Kangz/repos","events_url":"https://api.github.com/users/Kangz/events{/privacy}","received_events_url":"https://api.github.com/users/Kangz/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T18:21:37Z","updated_at":"2015-01-29T18:21:37Z","body":"CL_Record writes the config strings in the demo file, and in the SystemInfo config string, sv_paks has the server paks. I think a very small change is needed in CL_SystemInfoChanged will fix this (it explicitely check for a demo and then loads only the map, otherwise it looks up sv_paks and loads the paks).\r\n\r\nIf noone fixes it soon, I'll do it (can't right now)"}}