Jump to content


Photo

Mreg System


  • Please log in to reply
311 replies to this topic

#1 Matt13

Matt13

    GMC Member

  • New Member
  • 580 posts

Posted 06 August 2007 - 04:57 PM

I have seen many questions about creating a registration system in your game. The answers to these questions were not secure systems.
I therefore created this.

What is this?
This is MReg System. A powerful registration system you can implement into any program using a DLL. I have created a GEX file for Game Maker users.
(The DLL is for use with other programming languages and older Game Maker versions)

What do I get?
You will get the MReg System program and the required GEX file for Game Maker.
The MReg System program allows you to create registration keys for users in your program or game. Each user can have an unlimited number of registration keys. Each key also has options, like the amount of times it can be used, and IPs to ban from it.

Looks impressive, what are some other features?
You can store each user who buys a registration keys information easily.
You can also easily copy one users information to another user.
You can generate different keys with different levels of security.
Ban specific keys if they are being given out to other people.
and so much more

Ok, whats the catch?
Nothing, just give me credit in your program in some way.

Updates are free and you will be automatically notified when there is an update in the MReg System program.
Updating to the new version only takes a second.

Alright, I'm ready to download!

DOWNLOAD for a direct link to the ZIP.
http://tomhallam.co....em/download.php <- New link

Enjoy, let me know what you think, and please request features, and let me know any bugs you find!! :P

- Matt

Updates:

Version 3.5:
- New help file
- Remember login details for each seperate server
- Transfer a backup to a new server
- Backup and Restore account data
- Ban Programs (which basically is banning all users in a program)
- Added Program Settings
- Host your own database (read the Running Server section above)
- New function in DLL: getKeyMaxUseAmount
- New function in DLL: setURL
- Changed ban editor layout
- Fixed major email sending bugs
- Added Open Ban Editor button under IP List
- Made add extra keys a text field with a description above
- Added build number in about box (resets per version)
- Small changes and fixes

Version 3.0:
-Create custom keys.
-Have an IP and/or Windows Username override all ban states set.
-Override Bans IP/Windows Usernames are highlighted in light purple
-Add multiple keys at a time
-Ban users
-Edit quick notes by double clicking on the note
-Expiration Dates for keys
-Quick search for users in program
-Open key note editor when double clicking on a key
-Quick key notes clear menu options
-Forgot Password feature (generates new password and sends to email)
-Notes with keys are highlighted in yellow (key column)
-Expired keys highlighted in very light red (expire column)
-All banned keys highlighted in light red (ban column)
-New function in DLL: getWindowsUsername
-New function in DLL: getIPAddress
-Bug fixes and small updates

Version 2.50:
- New About Box which now also includes the credits and a new logo
- New function in DLL: checkOnlineStatus
- New function in DLL: enterKeyWindow
- New function in DLL: enterKeyWindow_getName
- New function in DLL: enterKeyWindow_getKey
- Delete Account option
- Create and store notes for users
- Create and store notes for keys
- Able to change your account password
- Small feature to show all banned keys in red
- Search for key overuse
- New quick note viewer and quick note edit button
- Use template fields (ex. %%NAME%%) in the subject line

Version 2.00:
- Send email internally
- Email templates
- Send mass emails to all (or selected) users in a program
- Remember login details
- Credits
- Version History in Read Me
- Small bug fixes
- Security Updates

Edited by Matt13, 14 June 2009 - 01:38 AM.

  • 1
Core-Fusion Free Webhosting
MReg System - A powerful registration system
PDF DLL

- Matt

#2 Zepheria

Zepheria

    GMC Member

  • New Member
  • 57 posts

Posted 06 August 2007 - 05:15 PM

Wow! that could be very useful if i wanted to sell one of my games! Great job Matt!
  • 0

#3 Matt13

Matt13

    GMC Member

  • New Member
  • 580 posts

Posted 06 August 2007 - 05:22 PM

Thanks!
(by the way everyone I removed the popup message and reuploaded the files.)
  • 0
Core-Fusion Free Webhosting
MReg System - A powerful registration system
PDF DLL

- Matt

#4 cdm319

