Jump to content

Lycan [WE NEED YOU]


Syron

Recommended Posts

Hello everyone, i want to announce you that i stopped working on this source core. However , the source will remain open at anytime for anyone. 

The main reason is that people are contacting me to resolve their bugs , to sell them my own core ( which i will never do probably ) because i like to help for free. But not compiling for every person anothe source.

As of today ( 16 Feb ) i will stop the activity on this Source. I'll start in the future another project ( new revision ) but without the 5th Character. ( will be added later by yourself as it will be a open-source ) 

I hope you all understand and will not get mad at me.

I want to thank everybody that contributted to this!

 

The topic can remain open for any discussions & oppinions.

 

 

Best regards,

Syron

:):)

Link to comment
Share on other sites

How to fix shops:

 

Go to common folder and the edit length.h , like this:

 

    SHOP_HOST_ITEM_MAX_NUM    = 80,
    SHOP_PRICELIST_MAX_NUM    = 80,

 

To:

 

    SHOP_HOST_ITEM_MAX_NUM    = 40,
    SHOP_PRICELIST_MAX_NUM    = 40,

 

After you made that go to shop.cpp from game folder and edit like this:

 

m_pGrid = M2_NEW CGrid(10, 9);

 

To:

 

m_pGrid = M2_NEW CGrid(5, 9);

 

And the last step is going to shop_manager.cpp and edit like this:

 

CGrid grid = CGrid(10, 9);

 

To:

 

CGrid grid = CGrid(5, 9);

  • Love 1
Link to comment
Share on other sites

 

 

Open char_skill.cpp and search for bool CHARACTER::CanUseSkill(DWORD dwSkillVnum) const :

 

edit

{{171, 172, 173, 174, 175, 176},},

to

{{170, 171, 172, 173, 174, 175},},

Don't work. I already have the "to" at the file.

 

bool CHARACTER::CanUseSkill(DWORD dwSkillVnum) const
{
	if (0 == dwSkillVnum) return false;
	
	if (0 < GetSkillGroup())
	{
		const int SKILL_COUNT = 6;
		static const DWORD SkillList[JOB_MAX_NUM][SKILL_GROUP_MAX_NUM][SKILL_COUNT] =
		{
			{ { 1, 2, 3, 4, 5, 6 }, { 16, 17, 18, 19, 20, 21 } },
			{ { 31, 32, 33, 34, 35, 36 }, { 46, 47, 48, 49, 50, 51 } },
			{ { 61, 62, 63, 64, 65, 66 }, { 76, 77, 78, 79, 80, 81 } },
			{ { 91, 92, 93, 94, 95, 96 }, { 106, 107, 108, 109, 110, 111 } },
			{ { 170, 171, 172, 173, 174, 175 }, { 170, 171, 172, 173, 174, 175 } },
		};

		const DWORD* pSkill = SkillList[GetJob()][GetSkillGroup() - 1];

		for (int i = 0; i < SKILL_COUNT; ++i)
		{
			
			if (pSkill[i] == dwSkillVnum) return true;
		}
	}

	//if (true == IsHorseRiding())

	if (true == IsRiding())
	{
		//?/?O?i??c ??i?芋??? ?芋??取??/?i?/?/ “o??使? ?ic?e?芋?ue?
		if (GetMountVnum())
		{
			if (!((GetMountVnum() >= 20209 && GetMountVnum() <= 20212) ||
				GetMountVnum() == 20215 || GetMountVnum() == 20218 || GetMountVnum() == 20225))
				return false;
		}

		switch (dwSkillVnum)
		{
		case SKILL_HORSE_WILDATTACK:
		case SKILL_HORSE_CHARGE:
		case SKILL_HORSE_ESCAPE:
		case SKILL_HORSE_WILDATTACK_RANGE:
			return true;
		}
	}

	switch (dwSkillVnum)
	{
	case 121: case 122: case 124: case 126: case 127: case 128: case 129: case 130:
	case 131:
	case 151: case 152: case 153: case 154: case 155: case 156: case 157: case 158: case 159:
		return true;
	}

	return false;
}
Link to comment
Share on other sites

  • Premium

 

 

 

Open char_skill.cpp and search for bool CHARACTER::CanUseSkill(DWORD dwSkillVnum) const :

 

edit

{{171, 172, 173, 174, 175, 176},},

to

{{170, 171, 172, 173, 174, 175},},

Don't work. I already have the "to" at the file.

 

