Jump to content

Poisoning HP Effect


Recommended Posts

  • Honorable Member
1 hour ago, Artix96it said:

If you want, I can show you the various problems in private. Maybe redoing the installation from scratch

List your problems here. Yes, I would recommend you to add the system again.

Edited by Tatsumaru
  • Metin2 Dev 2
  • Love 1

GhwYizE.gif

Link to comment
Share on other sites

  • 1 year later...

Hello, thx for this share.

I have this error :
 

0312 17:56:15767 ::   File "networkModule.py", line 285, in SetGamePhase

0312 17:56:15767 ::   File "game.py", line 140, in __init__

0312 17:56:15767 ::   File "interfaceModule.py", line 756, in MakeInterface

0312 17:56:15767 ::   File "interfaceModule.py", line 364, in __MakeTaskBar

0312 17:56:15767 ::   File "uiTaskBar.py", line 839, in LoadWindow

0312 17:56:15767 ::   File "ui.py", line 6216, in GetChild

0312 17:56:15767 :: KeyError
0312 17:56:15767 :: :
0312 17:56:15767 :: 'HPPoisonGauge'
0312 17:56:15767 ::

Do you have idea ?

Thx

  • Metin2 Dev 1
Link to comment
Share on other sites

  • Forum Moderator
On 8/3/2020 at 9:04 AM, Bizzy said:

little problem when leader is still online https://metin2.download/picture/W493l36DrXnkyLql6E3cYAPslse9Xxqw/.png hp bar dont refreash pls help

On 4/24/2020 at 6:45 PM, SorinSmon said:

when making party and the leader go offline appear this in syser and i understand is because of this.

  • uiParty.py

This is the hidden content, please

On 3/12/2023 at 7:25 PM, Kiwi said:

Hello, thx for this share.

I have this error :

Spoiler
0312 17:56:15767 ::   File "networkModule.py", line 285, in SetGamePhase

0312 17:56:15767 ::   File "game.py", line 140, in __init__

0312 17:56:15767 ::   File "interfaceModule.py", line 756, in MakeInterface

0312 17:56:15767 ::   File "interfaceModule.py", line 364, in __MakeTaskBar

0312 17:56:15767 ::   File "uiTaskBar.py", line 839, in LoadWindow

0312 17:56:15767 ::   File "ui.py", line 6216, in GetChild

0312 17:56:15767 :: KeyError
0312 17:56:15767 :: :
0312 17:56:15767 :: 'HPPoisonGauge'
0312 17:56:15767 ::

 

You're missing HPPoisonGauge key from locale/xx/taskbar.py or uiscript/taskbar.py

Edited by VegaS™
  • Metin2 Dev 19
  • Eyes 1
  • Good 1
  • Love 8
Link to comment
Share on other sites

11 hours ago, VegaS™ said:
  • uiParty.py
Hidden Content

 

Look for the following declaration:

		self.vid = None

Change it to:

		self.vid = 0

 

 

You're missing HPPoisonGauge key from locale/xx/taskbar.py or uiscript/taskbar.py

Thx it's good, i have make edit on taskbar.py but my client used newtaskbar.py

 

Now i have this error if you have idea :

0314 10:56:36319 :: Traceback (most recent call last):

0314 10:56:36319 ::   File "networkModule.py", line 285, in SetGamePhase

0314 10:56:36319 ::   File "game.py", line 160, in __init__

0314 10:56:36319 ::   File "uiTarget.py", line 1484, in __init__

0314 10:56:36319 :: NameError
0314 10:56:36319 :: : 
0314 10:56:36319 :: global name 'hpPoisonGauge' is not defined
0314 10:56:36319 :: 

uiTarget.py : https://pastebin.com/LpBZtMGQ

Thx 😉

 

Edited by Kiwi
Link to comment
Share on other sites

6 hours ago, Kiwi said:

Thx it's good, i have make edit on taskbar.py but my client used newtaskbar.py

 

Now i have this error if you have idea :

0314 10:56:36319 :: Traceback (most recent call last):

0314 10:56:36319 ::   File "networkModule.py", line 285, in SetGamePhase

0314 10:56:36319 ::   File "game.py", line 160, in __init__

0314 10:56:36319 ::   File "uiTarget.py", line 1484, in __init__

0314 10:56:36319 :: NameError
0314 10:56:36319 :: : 
0314 10:56:36319 :: global name 'hpPoisonGauge' is not defined
0314 10:56:36319 :: 

uiTarget.py : https://pastebin.com/LpBZtMGQ

Thx 😉

 

Problem fix

thx

Link to comment
Share on other sites

  • 4 months later...
  • Premium

Everything is working fine like in the gif of @ Tatsumaru remember the taskbar.py is inside special_patch_common\locale\common\ui if you use martysama.

But yes the error that some of the users have already reported it is still there

0820 16:23:10734 :: uiParty:282: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
0820 16:23:10734 :: Traceback (most recent call last):
0820 16:23:10734 :: File "game.py", line 1009, in UpdatePartyMemberInfo
0820 16:23:10734 :: File "interfaceModule.py", line 747, in UpdatePartyMemberInfo
0820 16:23:10734 :: File "uiParty.py", line 667, in UpdatePartyMemberInfo
0820 16:23:10734 :: File "uiParty.py", line 282, in SetCharacterHP
0820 16:23:10739 :: TypeError
0820 16:23:10739 :: an integer is required

To fix it you need to do what VegaS™ did say here: 

 

Edited by DemOnJR

plague.png.1f5de75b42146262dcd655a5a8078

Link to comment
Share on other sites

  • 5 weeks later...

EDIT: Solved. If it doesn't work with POISON in SetImmuneFlag go in char_resist.cpp > void CHARACTER::AttackedByPoison(LPCHARACTER pkAttacker) uncomment or put 

	if (IsImmune(IMMUNE_POISON))
		return;

 

12 hours ago, rawn3cr0 said:

Everything else works perfectly but metin stone will have the green bar even if they can't be poisoned.

How i can fix this? I put POISON on SetImmuneFlag but nothing.

.jpg

 

Link to comment
Share on other sites

  • 1 month later...

Fix for this?

https://metin2.download/picture/Qx6HUhJaeb8BZfLop2c1DHzuzao65oe3/.gif

I tried with: if (IsImmune(IMMUNE_POISON)) return;

But doesn't work...

On 8/28/2023 at 3:48 PM, rawn3cr0 said:

EDIT: Solved. If it doesn't work with POISON in SetImmuneFlag go in char_resist.cpp > void CHARACTER::AttackedByPoison(LPCHARACTER pkAttacker) uncomment or put 

	if (IsImmune(IMMUNE_POISON))
		return;

 

 

Fix for this?

I tried with: if (IsImmune(IMMUNE_POISON)) return;

But doesn't work...

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

Announcements



×
×
  • 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.