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 02-10-2013, 11:47 AM
orionsun
Banned
 
Join Date: May 2009
Location: USA
Posts: 22
Default

L2read

Code:
Index: zone/exp.cpp
===================================================================
--- zone/exp.cpp	(revision 2329)
+++ zone/exp.cpp	(working copy)
@@ -427,40 +427,16 @@
 
 	int16 check_levelm1 = check_level-1;
 	float mod;
-	if (check_level < 31)
+	if (check_level < 87)
 		mod = 1.0;
-	else if (check_level < 36)
-		mod = 1.1;
-	else if (check_level < 41)
-		mod = 1.2;
-	else if (check_level < 46)
-		mod = 1.3;
-	else if (check_level < 52)
-		mod = 1.4;
-	else if (check_level < 53)
-		mod = 1.5;
-	else if (check_level < 54)
-		mod = 1.6;
-	else if (check_level < 55)
-		mod = 1.7;
-	else if (check_level < 56)
-		mod = 1.9;
-	else if (check_level < 57)
-		mod = 2.1;
-	else if (check_level < 58)
-		mod = 2.3;
-	else if (check_level < 59)
-		mod = 2.5;
-	else if (check_level < 60)
-		mod = 2.7;
-	else if (check_level < 61)
-		mod = 3.0;
+	else if (check_level < 100)
+		mod = 4.0;
 	else
-		mod = 3.1;
+		mod = 5.0;
 	
 	float base = (check_levelm1)*(check_levelm1)*(check_levelm1);
 
-	mod *= 1000;
+	mod *= 200;
 	
 	return(uint32(base * mod));
 }
Reply With Quote
  #2  
Old 02-10-2013, 01:51 PM
KingMort
Banned
 
Join Date: Sep 2006
Posts: 841
Default

Well I had taken that out actually because I saw that Eqemu supported up to level 127. I had to put something similar back in to fix the issue I guess my database is reliant on that code . Which sucks but not sure how I would globally fix chars then not use that code.. Here is the code I had to put in, if I had known that the original code would have screwed up my database I wouldn't have used it. Would appreciate any assistance to repair my database and use the STOCK code. Back when we had the above code written there was no such thing as chars over 87..

Quote:
Index: zone/exp.cpp
================================================== =================
--- zone/exp.cpp (revision 2492)
+++ zone/exp.cpp (working copy)
@@ -442,40 +442,42 @@

uint16 check_levelm1 = check_level-1;
float mod;
- if (check_level < 31)
+ if (check_level < 87)
mod = 1.0;
else if (check_level < 36)
- mod = 1.1;
+ mod = 1.0;
else if (check_level < 41)
- mod = 1.2;
+ mod = 1.0;
else if (check_level < 46)
- mod = 1.3;
+ mod = 1.0;
else if (check_level < 52)
- mod = 1.4;
+ mod = 1.0;
else if (check_level < 53)
- mod = 1.5;
+ mod = 1.0;
else if (check_level < 54)
- mod = 1.6;
+ mod = 1.0;
else if (check_level < 55)
- mod = 1.7;
+ mod = 1.0;
else if (check_level < 56)
- mod = 1.9;
+ mod = 1.0;
else if (check_level < 57)
- mod = 2.1;
+ mod = 1.0;
else if (check_level < 5
- mod = 2.3;
+ mod = 1.0;
else if (check_level < 59)
- mod = 2.5;
+ mod = 1.0;
else if (check_level < 60)
- mod = 2.7;
+ mod = 1.0;
else if (check_level < 61)
- mod = 3.0;
+ mod = 1.0;
+ else if (check_level < 100)
+ mod = 2.2;
else
- mod = 3.1;
+ mod = 2.5;

float base = (check_levelm1)*(check_levelm1)*(check_levelm1);

- mod *= 1000;
+ mod *= 200;

return(uint32(base * mod));
}
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:51 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3