View Single Post
  #2  
Old 05-29-2003, 11:25 AM
Bigpull
Discordant
 
Join Date: Feb 2003
Posts: 305
Default

Pointless er i mean why? DB querys just slow stuff down and bloat the HD space required.

Code:
#include "maxskill.h"
#include <iostream>
int main(void){
for (int class = 0; class <= 15; class++){
 cout<<"Some crap here";
 for (int skill = 0; skill <= 73; skill++){
  cout<<"Some more crap here";
 }
 cout<<"Last crap here"<<endl;
}
return 0;
}
Now really before you go and connect the table think about how many times the db is going to get queried, take 5 melee chars at max haste with fast weapons, gives you about 20 query per second, just for the weapon skill, Another 20 for thier Offense checks. Now scale that up to a real raid size where melee class range from 1/3rd to 1/2 or more of the raid ;)
Reply With Quote