Forum

ASSIST, AMERICA'S ARMY COMMUNITY - RELIVE THE GLORY DAYS OF AMERICA'S ARMY 2.5

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Spanky

Pages: 1 ... 425 426 [427] 428 429 ... 564
6391
The Lounge / Re: College
« on: Tuesday, November 30, 2010, 17:44:25 PM »
o.O You don't really seem the type...

6392
The Lounge / Re: Factual Statements
« on: Tuesday, November 30, 2010, 14:22:04 PM »
headshot is why nate has no hair!

Interesting hypothesis.

6393
Miscellaneous / Best photo ever
« on: Monday, November 29, 2010, 23:02:32 PM »
Don't even try to compete...

6394
The Lounge / Re: Factual Statements
« on: Monday, November 29, 2010, 23:00:34 PM »

6395
The Lounge / Re: Factual Statements
« on: Monday, November 29, 2010, 22:22:31 PM »
I'm tempted to whip out my sharpies and doodle the Windows logo down under.

*EDIT*
I just realized that the black text won't come out too well...

6396
Games & Programming / Re: Spanky, I need help!
« on: Monday, November 29, 2010, 21:54:29 PM »
Delta, if you want, you can scavenge the code for PostQuote. Both me and Jared have contributed to it so keep that in mind if you share it with other people :)

Code: [Select]
<?php
$db 
mysql_connect("localhost""xxxxxxxxxxx""xxxxxxxxxxx") or die ('There was a problem connecting to the database.');
mysql_select_db("natcom_quotes") or die ('There was a problem selecting database table.');
header("Content-type: image/png");

// Update Signatures Served
$sql "SELECT * FROM signatures";
$rs_result mysql_query ($sql);
while ($row mysql_fetch_assoc($rs_result)) {
    
$sigtotal $row['total'];};
$sigtotaladd $sigtotal+1;
mysql_query("UPDATE signatures SET total='".$sigtotaladd."' WHERE total='".$sigtotal."'");

$urluser $_GET['u'];
$sql_events mysql_query("SELECT * FROM quotes ORDER BY servtime DESC limit 1")
or die(
mysql_error());
while (
$row mysql_fetch_array($sql_events))
{
    
$username $row['username'];
    
$quote1 htmlspecialchars_decode($row['quote']);
    
$quote2 mb_substr($quote10500,'UTF-8');
    
//
    
$order   = array("\r\n""\n""\r");
$replace "\n";
// Processes \r\n's first so they aren't converted twice.
$quote str_replace($order$replace$quote2);
    
$servtime $row['servtime'];
   
$by htmlspecialchars_decode($row['by']);
   
$id $row['id'];
   
$ratingup $row['voteup'];
$ratingdown $row['votedown'];
}
mysql_close($db);
$image imagecreatefrompng("sigbackground.png");
imagealphablending($imagetrue);
imagesavealpha($imagetrue);

$font "./verdana.ttf";

//imagecolorallocate($image, R, G, B) in HEX values
$font_black imagecolorallocate($image218);

//($image, fontsize, rightindent, downindent, data, txtcolour)
imagettftext($image80510$font_black$font"Newest quote posted on PostQuote.us:");
imagettftext($image8035210$font_black$font"ID: $id");

/////
$srt wordwrap($quote68"\n");
$lines explode("\n"$srt);
$y 24;
$i 0;
foreach(
$lines as $line=>$string){
imagettftext($image805$y$font_black$font$string);
$string substr($string1);
$y += 12;
if(++$i == 6) break;
}
/////

// Display the rest of the info
imagettftext($image80597$font_black$font"-$by");
imagettftext($image80200112$font_black$font$ratingup);
imagettftext($image80240112$font_black$font$ratingdown);

imagepng($image);
imagedestroy($image);
?>

You save that as index.php in a directory called "sig.png". This way whenever a browser asks for http://myhost.com/sig.png they actually get http://myhost.com/sig.png/index.php useful for forums and whatnot :)

