|
-
Nov 18th, 2011, 04:32 AM
#1
Thread Starter
Junior Member
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
-
Nov 18th, 2011, 05:29 AM
#2
Re: Game Multi-Client Question
However you should go about it, it should not be with VB.NET.
-
Nov 18th, 2011, 06:10 AM
#3
Thread Starter
Junior Member
Re: Game Multi-Client Question
 Originally Posted by jmcilhinney
However you should go about it, it should not be with VB.NET.
C++ it is. Thanks
-
Nov 19th, 2011, 02:58 AM
#4
Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|