User |
Post
|
DSMagnum
Woodsman
Since: 11-06-05
Since last post: 6174 days Last activity: 6119 days
|
Posted on 03-09-06 10:34 PM |
Link
| |
Originally posted by Seras Victoria (in the getrank() function)
if ($rankset == 5) { //special code for dots
$pr[5] = 5000;
$pr[4] = 1000;
$pr[3] = 250;
$pr[2] = 50;
$pr[1] = 10;
$rank = "";
$postsx = $posts;
$dotnum[5] = floor($postsx / $pr[5]);
$postsx = $postsx - $dotnum[5] * $pr[5];
$dotnum[4] = floor($postsx / $pr[4]);
$postsx = $postsx - $dotnum[4] * $pr[4];
$dotnum[3] = floor($postsx / $pr[3]);
$postsx = $postsx - $dotnum[3] * $pr[3];
$dotnum[2] = floor($postsx / $pr[2]);
$postsx = $postsx - $dotnum[2] * $pr[2];
$dotnum[1] = floor($postsx / $pr[1]);
foreach($dotnum as $dot => $num) {
for ($x = 0; $x < $num; $x++) {
$rank .= "<img src=images/dot". $dot .".gif>";
}
}
$rank .= "
". floor($posts / 10) * 10;
}
OH GOD THAT IS SO OBVIOUS! I see it. Yeah. That was a simple fix... like a ten second one. Good thing you got that back to normal. Could you add my Ash scheme? |
Kard Ayals |
|
The Ultimate |
Lv | 108 |
Posts | 2915 |
Counter | 2 |
Mv | 7 | Jm | 26 |
Hp | 2189/2189 |
Sp | 709/709 |
Atk | 361 |
Int | 279 |
Def | 389 |
Spd | 281 |
Hit | 254 |
Res | 275 |
Exp | 13449066 |
Next | 71433 |
|
Banhammer |
Shining Armor |
Admin Shield |
Judge Hat |
Admin Shoes |
POWAR |
|
|
Posted on 03-09-06 10:37 PM |
Link
| |
Sure, just point me where it is.
(because I dunno what scheme you're talking about) |
DSMagnum
Woodsman
Since: 11-06-05
Since last post: 6174 days Last activity: 6119 days
|
Posted on 03-09-06 10:38 PM |
Link
| |
I PMed Xeomega the code. I might still have it somewhere. I'll PM you the code if it's still on here. |
Kard Ayals |
|
The Ultimate |
Lv | 108 |
Posts | 2915 |
Counter | 2 |
Mv | 7 | Jm | 26 |
Hp | 2189/2189 |
Sp | 709/709 |
Atk | 361 |
Int | 279 |
Def | 389 |
Spd | 281 |
Hit | 254 |
Res | 275 |
Exp | 13449066 |
Next | 71433 |
|
Banhammer |
Shining Armor |
Admin Shield |
Judge Hat |
Admin Shoes |
POWAR |
|
|
Posted on 06-25-06 09:03 AM |
Link
| |
Not that I don't like this thread, but I really don't think it still needs to be stickied, nor opened. |