syn9673 Posted May 26, 2019 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 89 Reputation: 36 Joined: 04/22/19 Last Seen: March 27, 2024 Share Posted May 26, 2019 how does fluxcp get the item names when it display storage item? Link to comment Share on other sites More sharing options...
0 sader1992 Posted May 27, 2019 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: 10 hours ago 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 Link to comment Share on other sites More sharing options...
0 syn9673 Posted May 28, 2019 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 89 Reputation: 36 Joined: 04/22/19 Last Seen: March 27, 2024 Author Share Posted May 28, 2019 @sader1992 ah so it uses the itemInfo.lua instead? Link to comment Share on other sites More sharing options...
0 sader1992 Posted May 28, 2019 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: 10 hours ago 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 Link to comment Share on other sites More sharing options...
0 syn9673 Posted May 28, 2019 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 89 Reputation: 36 Joined: 04/22/19 Last Seen: March 27, 2024 Author Share Posted May 28, 2019 so it just uses the itemdb and convert it to iteminfo.lua and then uses that as reference ? Link to comment Share on other sites More sharing options...
0 sader1992 Posted May 28, 2019 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: 10 hours ago 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 Link to comment Share on other sites More sharing options...
0 syn9673 Posted May 28, 2019 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 89 Reputation: 36 Joined: 04/22/19 Last Seen: March 27, 2024 Author Share Posted May 28, 2019 ah okay thanks Link to comment Share on other sites More sharing options...
Question
syn9673
how does fluxcp get the item names when it display storage item?
Link to comment
Share on other sites
6 answers to this question
Recommended Posts