I have supported multiple servers for games for many years. I got started because when I was in the Navy we had no internet connectivity so playing multi-player games meant someone had to learn how the servers worked. Ark: Survival Evolved uses game servers and the configuration of these can become quite complex, especially since the game is feature incomplete. I had been running multiple 'instances' of ark servers. Different maps and different settings, I had carefully learned how to migrate people's profiles to the other servers using the underlying File System. Then with Scorched Earth we learned that we could have these instances linked. This changed things tremendously.
What follows is a technical discussion about clusters, and its not a straightforward step by step how to set things up. If you don't know what network file systems, symlinks and swap is then its probably going to be difficult.
Clustered servers means that you can have all 3 maps running simultaneously and move items and dinos and even players between them seamlessly. Amazing!! this effectively changes the size of playable maps if you can just go to another map! This means that the limit of the cluster is only a limit of hardware. It takes a little bit of metal to accomplish this though: The Island map with no mods runs at about 5.5 GB of RAM, The Center which is optimized and foregoes some visual candy can run at about 4GB even though its a much larger map. Scorched Earth which is the newest map uses about 2.2 GB of RAM. This means that to run everything we need about 12GB of RAM. Individual client connections also put more load on the RAM and we absolutely want to prevent things from going to swap... but that's is a lot of server for a cluster, and it becomes more difficult once we start adding mods and their RAM requirements on top of things.
To deal with the hardware requirements I simply switched servers on and off as required. This was fine for the 3 or 4 people that were playing in my cluster as we pretty much wanted to be together on one server or another. Till the holiday events. During the events we wanted to split up and collect as much of the costumes and swag as possible. This presented a challenge. The Center is where we had our main base, since we took over one of the in game obelisks it was convenient for a base as there is room to expand around the base of the obelisk. The Center did not have the holiday mechanics properly plumbed and so besides the holiday drops we were not seeing the DodoRex spawn, for that we would need The Island map. Finally, there were the event's Scorched Earth features that only went off there... so we must have all three maps running.... i have plenty of machines that can do these maps individually; older hardware in the 4 GB or 8 GB range, but I only have one machine with 12 GB and that is my laptop. How can we make this work?
This is how!!!!!
The cluster directory on Linux is here:
I have seen on several tutorials where people that wanted to run multiple servers with different game settings have had multiple installs so they would look like this:
with the clustername directory linked via symlink. This would essentially allow to different servers to share items through the in game mechanics. In case your wondering, items loaded into the obelisk in game are dropped into a file that is named what your steam profile ID is. You could manually move this file to another server/cluster if you wanted to, but i wanted this to work without hand holding from the admins. Since symlinks work I hoped that UNIX/Linux's Network File System would allow to separate computers to accomplish what a single computer was completing. I tested it this morning and it does in-fact work!!! The red arrow in the diagram above which runs directly between the two bottom computers is the NFS mount. Now multiple computers can share this allowing for hundreds of servers simultaneously running in the same cluster. I have not tested this on Windows since the NFS protocol is not baked in. I might be able to do this with Samba/Windows shares, but windows is not set up for this distributed computing the way that Linux is, the NFS mounts do not appear differently than locally mounted devices to the Linux filesystems, and this is why it works so well with NFS.
There are some drawbacks however.... your player profile was available to all the maps on a cluster that shared the same server directory. (not everyone knew this but you could just login to new server and select 'respawn at random location' and viola your stats, levels and engrams were all available.) Now since the server directories are different your player profile will be separate. This is kind of a downer, but can be hand copied by the server admin provided they want this crazy task. I suppose we could set up a sync between the servers and only copy the most up-to-date files. I can think of couple programs that would be very good at this. It also opens the door to cheating. I dont think the developers ever intended to have the avatar profile existing in multiple instances across server but sharing a XP pool, but that's what has happened.
The cheating would work something like this: lets say I had an idea of the 50 most useful things that i always wanted to be omni-available in a obelisk. I could load those things into the obelisk in game, then copy that file (the one with my profilenumber) into a third directory out of game. Then I would simply write a shell script that copied this file back over the cluster file ever minute. Then i could just hang out by the obelisk and download Ascendant Rocket Launchers and ammo every minute till I was overburdened with high powered death.... This probably would work for dinosaurs as well. Mate Boosted 300 T Rexes? sure you can get another 2 every minute out of the obelisk. I have accidentally made copies of dinos moving servers around so I am quite sure that this would work.
Next up I want to try and mount the entire game directory, then run multiple instances of islands with alternate save directories off the same game installation. This would prevent some of the problems i already mentioned because they would all be working off the same save directory except for the files that are specified in an 'altSaveDir' setting upon start up. It would also mean that only one server installation had to be updated instead of maintaining multiple working copies with synchronization.
Why would i want to do this? Digital Ocean offers a $5 a month rig that would server as the top level of the diagram and then the subsequent 'process' servers have an associated cost to run hourly... there is a 16 GB server that only costs $.18 an hour. This means that running the server a 6 hours a day (which is what we are averaging currently) would cost $32 a month. As long as I wrote a program to turn off and on these servers. We might be able to use other cloud compute providers to make our ark cluster truly expansive. Having a fiber backbone for the network would be infinitely better than my home connection and then we can really play with our dinosaurs in a way that is reflective of the digital age. You know for fun.
I can confirm that mounting the entire installation does work!!This means that as long as you have computers available you can spin up a new instance without actually configuring and installing everything on an individual machine!!!!!!!!!!! More to follow!
Hello again!!! I'm sure there is not that many people that are hanging on to the adventures of one geek in the ether, but still. This post is overdue.
I just want to show off some of the great stuff that has been happening in the world of ark. Since i have over 1600 hours into the game I can say with a great deal of certainty that this is my favorite pass time or all time. What you see above is a screenshot of me inside the first expansion of Ark called "Scorched Earth." The expansion brought a host of new creatures (some of them mythical) and it also brought the full fury of cross server transfers. This is sort of the missing piece of the ark universe that makes the meta game absolutely amazing. There will be a little more about the cross server non-sense in another post but for now I just want to talk about 1 year with Ark.
Scorched Earth was met with a split response from the player base. The first group basically had a solid outrage of, "why would you sell me an expansion before the first game is even officially released?" The second group had no response cause they were too busy loving the content. I think that the offered price of $19.99 was better than fair, and I can state that by highlighting even though the Scorched Earth map is brutally hard, plenty of people have started playing there full time/exclusively.
What makes Scorched Earth so hard and so good? You not only play against each other and the beasts roaming the map you play against the elements themselves. The Ark Design team really went out on a limb here. Everyone has regarded fortitude and water as "throw-away" stats in the standard ark maps because there is no reason to put points into them. Well, that is not true anymore. Fortitude is the most important stat in Scorched Earth. Searing heat and bitter cold await you even in the most mild environs on the map. Water loss is a real concern since water is few and far between. Of the dozen or so watering holes in the center of the map you will find an abundance of life competing, as you would expect in the African wastes. This makes surviving HARD. Additionally to the water loss is the equally frustrating heat mechanic, which accelerates water loss. The temperature on Scorched Earth routinely reaches 150+!!!! This will kill you if you are outside. But the developers have given you tools to deal with this frustrating set of circumstances. Dessert Armor. It helps with water retention and fights heat stroke (an in game mechanic that ruins your vision until you pass out.) There are also adobe building blocks so you can hide inside a building with get thermo properties instead of a stone or metal building which basically becomes a frying pan. There is also the amazing addition of a tent! This temp shelter allows you to hide from many of the dangerous weather conditions that you will encounter when you are far from base, but as a temp shelter it looses vitality when its erected till till it falls apart. One could run into one of the many caves on the maps, but creatures native to the caves will not be considerate or your needs to live. Finally one has to contend with Sandstorms that strip away your stamina and kill visibility and force all animals to walk, not sprint.
Why would anyone even want to play on this god forsaken map? Resources. Dinos available no where else.That's right, tamable, ride-able Wyvrens. There are three different flavors: Fire, Lightning, Poison. They each have there own utilities and breath weapons, but overall Wyvrens are among the most versatile mounts in the game. And you can only get them in Scorched Earth. There are a few things that make them great. Speed: they are faster than every other dino, but if you bump points into the speed stat they can literally fly faster than the game can render. Flight and picking up dinos: they are better than an Argy but dont have the pick up of a Quetz. For example you can liberate a Carno from its earthy prison, but a mammoth not so much. Weight: You can pump the weight stat and get into the range of Paracers very easily. It wont compete with a Bronto but it will compete with mid level Quetz's. Finally, and this point is not insignficant, getting your hands on one of these babies is an adrenaline ride!!!
Wyvrens cannot be tamed, they must be hatched. Since you cannot breed them in captivity you have to steal wild Wyvren eggs from a giant canyon on the South side of the map. It pisses off all of the wild wyvrens when you liberate an egg from its' mother's nest. So imagine flying into a enclosed lava filled space on an Argentavis with nothing but movement speed pumped so you can get away. You find a nest, you land in the pocket on the canyon wall which limits your view of what is actually cruising nearby. You snatch the egg and jump back on your bird to flee when you are greeted by the trumpeting calls of mythical dragon cousins enraged at your arrogance! Yes its all that and more, and for a video game to consistently give me adrenaline boosts during this process is awesome!!!! Oh by the way when you actually recover an egg and you start to hatch it you will learn that you literally need to raise the temperature of the egg to human life threatening levels. And when that is done you have to feed the damn thing wyvren milk.... which you can only get from knocking out female wyvrens and milking them before they damn well wake up. Yes its hard. Yes its nuts. Yes its inconsistent because you don't have control over the stats or what level an egg is. Yes its epic.
There are other creatures on the map that are beneficial and worth exporting to other servers but the Wyvrens really steal the show. The Design team did a good job making it hard to get your hands on an adult wyvren, and then limiting their utility on the map they are found. It really shows that you are expected to hop between these realms/arks. When you start going down that road... well the game becomes more dynamic and strategic.The Holiday season is back as are the in-game events, we just completed the Halloween event, and I'm looking forward to some turkey antics and some Christmas antics after that. My tribe and I have been enjoying all that this game has to offer and in that one way we are completely sold on Ark. We even have a pool on what the next expansion will be, I'm all in on a nearly water-only expansion that introduces underwater bases and aquatic breeding. Till then "BRING IT!"
Yesterday instead of doing homework I decided to fire up my Ark game and screw around. After a while I was happy with my progress and decided to step away and complete homework while I tamed a Triceratops in game. This method of multitasking allows for me to focus on my homework for about 20 minutes till i have to re-dose the taming dino. I found this amazingly helpful website. I just plug in the info and set the alarm to go off two minutes in advance and viola!!! Tame and homework simultaneously. Or at least that's what I tell myself.
So one of my trips back into Ark upon an alarm brought a surprise.... There is another person here. And he is named "Tiny." Tiny is the in ark personna of Sl1pg8r a youtube.com gaming personality.
After I clarified that this gent was not the Tiny we got to know a little more about eachother. It turns out my idea of a non-persistent, and not packed server appeals to multiple people.
I know Smyhk and I don't have time to have this persistent world clicking away, especially if we have to log in every few hours and pile on more food for our dinos. I learned in my last server attempt on "The Island" that im a dino horder. See the Marina I build to hold all my sharks on the last server instance?
There was about 10 minutes of work every day just to keep all three of my bases stocked and functional. Additionally, when we started with babies and breeding it became apparent that my time spent babysitting baby dinos was going to be immense. The threat of a food trough running out of food was a true concern in early days. (someone figured out that on normal settings a stack of food would only last for 6 hours but then the devs fixed the hunger mechanic. Activity burns calories so a dino running around burning stamina uses food to refresh. Its pretty good if your dinos are just going to be standing there. There is also the threat of attack... If another dino attacks one of your's while your logged it will use food to regen its health. Still making sense.
All of this breaks down in the baby dinos.....
These suckers plow through food. Again you can load a butt-ton into a feeding trough and pray (6 hour per stack and all that) that it doesn't eat everything and die.... which happens a lot. Internet knowledge points out that there is a "bug" with their food stat. Since they cannot eat to full capacity till they are adults. (only 600 of 6000 food might be available) the baby dinos are hungry all the time. This means that a baby need to be "starved" if you just have the food in the trough they will eat right through what is there. If you come back periodically though and top off their food stat they will eat significantly less. Of course that means you have to actually log in and feed them periodically.... So food vs. time. Babies almost break your day.
Back to the friend.... we discussed this at large. We also discussed some ideas for mods.... milking scorpion venom for narcotics instead of berry harvesting... etc. He too was looking for a nearly stock experience as he found the survival element the most appealing. No cranked training timers, no high harvest rates, but the game is brutally difficult and requires a serious investment of time. Additionally, any casual players will find themselves at the mercy of folks that are full-time players. It makes sense that if your putting 8 hours into a video game... like a job you should be rewarded more than someone that only plays 4 hours a week. This is where the server set up I utilize becomes a deterrent.
- The server is only on 12 to noon. Automatically, this limits the play time people have and pushes hard-core players away.
- The server is essentially stock, meaning progression is slow. Anyone interested in grinding out levels quickly and terrorizing others has to be committed.
- The player limit is at 10. This ensures that you cant have a huge population shift. Worse case scenario is that 10 people are logged in and you have to play something else. Goodbye to anyone but casual players.
- The difficulty is turned all the way up. This means that your little puny human can and will come up against lvl 150 T Rex's. Without the quick progression to endgame this makes the server a punishment to all but the most cautious and thoughtful players. (building floating bases will be safer then the beach for instance) To facilitate this idea the only setting that is cranked up is the number of structures per platform is at 6000%.
So welcome to my ark!!!
Sometimes a video-game comes along that is so good it makes you re-evaluate your priorities.
Sometimes its soo good that you wish there were more hours in the day.
Sometimes its also available on linux and your heart swoons.
I wont go into too much details of whats going on right now cause i want to start documenting things happening more for my practice of blogging and providing 'documentation.' The facts are:
- You wake up on some island, there is something embedded in your arm.
- There are freaking dinosaurs walking around.
- When your not playing the game the world persists.... meaning if you don't log back in after a few days your dinos will starve**
- You can tame dinos and make them into beasts of burden. You have to determine what dinos are good for what. (hint: T-Rex's do not swim well)
** Single player games do not persist, and i have found ways to make servers non-persistent but that is for another blog.
This is the world of ark and I find it as compelling of a video game as i have ever played. Its definitely a Sandbox the likes of which has not been seen.
I also highly recommend this game on the modding community alone. The devs have made sure that the world and game interactions are pretty damn "open." For example there are mods for converting the whole game into a pirate simulator.... (pirates and dinosaurs.... why haven't you bought it yet???)
Subnautica is growing, and growing on me. Since its in Alfa it has about a monthly release with new features, new skins, and clean up. The system resources its consuming is also on the rise.
This is definitely a boo situation.
My rig is a few years old but trusty. I'm running an i3 with 8GB of RAM helped along by a GTX970 by MSI. Some of you are going, "what the hell did you put that monster card in such a puny machine?" Well the price of CPU's is falling and the price of RAM has been low for years. The GTX970 does a masterful job rendering the beauty of Subnautica. But im hitting the wall of RAM and starting to feel the page swap going on in the background. again: 🙁
But look at this game:
In term of what is going on in game quite a few bit leaps have been made. Ill try to bring you up to speed, but I think that Subnautica is going to be my first vlog. It is a little bit off from right now, but in the mean time. here are some photos to quench your thirst.
The first bid development: Got the Cyclops!!!!!
Once the Cyclops is in service its time to reach out and work on a Third Base!!! As always the question of where should we park it? In this case i wanted to be somewhere that would assist me in the collection of Uranite, which is used in smelting Uranium bars which of course gives us access to reactor rods and near infinite power. I say infinite because I haven't gotten a depleted rod..... yet.
Another thing to know is that the Bio-reactor is now an indoor affair.
So Here is Deep 6 Nine:
I'll leave this for now. But next up is fixing the Aurora and making these bases self-sufficient. Power is good but what about food and materials?