Points of Required Attention™
Smaghetti, a new Super Mario Advance 4 editor, is currently in development! Check out the thread HERE!

Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,155,019
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 02-22-24 01:46 AM
Guest: Register | Login

0 users currently in Display Case | 1 guest | 1 bot

Main - Display Case - board2 Town Square - Down'n'Up New thread | New reply

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94

Traffic Light
Posted on 04-09-10 04:21 AM Link | Quote | ID: 129658


Level: 64

Posts: 804/939
EXP: 2198306
Next: 15791

Since: 02-29-08

Last post: 4544 days
Last view: 1638 days
To me, she looks more like...



____________________

Kawa
Posted on 04-09-10 05:14 PM Link | Quote | ID: 129664


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 137

Posts: 3553/5344
EXP: 30785804
Next: 87051

Since: 02-20-07
From: The Netherlands

Last post: 4434 days
Last view: 2569 days
Horrible WIN!

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

Mega-Mario
Posted on 04-09-10 07:00 PM Link | Quote | ID: 129668

Spamming from alt accounts.
Level: 81

Posts: 870/1610
EXP: 4852534
Next: 140315

Since: 09-10-08

Last post: 3525 days
Last view: 2945 days
Posted by Traffic Light
Also, I dislike how blackhole89's layout darkens pictures

He should just use a PNG for his translucent box. Using CSS opacity on a container makes both the container and its contents transparent, and that effect sucks when used in post layouts. You can notice the same effect on KP9000's layout, by the way.

____________________
Kafuka -- ROM hacking
Kuribo64 -- we hack shit

Kawa
Posted on 04-09-10 07:04 PM Link | Quote | ID: 129669


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 137

Posts: 3555/5344
EXP: 30785804
Next: 87051

Since: 02-20-07
From: The Netherlands

Last post: 4434 days
Last view: 2569 days
If the box is a solid color, you could also use an RGBA color. I think that's supposed to only affect that specific part, so if you do
{ background-color: RGBA(0,0,0, 0.5); color: white; }
it should, if I remember correctly, give fully opaque white text on a 50% translucent black box.

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

blackhole89
Posted on 04-09-10 07:14 PM Link | Quote | ID: 129670


The Guardian
Moloch whose eyes are a thousand blind windows!
Level: 124

Posts: 2997/4196
EXP: 21422289
Next: 414312

Since: 02-19-07
From: Ithaca, NY, US

Last post: 407 days
Last view: 19 days



Ah. I didn't know about that.

Changed it as suggested, although I really must say I didn't mind the text being translucent myself at all...

____________________



Kawa
Posted on 04-09-10 07:15 PM Link | Quote | ID: 129671


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 137

Posts: 3556/5344
EXP: 30785804
Next: 87051

Since: 02-20-07
From: The Netherlands

Last post: 4434 days
Last view: 2569 days
The text was indeed not the problem -- the problem was translucent images.

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

KP9000
Posted on 04-09-10 08:44 PM Link | Quote | ID: 129673


Boomboom

Level: 90

Posts: 1267/1975
EXP: 6917618
Next: 270991

Since: 02-19-07

Last post: 3515 days
Last view: 3139 days


Yeah, I've since raised the opacity in my layout. However, I've been contemplating adding a translucent PNG instead due to the nagging and whining the fact that I post a lot of images. And the nagging and whining.

____________________

Mega-Mario
Posted on 04-09-10 09:24 PM (rev. 2 of 04-09-10 09:25 PM) Link | Quote | ID: 129674

Spamming from alt accounts.
Level: 81

Posts: 871/1610
EXP: 4852534
Next: 140315

Since: 09-10-08

Last post: 3525 days
Last view: 2945 days
Posted by Kawa
If the box is a solid color, you could also use an RGBA color. I think that's supposed to only affect that specific part, so if you do
{ background-color: RGBA(0,0,0, 0.5); color: white; }
it should, if I remember correctly, give fully opaque white text on a 50% translucent black box.

rgba() is a bad idea too, unless you don't give a shit about IE.

rgba() colors don't cause the annoying effects CSS opacity causes, okay.

But IE doesn't support these and just behaves as if you specified no background color (aka transparent).

____________________
Kafuka -- ROM hacking
Kuribo64 -- we hack shit

Kawa
Posted on 04-09-10 09:25 PM Link | Quote | ID: 129675


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 137

Posts: 3557/5344
EXP: 30785804
Next: 87051

Since: 02-20-07
From: The Netherlands

Last post: 4434 days
Last view: 2569 days
Posted by Mega-Mario
But IE doesn't support these and just behaves as if you specified no background color (aka transparent).
Dude, screw that noise.

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

Mega-Mario
Posted on 04-09-10 09:27 PM Link | Quote | ID: 129676

Spamming from alt accounts.
Level: 81

Posts: 872/1610
EXP: 4852534
Next: 140315

Since: 09-10-08

Last post: 3525 days
Last view: 2945 days
Ok.

