
One Instance Dll
#2
Posted 13 December 2005 - 01:35 AM
but 9/10 now =D
good remake
Thanks,
Ryan.
#3
Posted 13 December 2005 - 02:07 AM
I have seen requests for something like this come up in topics more than once-
a very useful DLL.
-Mousier Goatee

Edited by Mousier Goatee, 13 December 2005 - 02:08 AM.
#4
Posted 17 December 2005 - 03:04 AM
#6
Posted 25 December 2005 - 07:15 PM

Good Job Sir

#7
Posted 25 December 2005 - 09:37 PM
Edited by 9_6, 25 December 2005 - 09:37 PM.
#8
Posted 25 December 2005 - 09:42 PM
Thanks,
Ryan.
#9
Posted 25 December 2005 - 10:02 PM

#10
Posted 26 December 2005 - 12:44 AM

#11
Posted 26 December 2005 - 08:04 AM
i looked at the example. an empty screen. so what is the purpose of this dll Sir?
IF you want the user to stop running the same program twice at the same time

#12
Posted 06 March 2006 - 05:53 PM
#13
Posted 06 March 2006 - 07:05 PM
Good job Roach, might be usefull for online games for making sure there's no multiple logging
#14
Posted 06 March 2006 - 09:36 PM
#15
Posted 07 March 2006 - 02:07 PM
THat problem mostly pops up when you didn't extract it.
Good job Roach, might be usefull for online games for making sure there's no multiple logging
duh, look at the screenshot, does it look like it's not extracted??!!
#16
Posted 10 March 2006 - 09:22 AM
#17
Posted 10 March 2006 - 02:24 PM
#18
Posted 10 March 2006 - 06:47 PM
#19
Posted 10 March 2006 - 10:15 PM
Host 1
Host 2
Host 3
Enjoy.
I don't know why you people are having troubles... but try this, it does have one or two things different.
#20
Posted 11 March 2006 - 08:12 PM
From the log file :
ERROR in
action number 1
of Create Event
for object object0:
Error defining an external function.
Do we need an additionnal .dll or is having only OneInstance.dll fine?
Maybe it's because I only tried the example provided with the download and did not try to program my own game.
If this could get fixed & is proven stable, I will surely get it for my games since having 2 instances of the same game can really lead to problems (if you use the same files to store data and both games access it at the same moment, etc.).
Edited by NJCatch22, 11 March 2006 - 08:15 PM.
#21
Posted 11 March 2006 - 08:26 PM
#22
Posted 14 June 2006 - 06:11 PM
#23
Posted 14 June 2006 - 08:05 PM
Thanks,
Matt
#24
Posted 18 March 2007 - 10:55 PM
#25
Posted 19 March 2007 - 12:42 AM

10/10
www.mabigames.com
Platform Tactical Shooter Engine Video - Beta Here
Massive Update - May 26th 2011
#26
Posted 19 March 2007 - 07:24 AM
PLEASE do not bump old topics. And we all know that, but a lot of people don't like games messing with their registry. Also, in the event of an emergency exit (a.k.a. Ctrl+Alt+Delete) the Game End event is not triggered and the game becomes unusable.Its possible to do this with a single registry value
So it is useful.
#27
Posted 15 October 2007 - 07:55 PM


#28
Posted 15 October 2007 - 11:23 PM
"I've recently changed my domain names. Change "technosoftnet.com" to "wowthatsawesome.com" and all of my links will work. Thanks!"
http://wowthatsaweso...InstanceDLL.zip
would be the correct link
Gamemaker experience: 6,7 both paid. 8 soon to be pro
Programming knowledge: (May be missing a few currently)
C, C#, C++, java, HTML, CSS, Javascript, PHP, ASP.NET, SQL, Visual Basic, Perl, assembly, batch
Temporary sig while I figure out if I have anything worthwhile to put.
#29
Posted 20 July 2010 - 10:35 AM

I hate to do this... but...
I found a flaw. I built an executable from the example and discovered that by dragging a file onto the game's icon, I can bypass it and run multiple instances of it.

EDIT:
I added an else condition to the script and discovered that it was bypassed because the DLL didn't exist.

var OI_Search, OI_Set; global.OI_Handle = -1; global.OI_Dll = argument0; if (file_exists(global.OI_Dll)) { if (argument1 != "") { OI_Search = external_define(global.OI_Dll, "search", 1, 0, 1, 1); OI_Set = external_define(global.OI_Dll, "set", 1, 0, 1, 1); if (external_call(OI_Search,argument1) == 0) { global.OI_Handle = external_call(OI_Set, argument1); } else { OI_Stop(argument1, argument2); } } } else { game_end(); }
I guess there isn't a problem after all.

Edited by Big J, 29 November 2011 - 01:04 AM.
#30
Posted 12 September 2010 - 09:51 AM


98% of the teenage population has smoked, if you are one of the proud 2% that never will, put this in your sig.
How good are you at GML?

#31
Posted 28 November 2011 - 06:58 PM
Yes i know this is an old topic, but in the interest of keeping the DLL download link updated, i decided i would make another post.The download link doesn't work. I'm getting tired of all these broken links
New Download Link