Search found 25 matches

by krolldk
Thu Aug 08, 2019 10:57 am
Forum: General Discussion
Topic: cloud timestamps
Replies: 2
Views: 1515

cloud timestamps

Hi I'm reading the php for the cloud save solution: Am I correct in assuming that the timestamp is generated clientside ? This is potentially problematic, if true. Assume two users are in different timezones, and accessing the same file, at about the same time. user1, in NY will timestamp with NY ti...
by krolldk
Thu Aug 08, 2019 10:26 am
Forum: General Discussion
Topic: Am I using Cloud wrong?
Replies: 8
Views: 2856

Re: Am I using Cloud wrong?

Great with the define statement. That adds a nice option. If I were you, I'd also warn the developers about the hashing thing. I mean, I think I know why you're doing it: hashing username and password makes sense, so you don't send cleartext usernames and esp. passwords over the internet, BUT: If de...
by krolldk
Wed Aug 07, 2019 1:17 pm
Forum: General Discussion
Topic: Am I using Cloud wrong?
Replies: 8
Views: 2856

Re: Am I using Cloud wrong?

Sorry to hear you're encountering difficulties. Your original way of working should work, and I've not seen this error occur here before. Would it be possible for you to PM a project which replicates this? I'll see about making a minimal repro project for you. With regards to the username and passw...
by krolldk
Wed Aug 07, 2019 11:14 am
Forum: General Discussion
Topic: Am I using Cloud wrong?
Replies: 8
Views: 2856

Re: Am I using Cloud wrong?

Further followup: In order to try and make the memory only file solution work, I changed settings to "Memory". Now, even with the myFile.Sync() call, the Upload fails with a nullref. At this stage, I am sorely tempted to cut my losses, and go with another solution for cloud save. I am diss...
by krolldk
Wed Aug 07, 2019 11:13 am
Forum: General Discussion
Topic: Am I using Cloud wrong?
Replies: 8
Views: 2856

Re: Am I using Cloud wrong?

OK .. this is getting problematic As far as I can see, when I upload a file, the username field on the server is filled with garbage, if a username is supplied, and different garbage if a username AND password is supplied. yield return StartCoroutine(cloud.UploadFile(myFile,"user1")); yiel...
by krolldk
Wed Aug 07, 2019 10:24 am
Forum: General Discussion
Topic: Am I using Cloud wrong?
Replies: 8
Views: 2856

Re: Am I using Cloud wrong?

Followup

I added a myFile.Sync() line to the above. This created a local file (as expected) and now the upload/download works fine.

However: I want myFile to just exist in memory and on the cloud. How do I do that ?
by krolldk
Wed Aug 07, 2019 7:40 am
Forum: General Discussion
Topic: Am I using Cloud wrong?
Replies: 8
Views: 2856

Re: Am I using Cloud wrong?

On a related note Could you please make just a simple code example solving the following: I have a string in memory. I put that string in a named value in a named cloudfile. I upload the file to cloud, creating it if the files doesn't exist already on cloud. I download the file from cloud I retreive...
by krolldk
Wed Aug 07, 2019 7:37 am
Forum: General Discussion
Topic: Am I using Cloud wrong?
Replies: 8
Views: 2856

Am I using Cloud wrong?

Hi My usecase: I want to upload a string to cloud, and download it again. My app is crossplatform web as well as PC, so I do NOT want to sync a local file, since on webGL, I have no local file access. My code: public IEnumerator doTest() { cloud = new ES3Cloud(url, apiKey); var myFile = new ES3File(...
by krolldk
Thu Jun 06, 2019 10:28 am
Forum: General Discussion
Topic: Issues with cloudsave
Replies: 9
Views: 3530

Re: Issues with cloudsave

thanks fr the patch. sadly, still seem broken. PMed you
by krolldk
Wed Jun 05, 2019 3:28 pm
Forum: General Discussion
Topic: Issues with cloudsave
Replies: 9
Views: 3530

Re: Issues with cloudsave

OK Update :

After manually changing the lastupdate field in the database to some high random number, I could apparently load the file. So. What gives ?