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: 'pt9-9'

We found 753 matches.


<< < > >>

Viewing 1-30 of 753 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 91726

1.

None

Topic: data in mysql for turn based game

Posted: 08/18/08 07:42 PM

Forum: Programming

At 8/18/08 05:06 PM, BoneIdol wrote:
At 8/18/08 04:57 PM, pt9-9 wrote: And this makes the data for the units store differently?
Could you elaborate on what you mean by this? It has been nearly 12 hours since I wrote that post; my trail of thought has been lost, found by bad people, had its feet set in concrete and then finally dropped into a very deep river.

What I was trying to get at was that if you design your database properly you can very easily get the results you want with trivial amounts of code.

Sorry for the delay

Originally I was asking if there was a way to avoid using strings that have data separated by characters that require exploding/imploding, or just a better way of storing the unit data entirely. You spoke about benchmarking, but I didn't know if that was an answer to my question or not.

From my understanding, your post organized all of my data, but did not explain how I could do what I mentioned above. I would still have to condense data into a string with that method of organization.

Sorry for misleading you


2.

None

Topic: data in mysql for turn based game

Posted: 08/18/08 04:57 PM

Forum: Programming

And this makes the data for the units store differently?


3.

None

Topic: data in mysql for turn based game

Posted: 08/18/08 03:07 AM

Forum: Programming

At 8/18/08 02:08 AM, BoneIdol wrote:
Could you not just use some link tables? Say have a table for your unit types, a table for your users, a table for your battles, then a table that links then all together with quantities and positions and other state data?

Assuming you join and index properly it should work pretty well and not involve you having to explode/implode stuff at all. Just make sure to delete this information when a battle is over. An added bonus is that if you store stuff like this you could gather lots of site/battle statistics pretty easily.

I don't see how I wouldn't have to implode anything...there are a bunch of different users with a bunch of different units playing at the same time.

Sorry for not mentioning that.

From what I understand, wouldn't I have to create a table for every user then?


I'm assuming you'll be using xml to glue actionscript and php together as well?

No the php output is like the header of a GET url, and actionscript parses the data into variables.


Probably no. In my experience, file permissions only really affect php scripts and any publicly accessible files (ie: in your htdocs/html/public folder) are always available to the webserver. If you want stuff to be unavailable, put it above your htdocs/html/public folder. PHP scripts would still be able to access them, but the webserver itself can't.

k I'll give that a try.


4.

None

Topic: data in mysql for turn based game

Posted: 08/18/08 12:39 AM

Forum: Programming

Forgot to mention, this would all be in mysql if done the way I stated in the OP. Pretty self evident though.


5.

None

Topic: data in mysql for turn based game

Posted: 08/18/08 12:35 AM

Forum: Programming

It's really not turn based, more like browser based. It's sort of like Age Of Empires, where a bunch of dissimilar units can travel in the same battery to a designated location, at the speed of the slowest unit.

But I don't know how to store this information on the units. I've been using mysql, but it seems way too inefficient using what I've been using for other data. What I've been doing thus far is loading strings that separate data variables with commas, exploding and imploding them for flash and/or the server to parse.

But in order to store the location of a squadron of different units, using this method, I'd have to implode the implode of a string, that should make sense. For instance, this would be the variables stored.

The identification:

,cyborg-soldier-human-wizard,cyborg-human,human-soldier,cyborg-wizard-soldier,

The quantity of each:

,100-120-30-12,14-15, 17-2, 1500-20,90-2-45, 

And then the x and y position like so because they are all at the same location:

,40,50,60,70
,40,90,0,270

The health would work the same way.

All the information on the units is stored before hand. Once flash receives the information, it will split them into arrays, then split that array into smaller ones, and then further into classes to easily move/organize them Age-Of-Empire style.

Is there a better way to store the information? Perhaps non-mysql? Everything will be processed through php and actionscript, fyi.

And also:
If an swf is on a server, can it read material that has file permissions that allow only the server to view them?

Thanks in advance


6.

None

Topic: external php file parsing problem

Posted: 08/09/08 04:36 PM

Forum: Flash

Bump


7.

Sleeping

Topic: external php file parsing problem

Posted: 08/09/08 06:02 AM

Forum: Flash

                       dialogbox.text="Checking if you're logged in...";
			var loader:URLLoader = new URLLoader();
			loader.dataFormat=URLLoaderDataFormat.VARIABLES;
			loader.addEventListener(Event.COMPLETE, oncomp);
			var link:URLRequest=new URLRequest("checkuser.php");
			loader.load(link);
			function oncomp(e:Event){
				trace(loader.data.username);
			}

Error: Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs.

The line in the php file is supposed to be "username=id", which it is. What am I doing wrong?


8.

None

Topic: Proof that God is fake!!

Posted: 12/24/07 01:24 AM

Forum: General

To say that God cannot create something if there is no reference in which to create it from, and therefore doesn't exist, is a belief that requires another belief that God itself is bound by the physical dimensions of the universe, like a human or another organism. God is a higher power, end of story. God has the power of irrationality, like the terrain-producing software called Terragan (in concept). It's randomness is a function undetermined by logical means, however it does synthesize something. I believe this would be the argument of most of the people who refute your statement.

