MReg System

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
Matt
Enthusiast
Enthusiast
Posts: 447
Joined: Sat May 21, 2005 1:08 am
Location: USA

Post by Matt »

Sneak Peek - hosting MReg System on your own websites/servers:

Screenshot
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

Sweet, :drewling:
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post by Rook Zimbabwe »

This looks fantastic! Keep up the good work!!!

If I can be a hinderance, just let me know! 8)
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
Matt
Enthusiast
Enthusiast
Posts: 447
Joined: Sat May 21, 2005 1:08 am
Location: USA

Post by Matt »

Version 3.5 released!

Major changes in the way it uses the server, allowing you to finally host your own server.
Also bug fixes in sending emails.

Enjoy!
mskuma
Enthusiast
Enthusiast
Posts: 573
Joined: Sat Dec 03, 2005 1:31 am
Location: Australia

Post by mskuma »

Great Matt! This update ought to please many people. Thank you. Happy New Year to you.
r_hyde
Enthusiast
Enthusiast
Posts: 155
Joined: Wed Jul 05, 2006 12:40 am

Post by r_hyde »

Top-notch stuff, Matt, top-notch! I hope the holidays have been as good to you as you have been to this community 8)
Morty
User
User
Posts: 35
Joined: Mon Mar 19, 2007 8:30 am
Location: Germany
Contact:

Post by Morty »

Hi Matt.

Thanks for that update.
I have one question. If I try to instal the script on my webspace and run the MRegServerSetup it says I need the zend optimizer. Is there a way to run it, without that?

Best wishes, Morty
Matt
Enthusiast
Enthusiast
Posts: 447
Joined: Sat May 21, 2005 1:08 am
Location: USA

Post by Matt »

Not at the moment, I encoded it and it must be run using the Zend Optimizer to work. I would recommend emailing your webhost and see if they would be kind enough to install it. Most services out there actually do have it preinstalled. At this time I do not want to give away the source code.
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2139
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Post by Andre »

Now added to the DeveloperTools section on www.PureArea.net too! :D
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
Matt
Enthusiast
Enthusiast
Posts: 447
Joined: Sat May 21, 2005 1:08 am
Location: USA

Post by Matt »

Andre wrote:Now added to the DeveloperTools section on www.PureArea.net too! :D
Thanks!

Also guys, a lot of new features are being worked on right now, like key types (so certain keys could unlock certain features in a program), master keys (which allow users to create a certain number of keys for other computers), and a lot more.
User avatar
yoxola
Enthusiast
Enthusiast
Posts: 386
Joined: Sat Feb 25, 2006 4:23 pm

Post by yoxola »

Hi, Matt

This is very nice and generous, would you have time to add a user defined prefix like thing?

for example, instead of "users", we can set it as "mreg_users" or "drm_users" etc, this can make database maintain easier.
This field was left intentionally as signature.
Matt
Enthusiast
Enthusiast
Posts: 447
Joined: Sat May 21, 2005 1:08 am
Location: USA

Post by Matt »

Yep, added to the to-do list.
Matt
Enthusiast
Enthusiast
Posts: 447
Joined: Sat May 21, 2005 1:08 am
Location: USA

Post by Matt »

If anyone is still interested, yes I am still working on version 4.0 and a PHP class as well:

Heres a small update to fill everyone in on the PHP class and an example of how it works.

The PHP class allows you to create keys automatically on your website, which could happen directly after a purchase (or download) of your game. You can also create your own applications with it for your website, for example a system to allow customers to edit their information and keys.
In version 4.0, master keys are introduced. If a key is a master key, it can create a certain number of extra keys for more computers. This is useful if you are selling your application or game to, for example, a school and they need multiple keys for their computers and add keys when more computers are bought.
With the PHP Class you can easily program online a system for whoever bought a master key to create and manipulate extra keys. Trust me, it's easier and a lot better than it sounds.

Anyway, here is a quick example of something the MReg System PHP class can do. This example just loads a list of keys for a user and prints it out on the screen.

Code: Select all

<?php
		$MReg = new MRegSystem();
		if ($MReg->init("username", "password", "My Game") == false ) {
			die("Error: init");
		}
		
		$client = $MReg->getClient("John");
		$keys = $client->getKeys();
		if ($keys == 0) {
			echo "no keys";
			exit();
		}
		if ($keys == -1) {
			echo "error getting keys";
			exit();
		}
		
		for ($a=0; $a<count($keys); $a++) {
			echo $keys[$a]->getKey()."<br />";
		}
?>
That was a quick example I created to show you how the MReg System PHP class works. Of course it will contain functions to control every aspect of your MReg System data which I have not yet shown to you ;)

Stay tuned in for more updates on version 4.0 :)

edit: Also a .pbi file will be released to be used with PureBasic so you will not have to implement the DLL yourself.

Matt
besko
User
User
Posts: 42
Joined: Tue Oct 28, 2008 1:08 pm

Post by besko »

Hello we waiting new version :) can we know how its going?
User avatar
Tenaja
Addict
Addict
Posts: 1959
Joined: Tue Nov 09, 2010 10:15 pm

Re: MReg System

Post by Tenaja »

This looks like a handy tool, but the developer has not been on the forum since 2011. Does anybody know if the source has ever been released?
Post Reply