I want to show slot item on my windows equipment.

The description has been modified with the one inside my grf. However, the name still hasn't changed: /

base:

I edit because I found a few things.
After modifying the names of the txt files, it is also necessary to delete the item from the iteminfo file, in my case, I was in my ITEMINFO.LUA and I completely removed the item.
I then get this:

fonctionne.png

Problem, the slot is not displayed despite having inserted in itemslotcountable that the object has one.
slot.png

 
Last edited by a moderator:
Unfortunately also still the same as Author

data/EventIdNum2ItemDescTable.txt

2102#
This extra line is added by AnnieRuru
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#


data/EventIdNum2ItemDisplayNameTable.txt

2102#TEST ONLY#


screen2020Hercules009.jpg


it looks like adding new line instead of overwriting the value

this trick seems to be very useful for adding custom items though, but ... overwrite existing items ?

why we have different result ?

EDIT:

  • 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.
isn't Dastgir said that ? itemInfo.lub will overwrite EventIdNum2ItemDisplayNameTable

how come you can get that ?

 
Last edited by a moderator:
Unfortunately also still the same as Author

data/EventIdNum2ItemDescTable.txt

2102#
This extra line is added by AnnieRuru
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#

2102#
This extra line is added by AnnieRuru
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#


data/EventIdNum2ItemDisplayNameTable.txt

2102#TEST ONLY#

2102#TEST ONLY#




it looks like adding new line instead of overwriting the value

this trick seems to be very useful for adding custom items though, but ... overwrite existing items ?

why we have different result ?
I have new results, take a look at my previous post @AnnieRuru

 
Ah sorry, please comment out or delete item description in lub first.

image.png

 
Last edited by a moderator:
I have already done this and I get this:

fonctionne.png

Problem the slot is no longer displayed: /

slot2.png

 
Last edited by a moderator:
I have already seen this, but it is necessarily possible to display the slotCount in another way

 
Is it possible to make so that only "slotcount" on iteminfo.lua is read?

Because I still cannot display the slots despite having added the items in itemslotcounttable.txt

 

EDIT: If anyone has an idea for doing this, I'm a taker.
I have now been looking for a little over 8 hours how to display the slots as on my screenshoot.

If we follow the initial subject which was to display the slots in alt + q, this is successful.

The problem is that now the slots no longer display in descriptions: /

It is possible to do both according to this screenshoot:

unknown.png.f68c6bdfe10b5c3d78f78d33e9e110ea.png

 
Last edited by a moderator:
It need to edit function in lub for item slot only.

 
I mean you need to coding this function in iteminfo.lub like this.

Why?

For make iteminfo read slot from lub and read others from txt.

Or up to you, This is just an introduction.

image.png

 
Thank you for this start of the trail, I will explore it and see what comes out of it!

 
Thank you for this start of the trail, I will explore it and see what comes out of it!
if you want to add the slot on the item description you should add it on ROfolder/system/iteminfo.lua which is stated of sir X-ecutionner on how, if you want to read inside your grf. follow the guide  the last post from X-ecutionner on how to add item from the old ways. then instead making the itemslot slotCount: 1;  use DESCS.SlotCount, so the client will read the the data from your grf.

two ways actually

 either you add your item description in iteminfo. or make a itemslotinfo.txt inside your grf.

sorry for my bad english.! please enlighten me if im wrong base on my understanding. 

 
itemslotinfo.txt seems the easiest thing to do. Despite this I can not find any example to be able to do it correctly.
Thank you for your answer anyway :)
It will also appear that itemslotinfo not works... 
itemslotcounttable is the file that appears to display the slot. unfortunately it doesn't seem to work for me. I'll think about it a little more tonight.

Itemslotcounttable.txt no longer read by the exe
 

exe.png

 
Last edited by a moderator:
I mean you need to coding this function in iteminfo.lub like this.

Why?

For make iteminfo read slot from lub and read others from txt.

Or up to you, This is just an introduction.

View attachment 6486


if you want to add the slot on the item description you should add it on ROfolder/system/iteminfo.lua which is stated of sir X-ecutionner on how, if you want to read inside your grf. follow the guide  the last post from X-ecutionner on how to add item from the old ways. then instead making the itemslot slotCount: 1;  use DESCS.SlotCount, so the client will read the the data from your grf.

two ways actually

 either you add your item description in iteminfo. or make a itemslotinfo.txt inside your grf.

sorry for my bad english.! please enlighten me if im wrong base on my understanding. 


I think your solutions are not working, I have tried a lot of things but none are working.
If anyone else has an idea, I'm a taker.

 
If no one else has any other idea / clue to pull this off, then we can close the topic.
Perhaps it is possible to modify the exe with the hexadecimal in order to make it read again itemslotcounttable.txt as before.
But it looks like the exe is broken after that and it is no longer possible to start.

 
Back
Top