Dastgir

[GUIDE] Adding New Items without itemInfo.lub

11 posts in this topic

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 :P )

 

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

Share this post


Link to post
Share on other sites

ah i saw those in client but i thought those parts of code weren't being executed ... guess not.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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 ~

Share this post


Link to post
Share on other sites

@@hemagx I never wrote the patcher >.> lol. But anyways interesting find Dastgir! Going to be more useful now to add items quickly (hope it never gets removed in future updates on the client executable)

Share this post


Link to post
Share on other sites

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

Edited by Kusoo

Share this post


Link to post
Share on other sites

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 :P )

 

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?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now