Can I make a 2d mmo using c#

Anything related in any way to game development as a whole is welcome here. Tell us about your game, grace us with your project, show us your new YouTube video, etc.

Moderator: PC Supremacists

User avatar
Levio91
Chaos Rift Regular
Chaos Rift Regular
Posts: 119
Joined: Thu Nov 06, 2008 9:50 pm

Can I make a 2d mmo using c#

Post by Levio91 »

I want to make a 2d mmo like endless-online but I want to use c#. Is it possible?
"Criticism is something you can avoid easily by saying nothing, doing nothing, and being nothing. " - Aristotle

http://www.facebook.com/profile.php?id= ... ef=profile
Image
User avatar
Arce
Jealous Self-Righteous Prick
Jealous Self-Righteous Prick
Posts: 2153
Joined: Mon Jul 10, 2006 9:29 pm

Re: Can I make a 2d mmo using c#

Post by Arce »

Nope.
<qpHalcy0n> decided to paint the office, now i'm high and my hands hurt
User avatar
sparda
Chaos Rift Junior
Chaos Rift Junior
Posts: 291
Joined: Tue Sep 23, 2008 3:54 pm

Re: Can I make a 2d mmo using c#

Post by sparda »

I think what Arce meant was:

YOU FUCKING SHOULDN'T BECAUSE WE WILL BURN YOUR HOUSE!!!!!!!

:lol:
User avatar
Ginto8
ES Beta Backer
ES Beta Backer
Posts: 1064
Joined: Tue Jan 06, 2009 4:12 pm
Programming Language of Choice: C/C++, Java

Re: Can I make a 2d mmo using c#

Post by Ginto8 »

:lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol:
Seeing as you "can't figure out" (read "is too lazy to try") to program, I'd say...
NOOOO
Have a nice day. :mrgreen:
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
User avatar
LeonBlade
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1314
Joined: Thu Jan 22, 2009 12:22 am
Current Project: Trying to make my first engine in C++ using OGL
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: Blossvale, NY

Re: Can I make a 2d mmo using c#

Post by LeonBlade »

You can make one... but to be honest... I highly doubt you have the capabilities to do it...
So many people think that making games is easy, especially MMOs for some reason...
There's no place like ~/
User avatar
Levio91
Chaos Rift Regular
Chaos Rift Regular
Posts: 119
Joined: Thu Nov 06, 2008 9:50 pm

Re: Can I make a 2d mmo using c#

Post by Levio91 »

You guys have obviously forgot about my c# skills I made this program

Image
"Criticism is something you can avoid easily by saying nothing, doing nothing, and being nothing. " - Aristotle

http://www.facebook.com/profile.php?id= ... ef=profile
Image
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Re: Can I make a 2d mmo using c#

Post by MarauderIIC »

Levio wrote:You guys have obviously forgot about my c# skills I made this program
Wonderful. MMOs also require a knowledge of network programming* (read this), database types & interfaces, database design, some form of psuedo-/simple artificial intelligence. For a MMO in the MM sense, you also need knowledge of parallel processing. And for all this, since both speed and space are of the utmost, you need to know how to optimize all of it. Also probably wouldn't hurt to know BSPs or heightmaps and also clipping planes and mipmaps.

MMOs require efficiency efficiency efficiency because they require speed speed speed for EVERYONE and storage storage storage for EVERYONE. Your database has to be fast so your database has to be optimized, otherwise loading and levelups and monsters will take forever. With a large number of people, fast becomes harder and suddenly you're doing assembly-level (do you know assembly yet?) optimizations because micro times one million (or even ONE HUNDRED!) instances pays off.

*Efficient network programming involves:
Lag compensation
* Math. Resolve "Held up and left for 5s" to a position, don't forget to check for collision
* Synchronization
Packet optimization (MM: must keep lag to a minimum)
Security (MM: Can't lose 1 million people's passwords)
* Secure client files (must prevent hacking)
* Secure database (MM: Secure multiple computers)

Code: Select all

label.text = (Temp - 32.0)/9.0 * 5
is not quite on par with

/*
** showip.c -- show IP addresses for a host given on the command line
*/

Code: Select all

#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <arpa/inet.h>

int main(int argc, char *argv[])
{
    struct addrinfo hints, *res, *p;
    int status;
    char ipstr[INET6_ADDRSTRLEN];

    if (argc != 2) {
        fprintf(stderr,"usage: showip hostname\n");
        return 1;
    }

    memset(&hints, 0, sizeof hints);
    hints.ai_family = AF_UNSPEC; // AF_INET or AF_INET6 to force version
    hints.ai_socktype = SOCK_STREAM;

    if ((status = getaddrinfo(argv[1], NULL, &hints, &res)) != 0) {
        fprintf(stderr, "getaddrinfo: %s\n", gai_strerror(status));
        return 2;
    }

    printf("IP addresses for %s:\n\n", argv[1]);

    for(p = res;p != NULL; p = p->ai_next) {
        void *addr;
        char *ipver;

        // get the pointer to the address itself,
        // different fields in IPv4 and IPv6:
        if (p->ai_family == AF_INET) { // IPv4
            struct sockaddr_in *ipv4 = (struct sockaddr_in *)p->ai_addr;
            addr = &(ipv4->sin_addr);
            ipver = "IPv4";
        } else { // IPv6
            struct sockaddr_in6 *ipv6 = (struct sockaddr_in6 *)p->ai_addr;
            addr = &(ipv6->sin6_addr);
            ipver = "IPv6";
        }

        // convert the IP to a string and print it:
        inet_ntop(p->ai_family, addr, ipstr, sizeof ipstr);
        printf("  %s: %s\n", ipver, ipstr);
    }

    freeaddrinfo(res); // free the linked list

    return 0;
}
What does that do?
This:

