Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Bugs

Archive::Bugs Archive area for Bugs's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-18-2002, 08:01 AM
Drawde
Dragon
 
Join Date: Jan 2002
Posts: 521
Default Wrong skills going up during combat

I've noticed that in 2.5 your combat skills will go up when fighting, however the skills don't seem to be the right ones - for example the Abjuration skill increased when fighting with a 2-handed blunt weapon, and the 2-handed blunt skill increased when fighting with a piercing weapon. Presumably this should be easy to fix (just change the numbers around) ?
Reply With Quote
  #2  
Old 03-18-2002, 09:58 AM
TheClaus
Discordant
 
Join Date: Jan 2002
Location: Manteca, CA
Posts: 352
Default

Now that is funny. Getting a magic skill from melee.
Reply With Quote
  #3  
Old 03-18-2002, 10:53 AM
Razzle
Sarnak
 
Join Date: Jan 2002
Posts: 54
Default

Perhaps the problems are not in the skills, but in the items?
Reply With Quote
  #4  
Old 03-19-2002, 01:13 PM
Azaken
Sarnak
 
Join Date: Feb 2002
Posts: 32
Default

Perhaps you should try it out again with a different weapon that (presumably) puts up the same skills. If a 2hs puts up Abjur again then you are prolly right it is a simple coding error. But if a different weapon in the same skill (2hs) changes yet another different skill than the prior you have a rats nest of a problem i would hate to deal with.

Patrick
Reply With Quote
  #5  
Old 03-28-2002, 05:05 AM
Drawde
Dragon
 
Join Date: Jan 2002
Posts: 521
Default

After testing with various weapons and characters I've found that the error is definitely related to the type of weapon, not the individual item. It seems to be just a case of wrong/mismatched skill numbers.
These are the ones I've found so far (the weapon type followed by the skill it increases when used)

1H Piercing -> 2H Blunt
1H Blunt -> 2H Slashing
2H Blunt -> Abjuration
1H Slashing -> 1H Blunt

Haven't tried 2HS or 2HP yet but will post here when I find what skills they increase.
Reply With Quote
  #6  
Old 03-30-2002, 05:43 AM
Drawde
Dragon
 
Join Date: Jan 2002
Posts: 521
Default

2H Slashing => 1H Slashing
2H Piercing => Pick Lock (!?! - imagine trying to pick a lock with a Velium War Lance..)
Reply With Quote
  #7  
Old 03-30-2002, 11:26 AM
Baron Sprite's Avatar
Baron Sprite
Dragon
 
Join Date: Jan 2002
Posts: 708
Default

My spell data def file I released has all the skill numbers EQ uses, slightly different then eqemu's #s, if you wanted to check and see if the numbers I go are related to your problem d, I can't check at work
Reply With Quote
  #8  
Old 03-31-2002, 01:03 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

From looking at the text file with SPDiscover, looks to me it the errors match up exactly with the skills that are going up in the emu..

Looks like a mismatch in skillinuse between eq and emu in the case statement.. The common skill and skillinuse need to be changed in each to match the parameters baron has.

ie 00 = 1h blunt in discover, but 1h slash in source

//Skill Types:
00 //= 1H Blunt
01 //= 1H Slashing
02 //= 2H Blunt
03 //= 2H Slashing
04 //= Abjuration
23 //= Pick Lock


But in the source code, in attack.cpp

// 1h slashing
if (weapon->common.skill == 0x00)
{
attack_skill = 0x01;
skillinuse = 0x00;
a->type = 5; // (5 is for 1h blunt, this is why 1hs weapons 'crush')
}
// 2h slashing
if (weapon->common.skill == 0x01)
{
attack_skill = 0x01;
skillinuse = 0x01;
a->type = 3;
}
// Piercing
if (weapon->common.skill == 0x02)
{
attack_skill = 0x24;
skillinuse = 0x02;
a->type = 2;
}
// 1h blunt
if (weapon->common.skill == 0x03)
{
attack_skill = 0x00;
skillinuse = 0x03;
a->type = 5;
}
// 2h blunt
if (weapon->common.skill == 0x04)
{
attack_skill = 0x00;
skillinuse = 0x04;
a->type = 4;
}
// 2h Piercing
if (weapon->common.skill == 0x23)
{
attack_skill = 0x24;
skillinuse = 0x23;
a->type = 4;
}


Also, I looked in the EQAdmin program, it appears that in there as well the skills are matching the emu rather than what the client expects. To be honest, Im not sure what the best solution is....

Ive fixed it in my attack.cpp, but a 1h slash still looks like a 1h blunt in the database...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 08:39 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3