Closed GoogleCodeExporter closed 9 years ago
Is this only relevant for raising the zombies?
Original comment by funnyfin...@hotmail.com
on 9 Nov 2009 at 8:39
If that's the only place you use it, yes.
Original comment by Nimda...@gmail.com
on 9 Nov 2009 at 8:52
We were thinking you made this harder, but not really.
This should work:
$delta = Player::price( $DEA[$team->race]['players']['Zombie']['pos_id'] );
Original comment by funnyfin...@hotmail.com
on 11 Nov 2009 at 1:10
Actually can't even do that because Team::$race no longer exists. I actually
can't
properly do it now because the report doesn't give me a race name. And there
seems
to be no way to get the race name now.
I need the race id to get Race::$name and I need the race name to get the id
from $DEA.
Original comment by funnyfin...@hotmail.com
on 11 Nov 2009 at 2:29
All names of an object relation use the format: "f_Xname",
you are looking for $team->f_rname.
Also, as I said earlier, use print_r($obj); to see what object properties you
may use.
Original comment by Nimda...@gmail.com
on 11 Nov 2009 at 4:05
Ok got it.
I still get this error when uploading though:
Warning: mysql_query() [function.mysql-query]: Unable to save result set in
/lib/class_player.php on line 644
Original comment by funnyfin...@hotmail.com
on 11 Nov 2009 at 4:24
FYI - you have the following in the Player class:
Player::price(array('race' => $this->f_rname, 'position' => $this->pos));
That is now incorrect,right?
Original comment by funnyfin...@hotmail.com
on 11 Nov 2009 at 4:28
Right..
Original comment by Nimda...@gmail.com
on 12 Nov 2009 at 7:13
r392.
I need more info. Where are you getting the error:
Warning: mysql_query() [function.mysql-query]: Unable to save result set in
/lib/class_player.php on line 644
Original comment by Nimda...@gmail.com
on 12 Nov 2009 at 7:43
This happens when I do an automatic upload. I'll see if I can narrow down what
call
I am making when it occurs. I wonder if it is related to comment 7.
Original comment by funnyfin...@hotmail.com
on 12 Nov 2009 at 9:48
Ok I get this same error now if I just manually schedule a match and then look
at it
in upcoming matches.
Original comment by funnyfin...@hotmail.com
on 13 Nov 2009 at 12:56
Still need it to be more specific.
Please send me your DB and a link so that I may see it.
Original comment by Nimda...@gmail.com
on 13 Nov 2009 at 3:55
r395.
Please close when verified.
Original comment by Nimda...@gmail.com
on 14 Nov 2009 at 3:53
Original comment by Nimda...@gmail.com
on 14 Nov 2009 at 8:09
Original issue reported on code.google.com by
Nimda...@gmail.com
on 9 Nov 2009 at 8:37