Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

Help with config using Windows Paths #3

Open
doublee313 opened this issue Aug 23, 2017 · 7 comments
Open

Help with config using Windows Paths #3

doublee313 opened this issue Aug 23, 2017 · 7 comments

Comments

@doublee313
Copy link

Can you help me with this, I can't seem to get my Windows path working in PHP....

require_once("SourceQuery/bootstrap.php");
require_once("arkdata.php");
$arkdata = new Arkdata(array("installLocation"=>"D:\Servers\ARK\Servers\EEISLAND\ShooterGame\Saved\SavedArks"));
$arkdata->LoadSteam("xxxxxxxxxxxxxxxxxxxxxxxxx");
$arkdata->LoadOnlinePlayers();
$arkdataresults = $arkdata->getArkData();

I'm using IIS 10 w/ PHP 5.6 and it's working with other stuff....I'm just getting:

Invalid directory detected, no profiles or tribes found!

So I am assuming it's a stupid Windows issue with the path :(

Thanks,
Doublee

@knightzac19
Copy link
Owner

knightzac19 commented Aug 23, 2017

Have you tried using \\ instead of \ ?

@doublee313
Copy link
Author

doublee313 commented Aug 23, 2017 via email

@knightzac19
Copy link
Owner

Strange, considering you're using IIS, it's probably a permission issue at this point.

And no, I stopped working on this awhile ago because I converted it over to node.js which processed everything much faster and asynchronously. https://github.com/knightzac19/NodeJS-ArkService

@doublee313
Copy link
Author

doublee313 commented Aug 23, 2017 via email

@knightzac19
Copy link
Owner

I'd definitely go for the node version instead (I've put many more man hours into that one), you can still use PHP on the frontend in IIS or a AJAX javascript frontend to go with it. There's really nothing you'd be able to do with IIS and Node.js directly, it's meant to be a standalone service that a web service connects to.

The map thing is pretty cool, one day someone will crack the code to player locations in the ark map save file and I'll probably release an update to get the coords for players from it. I've spent quite a few hours digging threw the binary of a map file without finding any reference to player locations.

As far as ASM goes, since Ark is finally going to be released to the masses, I might pick back up development on at least the Node.js project. There was just to many changes happening to the base of the server version for me to keep up with. I do have a side Angular project that I made that was supposed to be similar to ASM, but again, so many changes with Ark happened and I just didn't have the time, we'll see how the next few months goes.

@doublee313
Copy link
Author

doublee313 commented Aug 23, 2017 via email

@doublee313
Copy link
Author

doublee313 commented Aug 24, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants