Jump to content
  • 0

Error adding custom item on 2013 client.


Question

Posted (edited)

Hello all. I tried to add custom item..

but this error appear. how to fix it ?

im using 2013 client..

I have follow this instruction..

add your custom .spr and .act here
Data\texture\유저인터페이스\collection
Data\texture\유저인터페이스\item
Data\sprite\아이템
Data\sprite\악세사리\남
Data\sprite\악세사리\여
 
 
then add it here
Data\luafiles514\lua files\datainfo
accessoryid.lub, accname.lub and accname_eng.lub
 
then also add it to your
\db
item_db2.txt
 
and finally add it on your
gravity\System
itemInfo.lub 

but this error happen on my iteminfo.lub

 

post-12126-0-55681100-1405190121_thumb.png

 

then i go check it on notepad on that line.

then i found this.

 

post-12126-0-08873300-1405190198_thumb.png

 

What do you think ? 

 

i have added my new custom on this line.

 

 post-12126-0-10032900-1405190274_thumb.png

 

Once i edit the iteminfo.lub, an error happen to many lines :(

Edited by mrlongshen

5 answers to this question

Recommended Posts

Posted

 

Edit your itemInfo.lua [Not itemInfo.lub] Then Save As to itemInfo.lub

 

done. same !

 

 

Download System Files, Here Link

Replace to your "Gravity Folder"

edit itemInfo.lua again and Save As to itemInfo.lub

or

you can use this tool [Lua To Lub Converter]

Here Link

How To Use ?

1. Copy "Cmd.exe" to your tool file[Lua To Lub Converter] [Don't know what is "Cmd.exe" ?(E.g: Picture Below)]

2wp2m93.jpg

2. Copy "itemInfo.lua" to your "Tool Folder"

3. open "Cmd.exe" and type "luac5.1.4.exe -o itemInfo.lub itemInfo.lua" And Hit "Enter"

Like Picture Below:

124egyb.jpg

4. Done [Copy "itemInfo.lua" and "itemInfo.lub" from "Tool Folder" to your "Gravity Folder]

 

  • Upvote 1
Posted

 

 

Edit your itemInfo.lua [Not itemInfo.lub] Then Save As to itemInfo.lub

 

done. same !

 

 

Download System Files, Here Link

Replace to your "Gravity Folder"

edit itemInfo.lua again and Save As to itemInfo.lub

or

you can use this tool [Lua To Lub Converter]

Here Link

How To Use ?

1. Copy "Cmd.exe" to your tool file[Lua To Lub Converter] [Don't know what is "Cmd.exe" ?(E.g: Picture Below)]

2wp2m93.jpg

2. Copy "itemInfo.lua" to your "Tool Folder"

3. open "Cmd.exe" and type "luac5.1.4.exe -o itemInfo.lub itemInfo.lua" And Hit "Enter"

Like Picture Below:

124egyb.jpg

4. Done [Copy "itemInfo.lua" and "itemInfo.lub" from "Tool Folder" to your "Gravity Folder]

 

 

 

thanks a lot bro. why i cant edit the lub file only ?

Posted

Edit your itemInfo.lua [Not itemInfo.lub] Then Save As to itemInfo.lub

 

done. same !

 

Download System Files, Here Link

Replace to your "Gravity Folder"

edit itemInfo.lua again and Save As to itemInfo.lub

or

you can use this tool [Lua To Lub Converter]Here Link

How To Use ?

1. Copy "Cmd.exe" to your tool file[Lua To Lub Converter] [Don't know what is "Cmd.exe" ?(E.g: Picture Below)]

2wp2m93.jpg

2. Copy "itemInfo.lua" to your "Tool Folder"

3. open "Cmd.exe" and type "luac5.1.4.exe -o itemInfo.lub itemInfo.lua" And Hit "Enter"

Like Picture Below:

124egyb.jpg

4. Done [Copy "itemInfo.lua" and "itemInfo.lub" from "Tool Folder" to your "Gravity Folder]

 

thanks a lot bro. why i cant edit the lub file only ?

Np,

"maybe" because iteminfo.lub need to encryp first from iteminfo.lua

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.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...