Jump to content
  • 0

Storage Items


syn9673

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  89
  • Reputation:   36
  • Joined:  04/22/19
  • Last Seen:  

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

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   703
  • Joined:  12/21/14
  • Last Seen:  

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 by sader1992
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  89
  • Reputation:   36
  • Joined:  04/22/19
  • Last Seen:  

@sader1992 ah so it uses the itemInfo.lua instead?

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   703
  • Joined:  12/21/14
  • Last Seen:  

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

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  89
  • Reputation:   36
  • Joined:  04/22/19
  • Last Seen:  

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

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   703
  • Joined:  12/21/14
  • Last Seen:  

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 by sader1992
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  89
  • Reputation:   36
  • Joined:  04/22/19
  • Last Seen:  

ah okay thanks

Link to comment
Share on other sites

×
×
  • Create New...