Jump to content
  • 0
raPalooza~

#max_skill and chrif_authok

Question

Sup Herc PPL, I know it's a delicated topic and usually not given much attention due to the fact that it is custom stuff development but.... ;o

 

So, i'm messing arround with custom skill and the client power to handle them and found out that from skill id 3036 foward, it does handle it pretty well, so i changed the index formula to.

 

 //[Ind/Hercules] GO GO GO LESS! - http://herc.ws/board/topic/512-skill-id-processing-overhaul/
else if( skill_id > 1019 && skill_id < 8001 ) {
if( skill_id < 2058 ) // 1020 - 2000 are empty
skill_id = 1020 + skill_id - 2001;
else if( skill_id < 2549 ) // 2058 - 2200 are empty - 1020+57
skill_id = (1077) + skill_id - 2201;
//else if ( skill_id < 3036 ) // 2549 - 3000 are empty - 1020+57+348
else if ( skill_id < 3436 ) // 2549 - 3000 are empty - 1020+57+348
skill_id = (1425) + skill_id - 3001;
else if ( skill_id < 5044 ) // 3436 - 5000 are empty - 1020+57+348+435
//skill_id = (1460) + skill_id - 5001;
skill_id = (1860) + skill_id - 5001;
else
ShowWarning("skill_get_index: skill id '%d' is not being handled!\n",skill_id);
}
So in the end i would have 400 skill ids to play with... It did work on last year's revision, but not in this year's.

 

Look's like only changing

//#define MAX_SKILL 1510
#define MAX_SKILL 1910
Is printing out "[Error]: chrif_authok: Data size mismatch!"

 

Any thoughts on what could be the problem here?

 

This may also create an option for people trying to create custom skills and are not happy on being locked to skills id gaps all arround. x_X

 

;]

Edited by raPalooza~

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

I don't see a problem, Id's are free from 1459 to 1859. Which means your custom skill ID's would be from 3036 to 3436. You will also have to increase MAX_SKILL 1910.

Share this post


Link to post
Share on other sites
  • 0

This errors occurs only when servers ain't in sync, please make sure you recompiled all three servers.

Share this post


Link to post
Share on other sites
  • 0

I'm back again,

Looks like before the item option feature the #MAX_SKILL 1910 was working just fine, but with the latest it's giving the

"[Error]: chrif_authok: Data size mismatch!" when char logs in.

any thoughts?

I am indeed recompiling all three servers, and using MSVB2012...

Share this post


Link to post
Share on other sites
  • 0

I'm back again,

Looks like before the item option feature the #MAX_SKILL 1910 was working just fine, but with the latest it's giving the

"[Error]: chrif_authok: Data size mismatch!" when char logs in.

any thoughts?

I am indeed recompiling all three servers, and using MSVB2012...

This is because after the item options PR was merged, the size of the packet that is sent to the map server carrying character details exceeds the size limit per packet. There is a PR in the works with a fix to this problem.

Share this post


Link to post
Share on other sites
  • 0

Temporary workaround is disable HOTKEY_SAVING in src/common/mmo.h. Remove or comment line with:

 

#define HOTKEY_SAVING
 

to

 

//#define HOTKEY_SAVING
 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.