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 03-04-2013, 12:06 PM
KingMort
Banned
 
Join Date: Sep 2006
Posts: 841
Default

Yes I understand I "FAIL" because that is why I posted this so that I can get help with this and not "FAIL" ..

Please help me to understand how I can check the value returned by "GetEXPForLevel" ??
Reply With Quote
  #2  
Old 03-04-2013, 02:19 PM
orionsun
Banned
 
Join Date: May 2009
Location: USA
Posts: 22
Default

You are the least technical network whatever you claim to be. Its basic stuff like this that undermines all the boasting you do lol.

Lets break this down...

Your code:
Code:
else if (check_level < 101)
		mod = 3.0;
The equation:
Code:
float base = (check_levelm1)*(check_levelm1)*(check_levelm1);
mod *= 1000;
return(uint32(base * mod))
Basic math time...

check_levelm1 = 100 <-- Character level(lets test max)
mod = 3.0 <-- This is the modifier a level 100 char has

base = 100 * 100 * 100 = 1,000,000
mod = 3.0 * 1000 = 3,000

return val = 1,000,000, * 3,000 = 3,000,000,000

The max value a uint32 can hold is ~2.14 billion.

A monkey could figure out where to go from here... good luck.
Reply With Quote
  #3  
Old 03-04-2013, 07:17 PM
wolfwalkereci
Discordant
 
Join Date: Dec 2005
Posts: 435
Default

Quote:
Originally Posted by lerxst2112 View Post
And this is why you fail.
Quote:
Originally Posted by orionsun View Post
You are the least technical network whatever you claim to be. Its basic stuff like this that undermines all the boasting you do
Yeah that pretty much sums this clown up.
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 05:39 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