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 06-03-2009, 03:28 AM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default Faction items not working

I would like to report that I have tested faction giving items - and they do not appear to work.

I have made a custom faction item which was supose to increase my faction by +1k faction points - but it had no effect on the npc on said faction
Reply With Quote
  #2  
Old 09-14-2009, 06:54 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

bump!
any insights from the devs on this one?
Reply With Quote
  #3  
Old 09-15-2009, 12:42 AM
Rogean's Avatar
Rogean
Administrator
 
Join Date: Jul 2003
Location: Massachusetts
Posts: 708
Default

fix it and submit the code!

Otherwise will have to wait until someone has a chance to look at it, which is purely up to any individual that wants to or has the time do.
__________________
EQEmulator Developer / Administrator

Last edited by Rogean; 09-15-2009 at 12:45 AM..
Reply With Quote
  #4  
Old 09-15-2009, 01:34 AM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

well I was just trying to get to some sort of confirmation that this is indeed a recognized bug and not something I simply screwed up to understand =P

As long as devs are aware of this- no rush =)
Reply With Quote
  #5  
Old 09-15-2009, 07:39 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

I don't recall seeing anywhere that items are factored into faction at all. Here is where bonuses are calculated for factions, but it currently only seems to add spell bonuses:
Code:
// EverHood - Faction Mods for Alliance type spells
void Mob::AddFactionBonus(uint32 pFactionID,sint32 bonus) {
    map <uint32, sint32> :: const_iterator faction_bonus;
	typedef std::pair <uint32, sint32> NewFactionBonus;

	faction_bonus = faction_bonuses.find(pFactionID);
	if(faction_bonus == faction_bonuses.end()){
		faction_bonuses.insert(NewFactionBonus(pFactionID,bonus));
	}else{
		if(faction_bonus->second<bonus){
			faction_bonuses.erase(pFactionID);
			faction_bonuses.insert(NewFactionBonus(pFactionID,bonus));
		}
	}
}

sint32 Mob::GetFactionBonus(uint32 pFactionID) {
    map <uint32, sint32> :: const_iterator faction_bonus;
	faction_bonus = faction_bonuses.find(pFactionID);
	if(faction_bonus != faction_bonuses.end()){
			return (*faction_bonus).second;
	}
	return 0;
}
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #6  
Old 09-15-2009, 11:51 AM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

for testing reference, this is one item with faction I am aware of, that worked on LIVE:

http://everquest.allakhazam.com/db/item.html?item=7106
Reply With Quote
  #7  
Old 09-15-2009, 12:15 PM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

And another.
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:34 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