The Download link is down.
WHFF is having problems, so it should be back up soon... maybe days, but soon.
In the meantime, it would be great if someone could provide a mirror.
Posted 14 March 2009 - 04:26 PM
The Download link is down.
Posted 14 March 2009 - 07:32 PM
Posted 23 March 2009 - 06:23 PM
Posted 24 March 2009 - 12:24 AM
Posted 24 March 2009 - 03:26 PM
You can add GMFMODSimple.dll you your user list
Posted 10 April 2009 - 09:29 AM
GMVariable::GMVariable(char* a)
{
char* n;
n = (char*) malloc(strlen(a) + 5);
*((unsigned int*)n) = strlen(a);
strcpy(n + 4, a);
type = 1;
real = 0;
string = n + 4;
padding = 0;
}It calls "malloc" to allocate memory, from the heap.. However I never see any "destructor"/"free" command.. - Shouldn't that be there somewhere? (I doubt free(string-4) would actually work?)
Posted 10 April 2009 - 09:44 AM
Well I spent some time looking into the the internal workings (I hope to learn C++ some day, and what's better than looking at code?) - But I'm wondering, isn't there a pretty obvious memory leak?
One of the constructors for GMVariable is:GMVariable::GMVariable(char* a) { char* n; n = (char*) malloc(strlen(a) + 5); *((unsigned int*)n) = strlen(a); strcpy(n + 4, a); type = 1; real = 0; string = n + 4; padding = 0; }It calls "malloc" to allocate memory, from the heap.. However I never see any "destructor"/"free" command.. - Shouldn't that be there somewhere? (I doubt free(string-4) would actually work?)
Edited by icuurd12b42, 10 April 2009 - 09:46 AM.
Posted 11 April 2009 - 04:35 PM
Posted 12 April 2009 - 03:55 AM
The download link still does not work....
Download GMaker.zip
Posted 12 April 2009 - 04:43 AM
The download link still does not work....
Download GMaker.zip
Yeah, just fixed it. :/ Don't know why it screws up so much.
Posted 13 April 2009 - 06:20 PM
Posted 13 April 2009 - 08:03 PM
Posted 13 April 2009 - 08:09 PM
No.The best place to host is google pages, fast and unlimited host space
anyway, just a quick question. If you gonna make a dll that could use resources from GM, sprites etc. is it possible to use this library to get that to work?
Edited by PickleMan, 13 April 2009 - 08:09 PM.
Posted 13 April 2009 - 09:47 PM
Edited by yahn, 13 April 2009 - 09:48 PM.
Posted 13 April 2009 - 09:50 PM
I've been looking through this topic a lot, but I have not actually peeked at the source (due to the Internet on my developing machine not working). Can this DLL, in fact, call any function available within GM? Is there anything in particular that does not work?
This seems too good to be true. I'm working on a project that I think could really benefit from this. A couple things that I'm particularly interested in that don't necessarily pertain to this DLL, but, relative to setting a variable in GM, how much slower would it be to call variable_local_set() from inside the DLL? I'm wondering because I would like to do this extensively. I could update everything pertaining to my DLL in a single call rather than have thousands of instances make a call from GM to update themselves. Would this be beneficial?
Posted 14 April 2009 - 01:17 AM
Posted 14 April 2009 - 01:35 AM
Game Maker was always poorly coded.
Posted 14 April 2009 - 01:38 AM
Posted 14 April 2009 - 03:12 AM
What I can't stop wondering is wether there isn't any possibility to reduce the ammount of typing you have to do.. Currently for every function you have to type 6-7 more or less the same lines.. Wouldn't it be possible to have a macro do the loading for you - or use template functions?
Ow and -maybe a stupid question- but can you actually read/write GM (build in) variables in some way? (and not through functions/scripts)
Great library, I keep finding more and more uses for it!
I've been looking through this topic a lot, but I have not actually peeked at the source (due to the Internet on my developing machine not working). Can this DLL, in fact, call any function available within GM? Is there anything in particular that does not work?
This seems too good to be true. I'm working on a project that I think could really benefit from this. A couple things that I'm particularly interested in that don't necessarily pertain to this DLL, but, relative to setting a variable in GM, how much slower would it be to call variable_local_set() from inside the DLL? I'm wondering because I would like to do this extensively. I could update everything pertaining to my DLL in a single call rather than have thousands of instances make a call from GM to update themselves. Would this be beneficial?
Could this result in a breach of security? I mean, by knowing the DLL being used in an executable, and knowing it's calls, one could make a phony DLL that disguised functions actually steal the scripts and graphics, no? Game Maker was always poorly coded.
Otherwise, this seems like a good library.
It just has a couple of security vulnerabilities if the user lets it.
Its this dll that has the problems (with security)
Edited by icuurd12b42, 14 April 2009 - 03:15 AM.
0 members, 0 guests, 0 anonymous users