Removing Group Exp Level Limit
Hi, I've been searching around, and I can't seem to find exactly how to remove this.
Which lines of code would I have to alter to turn off the max level allowed to be in a group without not gaining any xp? Like, allowing a lvl 30 and a lvl 10 to group and both get xp. Thanks! |
I know some basics things when it comes to the code... if someone could just point me in the right direction, that would be much, much appreciated!!
Thanks! |
Look into the XP code, and especially the XP scaling code, in the zone/exp.cpp file. I haven't updated in a while so this may not be true anymore, but in my version of that file, the XP scaling code for con colors is at the top (void Client::AddEXP), and the group split code is near the bottom (void Group::SplitExp). You might even be able to just turn on the CON_XP_SCALING option (zone/features.h), but I don't know if that takes care of the level range difference. I set up the xp on my server to give xp for green cons and commented out the level range check, and then successfully grouped a level 22 with a level 59 character, and both got xp in Chardok.
|
All times are GMT -4. The time now is 06:14 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.