Newgrounds.com — Everything, By Everyone.

Checking login status…

USERNAME:

PASSWORD:

Logging in…

Logged in as:
.
Logging out…
Inbox My Account Log Out


You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!

Author Search Results: '64'

We found 3,870 matches.


<< < > >>

Viewing 1-30 of 3,870 matches. 1 | 2 | 3 | 4 | 5 | 6 | 768129

1.

None

Topic: move_uploaded_fil e() Error

Posted: 10/03/08 01:36 AM

Forum: Programming

Without even fiddling with the file, I seem to get a repetitive error when uploading a file to my server through a PHP script.

Error:

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/var/tmp/phpjE44Se' to 'files/709_head.gif' in /home2/indiecav/public_html/64upload/php/upload.php on line 69

Any reason why this would suddenly break?


2.

None

Topic: Adobe Creative Suite 4!!!

Posted: 09/27/08 12:57 PM

Forum: Flash

At 9/26/08 08:33 AM, sasuke2910 wrote: ok then do this get the ng tank turn it pink then make it spin around in 3D this will prove that you have flash cs4

Like this?

http://www.64upload.com/flash.php?id=10a 5ab2db37feedfdeaab192ead4ac0e


3.

None

Topic: Adobe Creative Suite 4!!!

Posted: 09/24/08 10:53 PM

Forum: Flash

Oh here's another screenshot of it too.

http://www.64upload.com/files/681_skew.P NG


4.

None

Topic: Adobe Creative Suite 4!!!

Posted: 09/24/08 10:51 PM

Forum: Flash

I looked for crystallize, but I couldn't find any new effects. They just have the same filters as before. However, I did think of something.

In CS3 you can tween and flip shit, but you can't skew movie clips. They have a Star Wars text-like 3D scrolling preset that works with AS3.

Here's a link to it. Once again, it just shows up as a tank image for me. I might just have to update my Flash player.
http://www.64upload.com/flash.php?id=fcc b3cdc9acc14a6e70a12f74560c026


5.

Goofy

Topic: Adobe Creative Suite 4!!!

Posted: 09/24/08 09:55 PM

Forum: Flash

Well what's a CS4-only feature that can't be replicated in an earlier version? The bones tool can also be tweened in older versions, and apparently so can 3D.


6.

None

Topic: Adobe Creative Suite 4!!!

Posted: 09/24/08 09:51 PM

Forum: Flash

At 9/24/08 09:36 PM, liaaaam wrote: Busted in what way? They sued you? How busted can you be if they totally trust you with CS4, a single generation after you leaked their software? Anyway, Flash 9 Beta was released publicly and usable until the release of CS3.

No, the NG mods deleted my post. I don't give a shit about Adobe.

If you want to make me look unbelievably foolish you will post real proof that you have it, i.e. a flash file that proves you made it (by referencing something relevant i.e. your name, my name, newgrounds, whatever) and uses CS4-only features. I have flash player 10, do it.

The only CS4 thing I can think of would be a 3D motion preset. Now, when I publish it the thing should spin, but it doesn't move when i uploaded it. You might have better luck.

http://www.64upload.com/flash.php?id=9fe 8593a8a330607d76796b35c64c600


7.

None

Topic: Adobe Creative Suite 4!!!

Posted: 09/24/08 09:28 PM

Forum: Flash

I'd give you a link, but I got the CS3 beta when it was first announced for release too. I gave one guy a link and I got busted for it.


8.

None

Topic: Adobe Creative Suite 4!!!

Posted: 09/24/08 09:16 PM

Forum: Flash

At 9/24/08 09:01 PM, liaaaam wrote: If the download link you apparently have is so legit, it would require user authentication to download, so you could freely give it out and noone would be able to download it.

Well there ya go. I really don't fell like proving myself of having the program. If you want to hear what I have to say about it, I'll be happy to answer anything.

If all you're going to do is complain about me not giving you a link, then I'm sorry, but I don't have time for you.

Here's another shot. This is using the 3D rotation tool. This also requires AS3.
http://www.64upload.com/files/677_3d_cs4 .PNG


