-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ Bug ] Import ItemDesc #162
Comments
Guys, it wasn't a bug. Make sure you also have 777 permission on itemInfo.lua file you uploading / or the folder. Also, check the format in your itemInfo.lua file, I had to regex replace to fit a older format. |
@SneakyRO I do this on localhost with 777 permission, and it only takes 2 items and ignores the rest. |
exactly what is the folder where the upload file is inserted? |
desktop... |
@admkakaroto Check if you have the right format @CyberDevil75 Check ur root folder / fluxcp folder |
what format? |
I can't get this to work either. It would be nice to have a conversion tool or something. |
anyone want to try my script? replace your |
@cydh for me it worked perfectly, it imported very fast, I just need to test if it took all the items, but it was sensational. |
however items that have special characters in the description did not work properly on the import. |
items that have special characters are not having their description imported completely. |
@admkakaroto what is the example? maybe related to the column collation |
Works but it seems like a portion of the text is cut, the first line or two and in some cases it's cropped on both ends. Does it require some specific syntax? |
uh my bad. wrong cutting string. please retry https://gist.github.com/cydh/f22fcb1920e8c8251c1e1b6614a35811 if got anymore cuts, copy here the item block in ur iteminfo (without reformat or post a link) because there's no native lua for PHP and we need to match the patterns/structures in iteminfo |
Seems to work so far, although some descriptions do get botched, maybe due to connection timeouts (would be ideal to have a tool to create a populated SQL table locally). There's an issue with coloring though, anything after ^000000 will change to black and this breaks many descriptions (your own example has this issue also). |
well because I can change with a title workaround, such open with |
Now that I think about it, it would be nice to have an option to reverse the black text to white, for those who use dark backgrounds so it's readable. Basically a define option for the "default color" and what comes after ^000000. |
updated https://gist.github.com/cydh/f22fcb1920e8c8251c1e1b6614a35811 |
This is nice. I found more issues though;
|
still does not work with special characters like '~'` ^' and letters like 'ã õ à è ó ò ú ù'. |
This comment was marked as spam.
This comment was marked as spam.
for mine doesn't work, I try the last file, and it doesn't do anything. after I select the iteminfo.lua and press submit. another question where can I setup the permission 777 permission on itemInfo.lua |
It is not possible to import the description of items in the iteminfo.lua file, even taking the clean fluxcp here in github and the iteminfo.lua file in the zackdreaver repository, the flux starts reading but does not return any description, sometimes it still matters 1 description or 2 at most, I have already changed the size of the php.ini import_max but it does not resolve.
See: https://imgur.com/HzpRf4q
The text was updated successfully, but these errors were encountered: