Is there a way to write to a file without truncing it?
Is there a way to write to a file without truncing it?
~ Metagen
nvm i figured it out you unhelpful noobs.
~ Metagen
All my scripts are held on Googlecode git, so if you ever see a problem, fork it and send me a pull request
If a script is grey, it doesn't work, if it's colour then it does!
My Tutorials:-
Everything you need to know about setting up Simba, SRL and Reflection!, How to sort out the MSVCR71.dll error
How to set up players for autoing with Simba, SRL/Simba Standards (with examples), Defines
Auto Updater and Git, Using a testing branch for git, Adding SRL Stats to your script
Creating your own font set for Simba, Guide to Cups, How to make 1.45M (RSGP) a day (not really my tut)
Download a image and set it as your Desktop Wallpaper in C#, How to make your first PHP file uploader
<Coh3n> Shuttleu, fuck I love you right now
I think he was just kidding? Not to be a Homo peace keeper or anything
noidea
Originally Posted by irc
I think you all just fail.
I assume read then add on the text to be written onto the end then write it all over it?
(I like endings to things)
By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.
I do it like this:
SCAR Code:procedure SaveDebugToFile;
var
DebugFile, filenum: Integer;
DebugText, str: string;
begin
filenum := OpenFile(apppath + 'shady gold pwner2.txt',true);
ReadFileString(Filenum,str, FileSize(filenum));
CloseFile(FileNum);
DebugFile := RewriteFile(apppath + 'shady gold pwner2.txt', False);
DebugText := GetDebugText;
WriteFileString(DebugFile,str + chr(13) + DebugText);
Writeln('Saved debug to file: shady gold pwner2.txt');
CloseFile(DebugFile);
end;
It saves the debug box text to a file, but you have to create the txt file and place it in the scar folder first =/
RimmReaper! | Account maker! | HP Above Heads! | Full Karamja Fisher! | Reflection AutoUpdater!
Feel free to contact me on MSN @
franher007@hotmail.com
yea yea, i figured it out like 5 hours ago guys, why are you still posting.
~ Metagen
Hey, a little bit more easy
Don't be angry![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)