SA-MP Forums Archive
[Plugin] FileFunctions v0.1b - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] FileFunctions v0.1b (/showthread.php?tid=252918)

Pages: 1 2 3


Re: FileFunctions v0.1b - Incubator - 17.07.2011

Nice but... No directories? ;(


Re: FileFunctions v0.1b - RyDeR` - 17.07.2011

@asdfgh98:
Sure, wait for the upcoming version. I'm currently busy with that.

@Incubator:
It's added in the upcoming version.


Re: FileFunctions v0.1b - Incubator - 17.07.2011

Yay thanks, but please make it possible to delete a directory even if it's not empty.


Re: FileFunctions v0.1b - RyDeR` - 21.07.2011

Quote:
Originally Posted by Las Venturas CNR
View Post
Is this plugin faster then JaTochNietDan's File Manager? Has any speed tests been run?
I don't know. I guess they're both the same right now since we use the same functions. The new upcomming version will be very fast. Because now I'm not opening and closing the files all time I need to do something.

The release of the new version takes so long because I currently have no time. Just be patient.


Re: FileFunctions v0.1b - RyDeR` - 06.08.2011

Sorry for double post but can someone compile this for Linux please?


Re: FileFunctions v0.1b - Gamer_Z - 06.08.2011

Quote:
Originally Posted by RyDeR`
Посмотреть сообщение
Sorry for double post but can someone compile this for Linux please?
no problem mate, I owe you some help so here you go:

modified source to make it cross compatible + a makefile + dll & so.

http://solidfiles.com/d/4526/


Re: FileFunctions v0.1b - RyDeR` - 06.08.2011

Great! Thanks.


Re: FileFunctions v0.1b - Gamer_Z - 06.08.2011

Quote:
Originally Posted by RyDeR`
Посмотреть сообщение
Great! Thanks.
Mabe I'm quit but I'm also big brother over all topics ^^
And if I can help then I do it ;P


Re: FileFunctions v0.1b - stJ. - 06.08.2011

Ellerine saglık.


Re: FileFunctions v0.1b - MisterTickle - 21.08.2011

Do you have any speedtest to show its slightly faster than SAMP's I/O cause than I'll use it just for that reason alone. Any speed difference is a plus.


Re: FileFunctions v0.1b - Rewer[G] - 06.09.2011

Nice


Re: FileFunctions v0.1b - Patchwerk - 12.09.2011

Hey guys, I have a problem.
Not writing to file.
Here is the code

Code:
	print("---------------- FF-WRITE ------------------");
	Old[1] = GetTickCount();
	new File:file2 = fileOpen("ffread.txt",io_Write);
	for(new i; i < 100000;i++){
	fileWrite(file2, "TEST\r\n");
	}
	fileClose(file2);
	New[1] = GetTickCount();
	printf("FF-WRITE  %d",New[1]-Old[1]);
	print("---------------- FF-READ ------------------");
	Old[1] = GetTickCount();
	file2 = fileOpen("ffread.txt",io_Read);
	while(fileRead(file2,str)){

	}
	fileClose(file2);
	New[1] = GetTickCount();
	printf("FF-READ  %d",New[1]-Old[1]);
But file "ffread.txt" is empty.

Thanks for help


Re: FileFunctions v0.1b - Patchwerk - 12.09.2011

Oh sorry for dublepost... Iґm idiot
Fixed Code

Quote:

print("---------------- FF-WRITE ------------------");
Old[1] = GetTickCount();
new File:file2 = fileOpen("scriptfiles/ffread.txt",io_Write);
for(new i; i < 100000;i++){
fileWrite(file2, "TEST\r\n");
}
fileClose(file2);
New[1] = GetTickCount();
printf("FF-WRITE %d",New[1]-Old[1]);
print("---------------- FF-READ ------------------");
Old[1] = GetTickCount();
file2 = fileOpen("scriptfiles/ffread.txt",io_Read);
while(fileRead(file2,str)){

}
fileClose(file2);
New[1] = GetTickCount();
printf("FF-READ %d",New[1]-Old[1]);

Very nice job Ryder


Re: FileFunctions v0.1b - TheArcher - 12.09.2011

fileWrite writes only the strings?


Re: FileFunctions v0.1b - Allan Kardec - 12.09.2011

I can not install, then I'll try again.


Re: FileFunctions v0.1b - Ballu Miaa - 29.02.2012

Nice plugin.I will using this for sure.


Re: FileFunctions v0.1b - Niko_boy - 29.02.2012

OMGF how can i miss it,
this is better then all EASY AND AWESOME


Re: FileFunctions v0.1b - Romullo - 15.05.2013

Work in version 0.3x?


Re: FileFunctions v0.1b - Dzines4SAMP - 15.05.2013

Yes.

((not bumping, helpin with his question))