cdm319

    C++ Programmer

  • New Member
  • 885 posts

Posted 06 August 2007 - 06:53 PM

nice one - 10/10
  • 0

Chris Matthews, Co-Leader of Digital X

#5 Matt13

Matt13

    GMC Member

  • New Member
  • 580 posts

Posted 07 August 2007 - 04:05 AM

Thanks!
Please try this out guys and let me know what you think!
  • 0
Core-Fusion Free Webhosting
MReg System - A powerful registration system
PDF DLL

- Matt

#6 Zipo™

Zipo™

    GMC Member

  • New Member
  • 14 posts

Posted 07 August 2007 - 01:45 PM

For future tense :)
  • 0

#7 Smarttart62

Smarttart62

    designFUSION

  • New Member
  • 2619 posts

Posted 07 August 2007 - 05:13 PM

wowzers...

Excellent job Matt :).
-Steve
  • 0

#8 Matt13

Matt13

    GMC Member

  • New Member
  • 580 posts

Posted 09 August 2007 - 05:17 AM

Thank you, I did put a lot of work into it and I believe that this is a pretty powerful tool.

Let me know what you guys think! I need your input!

Matt
  • 0
Core-Fusion Free Webhosting
MReg System - A powerful registration system
PDF DLL

- Matt

#9 IamCalle

IamCalle

    GMC Member

  • GMC Member
  • 444 posts

Posted 09 August 2007 - 06:17 AM

Very nice indeed!

I hope you have put much effort into the security- part. (like; preventing debugging, scripthiding, encryption, etc etc ?)
  • 0

#10 Stian Aune

Stian Aune

    GMC Member

  • New Member
  • 131 posts
  • Version:GM:Studio

Posted 09 August 2007 - 12:10 PM

Wery good, love it, but i shouldn't use it yet, too young to sll anything... lol, but i have tested it and it works great AMAZIN 10 of 10
  • 0

#11 Matt13

Matt13

    GMC Member

  • New Member
  • 580 posts

Posted 09 August 2007 - 03:33 PM

Thanks!

yes I have put much work into the security and I'm continuing to work on that.

Edited by Matt13, 09 August 2007 - 03:33 PM.

  • 0
Core-Fusion Free Webhosting
MReg System - A powerful registration system
PDF DLL

- Matt

#12 GisleAune

GisleAune

    GMC Member

  • New Member
  • 278 posts

Posted 09 August 2007 - 04:12 PM

VERY GOOO ** EDIT ADDED X-TRA "O" LOL

100 of 10

[OFFTOPIC]
how did you set up this server??, everytime wanted to make a game online, not lan.
[END OFFTOPIC]

Edited by GisleAune, 19 September 2007 - 01:50 PM.

  • 0
Taming the mighty Ogre3D...

Sorry, my avatar can't be grasped by mere mortals.

#13 Matt13

Matt13

    GMC Member

  • New Member
  • 580 posts

Posted 09 August 2007 - 05:18 PM

I don't want to get into the specifics of how the programs works, it is not like an online game, it talks to a database.
  • 0
Core-Fusion Free Webhosting
MReg System - A powerful registration system
PDF DLL

- Matt

#14 GisleAune

GisleAune

    GMC Member

  • New Member
  • 278 posts

Posted 09 August 2007 - 06:34 PM

ok
  • 0
Taming the mighty Ogre3D...

Sorry, my avatar can't be grasped by mere mortals.

#15 Mordi

Mordi

    Maker of Menus

  • New Member
  • 3635 posts

Posted 10 August 2007 - 12:19 AM

That is really nice!
It would be very laborous to add all users and keep track of the keys if the game was very popular, though.
Would you need to get a server/database, or is this provided?

Edit: Very nice!

Edited by Mordi, 10 August 2007 - 12:34 AM.

  • 0

#16 Matt13

Matt13

    GMC Member

  • New Member
  • 580 posts

Posted 10 August 2007 - 12:31 AM

Thanks,
everything is provided! Very simple to use, yet extremely powerful.
  • 0
Core-Fusion Free Webhosting
MReg System - A powerful registration system
PDF DLL

- Matt

