Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-09-2007, 01:44 PM
SoTRichard
Sarnak
 
Join Date: Aug 2004
Posts: 67
Default Group Lvl and Xp

what in the database controls the lvl of people you are allowed to group with? on live it was 2/3 your lvl or your lvl multiplied by 1.5 is maximum you can group with. on my server ive noticed that it's only 8 levels up or down...
thanks
__________________
Truth=What is, is.
Reply With Quote
  #2  
Old 08-10-2007, 04:14 AM
techguy84's Avatar
techguy84
Discordant
 
Join Date: Apr 2007
Location: Somewhere Safe
Posts: 453
Default

Dont think this is DB, but more hard-coded into the emulator itself. Have to go through source to find it.
Reply With Quote
  #3  
Old 08-13-2007, 03:21 AM
BWStripes
Sarnak
 
Join Date: Jun 2007
Location: Finland
Posts: 65
Default

Piqued my interest too, it seems hardcoded to 8, exp.cpp, line 457+:
Code:
  sint16 diff = cmember->GetLevel() - maxlevel;
  if (diff >= -8) { /*Instead of person who killed the mob, the person who has the highest level in the group*/
    uint32 tmp = (cmember->GetLevel()+3) * (cmember->GetLevel()+3) * 75 * 35 / 10;
    uint32 tmp2 = groupexp / membercount;
    cmember->AddEXP( tmp < tmp2 ? tmp : tmp2, conlevel );
Just change the diff comparrison, or better still, replace it with the formula.

This (probably) isn't valid C code, but I would guess something like:
sint16 expforjoo = (cmember->Getlevel() / 2)+(cmember->Getlevel() +1);
if (expforjoo >= maxlevel)
--etc.

Meaning L46 can gain exp with a L70, L51 with L75 as per live I think...its been a while

Last edited by BWStripes; 08-13-2007 at 11:36 AM..
Reply With Quote
  #4  
Old 09-11-2007, 05:42 AM
Irreverent
The Solo Server
 
Join Date: May 2007
Posts: 416
Default

That would be a snazy addition to the code, since we all love twink plvling.
__________________
OP of Irreverent Server (The Solo Server)
Our Forums
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:28 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