Forum GameFS How to get GameFS content Serverside

Discussion and help relating to the PlayerIO game asset hosting and CDN solution, GameFS.

How to get GameFS content Serverside

Postby jasonredhawk » January 6th, 2021, 10:20 pm

I have some data files on GameFS that I'd like to load serverside however the process I use on the clientside is by using WebClient (with the URL provided by GameFS.GetUrl() ) to download my data. My issue is I can't use WebClient serverside.

The data files on GameFS are serialized using BinaryFormatter. I was able to use WebClient to Stream that data so I can download and deserialize it. But WebClient is a no-go serverside so I'm not sure how to get my files.

So my question is how do I load GameFS files serverside?
jasonredhawk
Paid Member
 
Posts: 24
Joined: April 4th, 2013, 9:15 pm

Re: How to get GameFS content Serverside

Postby Emalton » January 10th, 2021, 7:57 pm

Looks like there's PlayerIO.GameFS in the docs:
https://playerio.com/documentation/refe ... ary.gamefs

Otherwise try PlayerIO.Web it looks like you have a paid plan:
https://playerio.com/documentation/refe ... ibrary.web
Emalton
 
Posts: 84
Joined: June 28th, 2013, 3:49 am

Re: How to get GameFS content Serverside

Postby Chie » March 17th, 2021, 6:49 am

Thank you for sharing this very informative post. I appreciate it. I hope you can share more posts like this. More so, in return, I would like to share with you as well that you can play plants vs. zombies here. It can be exciting to play it with your friends as well. I hope you like it! Have fun!
Chie
 
Posts: 1
Joined: March 17th, 2021, 3:55 am


Return to GameFS



cron