Jump to content


score_under

Member Since 02 Mar 2004
Offline Last Active May 06 2013 11:55 AM

Posts I've Made

In Topic: Making a website using Dropbox

13 December 2012 - 03:58 PM

Newly created Dropbox accounts don't have "Public" folders and there's no way to get them (and I have a feeling this is why). Old dropbox accounts still get to use them, though.

In Topic: Anti-Decompiler [Download]

11 December 2012 - 07:28 PM

Oldie IDA pro still works fantastic even with the real worthy software, I must admit.

I was always one for Olly, myself.

I will readily admit that all forms of protection can be reversed, given the right man with the right knowledge. This tool is not meant as a magical forcefield for one's game - because that simply can't exist. It is, however, intended to prevent your average (and heck, above-average too) game thieves from being able to steal sprites and resources (or indeed, whole games).

When such protection is combined with Schreib's obfuscator, it puts up some fairly tough defenses to overcome: firstly that the game cannot be decompiled without decryption, and secondly that the code cannot be read without a lot of restructuring.

On the off-chance that you did manage to crack it: Did you have fun? Did you enjoy my 'creative' use of stosb? :P


I get a "Could not find suitable .dat file" error :(


Same problem :(!! How do I fix this!?

I haven't updated this to work with newer versions of Game Maker - ensure that you're using at least Game Maker 6.1 (with GM6-to-vista), and ensure you are not using any version past Game Maker 8.1.91.

In Topic: Ending game

11 December 2012 - 07:11 PM

I like to do the checks myself :)

While that may be the case, using events can be more intuitive for the reader, cause less clutter in code, be easier to implement for newbies, and ultimately have the slight edge in efficiency caused by not relying on interpreted code for the checks.
But feel free to use manual checks if you want.

In Topic: Making a Q & A game

11 December 2012 - 06:25 PM

Hm, I just noticed I mentioned questions being all lowercase, while Gam3rlink mentioned keeping them all uppercase - be aware that this is just preference, so long as you store them in the same (upper/lower) case consistently and convert the question to that, either of these approaches should work.

In Topic: Making a Q & A game

11 December 2012 - 06:01 PM

How does it recognize what is the question, and what is the answer?
question first and answer last?
What if there is multiple answers?

Indeed, the way a map works is that the object you want to look up comes first, and the result comes second. If you want multiple results, you might benefit from (and this is verging a little on the silly side) storing the answers as ds_list structures and storing the actual answer text within the list.

answer = ds_list_create();
ds_list_add(answer, "Over 9000!");
ds_list_add(answer, "None of your business!");
ds_list_add(answer, "I'm a computer, I don't have an age...");
ds_map_add(database, "how old are you", answer);

And retrieving such an answer would work like this:
if (ds_map_exists(database, question)) {
    answer = ds_map_find_value(database, question);
    show_message(ds_list_find_value(answer, irandom_range(0, ds_list_size(answer)-1)));
    fail = false;
}

Though this may be overcomplicating things a little.