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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
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
 


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 04:56 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