Code: Select all

$ showip ipv6.example.com //runs the program
IP addresses for ipv6.example.com: //intial hardcoded output

//all that work does this two lines of output
  IPv4: 192.0.2.101 
  IPv6: 2001:db8:8c00:22::171
Okay? Programming is a lot of work, please don't insinuate that one line (two lines, one each way, I apologize) of equation is on par with ... most other things. Otherwise, if you're ready to start learning, best of luck.
Last edited by MarauderIIC on Tue Feb 17, 2009 2:36 pm, edited 9 times in total.
Reason: adding links to letters - i think i got all of 'artificial' to be relevant
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Re: Can I make a 2d mmo using c#

Post by MarauderIIC »

Also if you're doing this yourself, don't forget about modeling/art/audio. I mean, most MMOs cost money to operate and that means you're probably going to be charging which means your free use pool just got really small. But like I said, if you want to do it yourself, start reading!
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
PixelP
Chaos Rift Regular
Chaos Rift Regular
Posts: 153
Joined: Tue Oct 07, 2008 12:23 pm
Programming Language of Choice: c/c++
Location: sweden
Contact:

Re: Can I make a 2d mmo using c#

Post by PixelP »

Levio91 wrote:You guys have obviously forgot about my c# skills I made this program
...................................
User avatar
Vortex
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 70
Joined: Sat Nov 15, 2008 1:00 pm

Re: Can I make a 2d mmo using c#

Post by Vortex »

haha funniest thread ever,

serius tough dont event think about an mmo.
TorteXXX
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Re: Can I make a 2d mmo using c#

Post by MarauderIIC »

I think I got all the sub-topic letters for database design and artificial intelligence to be totally relevant, go me.
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
M_D_K
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1087
Joined: Tue Oct 28, 2008 10:33 am
Favorite Gaming Platforms: PC
Programming Language of Choice: C/++
Location: UK

Re: Can I make a 2d mmo using c#

Post by M_D_K »

Can it be done in C#?
Probably yes.
Should it be done in C# and do I think you can do it?
NOOOOOOOOOOOOOOOOOOOOOOOOOOO!
Gyro Sheen wrote:you pour their inventory onto my life
IRC wrote: <sparda> The routine had a stack overflow, sorry.
<sparda> Apparently the stack was full of shit.
User avatar
programmerinprogress
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 632
Joined: Wed Oct 29, 2008 7:31 am
Current Project: some crazy stuff, i'll tell soon :-)
Favorite Gaming Platforms: PC
Programming Language of Choice: C++!
Location: The UK
Contact:

Re: Can I make a 2d mmo using c#

Post by programmerinprogress »

You guys have obviously forgot about my c# skills I made this program

...You had to ask how to get that thing to work, so does that really count (and considering you barely know how to write a program that converts celsius to fahrenheit kinda gives me the impression that you're being a little premature with this)

I would at least try making a standalone, single player game, before even considering anything that involves managing thousands of players simultaneously.

As for C#, you could probably make something with somecapability if you used XNA's graphics capabilities (to make a GAME, I don't have a clue if you could make an MMO, but I doubt it)

Personally, I wouldn't try it...

*I just hope you were joking*
---------------------------------------------------------------------------------------
I think I can program pretty well, it's my compiler that needs convincing!
---------------------------------------------------------------------------------------
And now a joke to lighten to mood :D

I wander what programming language anakin skywalker used to program C3-PO's AI back on tatooine? my guess is Jawa :P
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: Can I make a 2d mmo using c#

Post by dandymcgee »

EDIT: Nvm.. Damn tabs. I've had this topic open for 3 hours and by the time I replied there were already 4 new posts lol. Thanks for posting that information Marauder although surely you knew he was kidding. Personally I found it quite useful as a reference :)

Web browser tabs are almost as counter-productive as the "Related Videos" section of the YouTube page.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
User avatar
eatcomics
ES Beta Backer
ES Beta Backer
Posts: 2528
Joined: Sat Mar 08, 2008 7:52 pm
Location: Illinois

Re: Can I make a 2d mmo using c#

Post by eatcomics »

:shock: Wow this topic is messed up, what is wrong with people, they should know how difficult it is to make games... OMG this reminds me of a story,

Ok so I'm like walkin to class, mkay? Then my friend comes up and goes "Hey I know what job I'm getting after highschool!" so I'm all alright, enlighten me puny mortal... and he goes "I wanna be a game tester!" so I responded "Micheal game testers don't make very much money....".... That was the end of the conversation, or so I thought.

The next day he comes back and says they make like 7 - 10 dollars an hour!... that isn't too much unless you know you're maybe in highschool or going to college or something..... but he thinks that it's the perfect job... and I was like, well unless you're a professional game player you aren't going to paly any good games... or you know you won't get a job because most small companies have developers test them. Then he said "Well I think game tester would be a good job for when I become a game designer, I can get ideas from it." Of course I had to say something "Micheal how are you going to be a game designer if you don't even know how games are made or work, or even having a slight way of getting into the business?" that was the end of that discussion............................

thank yuou, thank you... :lol:
Image
Locked