Jump to content

Recommended Posts

Hi m2dev,

I have a stressful problem..So a level 50 character, if it comes from a stone metin of level 5-10-15 etc they object fall from that stone.
Normal character over level 25 to 30 should not have metin stones drop to level 5.
Do you know where this problem would be?

Sorry for my english.

Link to comment
https://metin2.dev/topic/7477-drop-high-level-characters/
Share on other sites

There are delta values defined in your gamefile. I guess you're using that vanilla thing. Some people complained about it letting people drop loot even if their level is way too high.

Have a look at constants.h at line 108
#define PERCENT_LVDELTA(me, victim) aiPercentByDeltaLev[MINMAX(0, (victim + 50) - me, MAX_EXP_DELTA_OF_LEV - 1)]
#define PERCENT_LVDELTA_BOSS(me, victim) aiPercentByDeltaLevForBoss[MINMAX(0, (victim + 50) - me, MAX_EXP_DELTA_OF_LEV - 1)]

 

See those values? You can change the +50 to +30 or any other value you want. I don't know why she raised them. Anyway, here you can fix it :D

 

  • Love 1
Link to comment
https://metin2.dev/topic/7477-drop-high-level-characters/#findComment-47023
Share on other sites

yes using vanilla, but there is something:
#define PERCENT_LVDELTA(me, victim) aiPercentByDeltaLev[MINMAX(0, (victim + 50) - me, MAX_EXP_DELTA_OF_LEV - 1)]
#define PERCENT_LVDELTA_BOSS(me, victim) aiPercentByDeltaLevForBoss[MINMAX(0, (victim + 50) - me, MAX_EXP_DELTA_OF_LEV - 1)]

there is not even #define

what I have is:
 

const int * aiPercentByDeltaLev = NULL;
const int * aiPercentByDeltaLevForBoss = NULL;

const int aiPercentByDeltaLevForBoss_euckr[MAX_EXP_DELTA_OF_LEV] =
{
	1,
	3,
	5,
	7,
	15,
	30,
	60,
	90,
	91,
	92,
	93,
	94,
	95,
	97,
	99,
	100,
	105,
	110,
	115,
	120,
	125,
	130,
	135,
	140,
	145,
	150,
	155,
	160,
	165,
	170,
	180
};

 

Link to comment
https://metin2.dev/topic/7477-drop-high-level-characters/#findComment-47129
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



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.