Jump to content
Maintenance ×
×
×
  • Create New...
  • 0

Problem with lycan skills


Metin2 Dev

Question

  • Bot

Hello,

i added the lycan to my files and fixxed some little bugs, now i got a bug and have no idea what to do. I searched already on google and on m2dev for a reason, but found nothing.

My problem is that i cant add skillpoints to my skills, i can set them up with /setsk 170 40... I checked already the skill_proto on database and changed the type to 7, aswell with the client.

After this still nothing.

http://prntscr.com/eod1q9

http://prntscr.com/eod1xs

 

Then i checked the char_skill.cpp, i found this:

	int idx = POINT_SKILL;
	switch (pkSk->dwType)
	{
		case 0:
			idx = POINT_SUB_SKILL;
			break;
		case 1:
		case 2:
		case 3:
		case 4:
		case 5:
			idx = POINT_HORSE_SKILL;
			break;
		case 6:
			idx = POINT_SKILL;
			break;
		default:
			sys_err("Wrong skill type %d skill vnum %d", pkSk->dwType, pkSk->dwVnum);
			return false;
	}

 

I changed this to:

	int idx = POINT_SKILL;
	switch (pkSk->dwType)
	{
		case 0:
			idx = POINT_SUB_SKILL;
			break;
		case 1:
		case 2:
		case 3:
		case 4:
		case 5:
			idx = POINT_HORSE_SKILL;
			break;
		case 7:
			idx = POINT_SKILL;
			break;
		default:
			sys_err("Wrong skill type %d skill vnum %d", pkSk->dwType, pkSk->dwVnum);
			return false;
	}

 

Then i recompiled my game and reboot my server.

Still the same problem, i cant add skill points. If i set them up with /setsk 150 40 i can use all of them and the attacks make dmg (without purpur, i cant use it, in chat is get this msg: http://prntscr.com/eod3ye)

 

Anyone a idea what i can try?

english_banner.gif

Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


  • Activity

    1. 4

      problem Dargon Soul Changre Attribute

    2. 41

      Global Chat

    3. 4

      problem Dargon Soul Changre Attribute

    4. 2

      Startup Loading Window Library

    5. 28

      Ludus2: metin2 fan project

    6. 44

      Inbuild GR2 Animation

    7. 6

      Minimap Mob proto

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.