One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#1 2018-04-16 11:59:57

modenv
Member
Registered: 2018-04-16
Posts: 7

Addon: Server Selector

Hello!

I'm very new to this game, but I immediately felt that I was missing a feature - To be able to switch between servers easily.

So I created this, a very basic program which makes things a little less tedious.

It allows you to choose which game server you want to join, and lets you add custom servers so you can easily switch between playing the main server and an unofficial one, without having to edit any files.

I don't know if anyone but me has wanted a program like this, and I can't say for certain that it's going to work on every machine. But I thought that since I've already made it for myself, that I would share it here.

screencap

Download Link
Latest version: 0.1d

Instructions:
0. Make a backup of your game folder. (This application rewrites the game files needed in order to change between servers)
1. Extract the .zip into the game folder
2. Run the .exe

You don't have to open the game .exe, just hit connect and the game will start. (It might take a second to rewrite the files)

If you have any comments or questions please let me know. If someone is interested in extending this, or making it prettier I can post the code.

Last edited by modenv (2018-04-16 21:38:39)

Offline

#2 2018-04-16 14:03:01

Shialac
Member
Registered: 2018-04-07
Posts: 11

Re: Addon: Server Selector

/200? I thought 80 was currently max.

Last edited by Shialac (2018-04-16 14:03:10)

Offline

#3 2018-04-16 14:25:53

modenv
Member
Registered: 2018-04-16
Posts: 7

Re: Addon: Server Selector

The population info is requested from here:
http://onehouronelife.com/reflector/ser … ion=report

Offline

#4 2018-04-16 15:21:14

sunnybyrd
Member
Registered: 2018-04-16
Posts: 2

Re: Addon: Server Selector

does this let you choose between custom servers?

Offline

#5 2018-04-16 15:27:16

modenv
Member
Registered: 2018-04-16
Posts: 7

Re: Addon: Server Selector

sunnybyrd wrote:

does this let you choose between custom servers?

It doesn't have a premade list of custom servers (right now) but if you add a custom server manually it will appear in the list every time you open the application, yes.

Offline

#6 2018-04-16 15:39:39

pein
Member
Registered: 2018-03-31
Posts: 4,337

Re: Addon: Server Selector

someone made one but for linux only, so far
so thank you good sir

also i think is enough to backup the settings folder, copy out or better just zip it

if im not mistaken doesnt change anything else

Last edited by pein (2018-04-16 15:41:50)


https://onehouronelife.com/forums/viewtopic.php?id=7986 livestock pens 4.0
https://onehouronelife.com/forums/viewtopic.php?id=4411 maxi guide

Playing OHOL optimally is like cosplaying a cactus: stand still and don't waste the water.

Offline

#7 2018-04-16 15:43:59

modenv
Member
Registered: 2018-04-16
Posts: 7

Re: Addon: Server Selector

pein wrote:

someone made one but for linux only, so far
so thank you good sir

also i think is enough to backup the settings folder, copy out or better just zip it

if im not mistaken doesnt change anything else

Yes, you're correct. Well technically, it also adds files in a folder called CustomServers, in order to remember the custom servers you add.
But nothing else should be affected.

Offline

#8 2018-04-16 16:11:50

Opedoll
Member
Registered: 2018-04-01
Posts: 39

Re: Addon: Server Selector

This is very helpful! Thank you.

Offline

#9 2018-04-16 16:19:46

pein
Member
Registered: 2018-03-31
Posts: 4,337

Re: Addon: Server Selector

i never know what server im on, if i start as normally, sometimes i see server is full, sometimes i born into different advanced civilizations and i play it cause you cant really go back to other usually, but yesterday i was back and forth into like 3 cities


https://onehouronelife.com/forums/viewtopic.php?id=7986 livestock pens 4.0
https://onehouronelife.com/forums/viewtopic.php?id=4411 maxi guide

Playing OHOL optimally is like cosplaying a cactus: stand still and don't waste the water.

Offline

#10 2018-04-16 17:55:24

bread_lord
Member
Registered: 2018-03-01
Posts: 26

Re: Addon: Server Selector

Nice work, custom launchers like these are very convenient.  For users on linux (or windows users who like the look), here is a link to the other launcher referenced above: https://onehouronelife.com/forums/viewtopic.php?id=1047


