Jump to content
  • 0
Pandaaa

2014-02-05bRagexe seems doesnt read files from data folder

Question

currently adding a customs items, using a 2014-02-05 Client (its fine), edited the Data/luafiles512/lua files/datainfo files for adding custom items with each IDs and also edited the idnum2item(display/resname)table.txt and the idnum2itemdesctable.txt for the items descriptions and name then tried to get the item inside the game.. it gives me different item (apple)

Share this post


Link to post
Share on other sites

10 answers to this question

Recommended Posts

  • 0

currently adding a customs items, using a 2014-02-05 Client (its fine), edited the Data/luafiles512/lua files/datainfo files for adding custom items with each IDs and also edited the idnum2item(display/resname)table.txt and the idnum2itemdesctable.txt for the items descriptions and name then tried to get the item inside the game.. it gives me different item (apple)

2014 clients read System/itemInfo.lub

Share this post


Link to post
Share on other sites
  • 0

 

currently adding a customs items, using a 2014-02-05 Client (its fine), edited the Data/luafiles512/lua files/datainfo files for adding custom items with each IDs and also edited the idnum2item(display/resname)table.txt and the idnum2itemdesctable.txt for the items descriptions and name then tried to get the item inside the game.. it gives me different item (apple)

2014 clients read System/itemInfo.lub

How about the accname.lua and accessoryid.lua from the lua files inside the data folder

Share this post


Link to post
Share on other sites
  • 0

By default they read the .lub versions.

but still reads the lub version at data/luafiles514\lua files?

Share this post


Link to post
Share on other sites
  • 0

Not sure whether it reads data folder or grf first. You can diff it with nemo patcher to choose these options.

Share this post


Link to post
Share on other sites
  • 0

Not sure whether it reads data folder or grf first. You can diff it with nemo patcher to choose these options.

well i diff it using nemo with a read data folder first.. so it will read the luafiles at the data folder right? but how come i get apple/unknown items 

(I already edited the System/itemInfo.lub) with their right view id

Share this post


Link to post
Share on other sites
  • 0

Unknown item is usually itemInfo problem

Also make sure itemInfo.lub is in RO/System/ folder and not in RO/data/System/ neither in GRF,

Share this post


Link to post
Share on other sites
  • 0

Unknown item is usually itemInfo problem

Also make sure itemInfo.lub is in RO/System/ folder and not in RO/data/System/ neither in GRF,

The lub file i edited is at RO/System/ still give me unknown items and also i intend to create an error line in data/luafiles514/lua files/datainfo/accname&accessoryid then launching the client the client still works..

Share this post


Link to post
Share on other sites
  • 0

Have you double checked your syntax and such? If you are getting unknown item it usually means one of two things.

1. Your ID is not matching that in your item_db.conf.

2. Your itemInfo is not arranged properly.

 

Have you checked there is not another itemInfo your client is trying to read?

 

 

[501] = {
unidentifiedDisplayName = "Item Name",
unidentifiedResourceName = "name_of_sprite_in_grf",
unidentifiedDescriptionName = {
"This is a description.",
 },
identifiedDisplayName = "Item Name",
identifiedResourceName = "name_of_sprite_in_grf",
identifiedDescriptionName = {
"This is a description.",
},
slotCount = 0,
ClassNum = 0
},    

Share this post


Link to post
Share on other sites
  • 0

Be sure they are in grf, I guess data folder for luafiles514 doesn't work, also thet should be in .lub and not .lua

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

×
×
  • Create New...

Important Information

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