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 / GetCurrentDir

Author
Message
Sinistar99_2
13
Years of Service
User Offline
Joined: 5th Dec 2010
Location:
Posted: 26th Nov 2011 06:48
This function doesn\'t seem to work in my version. It isn\'t recognized as a command.
Also it seems GetNextDir() is returning an empty string no matter what.
Sinistar99_2
13
Years of Service
User Offline
Joined: 5th Dec 2010
Location:
Posted: 26th Nov 2011 07:41
Also how do I delimit strings in a file so readstring can get them?
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 26th Nov 2011 09:49
Hi...

1- try not to double post... edit your posts... look to lower left of your post... magic Edit Post button...

2- did yiu download the latest release? 1065...

3- no Idea but if you hold on someone might have an answer

Hope this helped...

Sinistar99_2
13
Years of Service
User Offline
Joined: 5th Dec 2010
Location:
Posted: 26th Nov 2011 17:23
Yes I downloaded the latest version. It doesn't look like I double posted...I had 2 questions.
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 26th Nov 2011 18:36
You should put it in the same post if no ones posted after you... just saying...

Come on someone post... and while you are at it ... my dev mug could do with some posted coffee...

Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 28th Nov 2011 19:02
Quote: "This function doesn't seem to work in my version. It isn't recognized as a command."


Looks like we missed that one in the command list. When we next update the players on the various stores it should be fixed.

Quote: "Also how do I delimit strings in a file so readstring can get them?"


You can use WriteString() to write strings that are automatically delimited, if you write three strings it will take three calls to ReadString to reach the end of the file. Alternatively if you want to edit the file manually then the format for strings is the first 4 bytes are an integer holding the length of the string, then X number of bytes of string data where X is the value held in the integer. This then repeats for as many strings as you want to add. int, data, int, data, etc
Sinistar99_2
13
Years of Service
User Offline
Joined: 5th Dec 2010
Location:
Posted: 29th Nov 2011 00:18
Gotcha! Actually I'm making a music composition app and it's looking great!

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-05-06 04:45:46
Your offset time is: 2024-05-06 04:45:46