Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 11-14-2008, 01:54 AM
paaco
Discordant
 
Join Date: Jan 2005
Posts: 320
Default /Consider system

Anyone happen to know where in the source I can find the formulas used for the con system? I am looking through it but not finding it so far. I am trying to match the leveling script for my server up with the con system but so far, I cannot find the formulas used :(
Reply With Quote
  #2  
Old 11-14-2008, 02:00 AM
paaco
Discordant
 
Join Date: Jan 2005
Posts: 320
Default

It actually appears to be handled client side, I can find nothing in the eqemu source with the formulas used. If anyone knows the formula used for the con system or where I can find it though I would appreciate it.
Reply With Quote
  #3  
Old 11-15-2008, 11:36 AM
Theeper
Discordant
 
Join Date: May 2004
Posts: 290
Default

In zone/faction.cpp around line 82

Code:
		character_value += fm->base + fm->class_mod + fm->race_mod + fm->deity_mod;
	if(character_value >=  1101) return FACTION_ALLY;
	if(character_value >=   701 && character_value <= 1100) return FACTION_WARMLY;
	if(character_value >=   401 && character_value <=  700) return FACTION_KINDLY;
	if(character_value >=   101 && character_value <=  400) return FACTION_AMIABLE;
	if(character_value >=     0 && character_value <=  100) return FACTION_INDIFFERENT;
	if(character_value >=  -100 && character_value <=   -1) return FACTION_APPREHENSIVE;
	if(character_value >=  -700 && character_value <= -101) return FACTION_DUBIOUS;
	if(character_value >=  -999 && character_value <= -701) return FACTION_THREATENLY;
	if(character_value <= -1000) return FACTION_SCOWLS;
Reply With Quote
  #4  
Old 11-15-2008, 11:43 AM
Theeper
Discordant
 
Join Date: May 2004
Posts: 290
Default

Woops, you said the level part of it. I think that is client side.
Reply With Quote
  #5  
Old 11-15-2008, 02:54 PM
paaco
Discordant
 
Join Date: Jan 2005
Posts: 320
Default

Yeah I need the formulas used to determine if you should get xp for a kill. I am trying to match my system up with the con system, but it appears to be nearly impossible to just get lucky and have it match up.
Reply With Quote
  #6  
Old 11-15-2008, 03:15 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Have a look at MobAI.cpp, int32 Mob::GetLevelCon(int8 mylevel, int8 iOtherLevel)
Reply With Quote
  #7  
Old 11-15-2008, 04:26 PM
paaco
Discordant
 
Join Date: Jan 2005
Posts: 320
Default

Thanks Derision,wish I had seen this about 20 mins ago. I tested every level 1-50 on my server and put 50 if statements into my leveling system to make it match cons. It was a blast :(
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:23 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