Thread: Minor bug?
View Single Post
  #1  
Old 02-16-2007, 10:25 PM
Chandler Chandler is offline
Banned
Join Date: Jan 2007
Posts: 656
Chandler will become famous soon enough
Minor bug?

HTML Code:
for (temp.curPlayer: allplayers)
{
  if (!temp.curPlayer.account)
  {
    continue;
  }
  makevar("this.curV" @ temp.curPlayer.graalversion) += 1;
}
for (temp.curVersion: getstringkeys("this.curV"))
{
  echo(temp.curVersion);
  this.informOthers("Version:" SPC temp.curVersion @ "," SPC this.("curV" @ temp.curVersion));
}
returns:
Quote:
V2
Classic (Server): Version: V2,
V4
Classic (Server): Version: V4,
However, the flags from the database return:
Quote:
curV2.01=4
curV4.2=25
However, I decided to make the graal version an integer which fixed this problem, however if the graal version is greater than 0.6, it would equal to 1... :s
Reply With Quote