bool CHARACTER::CanUseSkill(DWORD dwSkillVnum) const
{
	if (0 == dwSkillVnum) return false;
	
	if (0 < GetSkillGroup())
	{
		const int SKILL_COUNT = 6;
		static const DWORD SkillList[JOB_MAX_NUM][SKILL_GROUP_MAX_NUM][SKILL_COUNT] =
		{
			{ { 1, 2, 3, 4, 5, 6 }, { 16, 17, 18, 19, 20, 21 } },
			{ { 31, 32, 33, 34, 35, 36 }, { 46, 47, 48, 49, 50, 51 } },
			{ { 61, 62, 63, 64, 65, 66 }, { 76, 77, 78, 79, 80, 81 } },
			{ { 91, 92, 93, 94, 95, 96 }, { 106, 107, 108, 109, 110, 111 } },
			{ { 170, 171, 172, 173, 174, 175 }, { 170, 171, 172, 173, 174, 175 } },
		};

		const DWORD* pSkill = SkillList[GetJob()][GetSkillGroup() - 1];

		for (int i = 0; i < SKILL_COUNT; ++i)
		{
			
			if (pSkill[i] == dwSkillVnum) return true;
		}
	}

	//if (true == IsHorseRiding())

	if (true == IsRiding())
	{
		//?/?O?i??c ??i?芋??? ?芋??取??/?i?/?/ “o??使? ?ic?e?芋?ue?
		if (GetMountVnum())
		{
			if (!((GetMountVnum() >= 20209 && GetMountVnum() <= 20212) ||
				GetMountVnum() == 20215 || GetMountVnum() == 20218 || GetMountVnum() == 20225))
				return false;
		}

		switch (dwSkillVnum)
		{
		case SKILL_HORSE_WILDATTACK:
		case SKILL_HORSE_CHARGE:
		case SKILL_HORSE_ESCAPE:
		case SKILL_HORSE_WILDATTACK_RANGE:
			return true;
		}
	}

	switch (dwSkillVnum)
	{
	case 121: case 122: case 124: case 126: case 127: case 128: case 129: case 130:
	case 131:
	case 151: case 152: case 153: case 154: case 155: case 156: case 157: case 158: case 159:
		return true;
	}

	return false;
}

 

 

 

Skills appear to be activated but show wrong effect: (wt?xD) jDA4h.jpg

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

  • Premium

 

 

 

 

Open char_skill.cpp and search for bool CHARACTER::CanUseSkill(DWORD dwSkillVnum) const :

 

edit

{{171, 172, 173, 174, 175, 176},},

to

{{170, 171, 172, 173, 174, 175},},

Don't work. I already have the "to" at the file.

 

bool CHARACTER::CanUseSkill(DWORD dwSkillVnum) const
{
	if (0 == dwSkillVnum) return false;
	
	if (0 < GetSkillGroup())
	{
		const int SKILL_COUNT = 6;
		static const DWORD SkillList[JOB_MAX_NUM][SKILL_GROUP_MAX_NUM][SKILL_COUNT] =
		{
			{ { 1, 2, 3, 4, 5, 6 }, { 16, 17, 18, 19, 20, 21 } },
			{ { 31, 32, 33, 34, 35, 36 }, { 46, 47, 48, 49, 50, 51 } },
			{ { 61, 62, 63, 64, 65, 66 }, { 76, 77, 78, 79, 80, 81 } },
			{ { 91, 92, 93, 94, 95, 96 }, { 106, 107, 108, 109, 110, 111 } },
			{ { 170, 171, 172, 173, 174, 175 }, { 170, 171, 172, 173, 174, 175 } },
		};

		const DWORD* pSkill = SkillList[GetJob()][GetSkillGroup() - 1];

		for (int i = 0; i < SKILL_COUNT; ++i)
		{
			
			if (pSkill[i] == dwSkillVnum) return true;
		}
	}

	//if (true == IsHorseRiding())

	if (true == IsRiding())
	{
		//?/?O?i??c ??i?芋??? ?芋??取??/?i?/?/ “o??使? ?ic?e?芋?ue?
		if (GetMountVnum())
		{
			if (!((GetMountVnum() >= 20209 && GetMountVnum() <= 20212) ||
				GetMountVnum() == 20215 || GetMountVnum() == 20218 || GetMountVnum() == 20225))
				return false;
		}

		switch (dwSkillVnum)
		{
		case SKILL_HORSE_WILDATTACK:
		case SKILL_HORSE_CHARGE:
		case SKILL_HORSE_ESCAPE:
		case SKILL_HORSE_WILDATTACK_RANGE:
			return true;
		}
	}

	switch (dwSkillVnum)
	{
	case 121: case 122: case 124: case 126: case 127: case 128: case 129: case 130:
	case 131:
	case 151: case 152: case 153: case 154: case 155: case 156: case 157: case 158: case 159:
		return true;
	}

	return false;
}

 

 

 

Skills appear to be activated but show wrong effect: (wt?xD) jDA4h.jpg

 

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

  • 2 weeks later...
  • 2 weeks later...

First of all Really Sorry.

Let me ask something. Yes I don't know many things about that but I learned something by trying and writing.

Could you tell me how can I use each files.

client how and in where

.tar.gz files how and in where

test how and in where.

binary how and in where

english_proto how and in where.

Could you desribe them how can I use them exactly?

Thank you.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 60

      Inbuild GR2 Animation

    2. 2

      wait() function bug

    3. 0

      Remove Party Role Bonuses

    4. 1

      Fix CBar3D

    5. 1

      set_quest_state not working

    6. 1

      Fix CBar3D

    7. 1

      Game Source Code - where to call void methods to spawn mobs, move mobs and others - in game source side -?

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.