However, in a more nihilistic sense, what is sensed through vision could be a relative perception of nothing. Absolute nothingness, in this case, is everything, including ourselves, and the onset of illusions of existence let alone comprehension appears due to this ubiquitous nothingness.

In a sense, your statement redefines what God is, which defies logic.


9.

None

Topic: Visual C++ Express Edition 2008

Posted: 12/20/07 09:31 PM

Forum: Programming

At 12/20/07 09:21 PM, gapern wrote: I didn't have any trouble. Maybe the site is down? The only way is to answer their survey questions, then they email you the code.

sorry if i'm being oblivious, but could you provide a link to the survey?


10.

None

Topic: Huge Plan! Rock Band Flash Ver.

Posted: 12/20/07 09:11 PM

Forum: Flash

You can attempt to use right click with DHTML layers.

Assuming it will be on its own site.

http://www.w3schools.com/dhtml/default.a sp


11.

None

Topic: Visual C++ Express Edition 2008

Posted: 12/20/07 08:53 PM

Forum: Programming

I'm having trouble with the ability to register the software, when I click on "register now" on the dialog box that displays it sends me to a blank page. I assumed it could send an email verificationor something but there was none. Is there any other way to get a registration key? I'm pretty sure i have no email filters on or anything, save for spam and it's not in that folder either.

thanks in advance


12.

None

Topic: Tierra-Digital Organism Simulator

Posted: 12/13/07 09:27 PM

Forum: Programming

At 12/13/07 02:04 AM, sspecter wrote: 1) I think most humans don't have "will to power", only "will to live through". By the way, will is will, be it for power or live through (same thing, different reasons).

I guess I was wrong, but it doesn't seem like humans have just a "will to live through" though. It could be a will to power, or a will to solve, or a will to question, that makes humans what they are. I do believe that with respective wills, comes respective intelligence. The dynamics are perceived differently in a mindset of a will to power and a will to live.

At least I don't see myself having solely a will to live, although it is one driving force

2) By your definition, the processes in Tierra already have will to power, as they try to grab the most processing power they can, to the point of trying to exploit concurrents and try to deceive the main program Tierra itself. Of course, they are programmed to do it (by Evolution) and it is not reasoned.

Tierra, as stated from its Wikipedia article, is a paradigm of "host-parasite co-evolution". One instance attempted to survive by obtaining as much memory access as possible and others used processing efficiency by snipping bits of code while latching onto these 'larger' programs. I think it only seems like a will to power, because the competition of survival indirectly causes a system where dominance is necessary.

The same can be said about a will to power having superior relations to a will to live.

3) We can't say a thinking machine is impossible. Human brain is nothing more than a living electro-chemical computer made of dumb neurons that computes information and respond according to it. Yet our minds raise from all of it. In theory, we could simulate all brains mechanics virtually in computer (it is what neural networking is about). But we still need a lot whole more processing power (than computers today) and understand fully how our neural network works and is interconnected.

I've done a bit of research on intelligent machines, and for mimicking human thinking in a machine, it would be theoretically possible. It would involve fuzzy logic circuitry and artificial neural networks, but the hard problem of consciousness in humans has yet to be observed definitively and objectively for implementation in a machine. As for now, it can only be concluded that machines with thinking capacity will merely act without feeling, known by technical terms as philosophical zombies

I hope I said "fuzzy logic circuitry and ANNs" properly.


13.

None

Topic: Have fun in school! (what?!)

Posted: 12/13/07 07:21 PM

Forum: General

At 12/13/07 03:07 PM, Koeberto190 wrote: Well you helped me out before, so now I'm spending my time clicking the google ads!

WHIPPED.


14.

None

Topic: Everything Actionscript

Posted: 12/13/07 12:33 AM

Forum: Flash

At 11/22/07 06:57 PM, GolemdX wrote: Yes, it could be very useful, so we can prevent all the "how do I make a game"-like topics.

It's not like this will be up on the threads list forever, there's many threads just like this that we can link to. I think it's just more waste, no offense


15.

Kissing

Topic: Tierra-Digital Organism Simulator

Posted: 12/12/07 11:48 PM

Forum: Programming

Dreaming on a little, supposing we want to evolve inteligent beings, I believe the secret is in the selective dynamics in the environment. The more challenge you have, the more complexity is required to achieve the goal.

Yes but by intelligent beings, what is meant? I'm believe you can produce a program in which it performs efficiently, but it will only have a will to live, never a will to power. I think of the creature from "Alien" when I speak of supreme intelligent organisms with a will to live. Not only was it smart, it was physically exceptional. If power involved getting as much food as you can, humans would do so.

That's not to say a will to power is greater than a will to live though. It just doesn't seem possible to program that human concept into a machine.

However, keep in mind we don't have billions of years to make it grow :D

