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 - RussianVodka

Pages: [1] 2 3 ... 46
1
The Hydlaa Plaza / Re: So, what's new?
« on: June 29, 2006, 03:47:24 pm »
Nice! If my internet still had some life in it, I would download it right now!

2
The Hydlaa Plaza / Re: Sauerbraten! - A different 3D engine
« on: June 29, 2006, 08:26:48 am »
Have you seen the screenshots of the new eye candy they implemented? Looks amazing.

3
The Hydlaa Plaza / So, what's new?
« on: June 29, 2006, 08:23:09 am »
So,  how's it going everyone?
I think I haven't been here in close to a year...

So... Uh... What's new and interesting around the forum?
And what's going on in the game? Did they impliment armour yet?

It's nice to see a lot of old names, but some seem to be missing....

Well, I have nothing more to say.

4
The Hydlaa Plaza / Try out my new program. (ThinkGeek fans must read)
« on: April 18, 2006, 03:45:19 pm »
Well, I was reading the ThinkGeek.com fortune page on my computer (which has a crapy WiFi card which gives painfuly slow connection speeds). And I thought, \"boy, wouldn\'t it be great if someone made a program could download an \'x\' amount of fortunes, and let you read them at your leasure.

After not realy searching much and not finding such a program, I thought, \"Why don\'t I just write one myself. After all, my C++ skills need improvement.\"

And so I did.

So.. Here it is:
http://files.upl.silentwhisper.net/upload3/FortuneStealer_0.4.zip

For information on how to use it, consult the Read_Me file.

Oh, and if you want it to not stop no matter how many times it found a fortune that you already have, just put in \'0\' (zero) when it asks \"Stop after how many repeats.\"

P.S.
I\'m writing a \"Reader\" program, which will allow you more control over the fortunes when you read them (you can select fortunes by number, or make it give you a random fortune, or what not), but I couldn\'t find a way to take HTML code and make it output as normal text on the screen (or at least write it to a different file as regular text).

If anyone knows of any methods to do that, please inform me.

*edit*

Feedback?

Double-post? ;) -Kary

5
The Hydlaa Plaza /
« on: March 05, 2006, 11:27:34 pm »
Quote
Originally posted by Efflixi Aduro
State university > Random College


Both are \"State Universities\".

6
The Hydlaa Plaza / Which of these two colleges should I attend?
« on: March 05, 2006, 10:04:39 pm »
So, I\'ve been accepted into StonyBrook University, and SUNY Geneseo. I\'ll just discus what I like and dislike about the two schools, and you tell me what you think is better. Or if you have attended, or know someone who has attended either, please inform me of what you/they think about it.

Oh, and I\'m planing to major in Computer Science.


Stony Brook University
http://www.stonybrook.edu

SBU is a near by school, and is one of the centers of the SUNY (State University of New York) system. They pride themselves on being a research center as much as they do on being a school.

Pros:
-Close to home. (A 20 minute drive.)
-Affiliated with the Brookheaven National Laboratory (a world renouned research center). Many internship oportunities from there go to SBU students. Also that\'s where my father works... So that\'s kind of good, I guess.
-Is a research center itself. So I may gain valuable experience right on campus.
-Very strong Computer Science program.
-Possible to attain a PhD in CS.

Cons:
-It\'s a nice place to work, and a nice place to learn... But from the perspective of living there, it resembles a prison.
-Is it too close to home?
-Alot of Russian proffs, which in itself isn\'t a bad thing... But many know my parents... And my parents would use that to their advantage (as in trying to monitor what I do in class, what I do outside of class, etc.). Living with them now is stressful enough.
-For a University that is as good as people say it is, it was sure easy to get into. Just had to sign my name and give them my school transcript. And I know a few people from school that got in, that don\'t realy even deserve to graduate... Maybe that\'s just for the undergrads, and the Masters and PhD programs are more selective?


SUNY Geneseo
http://www.geneseo.edu

