Jump to content
  • 0
Sign in to follow this  
Daraen

I want to show slot item on my windows equipment.

Question

Hello the Hercules community.
I'm new to Hercules, I used to work with rAthena.
As stated in the title, for some time I have been trying to do this.

Does anyone have an idea?
Thank you for your response

slot.png

Share this post


Link to post
Share on other sites

35 answers to this question

Recommended Posts

  • 0

Nobody takes care of the Hercules emulator anymore?
I would really like to know if this is still possible with current client? I am using exe 2018-04-8b.

Thank you for your answer, even negative.

Share this post


Link to post
Share on other sites
  • 0
7 minutes ago, Daraen said:

Nobody takes care of the Hercules emulator anymore?

this has nothing to do with hercules =/

in fact you post in correct location ... client support

 

indeed, what you are asking for is client hexing

there are only very small amount of people understand the code behind hex editor ...

unfortunately, I'm not one of them

 

have you tried download a hex editor and change the hex value yourself ?

I don't even know where to start either

Share this post


Link to post
Share on other sites
  • 0

Thank you @AnnieRuru for your answer.

Indeed, I did not look for this side by changing the hex value of the exe.
I especially thought it was on the iteminfo side ...
I've been looking for quite a while and now working with the Hercules emulator so that's why I mentioned "Hercules" hahaha.
If someone else has a clue to give me, I'm a taker!

Sorry for my bad English I use the translator for easier communication.

Share this post


Link to post
Share on other sites
  • 0

Looks like there isn't much about my post in the exe :/ Maybe it is no longer possible to do this with current clients.
Still waiting for someone who will have information about this.
Thank you in advance.

Share this post


Link to post
Share on other sites
  • 0

I return to the charge and I'm sorry if this is a problem :/

As you can see the slots are also displayed on the description.

unknown.png.f68c6bdfe10b5c3d78f78d33e9e110ea.png
Not duplicated on the name in the black box.

533568462_unknown(1).png.e9bb367a40d07ff1fc19d114c067869f.png


For information, and she is 100% sure. This does not come from manually adding [0] or [1] etc next to the object name in iteminfo.lua.
If really no one has a solution, I'll close the topic.
Thanks for your help anyway.

Share this post


Link to post
Share on other sites
  • 0

If you need to do like this not need to HEXing.

This feature can do by are following file.

 

image.png.b367d3392d20bde5a910d2fc9f386125.png

 

Use as ItemInfo OLD style.

PS. If you use as EventItem you can encrypt ItemInfo in GRF.

 

image.png.ec0ea5de388bdb64be6c655df4d19eee.png

 

Edited by 𝓧-𝓔𝓬𝓾𝓽𝓲𝓞𝓷𝓷𝓮𝓻

Share this post


Link to post
Share on other sites
  • 0

I think he wants 2 things

 

1. he wants to show the [0]

yes most item already can show [1] [2] [3], but if the item has no slot, he still wants to show the [0]

 

2. Alt+Q equipment doesn't show [0], [1], [2], [3]

 

 

old item file can do that no.2 ?

interesting

 

newer one that use itemInfo_Sak.lub has these

function main()
	for ItemID, DESC in pairs(tbl) do
		result, msg = pcall(AddItem, ItemID, DESC.unidentifiedDisplayName, DESC.unidentifiedResourceName, DESC.identifiedDisplayName, DESC.identifiedResourceName, DESC.slotCount, DESC.ClassNum)
		if not msg then
			result, msg = pcall(AddItem, ItemID, DESC.unidentifiedDisplayName, DESC.unidentifiedResourceName, DESC.identifiedDisplayName, DESC.identifiedResourceName, DESC.slotCount, DESC.ClassNum, DESC.costume)
		end
		if not result then
			return false, msg
		end
		for k, v in pairs(DESC.unidentifiedDescriptionName) do
			result, msg = AddItemUnidentifiedDesc(ItemID, v)
			if not result then
				return false, msg
			end
		end
		for k, v in pairs(DESC.identifiedDescriptionName) do
			result, msg = AddItemIdentifiedDesc(ItemID, v)
			if not result then
				return false, msg
			end
		end
		if nil ~= DESC.EffectID and nil ~= AddItemEffectInfo then
			result, msg = AddItemEffectInfo(ItemID, DESC.EffectID)
			if not result then
				return false, msg
			end
		end
		if nil ~= DESC.costume and nil ~= AddItemIsCostume then
			result, msg = AddItemIsCostume(ItemID, DESC.costume)
			if not result then
				return false, msg
			end
		end
	end
	return true, "good"
end
function main_server()
	for ItemID, DESC in pairs(tbl) do
		result, msg = AddItem(ItemID, DESC.identifiedDisplayName, DESC.slotCount)
		if not result then
			return false, msg
		end
	end
	return true, "good"
end

DESC.slotCount .... but doesn't seem to have anything to do here

Share this post


Link to post
Share on other sites
  • 0
28 minutes ago, AnnieRuru said:

I think he wants 2 things

 

1. he wants to show the [0]

yes most item already can show [1] [2] [3], but if the item has no slot, he still wants to show the [0]

 

2. Alt+Q equipment doesn't show [0], [1], [2], [3]

 

 

old item file can do that no.2 ?

interesting

 

 

You can do that as EventItem.

 

image.png.b0f9d42652b12f164bc9f793519a1cf7.png

Share this post


Link to post
Share on other sites
  • 0

Thank you both for your response!

 

It seems to me that recent client no longer use EventItem, I am currently using version 2018-04-18b.
I'm still going to try to do a few things with the files I own. Should I declare with Nemo that I use my grf files rather than my iteminfo.lua?

 

As said before I apologize for my bad English I use the translator. : /

Edited by Daraen

Share this post


Link to post
Share on other sites
  • 0
7 minutes ago, 𝓧-𝓔𝓬𝓾𝓽𝓲𝓞𝓷𝓷𝓮𝓻 said:

You can do that as EventItem.

 

image.png.b0f9d42652b12f164bc9f793519a1cf7.png

so its not compatible with newest client ?

no result

no_eventitem.png

 

topic starter beats me by a minute =/

Share this post


Link to post
Share on other sites
  • 0
8 minutes ago, 𝓧-𝓔𝓬𝓾𝓽𝓲𝓞𝓷𝓷𝓮𝓻 said:

I'm use 2020-09-02bRagexeRE and work fine.

EventItem.txt can read FIRST before ItemInfo.lub.

 

Try this to testing. (@item 2102)

Data.7z 541 B · 1 download

 

image.png.30b9280f462342b2a8cc7c2882a1034e.png

I wouldn't want to sound like an inconvenient, but you're talking about EventItem.txt but you haven't given it to me in your download. Sorry 😕

Share this post


Link to post
Share on other sites
  • 0
Just now, Daraen said:

I wouldn't want to sound like an inconvenient, but you're talking about EventItem.txt but you haven't given it to me in your download. Sorry 😕

 

I mean EventItem is are prefix with "Event" item_db with old item style. 

Share this post


Link to post
Share on other sites
  • 0

I'm sorry but I don't understand what you mean to me.
I am using iteminfo.lua so I imagine this needs to be declared in nemo master?

Share this post


Link to post
Share on other sites
  • 0

I also couldn't get it to work

the item ID in the file is 2102

2102#Guard [999]#

 

no_eventitem2.png

 

I double check in nemo and doesn't has anything with 'event' or 'item'

 

my client read system\itemInfo_Sak.lub, has to disable that first ?

Edited by AnnieRuru

Share this post


Link to post
Share on other sites
  • 0

I did the same ... I don't understand where it should be declared or imported.
The easiest way would be to send us a "tutorial" if it doesn't take a lot of time.
I am convinced that a lot of people would like to do this.
Thank you once again for the help and the answers provided!

 

@AnnieRuru

I think we can't turn it off but just read a custom one. As I have already said 2 times I use iteminfo.lua
But it's true, Eventitem remains a mystery ^^

1.thumb.png.d2274e1a944e5e6b3809b6c9c715ca9f.png

Share this post


Link to post
Share on other sites
  • 0

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

 

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

 

Edited by Daraen

Share this post


Link to post
Share on other sites
  • 0

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:

Quote
  • 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 ?

Edited by AnnieRuru

Share this post


Link to post
Share on other sites
  • 0
Just now, AnnieRuru said:

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#

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 ?

I have new results, take a look at my previous post @AnnieRuru

Share this post


Link to post
Share on other sites
  • 0

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

 

image.png.7992bfd5f0dc5f58574e6deeddd0d7dc.png

Edited by 𝓧-𝓔𝓬𝓾𝓽𝓲𝓞𝓷𝓷𝓮𝓻

Share this post


Link to post
Share on other sites
  • 0

I have already done this and I get this:

 

fonctionne.png.e08055df9547229ce8e81ff55c8cc78a.png

 

Problem the slot is no longer displayed: /

 

slot2.png.5bca4154b89cb9c0b3acab5c2e23ebec.png

Edited by Daraen

Share this post


Link to post
Share on other sites
  • 0
5 hours ago, 𝓧-𝓔𝓬𝓾𝓽𝓲𝓞𝓷𝓷𝓮𝓻 said:

image.png.ec0ea5de388bdb64be6c655df4d19eee.png

 

@Daraen look back at his original screenshot, also same

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...
Sign in to follow this  

×
×
  • Create New...

Important Information

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