server_playlist in h2serverconfigx.ini doesn't seem to work after latest update 0.7.2.1

Dec 29, 2018
10
6
3
57
Gamertag
Mabuka
#1
Recently updated and recreated my server. However the server_playlist setting in my server config has no effect. No matter what it uses example.hpl in the server directory. I also tried just copying my server playlist into the server folder, but that doesn't work either.
I got around it by copying my playlist into the Hala 2 server folder and renaming to example.hpl. Is this a bug or a new feature?
All the other settings are active and working as expected.
 

tweek

Dev
Project Cartographer Staff
Nov 29, 2013
901
126
43
#2
I can confirm that this setting isn't working, we're looking into a fix.

However as a workaround, go to the h2admin cmd and input

play playlistname.hpl


and it should read it and remember it for next restart
 

divine1gore

Staff
Project Cartographer Staff
Jan 12, 2019
163
35
28
Washington State, USA
Gamertag
divine1gore
#3
So by default example.hpl sits in the main directory of h2server however if you don't already have one try creating a folder called "Playlists" in the h2server directory and place your playlist with the name you want in there. I believe that h2portable is now set to true in the config file so it probably expects to read your playlist from there, and you likely have it placed in the documents folder or something. And like tweek said you could specify the full file path to the playlist file from the commandline and that will also work to get it to select the playlist while the server is running regardless of where its located.

So option one go into the config file and set h2portable to 0 or option 2 place your playlist into a folder named "Playlists" in the h2server directory. And option 3 specify the full file path to your target playlists with the play command from commandline
 

divine1gore

Staff
Project Cartographer Staff
Jan 12, 2019
163
35
28
Washington State, USA
Gamertag
divine1gore
#4
and since the server expects to run from whatever the default directory is if you place your playlist into the
Playlists folder while the server is running you should only need to specify the file name not the full path from the commandline, but since you want it to default to that file from the ini as the base playlist I recommend you start / stop the service or kill the process and restart it depending on if you run your server in manual mode or as a service
 
Dec 29, 2018
10
6
3
57
Gamertag
Mabuka
#5
I can confirm that this setting isn't working, we're looking into a fix.

However as a workaround, go to the h2admin cmd and input

play playlistname.hpl

and it should read it and remember it for next restart
Thanks for the response. I had it set to a fully qualified name of a playlist file in a Playlist folder under my server install folder. As a workaround I simply copied the contents of my playlist into example.hpl. In addition from the h2admin command prompt: play "c:...\...\myplalist.hpl" also works. I am using a Windows Service instance.
 
Dec 29, 2018
10
6
3
57
Gamertag
Mabuka
#6
So by default example.hpl sits in the main directory of h2server however if you don't already have one try creating a folder called "Playlists" in the h2server directory and place your playlist with the name you want in there. I believe that h2portable is now set to true in the config file so it probably expects to read your playlist from there, and you likely have it placed in the documents folder or something. And like tweek said you could specify the full file path to the playlist file from the commandline and that will also work to get it to select the playlist while the server is running regardless of where its located.

So option one go into the config file and set h2portable to 0 or option 2 place your playlist into a folder named "Playlists" in the h2server directory. And option 3 specify the full file path to your target playlists with the play command from commandline
In the end I did option 4 and copied the contents of my playlist into example.hpl :)
I also use the Play command once the server is running. I do have folder called Playlists in my halo2 server folder (where the.exe is) and I'm running as a Windows Service.
Thanks for the responses
 
Dec 29, 2018
10
6
3
57
Gamertag
Mabuka
#7
So by default example.hpl sits in the main directory of h2server however if you don't already have one try creating a folder called "Playlists" in the h2server directory and place your playlist with the name you want in there. I believe that h2portable is now set to true in the config file so it probably expects to read your playlist from there, and you likely have it placed in the documents folder or something. And like tweek said you could specify the full file path to the playlist file from the commandline and that will also work to get it to select the playlist while the server is running regardless of where its located.

So option one go into the config file and set h2portable to 0 or option 2 place your playlist into a folder named "Playlists" in the h2server directory. And option 3 specify the full file path to your target playlists with the play command from commandline
fyi...I changed my portable setting to false/0 and now just have server_playlist=myfile.hpl and it works fine.
Thanks!