9.

None

Topic: Adobe Creative Suite 4!!!

Posted: 09/24/08 08:50 PM

Forum: Flash

I never said you couldn't get it. I said I can't give it to you.


10.

Winking

Topic: Adobe Creative Suite 4!!!

Posted: 09/24/08 08:26 PM

Forum: Flash

At 9/24/08 08:04 PM, Kotta wrote: Just wondering, where did you get the trial from?

If I told you, that would be like giving a link.


11.

None

Topic: Adobe Creative Suite 4!!!

Posted: 09/24/08 08:01 PM

Forum: Flash

At 9/24/08 07:14 PM, Blackfang wrote: can i please have a link to the trial?

Sorry, I can't give the link out to anyone until after Adobe has released it on their website.

Here's a screencap of a blank document though:
http://www.64upload.com/files/674_cs4.JP G

Adobe Creative Suite 4!!!


12.

None

Topic: Syncing sound with movie

Posted: 09/24/08 06:37 PM

Forum: Flash

Have you got the audio set to Stream?


13.

Resigned

Topic: Adobe Creative Suite 4!!!

Posted: 09/24/08 06:34 PM

Forum: Flash

I got a trial version last night, but it's going to take some time for me to get used to the new interface. Seriously, it looks nothing like the old Flash versions, even CS3.

I like the bones tool, although it's unfortunate that it requires AS3 to use when I can only code in AS2. I do, however like the object-based animation. It takes a little getting used to if you've been comfortable making classic tweens. I have to admit, a lot of the things that made classic tweening a real bitch are simply eliminated with this feature.

I have yet to try out 3D object moving. I installed it last night, but I was so tired that I couldn't try everything. I'll upload a screenshot or two once I get home if anyone is interested.


14.

Sad

Topic: Php Mail Headers Not Working

Posted: 09/22/08 12:16 AM

Forum: Programming

Nope, still nothing.

If it matters, the address it keeps showing up as is hostname@host261.hostmonster.com. It's not actually "hostname", I'd just rather not display it.


15.

None

Topic: Php Mail Headers Not Working

Posted: 09/21/08 07:22 PM

Forum: Programming

At 9/21/08 07:20 PM, DearonElensar wrote: Try adding a \r before the \n.

Nope.


16.

Angry

Topic: Php Mail Headers Not Working

Posted: 09/21/08 06:58 PM

Forum: Programming

I'm making a new site that requires an activation e-mail in order to access your account. However, they keep getting caught in junk mail folders. I've tried adding all of the seemingly necessary headers to the mail function, but the From: header isn't being recognized by my Gmail.

It only displays the server's PHP e-mail address instead of the one I'm trying to specify. Here are my headers:

$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "From: Indie Cave <activation@indiecave.com>\n";
$headers .= "X-Mailer: PHP's mail() Function\n";

The message, apart from landing in the spam folder, sends fine though. Even the images show the way they're supposed to. Am I doing something wrong? Or is this an act of Gmail?


17.

Angry

Topic: Don't Go With Fastnext

Posted: 09/07/08 09:08 PM

Forum: General

Now this is the story all about how,
My site got flipped, turned upside down,
And I'd like to take some time, I was quite perplexed,
I'll tell you how I became the bitch of a host called Fast-Next.

Just east of Los Angeles born and raised,
On the internet where I spent most of my days,
Blogging out, surfing, hacking all cool,
And all coding some AS outside of the school,
When a couple of bots who were up to no good,
Started posting spam in my neighborhood,
I sent one little letter and my host transferred,
And said "you're moving all your files and code to Host Monster".

I begged and pleaded with them the other day,
But they unlocked my domain and sent me on my way,
They cancelled my account and they gave me some trouble,
I put my iPod on and went searching on the double,

Unlimited bandwidth, unlimited space
I didn't know this server could take their place,
Is this what the clients of Host Monster workin' like?
Hmm... this might be alright!

I registered my name and when it resolved
The domain was down and my problems weren't solved,
If anything I could say that this host was ware,
But I thought nah forget it, my home, Host Monster,

