Create config for Wurm Unlimited#44
Create config for Wurm Unlimited#44own3mall merged 15 commits intoOpenGamePanel:masterfrom Raz89x:patch-1
Conversation
| <game_key>wurmu_win64</game_key> | ||
| <installer>steamcmd</installer> | ||
| <game_name>Wurm Unlimited Server Windows</game_name> | ||
| <server_exec_name>WurmServerLauncher</server_exec_name> |
There was a problem hiding this comment.
it may work like this but it needs the .exe
| <cli_params> | ||
| <cli_param id="IP" cli_string="ip=" /> | ||
| <cli_param id="PORT" cli_string="externalport=" /> | ||
| <cli_param id="QUERY_PORT" cli_string="queryport=27016" /> |
There was a problem hiding this comment.
You should not set a port like that. What if people install multiple of this server? they all use the port 27016? you should use the reserve_port thingy to set the query port and add +1 to the game port, this way it will always use game port+1 for query port this way.
| <server_params> | ||
| <param id="SERVERNAME" key="servername=" type="text"> | ||
| <option>ns</option> | ||
| <desc>The name of the server that will be visible in server browsers. (NOTE: If the server name contains spaces, quotes are required! ie. "Server Name")</desc> |
There was a problem hiding this comment.
you can use different options to do what you want, I think it is:
nothing / no value = placed as is
s = space / separated
q = quoted
sq = space and quotes
sc = space and ends with a comma
sqc = space, quoted, and ends with a comma
You can't trust people to do things right :D, make them do it right without any extra effort.
There was a problem hiding this comment.
True but i tried various options and i couldn't get it to work correctly, the cli param needs to have quotes if it has a space but also it cant have a separating space ie (servername="server Name")
this was the only way i could get it to work, i might have overlooked something though...
|
4 more things to make your xml nicer:
Anyway it's nice, thanks for your work! |
|
Please make the changes recommended above, update your branch and pull request, and then I'll merge it. Thanks! |
|
rocco
Im assuming these are refering to rcon in the way most games use it... Wurm does not have such a feature the admin password is to be used ingame via the console else there is the prompt window of the server, but you can't type in it... |
|
Doesn't matter how can you manage RCON/Admin ingame, when I said OGP can manage it I thought you can set the password automaticly in the start up command line by OGP. If the game server support general RCON then it is other thing and maybe you can manage the RCON comands in the Log window from console |
|
I imagine these ports can be set to anything, but these are defaults Wurm is unique when i comes to admin, everything is done through an in game item oe in game console, there is NO external console prompt, rcon, or otherwise |
thanks rocco for pointing out the queryport also found vac setting
|
Just a question, why do you have this post install? is it mandatory when you install a fresh server? The post install script is used after the Install or update of server. |
|
I saw no alternative as the install puts down the 2 backup maps. If the user chooses to use the default maps, the server will throw the biggest fit about the maps not being found. Side note with using q option, CLI separates it with a space, don't know if this is a bug/glitch, orI'm just doing it wrong... |
|
You mean the "q" option for servername in server parameters is not working for you? be more specific to speed up the polishing of your xml :) edit: ok i added the "q" option to servername parameter, and it adds quotes but it also adds a space BEFORE the quoted servername. I think it is a bug yes, because it shouldn't. Panel and Agent on latest version for me. Also, I'm thinking about the post_install, and for what I understand, it will overwrite these folder every update, and it might be a problem as I see these folders are the ones containing configuration files. Tell me if I'm right but if it is the case, you should have some kind of fail-safe, if the folders already exist you shouldn't move the "_backup" ones to avoid overwriting config files. edit2: hu, it should be ok actually, mv command shouldn't overwrite by default edit3: something I noticed, install, it moves "Adventure_backup" to "Adventure". Delete steamapps folder in this game server root (this will force validation on file and redownload missing/corrupted files), run update again, it moves "Adventure_backup" INSIDE "Adventure", in a subfolder called "Adventure" (so Adventure_backup/ becomes Adventure/Adventure/). Delete steamapps again, update, it then tells you:
It seems mv command first simply 'rename' "Adventure_backup" to "Adventure" because there is no "Adventure" folder yet. This will not really create any problem but just wanted to mention it because after multiple update you will face this behavior. edit4: also your VAC parameter seems to be not valid for Wurm Unlimited absolutely no reference in official doc, and even the log tells you it is wrong. |
|
If you look at #19 there is only ns... adding new options now. |
|
Hope I didn't break anything. I documented the changes: https://github.com/OpenGamePanel/OGP-Website/wiki/XML-Notes If any of you want to help complete the XML documentation following a format similar to the one in place (unless you can come up with a better one), I'll grant you access. We can add to it as confusion and clarification is needed. |
found this to be a little neater and more effective
|
so option q should work now??? |
found my own answer
RMI port and RMI registration port move to reserved query port lowered to +3
seems empty defaults unchecked...
|
as I said
|
|
Yes, "q" should work. |
|
@own3mall if you can create a sub page in the wiki like "WIKI WIP" where I can import the current one and start complete it, test things and all (I'm new to GitHub and don't want to break anything on the real one :D) and grant me access to this sub-page, I'll start doing it. When I'll have it complete, polished and verified we can then import it in the real one and destroy this 'WIKI WIP" page. |
|
I suppose this is done.... Unless there is a way to edit sqlite, all the remaining settings are in a sqlite db within the respective map folder... |
|
Seems pretty good yes. Don't have the game to test but server starts good. Can you change it back to win32 please, this way we keep the good organisation for ogp xml :D (some older xml don't but for now better use the good naming convention) edit: win32 can run on both 32 and 64 bit when win64 is restricted to 64 bits OS. |
|
Something you can also add is an icon for this game server, I think after that this can be accepted as a functional XML :) 👍 edit: like this one https://www.dropbox.com/s/lnkbbcxrhrcatf4/wurmu.png?dl=0 |
|
ih, i thought the win32 and win64 where for specific versions, wurm is indifferent, it works on either, and depends on the version of java installed locally, can change it back if it is still an issue... |
|
idk how the icons work.... |
|
For your XML simply upload the icon to OGP Panel folder /images/icons/ name should match XML so wurmu.png will work. |
|
Yay for making progress! Let me know when this is ready. |
|
believe thats about it... |
Config xml for Wurm Unlimited