/me enters IE-can-fuck-itself mode.

____________________
Kafuka -- ROM hacking
Kuribo64 -- we hack shit

blackhole89
Posted on 04-14-10 01:21 AM Link | Quote | ID: 129857


The Guardian
Moloch whose eyes are a thousand blind windows!
Level: 124

Posts: 3013/4196
EXP: 21422289
Next: 414312

Since: 02-19-07
From: Ithaca, NY, US

Last post: 407 days
Last view: 19 days



    $s=str_replace("&postnum&",$post[num],$s);
$s=str_replace("&postcount&",$post[uposts],$s);
$s=str_replace("&level&",$lvl=calclvl($exp),$s);
$s=str_replace("&exp&",$exp,$s);
$s=str_replace("&expdone&",$edone=($exp-calclvlexp($lvl)),$s);
$s=str_replace("&expnext&",$eleft=calcexpleft($exp),$s);
$s=str_replace("&lvlexp&",calclvlexp($lvl+1),$s);
$s=str_replace("&lvllen&",lvlexp($lvl),$s);
$s=str_replace("&expgain&",calcexpgainpost($post[uposts],(ctime()-$post[uregdate])/86400),$s);
$s=str_replace("&expgaintime&",calcexpgaintime($post[uposts],(ctime()-$post[uregdate])/86400),$s);
$s=str_replace("&exppct&",sprintf("%d",$edone*100/lvlexp($lvl)),$s);
$s=str_replace("&exppct2&",sprintf("%d",$eleft*100/lvlexp($lvl)),$s);
$s=str_replace("&rank&",getrank($post[urankset],$post[uposts]),$s);
$s=str_replace("&rankname&",preg_replace("'<(.*?)>(.*?)</(.*?)>'si","",getrank($post[urankset],$post[uposts])),$s);

I'm too lazy to format this up. Do the math.

Go nuts.

____________________



Mega-Mario
Posted on 04-14-10 02:37 PM (rev. 3 of 04-14-10 02:41 PM) Link | Quote | ID: 129864

Spamming from alt accounts.
Level: 81

Posts: 888/1610
EXP: 4852534
Next: 140315

Since: 09-10-08

Last post: 3525 days
Last view: 2945 days
    $s = str_replace("&postnum&", $post['num'], $s);
$s = str_replace("&postcount&", $post['uposts'], $s);
$s = str_replace("&level&", $lvl=calclvl($exp), $s);
$s = str_replace("&exp&", $exp, $s);
$s = str_replace("&expdone&", $edone=($exp - calclvlexp($lvl)), $s);
$s = str_replace("&expnext&", $eleft=calcexpleft($exp), $s);
$s = str_replace("&lvlexp&", calclvlexp($lvl+1), $s);
$s = str_replace("&lvllen&", lvlexp($lvl), $s);
$s = str_replace("&expgain&", calcexpgainpost($post['uposts'],(time() - $post['uregdate']) / 86400), $s);
$s = str_replace("&expgaintime&", calcexpgaintime($post['uposts'],(time() - $post['uregdate']) / 86400), $s);
$s = str_replace("&exppct&", sprintf("%d" ,$edone * 100 / lvlexp($lvl)), $s);
$s = str_replace("&exppct2&", sprintf("%d", $eleft * 100 / lvlexp($lvl)), $s);
$s = str_replace("&rank&", getrank($post['urankset'], $post['uposts']), $s);
$s = str_replace("&rankname&", preg_replace("'<(.*?)>(.*?)</(.*?)>'si","",getrank($post['urankset'], $post['uposts'])), $s);

More clear formatting. Out of curiosity, what Acmlmboard version is this code from?

Also here are the other needed functions from Acmlmboard 1.A2: (unless similar functions are already supported in this board, I guess it is the case...)
function calcexpgainpost($posts,$days)	{return @floor(1.5*@pow($posts*$days,0.5));}
function calcexpgaintime($posts,$days) {return sprintf('%01.3f',172800*@(@pow(@($days/$posts),0.5)/$posts));}
function calcexpleft($exp) {return calclvlexp(calclvl($exp)+1)-$exp;}
function totallvlexp($lvl) {return calclvlexp($lvl+1)-calclvlexp($lvl);}
function calclvlexp($lvl){
if($lvl==1) return 0;
else return floor(pow(abs($lvl),3.5))*($lvl>0?1:-1);
}
function calcexp($posts,$days){
if(@($posts/$days)>0) return floor($posts*pow($posts*$days,0.5));
elseif($posts==0) return 0;
else return 'NAN';
}
function calclvl($exp){
if($exp>=0){
$lvl=floor(@pow($exp,2/7));
if(calclvlexp($lvl+1)==$exp) $lvl++;
if(!$lvl) $lvl=1;
}else $lvl=-floor(pow(-$exp,2/7));
if(is_string($exp) && $exp=='NAN') $lvl='NAN';
return $lvl;
}