Thats why singularity will be too difficult to suppress once such a perfect system will be synthesized for a robot, which only needs a single input of its the environmental dynamics, and it's adaptive successors would be a few degrees from perfect.

I agree with everything you said so woooooooooooooooooooooooot!


16.

Expressionless

Topic: Something new from me to you.

Posted: 12/12/07 10:10 PM

Forum: Flash

Erm, it's the text "NewWorldProductions" rotating slightly.


17.

None

Topic: I'm confused

Posted: 12/12/07 09:18 PM

Forum: General

At 12/12/07 09:11 PM, Delta-ForceZero19 wrote: i mean common this is life. everyone you see has there own little story in life. life isnt one big question its one big story everyone has there own life. life isnt about figuring it out its about exprinceing it.

Thats how life is undergone, existentially. One of the many quests in life is to discover purpose. The beliefs due to an existential outlook on things relates your purpose of life, whether it be happiness, nothingness, or an dimension that cannot be comprehended by its entities. The one story of a human is in itself his underlaying reason for living.

If I'm not searching for purpose, I'm considering myself living aimlessly.


18.

None

Topic: platformer jump and gravity prob

Posted: 12/12/07 09:03 PM

Forum: Flash

make gravity and jspeed equal to 0 when hitting the platform


19.

None

Topic: Tierra-Digital Organism Simulator

Posted: 12/12/07 07:13 PM

Forum: Programming

Just did a look up on what bytecode actually did, so yea I see what you're saying. Thanks a lot!

btw this program's purpose was technically a failed attempt at virtual machine singularity, so yea I just needed a deeper understanding of it first


20.

None

Topic: Senate bill 1959.

Posted: 12/11/07 08:39 PM

Forum: Politics

This is this is as extreme as a sedition bill can get. I believe the war will have a major influence on its passing.


21.

Kissing

Topic: Tierra-Digital Organism Simulator

Posted: 12/11/07 08:12 PM

Forum: Programming

I'm writing an essay about machine intelligence vs human intelligence and I read an article about a digital organism simulator called Tierra that evolves digital organisms in a means to gain memory access and increase CPU run time efficiency, all for a means to simulate evolution. This is a representative of survival instincts as well.

But from here I do not understand, this is an excerpt from the article on the Tierra Website:

"This means that the machine code can be mutated (by flipping bits at random) or recombined (by swapping segments of code between algorithms), and the resulting code remains functional enough of the time for natural (or presumably artificial) selection to be able to improve the code over time."

The various articles I have read state that the evolutionary method in which these organism undergo is endogenous, self-produced.

So from here, the concept of evolution involves trial and error? I understand what flipping bits would do to mutate an organism, but I do not understand the process in which it does it.

I would really like to know if someone has looked into this or is interested enough to explain the process in which this program simulates evolution. You can view the site description of Tierra here.For some reason I can't download the program itself, but you might

BTW, this is all under the assumption that evolution involves 'positive' mutations. This seems more of a programming question than a biological one so yea.

Thanks to anyone that helps!


22.

None

Topic: do you have a flash decompiler?

Posted: 12/10/07 10:43 PM

Forum: Flash

Nope.


23.

None

Topic: Question about addChild()

Posted: 12/08/07 04:54 PM

Forum: Flash

make Things extend MovieClip, or DisplayObject


24.

None

Topic: The Weirdest Sex Terms

Posted: 12/08/07 12:28 AM

Forum: General

Meat Shake- when one dices one's own penis through the act of inserting said organ into a blender-like instrument

two words: SHEER EUPHORIA.


25.

None

Topic: OS flash?

Posted: 12/07/07 06:52 PM

Forum: Flash

Replicate Flash, inside of a flash!! o.O


26.

Sad

Topic: whats the best flash maker to use??

Posted: 12/06/07 04:44 PM

Forum: Flash

Not to sound like I have a stick up my ass, but these threads pop up way too often.

NG is dedicated to the flash community, you should think that someone would have asked this question at some point and time, and someone else would've given a consummate answer. Try searching the BBS before asking about flash, Google would be reliable too.


27.

Happy

Topic: FPS

Posted: 12/05/07 09:11 PM

Forum: Flash

It's on the bottom of the time line, double click


28.

None

Topic: Final Touches on Deathworm

Posted: 12/05/07 08:18 PM

Forum: Flash

I think the controls are great!

I would like the timer to increase whenever I hit items and stuff.

Did you fix the car thing? Never really noticed it but yea nice work!


29.

None

Topic: do you belive in ghost

Posted: 12/05/07 07:40 PM

Forum: General

I thought I saw this hideous ghost but it actually was your FACE.

OUCH.


30.

Winking

Topic: Rythym game

Posted: 12/05/07 07:31 PM

Forum: Flash

At 12/5/07 07:07 PM, criticalhammer1 wrote: umm.... we want to know how to make one not your life story you dipshit

But that is how to make it......at least my method of doing so

I don't appreciate being called a dipshit either


All times are Eastern Daylight Time (GMT -4) | Current Time: 07:13 AM

<< < > >>

Viewing 1-30 of 753 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 91726