Raised This Month: $ Target: $400
 0% 

Read File question


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-13-2011 , 23:47   Re: Read File question
Reply With Quote #7

Quote:
Originally Posted by EDUTz View Post
ok, i understand now what you're saying.
So its better to rewrite the lines in timer.ini to loook like this:
"authid" "pass" "flags" Exp:25102011
What you said there is allright, but how to extract the date from a whole line ?
it should read the line, search for the numbers and then date[32]="thosenumebers" ... i can't think at something else.
Your file should look like this:

Code:
"STEAM_0:0:12345" "password" "abc" "12252011"
Then you parse that line with parse(). Then use the concept I show in my code above on the date variable.
__________________
fysiks is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:06.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode