Jump to content
For maintenance and updates, the community will be offline on 31 December 2022 ×
  • 0

[help]Target info system "?" icon is missing from mob info hud


Ulthar

Question

  • Premium

Hello

Tried to implement this:
ENABLE_SEND_TARGET_INFO

I have a lil problem, which is:
Vgxv62I.png

The "?" icon is missing. No syserr, totally zero error :/.
I added the ICON, and the path too in my uitarget.py
I can put my .py files if you need.

Can someone help me please ? 😄

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0
  • Premium

#SOLVED!


If you have the same error as me, check your /userinterface/locale_inc.h. Be sure you defined the right define as in the tutorial says!

Edited by Ulthar
Link to comment
Share on other sites

!-->
  • 0
  • Distinguished Member
34 minutes ago, Ulthar said:

Anyone? Can help please?

You can include your uitarget.py but I suppose you could insert these lines correctly.

I still suspect the images, since it does not have uiscript parts, if it not exists, it simply not showing without a syserr just like your situation.

Link to comment
Share on other sites

  • 0
  • Premium
16 minutes ago, TMP4 said:

You can include your uitarget.py but I suppose you could insert these lines correctly.

I still suspect the images, since it does not have uiscript parts, if it not exists, it simply not showing without a syserr just like your situation.

https://pastebin.com/gT8LhbBy

Here is my uitarget.py.
I really want to fix it with you 😄

Link to comment
Share on other sites

  • 0
  • Distinguished Member
8 minutes ago, Ulthar said:

https://pastebin.com/gT8LhbBy

Here is my uitarget.py.
I really want to fix it with you 😄

The code looks fine. If you change the question mark image to another one like this: d:/ymir work/ui/public/close_button_01.sub
does it show up?

Spoiler
		if app.ENABLE_SEND_TARGET_INFO:
			infoButton = ui.Button()
			infoButton.SetParent(self)
			infoButton.SetUpVisual("d:/ymir work/ui/public/close_button_01.sub")
			infoButton.SetOverVisual("d:/ymir work/ui/public/close_button_02.sub")
			infoButton.SetDownVisual("d:/ymir work/ui/public/close_button_01.sub")
			infoButton.SetEvent(ui.__mem_func__(self.OnPressedInfoButton))
			infoButton.Hide()

			infoBoard = self.InfoBoard()
			infoBoard.Hide()
			infoButton.showWnd = infoBoard

 

Link to comment
Share on other sites

  • 0
  • Premium
15 minutes ago, TMP4 said:

The code looks fine. If you change the question mark image to another one like this: d:/ymir work/ui/public/close_button_01.sub
does it show up?

i will test it NOW!

EDIT:
Nothing changed. Still empty :c

Edited by Ulthar
  • Metin2 Dev 1
Link to comment
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


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.