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 / GetNextFile skipping files

Author
Message
mindsclay
12
Years of Service
User Offline
Joined: 1st May 2012
Location: Rocklin, CA, USA
Posted: 4th Nov 2015 06:38
I am converting a Tier 1 project to Tier 2. So the code in question was working awesomely in Tier 1. After dealing with how to actually program in C++ (namely fixing variable linkage), I am now getting runtime errors and various anomalies. I thought this would be the case.

1) GetNextFile is skipping files. So it is only getting every other file.

Anyone else notice this anomaly??
home.wavecable.com/~mindsclay
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 4th Nov 2015 09:14
You calling it twice in your loop?
V2 T1 (Mostly)
Phone Tap!
Uzmadesign
mindsclay
12
Years of Service
User Offline
Joined: 1st May 2012
Location: Rocklin, CA, USA
Posted: 4th Nov 2015 17:04
Doh!!
I forgot that I added a Message() pop-up to see the file names, and I had GetNextFile() in it.

Thank you for showing how much of a dumbass I am.


home.wavecable.com/~mindsclay
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 4th Nov 2015 19:54
Hehe. Nah, it happens to all of us at times man.
V2 T1 (Mostly)
Phone Tap!
Uzmadesign

Login to post a reply

Server time is: 2024-11-17 00:08:30
Your offset time is: 2024-11-17 00:08:30