Dirtsand on a VPS

Announcements and discussion regarding any projects related to Cyan Worlds' Plasma Engine including (but not limited to) CyanWorlds.com Engine, Drizzle, OfflineKI, PyPRP, and libHSPlasma.
Surta
Posts: 88
Joined: Fri Mar 29, 2019 1:13 pm

Re: Dirtsand on a VPS

Post by Surta »

Ahh ok, I changed that to Release but alas, now I'm getting a list of 12 errors and 70 warnings... I don't know how to copy those so let me try to add a screenshot:
Errors.jpg
Errors.jpg (162.2 KiB) Viewed 7885 times
Still, progress, right? :lol:
Tsar Hoikas
Councilor of Technical Direction
Posts: 2180
Joined: Fri Nov 16, 2007 9:45 pm
MOULa KI#: 23335
Location: South Georgia
Contact:

Re: Dirtsand on a VPS

Post by Tsar Hoikas »

Those are weird. We've just bumped the compiler requirement to Visual Studio C++ 2017 and updated the build environment. Can you try updating Visual Studio, rerunning prepare_env.bat, and rebuilding?
Image
Surta
Posts: 88
Joined: Fri Mar 29, 2019 1:13 pm

Re: Dirtsand on a VPS

Post by Surta »

Thanks, I installed Visual Studio 2017 (with C++ enabled) and recloned Plasma just in case. Now, when I run the batch file, it halts with the message
Show Spoiler
I guess I need to install a CURLConfig module?
Tsar Hoikas
Councilor of Technical Direction
Posts: 2180
Joined: Fri Nov 16, 2007 9:45 pm
MOULa KI#: 23335
Location: South Georgia
Contact:

Re: Dirtsand on a VPS

Post by Tsar Hoikas »

This looks like something we need to sort out with the devlibs bundle--hang tight.
Image
Surta
Posts: 88
Joined: Fri Mar 29, 2019 1:13 pm

Re: Dirtsand on a VPS

Post by Surta »

Will do! Meanwhile, I have a question about the server part... not at all important but I'm sure it's easy to resolve. Currently I have all my eggs in one basket, both the server software itself and the game download data (the files I created using your manifest script).

The dirtsand.ini file reads

Code: Select all

File.Host = 123.45.67.89
Auth.Host = 123.45.67.89
Game.Host = 123.45.67.89
...
File.Root = /somefolder/data
Auth.Root = /somefolder/authdata
Sdl.Path = /somefolder/SDL
Age.Path = /somefolder/ages
However, I'd love to host the manifest ages on an external web host. So I uploaded the game data to my external site, and changed the dirtsand.ini file to:

Code: Select all

File.Host = 123.45.67.89
Auth.Host = 123.45.67.89
Game.Host = https://uru.mydomain
...
File.Root = /data
Auth.Root = /somefolder/authdata
Sdl.Path = /somefolder/SDL
Age.Path = /somefolder/SDL
I verified that https://uru.mydomain/data contains the correct files... yet when I start the client, it errors out with

Code: Select all

[File] 987.65.43.21/61261 requested invalid manifest /data/ExternalPatcher.mfs
Again, I verified that https://uru.mydomain/data/ExternalPatcher.mfs is fully accessible, so again I assume I made an error somewhere :)

Is this an easy fix or would you suggest I wait till I get this client going properly?
Tsar Hoikas
Councilor of Technical Direction
Posts: 2180
Joined: Fri Nov 16, 2007 9:45 pm
MOULa KI#: 23335
Location: South Georgia
Contact:

Re: Dirtsand on a VPS

Post by Tsar Hoikas »

Sadly, the game does not support downloading files from HTTP/HTTPS sources. For now, you'll need to use the file server in DirtSand.
Image
Surta
Posts: 88
Joined: Fri Mar 29, 2019 1:13 pm

Re: Dirtsand on a VPS

Post by Surta »

Ahhhhhhhhh ok, well that settles that! It would have made troubleshooting a little easier (start a second server and get it going in minutes, without the data uploads), but it makes sense. I'll continue to rebuild on the one instance :D
User avatar
Sirius
Posts: 1508
Joined: Mon Jul 26, 2010 4:46 am
MOULa KI#: 0
Location: France

Re: Dirtsand on a VPS

Post by Sirius »

I used CMake to setup a couple of C++ project in the past, and while it's great when it works, I know how painful it can be to debug when something is wrongly configured.

My point is, hats off to anyone who goes through this. That's all I wanted to say. Cheers ! :)
Surta
Posts: 88
Joined: Fri Mar 29, 2019 1:13 pm

Re: Dirtsand on a VPS

Post by Surta »

Yeah, I'm very grateful for the patience that has been shown to me :) I jumped into this project knowing... nothing... really. I still don't but at least I can find my way around Linux now and follow instructions - to the point of having a full blown working server. Especially with the updated instructions that literally takes minutes to build from scratch now. Of course the problem that arose after that was the fact that neither of the two existing clients play nice with it, so here I am starting a new project yet AGAIN to see if I can get that to work correctly.

So my hat's off as well to the boys here who probably have been living and breathing code for the past 16 years and still willing to kindly help a noobie. Truth be told I basically have no idea what I'm doing (I wouldn't know C++ from Cmake) but having fun doing it, haha. I am definitely grateful for the help so far and I really hope that someday I can get this thing off the ground... if for no other reason than bragging rights :D
Tsar Hoikas
Councilor of Technical Direction
Posts: 2180
Joined: Fri Nov 16, 2007 9:45 pm
MOULa KI#: 23335
Location: South Georgia
Contact:

Re: Dirtsand on a VPS

Post by Tsar Hoikas »

While we wait for an official solution, I would try copying the "lib" directory into a new directory called "debug" in the dev libs. I have no idea where these are stored though...
Image
Post Reply

Return to “Plasma Development”