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.


Topics - ruler501

Pages: 1 2 3 [4] 5 6 7
46
Other / Conficker
« on: June 28, 2011, 09:10:56 pm »
I stumbled upon this article today: http://www.theatlantic.com/magazine/archive/2010/06/the-enemy-within/8098 and was scared to death by it. Has anyone else heard of this worm? What do you guys think about it?

All my information comes from this article so I might not see everything, but heres what I see it as. This is a worm released to take over a large number of computers for some as yet unknown nefarious purpose. This purpose could be almost anything possible. From Taking down the US governments computers to spamming the entire world. It is almost impossible to stop and is extremely resilient and are to protect from. IT can easily sneak into your computer through any outside interface. IT appears to only affect Windows though. I am so glad I have linux now

47
Computer Projects and Ideas / My currently unnamed project
« on: June 26, 2011, 11:30:05 pm »
This is the project I have been quasi working on for a few weeks. It is to be a nearly completely user made game. what I will be making is the framework and a 10 level level pack to demonstrate what it can do.

This game will have two parts to its release version
The game engine that takes the levelpack files and lets you play the game.

utilities for making your own fully customized levelpacks

The Goals for the game engine part in order of importance:
Do not limit the player and developer too much from possible games
Provide interesting ways to play
Protect from crashes
have easter eggs(this very bottom level)

The Goals For utilities in oder of importance:
Easy interface
allows easy customization of levels, weapons, enemies, obstacles, characters
creates safe levels
almost no limits on what it can make
ability to compile into a not too large level pack

