Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Server Code Submissions

Reply
 
Thread Tools Display Modes
  #1  
Old 06-13-2008, 05:49 AM
greggg230
Fire Beetle
 
Join Date: Jun 2008
Location: Vegas
Posts: 17
Default Minor bug fix for agnostics

Faction bonuses (or penalties) to agnostic characters do not show up appropriately when you /consider. However, the MOBs will still aggro, or not aggro, appropriately.

It took me awhile to track down the reason. I don't know why this is, but basically the consider code passes an agnostic's deity as 396 while the aggro code passes it as 140. The faction calculating program doesn't recognize 396, but it does recognize 140. This is easy to to fix. You just need to change the following in ZoneDatabase::GetFactionData in zone/faction.cpp:

Code:
if (deity_mod == 140)
	modd_tmp = 0;
to

Code:
if(deity_mod == 140 || deity_mod == 396)
	modd_tmp = 0;
I tested it out and it works fine.

Last edited by KLS; 06-14-2008 at 02:50 AM..
Reply With Quote
  #2  
Old 06-18-2008, 05:59 PM
Scorpious2k's Avatar
Scorpious2k
Demi-God
 
Join Date: Mar 2003
Location: USA
Posts: 1,067
Default

Quote:
Originally Posted by greggg230 View Post
Faction bonuses (or penalties) to agnostic characters do not show up appropriately when you /consider. However, the MOBs will still aggro, or not aggro, appropriately.
This will be in version 1113.
__________________
Maybe I should try making one of these servers...
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 06:44 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3