Jump to content
MakeWebGames

Recommended Posts

Posted

I'm looking for one or two game owners to beta test my new free gang mod. The mod is finished, and ready to be released, but I want to put it into a live game for real testing before I release this to the general public.

This gang mod is and will always be entirely free. Anyone will be allowed to make mods that can plugin to it. They can give those mods away for free or they can sell them. I haven't decided on the exact license that I will release this under because I need a license that will allow folks to make additions to the software and sell it.

Now you know that the software you would be beta testing will always be freely available and you will not ever have to remove it from your game.

Why replace mccodes gangs with my gang mod? There are many reasons. Below are a number of those reasons:

 

Designed as a drop in replacement for mccodes version 2 gangs.

Has a plugin design that allows new gang content to be dropped into the gangs.

Gangs with no members are automatically deleted when a user attempts to view that gang.

Players listed as being in a gang that doesn't exist are automatically reset (i.e., gang = 0).

Gang wars between gangs that don't exist are automatically deleted.

The page that lists all gangs is paginated and grouped alphabetically. No more mile long lists of gangs!

Players are limited to a predetermined number of applications that can be pending at any given time. Therefore they can not apply to more gangs than the "max_application" setting. Players have the ability to see the applications they have submitted and they can cancel them as well.

Gang files are consolidated into fewer files. Files like creategang.php, gangcentral.php, gangwars.php. You only need to keep gangs.php and yourgang.php. gangs.php is the portal to all public gang pages. yourgang.php is the portal to all private (my gang/my gang staff) pages.

Players are asked for confirmation before kicking gang members, leaving the gang, or disbanding the gang.

If you want to see what this mod looks like, you can go to my site and make an account: http://mccode.phphorizons.com/

This is a drop in replacement for mccodes version 2 gangs. If you aren't running version 2 software, please don't contact me about beta testing. You will be able to install the mod yourself when I release it, but I am looking to test this mod on an mccodes version 2 game.

 

I should also mention that this mod comes with support. Whist I can tell you that the code is a million times more secure than standard mccodes, and that I've taken every precaution against allowing any bugs/exploitable code, there is always a chance that I did something wrong. If any are found, patches will be released. Game owners will be expected to install these patches themselves, but I will be supporting this mod for free.

There will be a max of two beta testers, so hurry and contact me as soon as possible so that you can be the first to use this kick ass mod!

 

This mod does not require editing any of your existing files. You simply replace gangs.php and yourgang.php, and then copy a new folder to your game called gangs which contains the files that form the basis of the gang plugin system. Once you have done that, your gangs should work as they did before, so long as they are pretty close to stock mccodes 2 gangs.

Posted

gang banners

my gangs arnt standard v2 so i cant help with the beta but i did sign up to have a look and can i suggest some sort of pics for the gangs like gang banners and maybe a bbcode description u can tell me to do it myself once its out as a free mod but i figured i would add my 2 pence lol

Posted
i am willing [...] to view this on localhost

[sNIPPED]

Thanks for the offer. I'm very interested in getting folks using the mod in number. I am 99.99% confident about it working fine on a version 2 game. The aspects of testing I'm looking to flesh out are what happens when there are 20 gangs, 15 wars, and lots of activity.

 

can i [make a] suggest[ion...]

i figured i would add my 2 pence lol

[sNIPPED]

You certainly may add your 2 pence ;)

This mod only includes stock mccodes version 2 features because it's intended to be a drop in replacement. I.e., it does not require altering the gangs table and adding a gangPIC field. It would be great to see a mod that adds in those features.

Cheers and thanks for your replies and interest in the gang mod.

Posted

Ignore the code posted below, it's just to document the yourgang.php file and put a timestamp on it.

 

<?php
/**
* @name gangs.php
* @author Floydian
* @link [url]http://www.phphorizons.com/[/url]
* @version P1.0.0
* @copyright All rights reserved by Floydian and PHP Horizons 2009,2010
*/


#####################################################
# HEADER CODE -- You may need to use the header     #
# code that is included in your game. For instance, #
# if you are running mccodes vs 2, you would need   #
# to remove the below code and include globals.php  #
#####################################################
session_start();
require "global_func.php";
if($_SESSION['loggedin']==0) { header("Location: login.php");exit; }
$userid=$_SESSION['userid'];
require "header.php";
$h = new headers;
$h->startheaders();
include "mysql.php";
global $c;
$is=mysql_query("SELECT u.*,us.* FROM users u
LEFT JOIN userstats us ON u.userid=us.userid
WHERE u.userid=$userid",$c) or die(mysql_error());
$ir=mysql_fetch_array($is);
$gq=mysql_query("SELECT g.* FROM gangs g WHERE g.gangID={$ir['gang']}");
$gangdata=mysql_fetch_array($gq);
check_level();
$fm=money_formatter($ir['money']);
$lv=date('F j, Y, g:i a',$ir['laston']);
$h->userdata($ir,$lv,$fm);
$h->menuarea();
######################
# END OF HEADER CODE #
######################

error_reporting(E_ALL);

define('GANG_MODULE', true, true);

// gangID, gangNAME, gangDESC, gangPREF, gangSUFF, gangMONEY, gangCRYSTALS, gangRESPECT, gangPRESIDENT, gangVICEPRES, gangCAPACITY, gangCRIME, gangCHOURS, gangAMENT

include('./gangs/config.php');
$gvars = new GangVars();
$gvars->setPage('private');
include('./gangs/content.php');
Posted

Just a quick update for the folks who are anxiously awaiting the release of the gang replacement mod.

The beta test is going well. So far only one bug has been found and that bug was very minor. Gang attack logs showed any fights that were won as "drawn". That has been fixed.

I want to thank the folks who are beta testing. The final release of the gang replacement mod should be within the week.

I have the first official plugin for the gang replacement mod about 50% complete. It's a large mod that will be priced very attractively. The staff panel (the game staff, not the gang staff) for this will include an ajax simulator... :O now what might the game staff need a simulator for? Feel free to post your speculations!

  • 2 weeks later...
Posted

After a successful beta test, the gang mod is being released today!

Once the download link becomes available in the script vault, I'll post an announcement in the free mods forum, along with screen shots.

Cheers

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...