I got a help ticket that gave me support,
And I said to the tech "What's my cPanel port?"
I looked at my panel and it made me smile,
To sit on my throne and reupload all my files.


18.

None

Topic: Mysql Fetch Array Loops

Posted: 08/13/08 07:21 AM

Forum: Programming

For that third snippet, how would I change the '1' to whatever topic id I needed? I'm probably just not understanding the concept, but I need to get the results of the query multiple times, which the variable to replace said '1' changes with every topic shown?

Though I'll try what you had posted earlier, experiment around a little.


19.

None

Topic: Mysql Fetch Array Loops

Posted: 08/12/08 11:32 PM

Forum: Programming

Yeah, I have all that. It's just the connection of the three tables and all the mix-ups with while loops that have got me. Maybe if I post a big piece of my code it will help.

Here is the query to load the topic list.

$topics_sql = "
SELECT bbs_topics.title, bbs_topics.id, bbs.post_id
FROM bbs_topics, bbs
WHERE bbs_topics.cat = '$id' AND bbs_topics.id = bbs.topic_id ORDER BY bbs.post_id DESC";
$topics_query = mysql_query($topics_sql);

Here's the query that should load the name of the last person to reply.

$reply_sql = "
SELECT bbs.poster_id, bbs.post_id, bbs.topic_id, users.user_id, users.fname, users.lname
FROM bbs, users
ORDER BY bbs.post_id DESC";
$reply_query = mysql_query($reply_sql);

And here's the PHP loop that I'm trying.

while($topics_rows = mysql_fetch_array($topics_query)){
$topic=$topics_rows['id'];
$tname=$topics_rows['title'];

while($reply_rows = mysql_fetch_array($reply_query)){
if($topic==$reply_rows['topic_id']){
$reply_name=$reply_rows['username'];
}
}

}


20.

None

Topic: Mysql Fetch Array Loops

Posted: 08/12/08 11:03 PM

Forum: Programming

At 8/12/08 09:16 PM, Relish wrote: Hmm, maybe we should rethink this forum idea?

Well I need a forum for my site, and I need to connect the data with the user accounts from the main site, like NG. And I really don't want to use pre-built shit like phpBB.

I pretty much need to build my own, but are there any tutorials anyone would recommend for building some from scratch?


21.

None

Topic: Mysql Fetch Array Loops

Posted: 08/12/08 09:06 PM

Forum: Programming

At 8/12/08 07:58 PM, elbekko wrote: Could you explain what you're trying to do as detailed as possible?

I'm building forums from scratch. I have a lot of it done already; the posts, the separate boards and everything. The one piece I'm having this bit of trouble with is the topic list. I can load the name of the topic, the "id" of the topic for linkage purposes, and the order to load them (from most recent post id to correspond with said topic id).

Right now I'm trying to load the user data of the original poster of that topic, and the last person to post in it.

At 8/12/08 08:14 PM, thisissam wrote: You could take the easy way out and just have a column in bbs_topics that is a foreign key to the last user to post in the topic, and update it on every new post.

Yeah, that was my ultimate Plan B. Problem is, it kind of fucks it up if another mod or I delete a post for whatever reason.


22.

None

Topic: Mysql Fetch Array Loops

Posted: 08/12/08 07:57 PM

Forum: Programming

Now how would I use that? Is there a way to pull data from a MySQL query without using a while loop? Obviously putting a while inside a while isn't a good idea, but I don't know any other way to load the query and have some kind of dependent variable affect the results of the query.


23.

None

Topic: Mysql Fetch Array Loops

Posted: 08/12/08 04:19 AM

Forum: Programming

Well I've got the queries down, I think.

//OP QUERY
$op_sql = "
SELECT bbs.poster_id, bbs.post_id, bbs.topic_id, bbs_topics.id, users.user_id, users.fname, users.lname
FROM bbs, bbs_topics, users
WHERE bbs.topic_id = '$topic' ORDER BY bbs.post_id";
$op_query = mysql_query($op_sql);
//

