Jump to content

Pendant System - Elemental Talismans with Bonus


Recommended Posts

  • Contributor

M2 Download Center

This is the hidden content, please
( Internal )

This is the hidden content, please
( GitHub )

Spoiler

1812279luZg6X.jpeg
181227I1pCxwO.jpeg
181227O9zZF2K.jpeg

 

Hi guys,

I leave the system of PENDANT,  It's basically like the official system, If you see something is missing, you can tell me.

 

  • Metin2 Dev 208
  • kekw 1
  • Eyes 4
  • Dislove 4
  • Angry 1
  • Not Good 3
  • Smile Tear 1
  • Think 2
  • Confused 3
  • Scream 1
  • Good 62
  • Love 14
  • Love 113
Link to comment
Share on other sites

  • Contributor
hace 2 horas, Mali61 dijo:

You should give via for @metin2-factory

9682482f3f.png

63485210f9.png


True, I forgot to add your credits for the little code, I already did ^^
For the rest it fixes many problems for everyone.


 

hace 2 horas, Mafuyu dijo:

why tf u release it, now will every shit server use this...

 

Because i mostly like to help with insignificant things, some also sell what they shouldn't sell or place it badly. As one boy said before, any shit server will still be a shit server.

 

 

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

  • 1 month later...
  • Premium

If someone has the same issues as me with elements sometimes being shown wrong replace this part of function in char.cpp:

		for (int i = RACE_FLAG_ATT_ELEC; i <= RACE_FLAG_ATT_DARK; i *= 2)
		{
			int diff = raceFlag - i;
			if (abs(diff) <= 1024)
				break;
		}

to this:

		for (int i = RACE_FLAG_ATT_ELEC; i <= RACE_FLAG_ATT_DARK; i *= 2)
		{
			curElementBase++;
			if (raceFlag & i)
				break;
		}

 

  • Metin2 Dev 1
  • Love 3
Link to comment
Share on other sites

  • 10 months later...
  • 6 months later...
  • 2 weeks later...
  • 2 months later...
  • 2 months later...
  • 2 months later...
  • 1 month later...
  • 1 month later...
11 hours ago, Hanma said:

Problem with ClientManagerBoot.cpp

https://pastebin.com/raw/Ntc5h5YA

 

Can someone help me with this?

Common/Length.h open
Search:

ATTRIBUTE_SET_MAX_NUM


Add Above 

ATTRIBUTE_SET_PENDANT,

 

Look This:

ATTRIBUTE_SET_PENDANT,

ATTRIBUTE_SET_MAX_NUM

or My Files:

 

enum EAttributeSet
{
	ATTRIBUTE_SET_WEAPON,
	ATTRIBUTE_SET_BODY,
	ATTRIBUTE_SET_WRIST,
	ATTRIBUTE_SET_FOOTS,
	ATTRIBUTE_SET_NECK,
	ATTRIBUTE_SET_HEAD,
	ATTRIBUTE_SET_SHIELD,
	ATTRIBUTE_SET_EAR,
#ifdef ENABLE_ITEM_ATTR_COSTUME
	ATTRIBUTE_SET_COSTUME_BODY,
	ATTRIBUTE_SET_COSTUME_HAIR,
#if defined(ENABLE_ITEM_ATTR_COSTUME) && defined(ENABLE_WEAPON_COSTUME_SYSTEM)
	ATTRIBUTE_SET_COSTUME_WEAPON,
#endif
#endif
#ifdef ENABLE_PENDANT_SYSTEM
	ATTRIBUTE_SET_PENDANT,
	ATTRIBUTE_SET_PENDANT_SPECIAL,
#endif
	ATTRIBUTE_SET_MAX_NUM
};

Ok ❤️

Also 

Basic Code ClientManagerBoot.cpp 

ATTRIBUTE_SET_PENDANT

Nice Code

EAttributeSet::ATTRIBUTE_SET_PENDANT

Edited by EAkar
Link to comment
Share on other sites

  • 2 months later...

I have some problem with use of undeclared identifier like:
char.cpp:3885:8: error: use of undeclared identifier 'APPLY_ATTBONUS_ELEC'; did you mean 'APPLY_ATTBONUS_ORC'?
                case APPLY_ATTBONUS_ELEC: // 99
                     ^~~~~~~~~~~~~~~~~~~
                     APPLY_ATTBONUS_ORC

and duplicate case value:
char.cpp:3885:8: error: duplicate case value 'APPLY_ATTBONUS_ORC'
                case APPLY_ATTBONUS_ELEC: // 99
                     ^
char.cpp:3809:8: note: previous case defined here
                case APPLY_ATTBONUS_ORC:

Can someone help me with this?

  • Good 1
Link to comment
Share on other sites

  • 4 weeks later...
  • Premium

The bonuses not working for me. I dont know what i missed, i added the metin2-factrory version for the bonuses, i checked rakancito version, and only different part was in battle.cpp. I changed it, bonuses are still not working for me. 
What i missed, or what did i do wrong?
I added strong againts stones and bosses, those bonuses are working fine. I dont know, really.
@ RakancitoSorry for bother you, can you help me ?:o

 

 

EDIT: 2023. Jan. 03.
Bonuses are working perfectly. i solved this problem months ago. 😄

 

Edited by Ulthar
solved

Ulthar

Link to comment
Share on other sites

  • 7 months later...
On 6/16/2021 at 5:18 PM, danhakhavro said:

Error when compiling.

f7955ac30c1362db52af07715b07f00d.png

 

ok. very incomplete tutorial.

If you download the instruction here, you have only 50% of code there, if you undrastand 0 how all this work, dont even start.

 

*Solved

can someone help regarding fixing this ? i have the same problem =(

none explained its solution tho

even if i remove that line i get another error : https://metin2.download/picture/lzX3TYsEuDI61UVc4Z9u87IObPMs7w5v/.png

if someone may help would be appreciated , no shit talk 

Edited by Metin2 Dev International
Core X - External 2 Internal
  • Good 1
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.