#17 necrotic

necrotic

    GMC Member

  • New Member
  • 238 posts

Posted 11 August 2007 - 01:36 AM

What if I were wanting to make a whole lot of keys.... I mean a LOT.

It might be worth your while to have an option to generate a rule for the keys, and the client will accept any key using that rule. Thats how most commercial programs work, or they wouldnt be able to be used without being used online.

It would make it a lot easier for me if I wanted to make an automated program to sell keys. I could then use the 'server' to control the keys and their use.
  • 0

#18 Matt13

Matt13

    GMC Member

  • New Member
  • 580 posts

Posted 11 August 2007 - 03:40 AM

Thanks for the reply,

I am currently working on version 2.00 which will include new features to make things easier.
For example there will be a mass email sender embeded in the program which allows you to mail out templates to all users in a program containing their key data.

I am also developing a script that can be used on your site to automatically create users and keys (for example once they buy your game in an online store this allows you to automatically create a key for them and email it to them)

Also I plan on developing an online MReg System area to manage keys, programs, and more, however that may not be released in 2.00.

Matt
  • 0
Core-Fusion Free Webhosting
MReg System - A powerful registration system
PDF DLL

- Matt

#19 Mordi

Mordi

    Maker of Menus

  • New Member
  • 3635 posts

Posted 11 August 2007 - 04:47 AM

I am also developing a script that can be used on your site to automatically create users and keys (for example once they buy your game in an online store this allows you to automatically create a key for them and email it to them)

<{POST_SNAPBACK}>

If this works i would definitely use this. Right now its really nice, but too much work to handle all keys manually, since games could potentially have a vast number of buys.
  • 0

#20 ardnat

ardnat

    GMC Member

  • New Member
  • 421 posts

Posted 11 August 2007 - 04:36 PM

