Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / version 2 alpha 8 not writing files??

Author
Message
mindsclay
12
Years of Service
User Offline
Joined: 1st May 2012
Location: Rocklin, CA, USA
Posted: 8th Nov 2014 06:31
I am performing a file write but nothing gets written to the write folder.

Same code works in 10824

Has something changed in the file handling behaviour?

home.wavecable.com/~mindsclay
Multicoder
AGK Developer
10
Years of Service
User Offline
Joined: 25th Oct 2014
Location: Germany
Posted: 8th Nov 2014 06:55
The following code works fine on my machine (Windows 7 Ultimate 64bit)


Have you called GetWritePath() and checked that directory?

Yes, I am aware that I sound like a caveman to native english speakers
Naphier
14
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 8th Nov 2014 07:10
The folder is different now.
<driveUsers/<username>/AppData/Local/AGKApps/<appName>

Ultimately a more correct place to write to as the folder is hidden.
You can always check the path by running
GetWritePath()

mindsclay
12
Years of Service
User Offline
Joined: 1st May 2012
Location: Rocklin, CA, USA
Posted: 8th Nov 2014 09:15
I thought that might be the case, but I didn't think to use GetWritePath().

Thanks.

home.wavecable.com/~mindsclay

Login to post a reply

Server time is: 2024-11-25 11:31:18
Your offset time is: 2024-11-25 11:31:18