Jump to content
  • Join-Us

    https://metin2.dev is the 1st international community on Metin2 development. Join us to develop your skills and share your knowledge with the community, respectful and ethical forum.

Mana & Next EXP Percentage Group Update


Recommended Posts

  • Management

Thank you for your sharing 🙂 

For the next time, please provide .zip / .7z / .rar archives please.
An executable file is not reassuring even with a VirusTotal link. 

  • Love 1
  • Good 1

If you want to contact the M2Dev team, please open a ticket on the Discord server...

english_banner.gif

Link to comment
Share on other sites

  • Management
49 minutes ago, Eugen said:

Don't appear the yellow line. Is empty.

spacer.png Taskbar

 

spacer.pngGroup 

 

Sysser without errors!

The yellow bar corresponds to your character's experience, not stamina.

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1
  • Good 3

If you want to contact the M2Dev team, please open a ticket on the Discord server...

english_banner.gif

Link to comment
Share on other sites

  • Honorable Member
12 minutes ago, ασικοο said:

The yellow bar corresponds to your character's experience, not stamina.

s9yvrNG.png

sjLqxU2.jpg

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

  • Nitro Booster

Personally, I found the title of this topic being a little confusing just because the fact that Metin2 has a stupid resistance gauge which is also called “Stamina”, BUT what we also know from Metin2 and other RPG’s that use special magical abilities is that they are usually measured in MP "Magic Points", "Mana Points" and even “Stamina Points” and here is the confusion from the title. Which Stamina? Resistance or Mana?
Here is a little reference in Magic (game terminology) - Wikipedia https://en.wikipedia.org/wiki/Magic_(game_terminology)

EXP = ("Experience")
HP = ("Health Points")
SP = ("Stamina Points")
	MP = ("Magic Points")
	MP = ("Mana Points")
	Both in game terminology are the same designation.

ST = (Simply, "Stamina")

And again, personally, I would suggest, if the author agrees along as the administration team, altering the topic name from “Stamina” to “Mana” or something similar that’s not simply just “Stamina”.

Regardless, thanks for sharing.

Edited by Owsap
  • Metin2 Dev 1
  • Love 1
  • Good 4
Link to comment
Share on other sites

  • Bronze

There was something I forgot, i was sleepy last night

PythonPlayerModule.cpp

add them

{ "GetPartyMemberSPPercentage", playerGetPartyMemberSPPercentage,    METH_VARARGS },
{ "GetPartyMemberEXP_Percentage",    playerGetPartyMemberEXP_Percentage,    METH_VARARGS },

 

Sorry for my bad english, I'm sorry for the confusion

" Not Stamina, Mana and Character Experience..."

Edited by VestulSalbatic
Link to comment
Share on other sites

Hey! 

Thanks for sharing this with us! 
There is a little mistake in char.cpp with this line:

	out.percent_exp = (BYTE)MINMAX(0, GetExp() * 100 / GetNextExp(), 100);

GetExp() function has DWORD (unsigned long) data type, which range is 0 to 4 294 967 295.
If you multiply your current exp (if it's bigger than 42 949 672) with 100, you will get 0, because of it's overflowing.
You can convert it to int64_t (long long).

	out.percent_exp = MINMAX(0, (int64_t)GetExp() * 100 / GetNextExp(), 100);
Edited by Heathcliff™
  • Love 4
Link to comment
Share on other sites

  • 2 months later...


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