Jump to content
  • 0
Sign in to follow this  
ShadowKing

iteminfo.lua > iteminfo.lub

Question

So I wanted to make some items that show the same sprite use different sprites instead, so I converted iteminfo.lub to iteminfo.lua to edit it, but when I try to convert it back to iteminfo.lub with luac5.1.4 it won't work. Works find with some other files, any pointers to why it won't work? Is it too large of a file or etc?

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

This depends... if your "Client" is forcing you to use lub instead of lua but wants a lua that is compiled, then use proper luac for it.

lua to lub (If data folder has lua514 inside and uses it)
luac5.1.4.exe -o FILE.lub FILE.lua

lua to lub (If data folder doesn't have lua514 folder inside, meaning it uses /lua files/)
luac5.0.2.exe -o FILE.lub FILE.lua

Share this post


Link to post
Share on other sites
  • 0
15 hours ago, KeiKun said:

This depends... if your "Client" is forcing you to use lub instead of lua but wants a lua that is compiled, then use proper luac for it.

lua to lub (If data folder has lua514 inside and uses it)
luac5.1.4.exe -o FILE.lub FILE.lua

lua to lub (If data folder doesn't have lua514 folder inside, meaning it uses /lua files/)
luac5.0.2.exe -o FILE.lub FILE.lua

i have a lua514 folder that is used, the iteminfo is located in the system folder

The client doesn't accept it as a lua and for whatever reason luac5.1.4.exe works just fine converting my other lua files to lub, but runs and won't make the lub when doing iteminfo.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.