[GUIDE] Adding New Items without itemInfo.lub

Dastgir

Core Developer
Messages
3,805
Points
0
Discord
Dastgir#1460
IRC Nickname
Dastgir
Github
dastgirp
Emulator
Client Version
2019-02-28 RE
Hello Community,

Once Again, I was doing something and found something unusual, the kRO have other methods of loading Items too....

They also load some idnum tables but with different names

Unidentified items goes to

eventnum2itemdisplaynametable.txt ,
eventnum2itemdesctable.txt ,
eventnum2itemresnametable.txt

Identified items:

eventidnum2itemdisplaynametable.txt ,
eventidnum2itemdesctable.txt ,
eventidnum2itemresnametable.txt

(Just add event prefix to all file names
default_tongue.png
)

Points to Remember:

  • This file is loaded before itemInfo, so if you have same item in itemInfo, resname and displayname will be overwritten with one on itemInfo, while both Description will appear one below one.
  • It Works, and I have tested.
  • These Files go inside GRF(data folder) as idnum tables used to..(before)
  • Works on All clients with itemInfo.lub support

How it Looks When Overwritten:



Description: Till first Weight, is one on eventidnum, the below part is itemInfo one

ResName/DisplayName: the one on itemInfo is displayed(as mentioned above)

CVjSrH3.jpg
 
Last edited by a moderator:
MOTHER OF GOD..

 
Last edited by a moderator:
Holy shit those still work???? Im guessing the one for card slots also works if this is the case. Would be a great thing for those wanting to keep custom stuff in the text files while having official stuff in the iteminfo.lub.

 
well there are also these other files read by client.

itemSlotTable.txt

itemParamTable.txt

CardItemNameTable.txt

BookItemNameTable.txt

maybe the itemSlotTable.txt also works similar to itemSlotCountTable.txt?

 
this brings tears to my eyes and makes it easier to add in customs so in theory i can just have an emty file with my own custom ids in it? or does it need all of the old items as well?

 
I always wondered why the txt files were still there and not deleted in a patch on official servers. So what lub\lua files need editing? None of them?
official patcher can't delete files but overwrite ~

 
While using this method, what should I write on the View section of item_db? Do I still need to use accname and accesoryid?

I have it like this

Jj9QQ9P.png


It does appear in-game, but just in the inventory tab, the sprite is missing

EhsbRkH.png


EDIT: Yeap, I still need to use accname and accesoryid

oASdsp8.png


 
Last edited by a moderator:
Hello Community,

Once Again, I was doing something and found something unusual, the kRO have other methods of loading Items too....

They also load some idnum tables but with different names

Unidentified items goes to

eventnum2itemdisplaynametable.txt ,
eventnum2itemdesctable.txt ,
eventnum2itemresnametable.txt

Identified items:

eventidnum2itemdisplaynametable.txt ,
eventidnum2itemdesctable.txt ,
eventidnum2itemresnametable.txt

(Just add event prefix to all file names
default_tongue.png
)

Points to Remember:

  • This file is loaded before itemInfo, so if you have same item in itemInfo, resname and displayname will be overwritten with one on itemInfo, while both Description will appear one below one.
  • It Works, and I have tested.
  • These Files go inside GRF(data folder) as idnum tables used to..(before)
  • Works on All clients with itemInfo.lub support

How it Looks When Overwritten:



Description: Till first Weight, is one on eventidnum, the below part is itemInfo one

ResName/DisplayName: the one on itemInfo is displayed(as mentioned above)

CVjSrH3.jpg
Does anyone success installed this? i tried but i get game crash.exe any idea?

 
Back
Top