6397
Games & Programming / Re: Spanky, I need help!
« on: Monday, November 29, 2010, 14:36:59 PM »
Well....
http://natescomp.com/delta.php

It looks to work but not use font. I changed the font to the one used for PostQuote sigs. Maybe I have the directory structure wrong, I don't know. What I do know is that for things like imagettfbbox and imagecolorallocate, don't capitalize anything. I also don't think you need the call function and a simple rewrite can fix that. I can look more into it later if you want.

*EDIT*
I also don't like $image = null; it just doesn't seem right.

6398
Hardware/Software / Re: Post Your Hardware!
« on: Monday, November 29, 2010, 13:12:38 PM »
you say that like it should mean something to me....
Then how do you expect this...

what do i care, i got 8 gigs of ram

to mean anything to us especially when you truly don't even know what it is?

6399
Hardware/Software / Re: Post Your Hardware!
« on: Monday, November 29, 2010, 03:25:05 AM »
what do i care, i got 8 gigs of dual channel ram

I fixed it for you.

6400
Hardware/Software / Re: Post Your Hardware!
« on: Monday, November 29, 2010, 01:12:55 AM »
My 2 cents:
Intel claimed (and was later backed up) that the HyperThreading Pentium 4's were 30% faster than the regular Pentium 4. That was quite a few years ago, I'm sure they've improved upon that technology. Also, don't the Intel's have more cache? I'm not justifying the Intel cost, I'm just saying that there obviously is a difference between the two. With the i series being a fair amount different than the Core series (adding a learning curve), I might move to AMD if it's that much cheaper down the road. Personally though, I'd love to have like 30 cores running at 500MHz. Chrome is one reason.

6401
Hardware/Software / Re: Post Your Hardware!
« on: Monday, November 29, 2010, 00:12:21 AM »
Why in the world would you need 8gb of ram? Seems like a giant waste of money.

I got it because at the time a 2x2GB pack of 1066MHz DDR2 was $54. I got 2 (8GB for $110) to future-proof my computer. There's been few times that I've gone over 4GB but with the prices of RAM what they are now, I'm definitely glad I got it when I did.

mans, it's interesting that you got the same CPU model that Skrewy used to have.

6402
Hardware/Software / Re: Graphics Card tests
« on: Monday, November 29, 2010, 00:09:14 AM »
MyDefrag. 'nuff said.

6403
Hardware/Software / Re: Graphics Card tests
« on: Sunday, November 28, 2010, 20:15:57 PM »
See, I would think it's his hard drive if he was low-ish on RAM and the game was hitting up the paging file frequently but that doesn't really sound like the issue here. I'm stumped to be honest. We went through anything I could think of on X-Fire. Did you ever defrag Killaman?

6404
Hardware/Software / Re: Post Your Hardware!
« on: Sunday, November 28, 2010, 20:12:49 PM »
Epic computers without sound cards haha.
I know right :P

I have no need for a sound card. It would just be wasted money.
So you must never play games with audio or listen to music.


It's also funny to think that mans built Skrewy a computer that was a quad core Intel with 4GB of DDR2, thing is that I don't think Skrewy even used 4GB. A computer of that caliber and he doesn't even know the brand of his monitor... true waste IMO.

*EDIT*
Also, all that and only Dual Channel DDR3? Only 1 hard drive, not 2 of the 500GB's in RAID0? Tsk tsk tsk mans. I am disappoint.

6405
Media & Art / Re: Few new ones
« on: Sunday, November 28, 2010, 00:54:29 AM »
The one I was using had that same feature but it was so cold all the photos where turning out blurry.

Kinda the same for me too. I generally rig up a ghetto stand and turn on timer after autofocusing.

Pages: 1 ... 425 426 [427] 428 429 ... 564

Download Assist

×

Download Game Client

Important: Battletracker no longer exists. However, old Battletracker accounts may still work. You can create a new 25Assist account here

Download Server Manager