Jump to content
  • 0

Can't see custom items


Question

Posted

Hi!

Before I start I should say I already edited the iteminfo.lua and everything.

The problem is with the other lua files, when I open RO I get the error

---------------------------
Lua Files\DataInfo\AccessoryId
---------------------------
[string "buf"]:1764: '}' expected (to close '{' at line 1) near 'ACCESSORY_ARC_ANGEL_BALLOON'

---------------------------
OK   
---------------------------

I have to add that line 1764 is the first line where I am adding a custom item, also I did not skip a single ID, so since the DB ends in 1771, I started with the ID 1772

After I hit OK I can go in game and I can see the item in my inventory, and it has icon, drop sprite and description, but I can't see it on my character.

It looks fine in my inventory:

1604120473_ArcAngeling.png.7565f187aa8870029b678f639db02582.png

I can see the description and it does have the effect

195542870_ArcAngeling2.png.1ffe0b44c720e50937f2d837cc6278bb.png

 

This is my accname.lua

612501051_ArcAngeling3.png.bb112fd7302b1ca67a4a8f8bd3101a79.png

 

and my accessoryid.lua

1932983932_ArcAngeling4.png.179b20e086f39a37e14138c74f9a8916.png

 

Can anyone enlighten me as to what am I doing wrong?

 

12 answers to this question

Recommended Posts

  • 0
Posted (edited)

@ accname.lua  you forgot give , after "C_Warm_Cat_Muffler_BL". replace to "C_WARM_CAT_MUFFLER_BL",

@ accessoryid.lua  you forgot give , after 1772. replace to 1772, try it maybe to fix your problem.

Edited by Slammer
  • 0
Posted
21 minutes ago, Slammer said:

@ accname.lua  you forgot give , after "C_Warm_Cat_Muffler_BL". replace to "C_WARM_CAT_MUFFLER_BL",

@ accessoryid.lua  you forgot give , after 1772. replace to 1772, try it maybe to fix your problem.

Thanks for the catch, didn't see that, but I'm still getting the same error.

  • 0
Posted (edited)
7 minutes ago, Slammer said:

@item_db have you input the id?

sample :

2241,Arc_Angel_Balloon,Arc Angel Balloon,4,5000,,100,,0,,0,0xFFFFFFFF,63,2,1,,0,0,1772,{},{},{}

Yes:

40000,arc_angel_balloon,arc angel balloon,4,20,,10,,2,,0,0xFFFFFFFF,63,2,512,,0,1,1772,{ bonus bStr,5; bonus bAgi,5; bonus bDex,5; bonus bInt,5; bonus bLuk,5; bonus bVit,5; bonus bVit,getrefine() ; bonus bStr,getrefine() ; bonus bAgi,getrefine() ; bonus bDex,getrefine() ; bonus bInt,getrefine() ; bonus bLuk,getrefine() ; },{},{}

 

Edited by Evrard
  • 0
Posted

Got frustrated so I tried using the Server Database Editor and when trying to autocomplete the Item's data I get this exeption:

Screenshot_10.png.4f3b9383461c09a3265101fb694ee24b.png

 

I figure it's the exact same error I get when I open my client, how can I go about making the lua reader read more than 1764 lines?

  • 0
Posted
On 8/21/2018 at 6:25 AM, Evrard said:

Screenshot_12.png.8b179171b56a6ac2abcb8fb04154c8d4.pngScreenshot_13.png.17c1a378178a999f6214257af3bbddf8.png

 

Still the same errors ???

This error causing by forgotten "," .

Meaning the client didn't load new file you corrected, try rename as .lub , and replace the original one in:

data\luafiles514\lua files\datainfo\

 

  • 0
Posted
14 hours ago, jchcc said:

This error causing by forgotten "," .

Meaning the client didn't load new file you corrected, try rename as .lub , and replace the original one in:


data\luafiles514\lua files\datainfo\

 

3

There where actually 2 issues, and this was one of them so THANKS!

The other was that there is actually a couple of missing view IDs up before this so I just set those as accessory_unknown and replaced the missing numbers and now it works like a charm!

(Also, I was using SDE and I forgot to run it as administrator and without that it couldn't save the files either.)

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...