Edit- /me looks at those numbers and that red bar in bh89's sig
it is implemented? This is my &postcount&th post, and sure will be a glorious one if it works!

____________________
Kafuka -- ROM hacking
Kuribo64 -- we hack shit

blackhole89
Posted on 04-14-10 06:55 PM Link | Quote | ID: 129874


The Guardian
Moloch whose eyes are a thousand blind windows!
Level: 124

Posts: 3014/4196
EXP: 21422289
Next: 414312

Since: 02-19-07
From: Ithaca, NY, US

Last post: 407 days
Last view: 19 days



It's implemented, but at the moment, it only affects post headers and footers rather than post bodies.

The whole point of me posting that was that it is implemented. I thought that was obvious.

____________________



Mega-Mario
Posted on 04-14-10 07:03 PM Link | Quote | ID: 129875

Spamming from alt accounts.
Level: 81

Posts: 892/1610
EXP: 4852534
Next: 140315

Since: 09-10-08

Last post: 3525 days
Last view: 2945 days
Ah, okay, I didn't get it... I'm a moron sometimes

Anyway, nice Thank you!

____________________
Kafuka -- ROM hacking
Kuribo64 -- we hack shit

Nikolaj
Posted on 04-19-10 06:51 PM Link | Quote | ID: 130108


Level: 43

Posts: 178/384
EXP: 543019
Next: 22027

Since: 11-19-09
From: Denmark

Last post: 4471 days
Last view: 3154 days
Not sure if I'm right

&postnum& - This post number
&postcount& - Your post count
&level& - Your current level
&exp& - Your EXP
&expdone& - EXP done to next level (?)
&expnext& - EXP to next level
&lvlexp& - Needed EXP for next level (?)
&lvllen& - Next level?
&expgain& - EXP gain per post (?)
&expgaintime& - What is this?
&exppct& - What is this?
&exppct2& - Again, what is this?
&rank& - Current rank
&rankname& - Current rank name

KP9000
Posted on 04-19-10 06:55 PM Link | Quote | ID: 130109


Boomboom

Level: 90

Posts: 1279/1975
EXP: 6917618
Next: 270991

Since: 02-19-07

Last post: 3515 days
Last view: 3139 days


Posted by blackhole89
I thought that was obvious.
Only to those who have the brains. We smart kids tend to give others a little bit more credit than they are originally "gifted" with, in the hopes of a classy conversation.

*sigh*

Further disappointment.

____________________

Mega-Mario
Posted on 04-19-10 08:14 PM (rev. 3 of 04-21-10 01:43 PM) Link | Quote | ID: 130120

Spamming from alt accounts.
Level: 81

Posts: 911/1610
EXP: 4852534
Next: 140315

Since: 09-10-08

Last post: 3525 days
Last view: 2945 days
/me sure has some brain malfunction

Here's what I could get so far, formatted into a nice table:

TagMeaning
&postnum&Number of this post
&postcount&Current post count
&level&Current level
&exp&Current EXP
&expdone&EXP done towards next level
&expnext&Remaining EXP towards next level
&lvlexp&Total EXP at next level
&lvllen&EXP from current level to next level
&expgain&EXP gain per post
&expgaintime&Idle time to gain 1 EXP
&exppct&Percent of EXP done towards next level
&exppct2&Percent of remaining EXP towards next level
&rank&Current rank, name and image
&rankname&Current rank, name only


____________________
Kafuka -- ROM hacking
Kuribo64 -- we hack shit

Nikolaj
Posted on 04-22-10 10:50 AM (rev. 3 of 04-22-10 10:52 AM) Link | Quote | ID: 130350


Level: 43

Posts: 200/384
EXP: 543019
Next: 22027

Since: 11-19-09
From: Denmark

Last post: 4471 days
Last view: 3154 days
Heh, but how am I supposed to know what &exppct& is?
It isn't that self-explaining.

200th Post Yay

Mega-Mario
Posted on 04-22-10 12:39 PM Link | Quote | ID: 130351

Spamming from alt accounts.
Level: 81

Posts: 924/1610
EXP: 4852534
Next: 140315

Since: 09-10-08

Last post: 3525 days
Last view: 2945 days
Just put all the tags in your layout somewhere and see what numbers that gives you...

____________________
Kafuka -- ROM hacking
Kuribo64 -- we hack shit

Kawa
Posted on 04-22-10 06:12 PM Link | Quote | ID: 130357


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 137

Posts: 3609/5344
EXP: 30785804
Next: 87051

Since: 02-20-07
From: The Netherlands

Last post: 4434 days
Last view: 2569 days
Posted by Nikolaj
Heh, but how am I supposed to know what &exppct& is?
IIRC, it's the amount of exp left until level up, as a percentage (0-100). Good for progress bars.

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94


Main - Display Case - board2 Town Square - Down'n'Up New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.076 seconds. (329KB of memory used)
MySQL - queries: 45, rows: 74/77, time: 0.064 seconds.