View Single Post
  #3  
Old 01-17-2011, 02:35 PM
PTGigi's Avatar
PTGigi PTGigi is offline
Crazily Friendly~HoF
 
Join Date: Jul 2009
Location: Somewhere >.>
Posts: 370
Gender: Female
Credits: 36,950
PTGigi
Default

I added them to the _adoptables table But these are for each adoptable so they're in the _owned_adopts table.

PHP Code:
$side=@mysql_result($result,$i,"side"); //Faction system, not stat related
$HP=@mysql_result($result,$i,"HP"); //HP
$MAXHP=@mysql_result($result,$i,"HPMAX"); //Maximum HP
$Attack=@mysql_result($result,$i,"Att"); //Attack
$Defense=@mysql_result($result,$i,"Def"); //Defense
$Speed=@mysql_result($result,$i,"Spd"); //Speed
$Evade=@mysql_result($result,$i,"Evd"); //Evading skillz
$Element=@mysql_result($result,$i,"Elemental"); //Type, but that was taken so I did element :3 
Would that be causing this issue do you think? The only other thing I really added in was this:
PHP Code:
$query "SELECT * FROM `adopts_users` WHERE `username`='$loggedinname'";
$result mysql_query($query);
$num mysql_numrows($result);
$TP = @mysql_result($result$i"points");
$gainTP 10;
$addpoints $TP $gainTP;
mysql_query("UPDATE `adopts_users` SET `points`='" $addpoints "' WHERE `username`='$loggedinname'"); 
Which is this points system I'm working on (you get points by doing random thing) and that's not on the main page it's on the "kill" page so I wouldn't think it'd cause too many issues D:

Plus I'm using DreamWeaver and there are no blatant errors (though DW doesn't always catch the smallest of mistakes)

EDIT: Despite having a Pokemon site I'm not going by Pokemon's stats system, so I won't be adding IVs or EVs but have a way so all Pokemon don't have the same stats upon level up.
__________________


"I see now that the circumstances of one's birth are irrelevant; it is what you do with the gift of life that determines who you are."~Mewtwo
My Adoptables|Nuzlocke Webcomic

Last edited by PTGigi; 01-17-2011 at 02:38 PM.