//REPLY QUERY
$reply_sql = "
SELECT bbs.poster_id, bbs.post_id, bbs.topic_id, bbs_topics.id, users.user_id, users.fname, users.lname
FROM bbs, bbs_topics, users
WHERE bbs.topic_id = bbs_topics.id ORDER BY bbs.post_id DESC";
$reply_query = mysql_query($reply_sql);
//

//TOPIC LIST QUERY
$topics_sql = "
SELECT bbs_topics.title, bbs_topics.id, bbs.post_id
FROM bbs_topics, bbs
WHERE bbs_topics.cat = '$id' AND bbs_topics.id = bbs.topic_id ORDER BY bbs.post_id DESC";
$topics_query = mysql_query($topics_sql);

Like before, I can get the topic names ordered correctly. However, how would I use the first two queries to load the appropriate user data depending on what the topic id is designated inside the loop?


24.

None

Topic: Mysql Fetch Array Loops

Posted: 08/12/08 03:29 AM

Forum: Programming

I was thinking that, but it seems like it just joins two things. I'm trying to get three. I get lost in my code a lot, so try to bear with me. :\

My problem is, I'm building forums from scratch. I've pretty much got it all down except for the topic list. I can load the names of the topics fine, but I'm also trying to show the last person to post in the topic.

So you have three tables:

bbs,
bbs_topics,
users

What do I do?


25.

Shouting

Topic: Mysql Fetch Array Loops

Posted: 08/12/08 03:18 AM

Forum: Programming

So I'm trying to execute one mysql_fetch_array while loop inside another. Sounds like bad news? It probably is. My methods of coding aren't exactly practical; it's like building a car using rockets and magnets. Tell me if this is the case.

Anyway, I've got a while loop to execute for every topic in my bbs_topics table. Inside said while loop, I want it to load all of the users from the users table. That way, it can match data from the first while loop array with data from the second, pulling out the one row I need.

It's hard for me to explain, so here's a bit of the code I have.

while($topic_rows = mysql_fetch_array($topics_query)){
$op_id=$topic_rows['op_id'];

while($op_rows = mysql_fetch_array($op_query)){
if($op_id==$op_rows['user_id']){
$op_name=$op_rows['username'];
}
}
}

This is supposed to find the original poster's name (designated by the "op_id" field in the bbs_topics table).


26.

Winking

Topic: As: Text-loaded Maps

Posted: 08/04/08 04:35 AM

Forum: Flash

At 8/4/08 03:55 AM, Jin wrote: I remember learning this for mobile games. Your method is.. still quite manual maybe? And progress is a little difficult to keep track between map writing sessions.

I've editted your codes. Hope you don't mind.

Not at all. I did this to help my fellow users. And yes, this is just the very basics of this sort of engine, quite a ways away from its potential.

However, it is a start for me to make in three days from scratch. You can add or modify anything from what I've made, I'd be happy to see it used. You could also just make some way to create maps in the engine by clicking whatever tile you want wherever you want. I've made it on my engine, but it's a bit too buggy to display.

It helps a lot with creating maps, instead of having to count quares and tile frames.


27.

Resigned

Topic: As: Text-loaded Maps

Posted: 08/04/08 03:17 AM

Forum: Flash

I hope AS: Main tutorials are still running. I haven't been on here for a while. If not, oh well. Enjoy anyway.

I got bored and was thinking about top-view games like the old Zelda and Pokemon games. I thought there must be some way to load the maps from another source and dynamically, rather than building the huge map inside the Flash itself. That would make it huge, laggy and ugly. No, there has to be a cleaner way to doing this. Turns out there is, and it's actually pretty simple.

I made an example map. The engine holds all of the map tiles, which I have taken from Pokemon as an example. Each block is 16x16 pixels. There is no map data inside the engine, only one tile in the library; nothing is arranged. The data is loaded via text file.

Here is the engine.

The map file to load is http://www.64upload.com/files/436_map.tx t.

The secret lies within array slicing. I'm sure I'm not the first one to do this, but I did start this from scratch. Here's now it works. The text file is loaded with a bunch of 5-segment strings, separated by a semi-colon.

