The Daily Click ::. Forums ::. Klik Coding Help ::. Creating a first run system
 

Post Reply  Post Oekaki 
 

Posted By Message

Bibin

At least 9001

Registered
  01/07/2005
Points
  308

Silver Cup WinnerGOTW Winner!Has Donated, Thank You!VIP Member
5th November, 2006 at 10:17:56 -

Ah, I have an idea! Instead of checking the contents of the ini, just use the ini to store whatever config options you have. THen, use the file object to check if the ini exists! If it exists, it doesn't show the config frame. If it doesn't, it shows it. Simple.

 
n/a

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
5th November, 2006 at 10:56:53 -

Uhhh... What?

 
n/a

Aptennap



Registered
  23/04/2004
Points
  916
5th November, 2006 at 11:07:57 -

You should do:
set INI group to ...
set INI item to ...
set counter to value.

the above always works.

Not : set counter to value item
That never works for me.

But oke i use TGF so...

 
Oh sweet mary.

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
5th November, 2006 at 14:17:56 -

is it even possible to check if an ini file exists? If so, i didn't know.

 
.

Bibin

At least 9001

Registered
  01/07/2005
Points
  308

Silver Cup WinnerGOTW Winner!Has Donated, Thank You!VIP Member
5th November, 2006 at 14:21:30 -

Yes, the file object can.

 
n/a

Aptennap



Registered
  23/04/2004
Points
  916
5th November, 2006 at 14:33:57 -

Yhea just use the file object

 
Oh sweet mary.

Bibin

At least 9001

Registered
  01/07/2005
Points
  308

Silver Cup WinnerGOTW Winner!Has Donated, Thank You!VIP Member
5th November, 2006 at 14:39:01 -

Alright, here's some example files.

Gfactory:

http://http://bibinson.sitesled.com/thingum.gam



MMF2:

http://bibinson.sitesled.com/thingum.mfa

 
n/a
   

Post Reply



 



Advertisement

Worth A Click