Yes, I've done some coding at last. I hax0r3d pickle for use with Lua 5.1. Pickle is a table save/load utility.
Pickle.pickle returns a string representing the table, Pickle.unpickle returns a table created from a pickled string.
Hope it will be useful.
hm..plzz could explain something more abt this script with example. I tried to test it myself but got the following errors:
Quote
0.3.5.1\scripts\pickletest.lua:9: module 'pickle' not found:
no field package.preload['pickle']
no file 'I:/!!!PXL51!!!/libs'
no file '.\pickle.dll'
no file 0.3.5.1\PtokaX DC Hub 0.3.5.1\pickle.dll'
no file 0.3.5.1\PtokaX DC Hub 0.3.5.1\loadall.dll'
Where can i find those .dll files?
Quote from: speedX on 29 November, 2006, 14:02:37
hm..plzz could explain something more abt this script with example. I tried to test it myself but got the following errors:Where can i find those .dll files?
seems like there is a problem with the package path
change the package path to this:
package.path=package.path..";./libs/?.lua"