GET /MRegSystem/index.php?access=yes&checkKey=yes&client=ardnat&key=test&winUsername=Owner&program=My%20Game&username=test&password=test HTTP/1.1..Accept: */*..Accept-Encoding: gzip, deflate..User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; byond_3.5; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.590; .NET CLR 3.5.20706)..Host: matt.phpgurus.co.uk..Connection:


captured using packet editor
see the bold---the user name and pass isn't encrypted, let your user get it... He can do anything to your account!

this is why no regstrey system is perfect there is always some way to trick the system into saying your reg'ed.
  • 0

#21 Matt13

Matt13

    GMC Member

  • New Member
  • 580 posts

Posted 11 August 2007 - 05:52 PM

Are you not using the updated version?
The updated version sends everything encrypted...

Please edit your post out, this stuff can be talked via PM

Also: how can you trick it to say you reg'ed? PM me with an example, as you are incorrect.....

Edit: Update, version 2.00 has secured this problem more along with many others to update security. Version 2.00 will be released soon.

Edited by Matt13, 11 August 2007 - 07:00 PM.

  • 0
Core-Fusion Free Webhosting
MReg System - A powerful registration system
PDF DLL

- Matt

#22 necrotic

necrotic

    GMC Member

  • New Member
  • 238 posts

Posted 20 August 2007 - 09:06 PM

Im very much looking forward to this!

This system looks great for my current project im working with.
  • 0

#23 Matt13

Matt13

    GMC Member

  • New Member
  • 580 posts

Posted 21 August 2007 - 02:00 AM

Thanks for the reply! I am sure you will love version 2, I plan on releasing it sometime within this week or next week!
  • 0
Core-Fusion Free Webhosting
MReg System - A powerful registration system
PDF DLL

- Matt

#24 necrotic

necrotic

    GMC Member

  • New Member
  • 238 posts

Posted 21 August 2007 - 08:40 PM

That would be great, though it didn't work when I tested it....

I AM behind a router, but I would hope that that wouldn't matter.... it would force everyone useing my program to open ports. Bad.
  • 0

#25 Matt13

Matt13

    GMC Member

  • New Member
  • 580 posts

Posted 22 August 2007 - 03:12 AM

I am also behind a router, they shouldn't need to open any ports...
As long as you can use the internet, they and you should be fine.
What happen when you tried it?
  • 0
Core-Fusion Free Webhosting
MReg System - A powerful registration system
PDF DLL

- Matt

#26 Robot Freak

Robot Freak

    GMC Member

  • New Member
  • 271 posts

Posted 22 August 2007 - 09:08 AM

I don't get it working. I'm doing the same as in the example video, but the only things I get is -2 and -1.
(I've got wireless internet connection, if I disconnect, it returns -4 and -1)

Edited by Robot Freak, 22 August 2007 - 09:09 AM.

  • 0

#27 Matt13

Matt13

    GMC Member

  • New Member
  • 580 posts

Posted 22 August 2007 - 04:29 PM

Can you login to the program? Did you create an account and keys?
  • 0
Core-Fusion Free Webhosting
MReg System - A powerful registration system
PDF DLL

- Matt

#28 Matt13

Matt13

    GMC Member

  • New Member
  • 580 posts

Posted 22 August 2007 - 04:44 PM

Update:
Version 2.00 released!

Please check the first post for more details.
  • 0
Core-Fusion Free Webhosting
MReg System - A powerful registration system
PDF DLL

- Matt

#29 necrotic

necrotic

    GMC Member

  • New Member
  • 238 posts

Posted 22 August 2007 - 10:21 PM

The actual .exe program worked perfectly fine.

The program I created with your example always returned -2 and -1.

EDIT: It now returns -5 and -1

I only edited it so the default username value is set to my login I used for the MReg system, and the program has been changed to what I created.

Edited by necrotic, 22 August 2007 - 10:25 PM.

  • 0

#30 Matt13

Matt13

    GMC Member

  • New Member
  • 580 posts

Posted 22 August 2007 - 10:27 PM

-5 means you need to init first. (read the readme for that) Did you do that?

init(username, program)

Remember to update the GEX since the last version.

Edited by Matt13, 22 August 2007 - 10:28 PM.

  • 0
Core-Fusion Free Webhosting
MReg System - A powerful registration system
PDF DLL

- Matt

#31 necrotic

necrotic

    GMC Member

  • New Member
  • 238 posts

Posted 23 August 2007 - 12:57 AM

I ran your example with my correct arguements.

Did you send the latest version of the GEX, and did you init the dll?

Edited by necrotic, 23 August 2007 - 12:57 AM.

  • 0

#32 Progamer

Progamer

    GMC Member

  • New Member
  • 18 posts

Posted 23 August 2007 - 01:30 AM

It looks great. But yeah you need some way to get Keys faster.

Edited by Progamer, 23 August 2007 - 01:32 AM.

  • 0

#33 Matt13

Matt13

    GMC Member

  • New Member
  • 580 posts

Posted 23 August 2007 - 03:38 AM

I ran your example with my correct arguements.

Did you send the latest version of the GEX, and did you init the dll?

<{POST_SNAPBACK}>


Okay, you downloaded the new zip off of the website?
And installed the GEX file in that zip?
And you init in the Game Maker script using the test username with the My Game program?
And you put in a correct key and name?

If this still doesn't work PLEASE PM me with the script that you use in Game Maker and the name and key that is not working.

Edited by Matt13, 23 August 2007 - 03:42 AM.

  • 0
Core-Fusion Free Webhosting
MReg System - A powerful registration system
PDF DLL

- Matt

#34 Robot Freak

Robot Freak

    GMC Member

  • New Member
  • 271 posts

Posted 23 August 2007 - 07:10 AM

It works fine now, because this new gmk file has MReg_init("test","My Game"); instead of MReg_init("test","test");

The MReg System.exe has blanc items in the "Use Amount" and "Ban Key" options. You could delete those.
Maybe the "Program" list can select the first one automatically.
An option to delete an account, not only a program.
Delete this: "This email was sent with MReg System."
When you send an email to multiple addresses, it will ask "Is this okay?" for every address. That's annoying.

Something I don't like is that it must be connected to the internet every startup.
Can you make an option that when the key is valid, an encrypted string will be returned to save in a file? So that the DLL can check that string if there isn't an internet connection?

Edited by Robot Freak, 23 August 2007 - 12:21 PM.

  • 0

#35 DefuzionGames

DefuzionGames

    GMC Member

  • GMC Member
  • 1447 posts
  • Version:Unknown

Posted 23 August 2007 - 01:12 PM

few questions:

oes the user HAVE to be connected to the internet every time they want to use the program or JUST when they register online or enter the key for the first ime.

Secondly all the keys, details etc... are they stored on an online database. If so does this mean that you have full access to everyone keys for their programs.
  • 0

#36 Robot Freak

Robot Freak

    GMC Member

  • New Member
  • 271 posts

Posted 23 August 2007 - 01:18 PM

few questions:

oes the user HAVE to be connected to the internet every time they want to use the program or JUST when they register online or enter the key for the first ime.

Secondly all the keys, details etc... are they stored on an online database.  If so does this mean that you have full access to everyone keys for their programs.

<{POST_SNAPBACK}>

Both are true right now.

Edited by Robot Freak, 03 September 2007 - 02:45 PM.

  • 0

#37 Matt13

Matt13

    GMC Member

  • New Member
  • 580 posts

Posted 23 August 2007 - 04:33 PM

Thank you for the logos, I will definitely use them, they look awesome!

Now to answer some of the questions:

Secondly all the keys, details etc... are they stored on an online database.  If so does this mean that you have full access to everyone keys for their programs.

Incorrect, you only have access to the keys and programs in your account. (correct me if I'm wrong??)

It works fine now, because this new gmk file has MReg_init("test","My Game"); instead of MReg_init("test","test");

The MReg System.exe has blanc items in the "Use Amount" and "Ban Key" options. You could delete those.
Maybe the "Program" list can select the first one automatically.
An option to delete an account, not only a program.
Delete this: "This email was sent with MReg System."
When you send an email to multiple addresses, it will ask "Is this okay?" for every address. That's annoying.

Something I don't like is that it must be connected to the internet every startup.
Can you make an option that when the key is valid, an encrypted string will be returned to save in a file? So that the DLL can check that string if there isn't an internet connection?


Yes, MReg_init changed in version 2.00 to take the password out for security reasons. :lol:

The blank use amount and ban key options cannot be set for a key. I have them there to display when no key is selected. I thought it looked neater.

I will add the option to delete an account, it is in my to-do list!

I will delete that footer :( *done* :) (I told myself that once someone complains about it I will remove it :o )

I will take out the message when sending multiple emails, that will be removed in the next version, I added it to my to-do list.

The last thing about the encrypted data and not using the internet was decided by me to be best left for the user to implement into their own program if needed. I will look into ways of handling this and see what I can do to implement this feature. I have already also decided to add another function in the DLL (and GEX) to check if the user is connected to the internet.

Thank you everyone for the support and features!
I will definitely consider and add most of the stuff you guys suggest, as you are the ones using it and I want you guys to be happy with it!

Thanks Robot Freak for the logos, if you want to be credited under Credits in the program for the logos, please tell me B)
I'll use those logos on the site and will be shown with the next version, and I'll see if I can find a way to maybe put them in the program as well.

Matt

Edited by Matt13, 23 August 2007 - 04:34 PM.

  • 0
Core-Fusion Free Webhosting
MReg System - A powerful registration system
PDF DLL

- Matt

#38 Robot Freak

Robot Freak

    GMC Member

  • New Member
  • 271 posts

Posted 23 August 2007 - 06:15 PM

If you keep the "Credits" message, You can add "Jan ten Bokkel" to it. If you remove it, thats fine with me. Tell me when I need to update the version number. Upload the images to your host, I will remove them after a while.

When checking the "Remember" function in the login screen, it doesn't remember a thing... Delete or fix it.

Another question: what will happen if your database is offline?

About the saving of encrypted file, you could also save in that file how much time the key has been used, so it can be sent to the database when connection is back.
  • 0

#39 Matt13

Matt13

    GMC Member

  • New Member
  • 580 posts

Posted 23 August 2007 - 06:20 PM

The remember me function should work perfect... did you block access to the registry? It writes in the registry the email and password (encrypted in registry) to store.

So far I have not seen any downtime on my database for over a year. I will also make backups every once and a while just incase.

I have saved the images to my computer, if you want you can remove them from your host, thanks.

Matt
  • 0
Core-Fusion Free Webhosting
MReg System - A powerful registration system
PDF DLL

- Matt

#40 Robot Freak

Robot Freak

    GMC Member

  • New Member
  • 271 posts

Posted 23 August 2007 - 08:19 PM

Maybe it's only a problem at this laptop, I haven't got the full rights on this one.
I'll try it on my desktop next week.
  • 0

#41 Matt13

Matt13

    GMC Member

  • New Member
  • 580 posts

Posted 23 August 2007 - 08:22 PM

Yep, I think that might be the problem then.
Let me know how it works on your desktop though.
Thanks
  • 0
Core-Fusion Free Webhosting
MReg System - A powerful registration system
PDF DLL

- Matt

#42 PehJota

PehJota

    GMC Member

  • New Member
  • 62 posts

Posted 23 August 2007 - 09:17 PM

Looks good. Is there any way you could automate it? Maybe integrate it with PayPal or something
  • 0

#43 Matt13

Matt13

    GMC Member

  • New Member
  • 580 posts

Posted 23 August 2007 - 09:53 PM

Thanks, and I am creating a PHP script right now which I hope to release with version 3.00 (or hopefully earlier) that allows you to create and manage users and keys automatically from your website or store.
  • 0
Core-Fusion Free Webhosting
MReg System - A powerful registration system
PDF DLL

- Matt

#44 Robot Freak

Robot Freak

    GMC Member

  • New Member
  • 271 posts

Posted 27 August 2007 - 01:36 PM

Can you add a function to create new data fields?
If I want to know something else from the user, there isn't any place for that. (or anything else the program should need)
The user should be able to change the user information after entering the key.
  • 0

#45 Matt13

Matt13

    GMC Member

  • New Member
  • 580 posts

Posted 27 August 2007 - 06:46 PM

Alright, I'll take those ideas into consideration, especially the new data fields, which I added to my to-do list.
  • 0
Core-Fusion Free Webhosting
MReg System - A powerful registration system
PDF DLL

- Matt

#46 jack1993jack

jack1993jack

    GMC Member

  • New Member
  • 231 posts

Posted 27 August 2007 - 08:10 PM

This is absolutely brilliant! 10/10!
I would also love a way to add users online
  • 0
Testing can be used to show the presence of bugs, but never to show their absence

#47 Matt13

Matt13

    GMC Member

  • New Member
  • 580 posts

Posted 27 August 2007 - 09:35 PM

Thank you! :P
And yep, that feature is already currently in development.
  • 0
Core-Fusion Free Webhosting
MReg System - A powerful registration system
PDF DLL

- Matt

#48 necrotic

necrotic

    GMC Member

  • New Member
  • 238 posts

Posted 28 August 2007 - 12:08 AM

Please also make a button to add notes to a user / key.

It wouldn't effect anything, but be for keeping track of w/e you want.... just a simple textbox popup would be good.
  • 0

#49 Matt13

Matt13

    GMC Member

  • New Member
  • 580 posts

Posted 28 August 2007 - 02:01 AM

Awesome idea! Thanks for the suggestion, definitely will manage to get that in at some point! :P
  • 0
Core-Fusion Free Webhosting
MReg System - A powerful registration system
PDF DLL

- Matt

#50 mrsmes

mrsmes

    GMC Member

  • GMC Member
  • 1506 posts
  • Version:GM:Studio

Posted 28 August 2007 - 08:18 AM

one word.
impressive. it explains everything that your stuff you make is.
  • 0

Assuming I helped you out in a questions and answers topic won't you return the favour by helping me with one my coding problems, or recommend some one who can chat to me over pms about helping and how to overcome my obstacles, after all lets just say I did help you or them or many people with similar problems, in that topic.

Here i have a topic for those of you struggling with type writer text and mugshots in your games especially if it is a rpg see the link below for more info

http://gmc.yoyogames...howtopic=619103

almost no code needed, only uses two events.

click here for the l8est version of feed the alien pizza, it has some major polished up features.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users