[Plugin] FileFunctions v0.1b
#41

Nice but... No directories? ;(
Reply
#42

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

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

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

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.
Reply
#45

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

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/
Reply
#47

Great! Thanks.
Reply
#48

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
Reply
#49

Ellerine saglık.
Reply
#50

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.
Reply
#51

Nice
Reply
#52

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
Reply
#53

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
Reply
#54

fileWrite writes only the strings?
Reply
#55

I can not install, then I'll try again.
Reply
#56

Nice plugin.I will using this for sure.
Reply
#57

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

Work in version 0.3x?
Reply
#59

Yes.

((not bumping, helpin with his question))
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)