Results 1 to 4 of 4

Thread: Game Multi-Client Question

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2011
    Posts
    29

    Game Multi-Client Question

    Hey guys,

    I sorta like diving into the deep end so I was wondering how this could be done:

    I want to make a program that enables a game to have more than one instance running, where it would otherwise be unable to be done.

    How should I go about this? A sandbox? Hack?

    Cheers,

    Fluidz

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Game Multi-Client Question

    However you should go about it, it should not be with VB.NET.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Oct 2011
    Posts
    29

    Re: Game Multi-Client Question

    Quote Originally Posted by jmcilhinney View Post
    However you should go about it, it should not be with VB.NET.
    C++ it is. Thanks

  4. #4
    Member
    Join Date
    May 2010
    Posts
    60

    Re: Game Multi-Client Question

    There are a few ways to detect instances. I bypassed only three. The more simple is having a dummy file created at the application start and opening it. The second instance gets an error and closes. This is the aproach of a lot of linux apps. Is fast and cheap on resources. The other is getting a list of processes runing. There is a variant of this. The program is splitted in two a launcher small and well mantained who checks for instances and the main program that only launches if the parent process is the launcher. The rest are too much for my skills.

    You will need to hook these calls to feed with fake responses to get a second instance running.
    Last edited by yo mismo; Nov 19th, 2011 at 08:31 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width