Discord: weasel_bread#2656

Offline

#11 2018-04-16 19:58:15

modenv
Member
Registered: 2018-04-16
Posts: 7

Re: Addon: Server Selector

Oops... Didn't realize offline servers were marked as offline in the server list. The current version wont start when one of the public servers is offline. I'll fix this and update the link.

Edit: Fixed

Last edited by modenv (2018-04-16 20:45:34)

Offline

#12 2018-04-16 21:10:06

Roolstar
Member
Registered: 2018-04-10
Posts: 102

Re: Addon: Server Selector

If I may make a suggestion OP.

Can you add an option to simply go back to the default setting (where useCustomServer.ini = 0)

Especially for people who would rely on this tool and don't actually know how to go back to the default setting if they need it.

Thanks a lot for the tool. I love it smile


God is still learning to use His powers; and just like with any other mortal, it's gonna require both mistakes and time.

Only to eventually discover He did not create the world he always wanted, but the world he was forced to create.

Offline

#13 2018-04-16 21:31:28

modenv
Member
Registered: 2018-04-16
Posts: 7

Re: Addon: Server Selector

Roolstar wrote:

If I may make a suggestion OP.

Can you add an option to simply go back to the default setting (where useCustomServer.ini = 0)

Especially for people who would rely on this tool and don't actually know how to go back to the default setting if they need it.

Thanks a lot for the tool. I love it smile

Done!

Offline

#14 2018-04-16 22:02:45

Roolstar
Member
Registered: 2018-04-10
Posts: 102

Re: Addon: Server Selector

modenv wrote:

Done!

Awesome thx smile


God is still learning to use His powers; and just like with any other mortal, it's gonna require both mistakes and time.

Only to eventually discover He did not create the world he always wanted, but the world he was forced to create.

Offline

#15 2018-04-18 19:50:02

danger1penguin
Member
Registered: 2018-03-12
Posts: 37

Re: Addon: Server Selector

I noticed when I use the server select a lot of random tiles are not loading (shows white with squiggly lines). Also, how do we check if it works?

Offline

#16 2018-04-18 20:28:00

Roolstar
Member
Registered: 2018-04-10
Posts: 102

Re: Addon: Server Selector

danger1penguin wrote:

I noticed when I use the server select a lot of random tiles are not loading (shows white with squiggly lines). Also, how do we check if it works?

Almost sure this has nothing to do with the server selector as all it does is edit a couple of files in settings and set the address for the connection.

This is most likely an issue with graphics settings (rendering)
I personally set my targetFrameRate.ini=30 and countingOnVsync.ini=0 (Both files can be found in the Settings folder within the game folder)

Another reason may be that the game needs to update; I've had some visual glitches when I ran the game without it being updated. So try running the game normally first (from default launcher); it may show you it's updating. Then go back and launch from selector.

Hope this helps, and if not check the "known bugs" section of this forum maybe there's something there that does.

Last edited by Roolstar (2018-04-18 20:40:22)


God is still learning to use His powers; and just like with any other mortal, it's gonna require both mistakes and time.

Only to eventually discover He did not create the world he always wanted, but the world he was forced to create.

Offline

#17 2018-04-19 19:25:36

lf
Member
From: Europe
Registered: 2018-03-18
Posts: 35

Re: Addon: Server Selector

Great to see another take on the server selector!


I just wanted to clarify that my "ohol-launcher" is not "for linux" but cross-platform so it does work on Windows and Linux just the same. I have not yet tried on Mac but it should be possible to get it working there as well.

It is build with electron and open source.

Offline

#18 2018-05-05 14:07:15

bunny
Member
Registered: 2018-04-06
Posts: 32

Re: Addon: Server Selector

Im on a mac, do I have to do anything different? After downloading and moving the .exe file into the game folder, nothing happens...

Offline

#19 2019-08-11 02:14:54

pein
Member
Registered: 2018-03-31
Posts: 4,337

Re: Addon: Server Selector

can you make an option to launch with awbz client? or any custom selected?


https://onehouronelife.com/forums/viewtopic.php?id=7986 livestock pens 4.0
https://onehouronelife.com/forums/viewtopic.php?id=4411 maxi guide

Playing OHOL optimally is like cosplaying a cactus: stand still and don't waste the water.

Offline

Board footer

Powered by FluxBB