Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bug Reports

Development::Bug Reports Post detailed bug reports and what you would like to see next in the emu here.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-26-2006, 10:00 AM
cbodmer
Fire Beetle
 
Join Date: Oct 2006
Posts: 24
Default Char Creation - Sense Heading

Line 960 in world/client.cpp:

Code:
        // Racial Languages
        SetRacialLanguages( &pp ); // bUsh
        SetRaceStartingSkills( &pp ); // bUsh
        SetClassStartingSkills( &pp ); // bUsh
        pp.skills[SENSE_HEADING + 1] = 200;
At least on my setup using the latest release (871/2006-10-22), this sets Singing to 200 rather than sense heading.

Changed it to:
Code:
        pp.skills[SENSE_HEADING] = 200;
and this sets sense heading correctly for the newly created character.

Once that is working as it should, the following "optimization" to zone/client.cpp seems appropriate:

Line 1663 in zone/client.cpp:
Code:
bool Client::CheckIncreaseSkill(int skillid, int chancemodi) {
        if (IsAIControlled()) // no skillups while chamred =p
                return false;
        if (skillid > HIGHEST_SKILL)
                return false;
        if (skillid == SENSE_HEADING)
                return false;
Since sense heading is maxed anyway, we don't need to do a skill gain check on it.

Cheers,
-Chris
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 01:46 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3