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 09-09-2006, 12:16 PM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Indeed. I've found a handful of skills that cap out well below 252 that literally vomit all over the log files when they still attempt to be raised - sense heading, for one - maxes at 200, but using #setskillall 252, it starts barking that some of my skills are too high. If I understood the code better, I could come up with a way that if a skill increase encounters a skill > than it's possible max, it'll correct and save out the skill data and stop trying.

However, I am scared of Emu source. If I go in there and learn something, my life is over.
Reply With Quote
  #2  
Old 09-10-2006, 01:45 AM
eq4me
Hill Giant
 
Join Date: Jul 2006
Posts: 166
Default

Yes, I saw this too.

A sanity check build into #setskill and #setskillall would do the trick.

Something like:
Code:
if (new_skill_value > GetMaxPossibleRank(skillid) {
                     Message(13, "ERROR: Value %d to high for %d ! Setting it to %d", new_skill_value , GetSkillName(tradeskill) ,  GetMaxPossibleRank(skillid);
                     new_skill_value = GetMaxPossibleRank(skillid);
                    }
The variables are only for example, I didnt look in the code.
Reply With Quote
Reply

Thread Tools
Display Modes

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 05:20 PM.


 

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