Hi all,
I'm making a logging system and I would like admins to be able to download the current list which can sometimes be a >1MB txt file.
I currently use the net library to send 1024 character chunks to the client.
This has been slow on some occasions, and I'm wondering if there's a better alternative anyone has used.
The TXT file is in a JSON format.
Thanks.
Pretty sure there's no better alternative.
[QUOTE=Robotboy655;48633613]Pretty sure there's no better alternative.[/QUOTE]
How about MySQL?
[url=http://wiki.garrysmod.com/page/util/Compress]util.Compress[/url] if you aren't already doing so.
Warning: util.Compress("") == nil, util.Decompress("") == nil and util.Decompress(nil) == nil
[QUOTE=YaYaBinks3;48633697]How about MySQL?[/QUOTE]
What about MySQL? It's a method to save data, not transfer it from client to server and vice versa.
Sorry, you need to Log In to post a reply to this thread.