For example, three tiles of map data might be as so:
1,1,1,0,0;
2,1,0,0,1;
2,1,0,1,1

The engine separates each of those three segments, and then further slices it grabbing the five values inside each. The values mean Frame of tile, Sub-frame of tile, Blocks the player, _x tile position, _y tile position. With those values, you could specify the first frame of your tile movieclip to grass, and then the second frame of that grass child movieclip to be, I don't know, a darker shade of grass perhaps. The third value controls whether or not the player would be able to walk onto that time, or be blocked by it. The fourth and fifth control the physical position. Not to be confused with literal _x and _y positions, instead they are essentially _x and _y positions multiplied by the width of the tile (in my case, 16 pixels).

To be able to grab the data from the map text file, you need to load it into Flash. These are the actions on the frame before loading the map:

var map = new LoadVars();
map.onData = function(raw) {
lvl = raw;
nextFrame(); //Go to the actual level frame.
};

function findVars() {
map.load(lvlLoad.text); //Grabs the URL specified in the text box.
}

Clicking a button activates the findVars function. The second frame gets a bit more complicated.

function loadlevel(script) {
compSplits = script.split(";"); //Splits the 5-piece segments into an array.
numSquares = compSplits.length; //Uses an array function to find the number of squares to be created.

for (i=0; i<numSquares; i++) { //This for loop repeats for every tile.
attachMovie("land","square"+i,i); //Attaches the tile movieclip from the library onto the stage.
attrTemp = compSplits[i].split(","); //Splits the 5 components apart.

_root["square"+i].gotoAndStop(attrTemp[0 ]); //Takes the main tile frame to the specified value from the txt.
_root["square"+i].innerMc.gotoAndStop(at trTemp[1]); //Applied the sub-frame inside the main tile frame.
_root["square"+i].hit = attrTemp[2]; //Toggles clipping.
_root["square"+i]._x = (attrTemp[3]*_root["square"+i]._width); //X position
_root["square"+i]._y = (attrTemp[4]*_root["square"+i]._height); //Y position
}
}

loadlevel(lvl); //Calls the load level function with the file loaded in the previous frame.

I'm not teaching how to create a full game engine, just the mapping section. The upside to this system is that it cuts down on file size, there seems to be no lag whatsoever and one other important quality. Since it's dynamic and pretty easy to control, anyone could create their own custom maps and share them among one another. Many games I've played apply the same principle.

I hope you've learned something from this. It's not a free script I'm giving you, rather a way to apply something like array slicing to map building. Also, if you use my code for reference, keep in mind the word wrap on the forums may alter the formatting of the code.


28.

Sad

Topic: Iphone Sdk Development Software

Posted: 08/02/08 02:37 AM

Forum: Programming

I've been looking on the Apple website and I'm getting interested in programming apps for the iPhone / iPod Touch. Though it seems that they're built with the Mac-only program Xcode. Are there any other applications that will do the job? Kind of like being about to program PHP on Notepad without Dreamweaver.


29.

Expressionless

Topic: Mysql - Listing One Row Per Key

Posted: 07/26/08 05:44 PM

Forum: Programming

I'm not trying to go against anything, I'm just building this from scratch, using trial-and-error until I get what I want. It's been working out pretty well so far.

But yeah, I see what you're saying. Although it's not quite as compacted as having one table for the entire system, it would simplify things to have separate tables.


30.

None

Topic: Mysql - Listing One Row Per Key

Posted: 07/26/08 05:31 PM

Forum: Programming

I don't have a topic table and a post table, I just have one table with all of the posts.

I like the idea of SELECT * FROM `bbs` GROUP BY `topic_id`, except it doesn't seem to want to order properly.

I tried SELECT * FROM `bbs` GROUP BY `topic_id` ORDER BY `time` but I don't think it's ordering it by the greatest value of the fields in the group.


All times are Eastern Daylight Time (GMT -4) | Current Time: 05:16 AM

<< < > >>

Viewing 1-30 of 3,870 matches. 1 | 2 | 3 | 4 | 5 | 6 | 768129