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 / problem with setrawwritepath(string)

Author
Message
basjak
14
Years of Service
User Offline
Joined: 16th Apr 2010
Location: feel like signing up for mars
Posted: 12th May 2013 16:04
Hi:
please look at code. the chosen file is not going to the required path:



same problem if am about to create a file to write:


Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 12th May 2013 17:41
What version of AppGameKit are you working with?

SetRawWritePath no longer appears to be a supported command (it isn't even appearing in the v1076 help). Do you mean to be using SetWritePath?

Where are you expecting to find the ggg directory (and does it already exist)?

In Windows, you can only write/delete from the documents directory and its subdirectories: C:\Users\<yourusername>\Documents\AGK\<yourapp>

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
basjak
14
Years of Service
User Offline
Joined: 16th Apr 2010
Location: feel like signing up for mars
Posted: 12th May 2013 18:33
am using beta 10. it's not mentioned on the help file that this command is cancelled.

however, the command setfolder(path$) did similar job so I think you're right, there is no longer much need for this command.

Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 12th May 2013 18:53
I cannot find the command SetRawWritePath in any help references, anywhere.

But, I think SetFolder is probably what you want.

I would highly recommend upgrading to v10811, it has some important fixes.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
basjak
14
Years of Service
User Offline
Joined: 16th Apr 2010
Location: feel like signing up for mars
Posted: 12th May 2013 20:15
done

Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 16th May 2013 01:41
setrawwritepath takes an absolute path so it must start with C:\ or some other valid drive letter
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 16th May 2013 05:04
Quote: "setrawwritepath takes an absolute path so it must start with C:\ or some other valid drive letter"

I am guessing that SetRawWritePath is for Windows only.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 16th May 2013 17:03
Correct

Login to post a reply

Server time is: 2024-05-06 19:28:02
Your offset time is: 2024-05-06 19:28:02