UniC Posted May 26, 2019 Share Posted May 26, 2019 how does fluxcp get the item names when it display storage item? Quote Link to comment Share on other sites More sharing options...
0 sader1992 Posted May 27, 2019 Share Posted May 27, 2019 (edited) from the item db table in sql that mean if the user did not use the sql db >> https://github.com/rathena/rathena/blob/a3fc44ef8aecf55789165b18dd64aa36ad8ecbac/conf/inter_athena.conf#L155 and did not import it to sql flux wont see the items also this might interest you too https://github.com/rathena/FluxCP/blob/master/modules/item/iteminfo.php which convert the iteminfo.lua to a file that flux can read to get the description of the items Edited May 27, 2019 by sader1992 Quote Link to comment Share on other sites More sharing options...
0 UniC Posted May 28, 2019 Author Share Posted May 28, 2019 @sader1992 ah so it uses the itemInfo.lua instead? Quote Link to comment Share on other sites More sharing options...
0 sader1992 Posted May 28, 2019 Share Posted May 28, 2019 i don't know about node.js but you can ignore the filename.extinction and check for whatever the text file with the correct encoding(maybe a use option for that) you would have codes that support anything i am not that good in web development(i even could not make it work with the current code in FluxCP) , however the idea of the code is clear Quote Link to comment Share on other sites More sharing options...
0 UniC Posted May 28, 2019 Author Share Posted May 28, 2019 so it just uses the itemdb and convert it to iteminfo.lua and then uses that as reference ? Quote Link to comment Share on other sites More sharing options...
0 sader1992 Posted May 28, 2019 Share Posted May 28, 2019 (edited) 8 minutes ago, Universe said: so it just uses the itemdb and convert it to iteminfo.lua and then uses that as reference ? nope , it uses the itemdb sql table to get the basic item information like id/name/loc/job etc than if the owner want the item description afterword he can upload the iteminfo.lua , which give the website the description and hook it up with the item id Edited May 28, 2019 by sader1992 1 Quote Link to comment Share on other sites More sharing options...
0 UniC Posted May 28, 2019 Author Share Posted May 28, 2019 ah okay thanks Quote Link to comment Share on other sites More sharing options...
how does fluxcp get the item names when it display storage item?
Link to comment
Share on other sites