This school is on the other side of NY state, roughly a 7hr drive in the best conditions (but I think it\'s possible to take a train.) Though it is technicaly a \"college\", as opposed to a \"University\", it is one of the most selective in the country and rumer has it that it\'s trying to expand into a research center.

Pros:
-Far from home. Like I said, my parents are control freaks, so it will be nice to not live near them anymore. It\'ll also teach me how to live by myself.
-Very selective college. Was a pain trying to get accepted.
-Beutiful campus. Also has a nearby park where you can go hiking, biking, camping, etc. Not sure if it\'s a public park or if it belongs to the school...
-Not far from Rochester. So this may give me a few good internship opertunities. I think Xerox is located thare, not sure though.
- When I tell people what colleges I\'ve been accepted too, if they know what Genseo is they always give me the \"Oh yeah, look at Mr. Bigshot\" type of reaction. I guess this means that the school has a good reputation...

Cons:
-Like i said before, It\'s a \"College\".
-I hope it\'s not too far from home.
-My parents don\'t like the idea of me going there, they\'re trying to shove me into SBU. But then again, who cares what they think...
-I\'ll miss my not-yet-in-college (and, wasn\'t-able-to-graduate-from-school) friends. :(
-They don\'t allow you to have a car on campus during your freshman year. Not like I have a car yet, but you know, just saying...
-The campus is not isolated from the local community. Not that the communitis are bad or anything (they are prety good actualy), I just don\'t want a bunch of middleschoolers running around my campus!
-Not sure how strong they are in their CS department... I\'ll know more when I visit, but I still have doubts...
-Not possible to attain anything past Bachelors Degree in CS. As of now at least.
-------------------------------------------


So, what do you think?

7
The Hydlaa Plaza /
« on: November 15, 2005, 06:31:50 pm »
Quote
Originally posted by Cha0s
buddha: you don\'t use Pages? Pages has turned out very nicely. I used to use open office, but the speed issue really got me. So now I use Pages which gets a big :tup: from me. :)


Website?

8
The Hydlaa Plaza / How to add own "available" desktop resolutions for linux?
« on: September 18, 2005, 09:37:01 am »
Right now I\'m running a Debian and because it cant recognize my videocard, I can\'t go beyond 800*600 as my resolution. So I\'m hoping there is a file that stores the \"available\" resolutions that I could manualy edit?

I\'ve checked out the files in /etc/X11 , but found nothing good there.

P.S. I can\'t instal a video card driver because Debian uses their own version of XFree, which is incompatable with the version ATI wants you to use.

9
The Hydlaa Plaza / Need help editing the "sources.list" file in Debian
« on: September 18, 2005, 09:12:28 am »
For some reason I can\'t get \"apt-get\" to run from websites.
The code is something like this:

deb http://packages.debian.org/stable/

I did that for the for a few package locations, and all of them came back as errors with i tried to apt-get a file that was not on my install disks. (this works fine with files that are on the install disks)

Or maby it\'s a problem with the file I\'m trying to apt-get. It\'s an mplayer plugin for Mozilla, and can be found here: http://packages.debian.org/stable/misc/mozilla-mplayer

Can someone explain what I am doing wrong? Or better yet, can someone post the insides of their own sources.list file?

10
I remember checking the information about my linux... And it one of the things that shocked me was that when idling it took up slightly more than 500mb, with many many daemons (I believe that\'s what they are called) running in the background. I tried killing some of them, but quickly realized that unlike in windoze it\'s not a good idea (my desktop froze up and I had to alt+f5 out of it).

But what realy startled me is that in windoze, If I were to use anywhere near 500mb the system would be runing at a snails pase, where as with linux (FC3) it was doing just fine.

Comments?

11
The Hydlaa Plaza / Do any Russians know the name of this song?
« on: September 12, 2005, 05:12:27 pm »
Just downloaded a video of a metal concert, and in it we have Epidemiya and Black Obelisk (chorni obelisk) singing some song which sounds prety catchy. Problem is that the cammera is behind the mosh pit, so I couldn\'t make out to much of it... The part that I did hear went something like this:

\"Mir izmenayetsa, zhizni conchayutsa, ti (something something something) I tvoya strana.\"

Does anyone know the name of the song and which of the bands originaly wrote it?


http://www.blackobelisk.ru/video/5-epidemiya_i_obelisk.wmv

12
The Hydlaa Plaza / A question for the australians...
« on: September 09, 2005, 08:50:23 pm »
Well... Everyone knows that the weather in Australia is the opposite of what it is in the northern hemesphere, as the wise-man Homer once exclaimed \"So hot snow fall up?\".

Well.. Here comes my half-dimwhited question...

In Australia, what are the \"summer\" months, and what are the \"winter months\". I mean, is summer and winter still have the same order as they do in the north?

This is prety hard... I guess the easies way to ask would be \"Does it snow during what you call summer, or durring what you call winter?\".

13
The Hydlaa Plaza /
« on: September 08, 2005, 07:52:34 am »
Ok, then a few more questions...

1. How would I make header files out of my code?
2. When I #include the headers in my code will I have to also #include the headers that are in my headers? I know that if I #include\"code.cpp\" then I would have to do that.

14
The Hydlaa Plaza /
« on: September 07, 2005, 01:32:57 pm »
I\'ve thought about it, and I think this is how I\'m gona break up the classes:

Class Board () { // Stores information about the baord}

Class Player() {//Stores the player controls, spawn points, movement boundries, etc.}

and

Class NPC() {//Stores information about computer controled things}


The one oncern I have now is how would the classes interact, namely how would Player, and NPC conect to the Board class? One thing that comes to mind is passing functions that return private variables into other functions as arguments... Would that work?

Here is an example:


Code: [Select]


Class A(){
     char a;
public:
     char get_a(){return a;}
     void set_a(char x){a = x;}
};


Class B(){
     char b;
public:
     char get_b(){return b;}
     void set_b(char x){a=x;}
};

int main(){
     A objA;
     B objB;

     objA.set_a(\'x\');
     objB.set_b(objA.get_a());

     cout << objB.get_b();

     return 0;
}



When compiled and run, will the program write \"x\" on the screen, or will I get an error?

15
The Hydlaa Plaza / My little game engine.
« on: September 06, 2005, 05:31:10 pm »
Well... I was fooling around with C++, and I decided to make a game that was like the ones they had on the old hand-held systems... You know the ones... They had games like tetris, space invaders, and some driving games... Well, anyways.

I was just practicing, and I made this:
http://upl.silentwhisper.net/uplfolders/upload5/CollisionTest.zip

It\'s just a small \"game\" in which you move around the \'x\' and colide with the \'o\' characters.

Later on I decided to make an engine so that I could make the upcoming games a tad faster.

But while making it I ran into a problem... Should I keep using one class as I am now, or whould I break it up into many classes (controls, board, counters, etc.)? Which would be more C++ish in this situation?

Here is the code:

P.S. What else do you think I should add?

P.S.S. Didn\'t add too many comments, so if you have any questions just ask.


Code: [Select]

//Game Engine


#include
#include
using namespace std;




class Game {
    char board[200][200];
    int boardLength;
    int boardHight;

    int xPosition;
    int yPosition;
    int xSpawn;
    int ySpawn;
    int xMax;
    int yMax;
    int xMin;
    int yMin;

    int moveNum;

    char moveL;
    char moveR;
    char moveU;
    char moveD;
    char aux1;
    char aux2;
    char aux3;
    char aux4;

    char playerSymbol;

public:

    //Get private values
    char get_moveL(){ return moveL;}
    char get_moveR(){ return moveR;}
    char get_moveU(){ return moveU;}
    char get_moveD(){ return moveD;}
    char get_aux1(){ return aux1;}
    char get_aux2(){ return aux2;}
    char get_aux3(){ return aux3;}
    char get_aux4(){ return aux4;}
    int get_xPosition(){ return xPosition;}
    int get_yPosition(){ return yPosition;}
    int get_moveNum(){ return moveNum;}
    char get_playerSymbol(){ return playerSymbol;}


    //Set Controls;
    void set_moveL(char x){moveL = x;}
    void set_moveR(char x){moveR = x;}
    void set_moveU(char x){moveU = x;}
    void set_moveD(char x){moveD = x;}
    void set_aux1(char x){aux1 = x;}
    void set_aux2(char x){aux2 = x;}
    void set_aux3(char x){aux3 = x;}
    void set_aux4(char x){aux4 = x;}


    //Set board parameters
    void set_boardSize(int x=0, int y=0){
        boardLength = x;
        boardHight = y;
    }


    //Set how far palyer can move
    void set_boundries(int xl=boardLength, int yl=boardHight,
                        int xs=0, int ys=0){
        xMax = xl;
        yMax = yl;
        xMin = xs;
        yMin = ys;
    }



    //Set player spawn position
    void set_spawn(int x=0, int y=0){
        xSpawn = x;
        ySpawn = y;
    }


    //Set player symbol
    void set_playerSymbol(char p){playerSymbol = p}
    void set_playerSymbol(int p){playerSymbol = p}


    //Set number of moves.
    void set_moveNum(int num){moveNum = num;}


    /*Spawns barriers.
    void spawnBarriers(){
        int x;
        int y;

        for(int i=0; i<10; i++){
            x = (rand()%9);
            y = (rand()%9);
            board[y][x] = \'o\';
        }
    }
    */

    //Create a \"clean\" board.
    void makeBoard(){
        for(int i=0; i            for(int x=0; x                board[i][x] = \' \';
            }
        }
    }


    //Shows the board.
    void showBoard(){
        for(int i=0; i
        for(int i=boardHight; i>(-1); i--){
            cout << \"\\n|\";
            for(int x=0; x            cout << board[i][x];
            }
            cout << \"|\";
        }

        cout << \"\\n\";

        for(int i=0; i    }


    //Resets Position.
    void resetPosition(){
        xPosition = xSpawn;
        yPosition = ySpawn;
    }


    //Fills a sqare;
    void fillPosition(){
        board[yPosition][xPosition] = playerSymbol;
    }


    /*Checks for barriers
    bool detectBarrier(char d){
        if(d==moveL){
            if(board[yPosition][xPosition-1]==\'o\') return true;
        }
        else if(d==moveR){
            if(board[yPosition][xPosition+1]==\'o\') return true;
        }
        else if(d==moveU){
            if(board[yPosition+1][xPosition]==\'o\') return true;
        }
        else if(d==moveD){
            if(board[yPosition-1][xPosition]==\'o\') return true;
        }
        else return false;
    }
    */


    //Moves a character in a direction.
    void movePosition(char direction){
        if(direction == moveL){
            if(xPosition == xMin){
                return;
            }
            board[yPosition][xPosition] = \' \';
            xPosition--;
            moveNum++;
        }

        else if(direction == moveR){
            if(xPosition == xMax){
                return;
            }
            board[yPosition][xPosition] = \' \';
            xPosition++;
            moveNum++;
        }

        else if(direction == moveU){
            if(yPosition == yMax){
                return;
            }
            board[yPosition][xPosition] = \' \';
            yPosition++;
            moveNum++;
        }

        else if(direction == moveD){
            if(yPosition == yMin){
                return;
            }
            board[yPosition][xPosition] = \' \';
            yPosition--;
            moveNum++;
        }

        else cout << \"INVALID ARGUMENT\";

    }


    //TO BE CONTINUED.
};


void clear(){
    system(\"cls\");
}



int main()
{
}

Pages: [1] 2 3 ... 46