This game will have you be able to create custom weapons, and obstacles. You can assign those weapons to players and enemies. The obstacles can then be utilized in levels. All of these are then compiled into a level pack file. they will all be written in hexadecimal code.
The point of each level will be to move from a predetermined starting point to a 'flag'(you choose the image for this in the level customization. There can be enemies with very simple events set for their appearance(you picking up a nearby weapon, you getting to a certain point, or with a timer). These enemies can have either predetermined weapons or a weapon from a random selection of weapons you said are possible for it to use(the possible weapons are set while customizing the enemy the when/where they pop out and what weapons they have is set in the level file). there can be obstacles with set images/fill color/transparency that you set if htey do damage and/or impede movement if so by what percent. You make players saying what weapons they can use, whether they can double jump, whether they can crouch, with how much speed they jump and how much health they start with out of 100%. YOu put all of these things together into a level, you decide what player is used on that level, what obstacles and where they will be(this will be on  a grid I don't want it to be pixel by pixel), when and where enemies pop out(from that same grid), what the power of gravity is, where the flag and starting points are and images for those places

Now I've told about the game(more information later) what do you guys think the name should be?


Here is like the bare frame of the games code
Code: [Select]
#import neeeded modules
import pygame
import math
import sys
import random
import binhex
from pygame.locals import *

gravity=0

#check to make sure pygame is working
if not pygame.font:
    print 'Warning, fonts disabled'
if not pygame.mixer:
    print 'Warning, sound disabled'

#functions to create our resources
def load_image(name, colorkey=None):
    fullname = os.path.join('data', name)
    try:
        image = pygame.image.load(fullname)
    except pygame.error, message:
        print 'Cannot load image:', fullname
        raise SystemExit, message
    image = image.convert()
    if colorkey is not None:
        if colorkey is -1:
            colorkey = image.get_at((0,0))
        image.set_colorkey(colorkey, RLEACCEL)
    return image, image.get_rect()

def load_sound(name):
    class NoneSound:
        def play(self): pass
    if not pygame.mixer or not pygame.mixer.get_init():
        return NoneSound()
    fullname = os.path.join('data', name)
    try:
        sound = pygame.mixer.Sound(fullname)
    except pygame.error, message:
        print 'Cannot load sound:', fullname
        raise SystemExit, message
    return sound

#functions to get the stats for ingame objects
def getEnemyStats(ID):
    return {}

def getObstacleStats(ID):
    return {}

def getPlayerStats(ID):
    return {}

def getWeaponStats(ID):
    return {}

#function to get all the level data
def getLevel(ID):
    return {}

#function to get the constants for the game
def getConstants(levelpack):
    return {}

#class for enemies
class Enemy(pygame.sprite.Sprite):
   
    def __init__(self, name, ID):
        stats=getEnemyStats(ID)#get this enemies stats
        #define needed variables
        self.name=name
        self.ID=ID
        self.danger=0
        self.jump=0
        self.gravity=0
        self.xvel=0
        self.yvel=0
        self.area.bottom=599
        self.area.right=599
   
    def update(self):
        if not self.danger or self.jump:#check to see if there is a special situation
            if stats[speed]:#see if this is a moving enemy and at what speed it would move
                newpos=self.rect.move((speed,self.gravity))
            else:
                newpos=self.rect.move((0, self.gravity))           
        elif self.danger:#see if the enemy is in danger
            self.evade()
            return 0
        elif self.jump:#see if the enemy is jumping
            newpos=((self.xvel,self.yvel-self.gravity))
        self.rect=newpos#move the enemy to its new position
   
    #implement the force of gravity
    def gravity(self):
        #need a collision detector here
        if self.rect.bottom>=self.area.bottom:
            self.downforce=0
            self.jump=0
            self.change=0
            self.rect.bottom=599
        else:
            self.downforce+=1/constants[gravity]
   
    #evade danger
    def evade():
        return 0

def engine():
    return 1

def playGame(run):
    #start set_up
    while run:

        clock.tick(constant[speed])

        #run game engine
        engine()

        for event in pygame.event.get():
            if event.type == QUIT:
                pygame.quit()
                return
            elif event.type == KEYDOWN and event.key == K_ESCAPE:
                pygame.quit()
                return
            if event.type == MOUSEBUTTONDOWN:
                sets=pygame.mouse.get_pressed()
                if sets[0]==1:
                    pass
            elif event.type == KEYDOWN and event.key == K_LEFT:
                player.left()
            elif event.type == KEYDOWN and event.key == K_RIGHT:
                player.right()
            else:
                player.still()

        allsprites.update()

    #Draw Everything
        screen.blit(background, (0, 0))
        allsprites.draw(screen)
        pygame.display.flip()

def collidedetect(defense,offense):
    if offense.rect.left<defense.rect.right:
        if offense.rect.left>defense.rect.left:
            if offense.rect.top<defense.rect.bottom:
                if offense.rect.top>defense.rect.top:
                    return 1
            elif offense.rect.bottom<defense.rect.bottom:
                if offense.rect.bottom>defense.rect.top:
                    return 1
    elif offense.rect.right>defense.rect.left:
        if offense.rect.right<defense.rect.right:
            if offense.rect.top<defense.rect.bottom:
                if offense.rect.top>defense.rect.top:
                    return 3
            elif offense.rect.bottom<defense.rect.botom:
                if offense.rect.bottom>defense.rect.top:
                    return 3
    elif offense.rect.top<defense.rect.bottom:
        if offense.rect.top>defense.rect.top:
            if offense.rect.left>defense.rect.left:
                if offense.rect.left<defense.rect.right:
                    return 2
            elif offense.rect.right<defense.rect.right:
                if offense.rect.right>defense.rect.left:
                    return 2
    elif offense.rect.bottom<defense.rect.bottom:
        if offense.rect.bottom>defense.rect.top:
            if offense.rect.left>defense.rect.left:
                if offense.rect.left<defense.rect.right:
                    return 0
            elif offense.rect.right<defense.rect.right:
                if offense.rect.right>defense.rect.left:
                    return 0
    else:
        return 5

def main():
    run=1
    playGame()
    return 1

if __name__ == '__main__':
    try:
        levelpack=sys.argv[1]#get the levelpacks name
    except IndexError:
        print "need a valid levelpack file or folder"
        exit(1)
    constants=getConstants(levelpack)#find out the needed constants
    main()
I have lots of work to do

48
Other / Messed up MP3 Player
« on: June 21, 2011, 09:10:37 pm »
I recently got this mp3 player
http://www.machspeed.com/manuals/v418manual.pdf
and now about 3-5 days after I got it it no longer works. When turned on it stays at a blue loading screen indefinitely(It has never left it even though its been on for 12+ hours(attached to a charger)). I at least need a way to access the files on it. Anyone have any ideas?

49
Miscellaneous / Logic
« on: June 09, 2011, 01:13:49 pm »
I went to a Comp programming 3 week course at NSU in Louisiana and on the first day they kicked me out for knowing all they were going to teach us. I am now in Puzzles, Games and Logic which has almost no games, but a lot of learning logic and using it for puzzles.

I am currently in the 4th day of class and have learned a few very interesting things liek how to speak basic logic(yes there is a language and they call it sentential.)  We are learning from the Languages of Logic by Samuel Guttenplan and we have an awesome teacher.

Have any of you ever taken this course or any course on logic and if so what did you think of it? Do you have any advice for someone taking it in hyper accelerated mode?

50
General Discussion / Best Synthesizer
« on: June 04, 2011, 11:34:38 pm »
I have written many pieces of music most of which are duets. What is a good way to synthesize this? The built in one for MuseScore(the composition program I use) only does piano. Is there any free one that can do multi instruments well? If so which is the best? thanks for any help I hope to release some good music of I can find one

I can save my files as midi and a couple other things like some form of XML

51
Miscellaneous / Crap people do with Wikipedia(NSFW)
« on: June 04, 2011, 08:49:21 pm »
I was browsing some of the paradox lie math equations I enjoy reading about and came upon 1+1+1+1+1=-1/2. Well the article on it has been vandalized to include the image of a naked man. who can fix this and why do you think people do this

Do not go to this if you are somewhere obscene images would get you in trouble. Its not a good thing to see

http://en.wikipedia.org/wiki/1_%2B_1_%2B_1_%2B_1_%2B_%C2%B7_%C2%B7_%C2%B7 is the page
this text is put by the image
Quote from: wikipedia
Emilio Elizalde presents an anecdote on attitudes toward the series:

52
Other / My Computer Security Essay
« on: June 03, 2011, 12:42:40 pm »
I had to right an essay on power and persuasion in relation to a topic of my choosing in my English class and i chose computer security. I had originally written a very in depth paper, but my teacher told me it was too complicated so I had to rewrite it the night before It was due. This is what my paper ended up being(attached). Could you tell me what you think of it please. I'd like to hear what people here say about it. The other student that reviewed it said it was too dry.

53
Miscellaneous / Duke TIP
« on: June 02, 2011, 05:14:28 pm »
I have participated in duke TIP and just yesterday I got 3 awards. Grand, State and a TCU scholarship for auditing a summer course which I unfortunately will not be able to do becaus eof my crazy summer schedule. I was one of only 3 people who qualified for the scholarship out of everyone there(about 3-500 people I think. Took 45 min to read all the names. and those were just the people who got state)

Duke TIP is a program by Duke university to find and educate Gifted and talented students. Its main course os for 7th grade students. It has them take either the ACT or SAT college entrance exams. there are two levels of recognition in it. state and Grand.
State is: top 50% of everyone who takes the test(mainly high school students for college)
ACT

ACT English ≥ 20
ACT Math ≥ 20
ACT Reading ≥ 21
ACT Science ≥ 21
* Or with three of the four following scores English = 19, Math = 19, Reading = 20, Science = 20

SAT

SAT Math ≥ 520
SAT Critical Reading ≥ 510
SAT Writing ≥ 500
*Or with two of the three following scores: Math = 510, Critical Reading = 500, Writing = 490

Grand is:top 10% of everyone who takes the test(mainly high school students for college)
ACT

ACT English ≥ 28
ACT Math ≥ 28
ACT Reading ≥ 30
ACT Science ≥ 26
ACT Composite ≥ 26

SAT

SAT Math ≥ 670
SAT Critical Reading ≥650
SAT Writing ≥ 650
SAT Math + Critical Reading + Writing ≥ 1850

I took the ACT and got
30 composite(96 percentile)
26 English
28 Science
32 Mathematics
36 Reading(99 percentile)
The percentile are out of all students who take the test(mainly high schoolers taking it for college)

[offtopic]I really hate dressing up for events like this. I had too where a tie comb my hair(which I never do if I can avoid it). My parents did allow me to where my nice looking black tennis shoes instead of dress shoes.

54
Miscellaneous / 3-5 week absence
« on: June 01, 2011, 11:04:11 pm »
I have gotten into the python programming course at Northwestern in Natchitoches, Lousisana and will be going to a 3 week class. They disallow laptops, and my parents refuse to get my a nice phone so I will not be on omni much. I will probably be able to get on maybe once every few days but I will have much reduced activity. After that i go on a scout high adventure trip to the boundary waters in Minnesota for a 10 day canoing trip. I will have no electronic there. So for the next 5 weeks about I will have very little activity and almost no progress on m y current projects except for the ones i mange to work on in Natchitoches, like my secret python game.

EDIT:one good thing though is that when I get back my parents are going to get me a laptop. They finally agreed with the idea I need it for school since I do online courses a lot

55
I have recently gotten a 16gb kingston data traveller 101 usb. I thought it would be nice to have mint or at least a version of mint with me all the time so I decided to create a USB with highest persistence possible(9999mb on unetbootin 4gb on Disk creator. I first tried with unetbootin and it failed with error message
Code: [Select]
could not find kernel image: vesamenu.c32I then tried with the mint disk creator and got the same error. How can I get this working and is it possible to have it working with unetbootin which I would prefer because it lets me have higher persistence

56
General Discussion / Music We Listen To
« on: May 25, 2011, 10:05:06 pm »
I'm wondering what people here listen to. If you could also post your favorite songs from that genre.

I have been told I have very strange selection in music. I like Country, but also some rap and pop.

I not good at remembering artist names so I will just leave them off
Country:
Rockstar
Swing
Then
Couresy of The Red white and Blue
American Soldier

Rap:
Not Afraid
6 foot 7 foot
Fast Lane

Pop:
firework
fireflies

I like country the most with rap in a far second

57
Other / Favorite Linux distro
« on: May 25, 2011, 06:43:52 am »
I am trying to figure out what linux distros I like best so I wan to know whats most popular so I can try them out. I also think it would be good to see what the popular distrobutions in a community like this are. I know ubuntu and mint are nearly the same thing(imo mint is better)

I voted linux mint because so far thats all I've used

58
Computer Projects and Ideas / RulerOS
« on: May 22, 2011, 10:18:44 pm »
I'm going to be making my own OS based off of the linux kernel. I want an OS customized to work best for me and I think it would also work well for others of the community when Its done. What software do you think should be included. I will gladly take community suggestions on how to make it but overall I do want it to be my OS.

I not sure of the name so for now its rulerOS.

My main priorities are:
That it is small and lightweight but still has very powerful tools
Have development tools as a focus but also have things for my other interests like music

59
Other / Good inexpensive laptops
« on: May 22, 2011, 05:36:54 pm »
My parents said they'd get me a laptop this summer. If you guys have any good links to inexpensive good laptops that'd be great. They don't want to pay that much and they want it to be a 64 bit with Windows 7. Hopefully if I send them enough links to ones I like I'll get one of those

I could use lots of processor power so I can overclock my programs at very high fps's.

EDIT:budget-up to $1000 but preferably under $700

60
Other / Favorite OS's
« on: May 17, 2011, 06:44:48 pm »
I was interested to see what OS's people think are best. That way I can choose the best for my laptop/desktop


I chose ubuntu(actually for the linux mint) becasue I've only used Windows XP/7 and Linux mint 10. I also chose XP as my favorite one becasue It worked well except for the viruses and the other problems... It was the best windows one I've seen

Yes Haiku is a real OS it is not just in xkcd. http://haiku-os.org
Tell me if I forgot any. I don't know any of the BSD ones names so I just put BSD

Pages: 1 2 3 [4] 5 6 7