Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-23-2008, 11:07 AM
Wolftousen
Sarnak
 
Join Date: Apr 2008
Posts: 49
Default Random number generation

Ok, so I got tired of waiting for someone to respond on PEQ boards about the melee crit AAs not working properly. I have a 65 berserker and have bought all ranks of crit AAs through PoP, but I don't crit nearly often enough when compared to live.

So, i looked through the server code and low and behold found the problem. It has little to nothing to do with the crit AAs it actually is how random numbers are being generated. Srand and Rand are built into C for convenience and are actually horrible and slow methods to getting random numbers. Very very far from being true random...

I would suggest using this instead:
http://www-personal.umich.edu/~wagne...neTwister.html

This is probably causing issues with a lot of other stuff, like the PoP parchment turn ins for spells that give you the same spells over and over b/c it seems like they aren't balanced. It is because of srand/rand...

This should help...
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 11:05 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