Jump to content
MakeWebGames

Would anyone use this mod if I released it?


Joshua

Recommended Posts

Ok, so I have had this mod for awhile, and it has been altered several times to fit my game.

It's more of advanced Charachter Class mod than the one posted on here before.

What this does is the following.

 

1. 3 Races to choose from. Upon registration Each Race is sent to a Start city you set up and given a certain set of stats.

ie. i have vampire, werewolves and humans

Vampire starts off in Forks==A vampire only city that humans or wolves cannot go to. They start off 10,10,50,10,10 "somethin to that effect.

Wolf starts in La Push ==A wolf only city starting stats 10,50,10,10,10

Human = human only city 10,10,10,50,10

More can be added to this part of the registration, "ie" what level they start off as etc.

_____________________________________________________________________

 

Race specific cities and Monorail.--checks the race of the characther and allows only certain races in places you choose.

___________________________________________________

Race Specific Items ----------You can create items for each race, and only That race can purchase or Equip that item.

__________________________________________________

Can alter this a bit--In my game, I have it set up so If you are a human, and you are attacked by a vampire or a werewolf and the species wins. They have the option to Bite a Human and turn you into a 4th race (actually 4th or 5th depending on which species bit you) Named Infected.

The human then has Until the Day Cron resets to Seek a Vaccination to Stay human or else he changes to the race that bit him.

________________________________________________________________

Depending on which race you are, You gain Differant stats in the Gym. i.e if you are a werwolf and you train say..strength you get a (*10 multiplier where as human gets *5 as vampire.

..etc..etc.

______________________________________________________________

Depending on your Race, Differant Stats raise quicker.

like..humans willpower goes up a bit faster.

__________________________________________________

I have a few more additions to this mod and I've been fully integrating it to my game. Just having problems getting the Gym to work properly and The crons to update properly.

Would this hold any interest for anyone?

Link to comment
Share on other sites

Guest georgelink

That sounds like an awsome mod. But you need testers, people who test out your mod. If they say

that your mod is good, then it will surely get a lot of money.

Link to comment
Share on other sites

I've already had testers, Other than the Gym and The cron_day not working quite right the mod is 100% functional :-)

Was up all night last night finishing the bite mod. It kinda works off the same concept as the human or zombie mod with a few alterations to the original attackbite.php and some security

I originally purchased a race mod like this a long time ago, but wasnt happy with the limitations. It was a decent mod but had room for expansion. So I completely re-coded it and added more features etc. Still looking for ideas for more features to add to it :-)

Anyone like to help me figure the problem with Gym?

I've gone over and over it, but I can't figure out why it won't update differant races. They always get the equal work-out

I "think" I am seeing the problem though a fix will be a pain, can anyone confirm?

I would need to Race Specify the $gain and not just the $inc?

 

<?php
$macropage="gym2.php";
require "globals.php";
if($ir['hospital']) { die("<prb>This page cannot be accessed while in hospital.</prb>"); }
$statnames=array(
'Strength' => 'strength',
'Agility' => 'agility',
'Guard' => 'guard',
'Labour' => 'labour');
$_POST['amnt']=abs((int) $_POST['amnt']);


if(!$ir['jail'])
{
print "<h1>Gym</h1><hr width='90%' align='left' />";
}
else
{
 print "<h1>Jail Gym</h1><hr width='90%' align='left' />";
}
if($_POST['stat'] && $_POST['amnt'])
{
 $stat=$statnames[$_POST['stat']];
 if(!$stat)
 {
   die("<prb>This stat cannot be trained.</prb>");
 }
 if($_POST['amnt'] > $ir['energy'])
 {
   print("<prb>You do not have enough energy to train that much.</prb><hr width='90%' align='left' />");
 }
 else
 {
   $gain=0;
   for($i=0; $i<$_POST['amnt']; $i++)
   {
     $gain+=rand(1,3)/rand(800,1000)*rand(800,1000)*(($ir['will']+20)/150);
     $ir['will']-=rand(1,3);
     if($ir['will'] < 0) { $ir['will']=0; }
   }
   if($ir['jail']) { $gain/=2; }
   $db->query("UPDATE `userstats` SET `{$stat}` = `{$stat}` + $gain WHERE `userid` = $userid");
   $db->query("UPDATE `users` SET `will` = {$ir['will']}, energy = energy - {$_POST['amnt']} WHERE `userid` = $userid");

if($ir['race'] == 1 AND $stat=="guard")
{
$inc=$ir[$stat]+$gain*5;
$inc2=$ir['energy']-$_POST['amnt'];
}
else if($ir['race'] == 2 AND $stat=="agility")
{
$inc=$ir[$stat]+$gain*20;
$inc2=$ir['energy']-$_POST['amnt'];
}
else if($ir['race'] == 3 AND $stat=="guard")
{
$inc=$ir[$stat]+$gain*5;
$inc2=$ir['energy']-$_POST['amnt'];
}
else
{
$inc=$ir[stat]+$gain*1.1;
$inc2=$ir['energy']-$_POST['amnt'];
}


   if($stat=="strength")
   {
     print "You start to lift some weights, You go heavier and heavier until You are out of energy.

     You have gained {$gain} strength by doing {$_POST['amnt']} sets of weights.

     You now have {$inc} strength and {$inc2} energy left.";
   }
   elseif($stat=="agility")
   {
     print "You Begin to run on the treadmill, You keep tapping the faster button till you fly off the damn thing!.

     You have gained {$gain} agility by doing {$_POST['amnt']} minutes of running.

     You now have {$inc} agility and {$inc2} energy left.";
   }
   elseif($stat=="guard")
   {
     print "You jump into the pool and begin swimming, you keep flapping your arms in the water like Michael Felps, you get a cramp and almost drown.

     You have gained {$gain} guard by doing {$_POST['amnt']} minutes of swimming.

     You now have {$inc} guard and {$inc2} energy left.";
   }
   elseif($stat=="labour")
   {
     print "You walk over to the front desk, and ask the manager If you can volunteer to help the gym out, He says unload the boxes In the back, You unload boxes until the gym closes

     You have gained {$gain} labour by unloading {$_POST['amnt']} boxes.

     You now have {$inc} labour and {$inc2} energy left.";
   }
   print "<hr />";
   $ir['energy']-=$_POST['amnt'];
   $ir[$stat]+=$gain;
 }
}
$ir['strank']=get_rank($ir['strength'],'strength');
$ir['agirank']=get_rank($ir['agility'],'agility');
$ir['guarank']=get_rank($ir['guard'],'guard');
$ir['labrank']=get_rank($ir['labour'],'labour');
print "<table width='90%'><tr><td>

Welcome to the Second Gym!

You can train up to <prb>{$ir['energy']}</prb> times with your
current energy.</p></td></tr></table>
<hr width='90%' align='left' />

<table width='90%' class='table'>
<tr>
  <form action='gym2.php' method='post'>
  <input type='hidden' name='stat' value='Strength'></input>
  <th width='15%'><ph2>Strength:</ph2></th>
  <td width='15%'>{$ir['strength']}</td>
  <td width='10%'>(Rank {$ir['strank']})</td>
  <td width='40%'>Times to train: <input type='text' name='amnt' value='{$ir['energy']}' length='5'></input></td>
  <td width='20%'><input type='submit' value='Go!'></input></td>
  </form>
</tr>
<tr>
  <form action='gym2.php' method='post'>
  <input type='hidden' name='stat' value='Agility'></input>
  <th width='15%'><ph2>Agility:</ph2></th>
  <td width='15%'>{$ir['agility']}</td>
  <td width='10%'>(Rank {$ir['agirank']})</td>
  <td width='40%'>Times to train: <input type='text' name='amnt' value='{$ir['energy']}'></input></td>
  <td width='20%'><input type='submit' value='Go!'></input></td>
  </form>
</tr>
<tr>
  <form action='gym2.php' method='post'>
  <input type='hidden' name='stat' value='Guard'></input>
  <th width='15%'><ph2>Guard:</ph2></th>
  <td width='15%'>{$ir['guard']}</td>
  <td width='10%'>(Rank {$ir['guarank']})</td>
  <td width='40%'>Times to train: <input type='text' name='amnt' value='{$ir['energy']}'></input></td>
  <td width='20%'><input type='submit' value='Go!'></input></td>
  </form>
</tr>
<tr>
  <form action='gym2.php' method='post'>
  <input type='hidden' name='stat' value='Labour'></input>
  <th width='15%'><ph2>Labour:</ph2></th>
  <td width='15%'>{$ir['labour']}</td>
  <td width='10%'>(Rank {$ir['labrank']})</td>
  <td width='40%'>Times to train: <input type='text' name='amnt' value='{$ir['energy']}'></input></td>
  <td width='20%'><input type='submit' value='Go!'></input></td>
  </form>
</tr>
</table>
<hr width='90%' align='left' />

";
$h->endpage();
?>
Link to comment
Share on other sites

LOL don't hate :P

It's Underworld + Twilight combined

Kinda inter mixing them.

It's not your mccodes type game tho... :)

If you saw it now you wouldnt even know it's mccodes

as most files have been re-coded, re-named, it's not a "mccodes" layout ;)

going for some originality here :D

Link to comment
Share on other sites

Guest georgelink

Well, i think that no one uses the crap mccodes layout. So if everyone's template is changed, then

that would mean no one uses mccodes. (lol doesn't make sense)

Link to comment
Share on other sites

Oh there are TONS of people with the basic Mccodes layout with a few adjustments or a header.

Beleive that lol.. :)

I dont get why everyone makes the exact same Mafia Based game

there must be a million of them out there, all have the exact same layout for the most part and all are ..eh...the same.

Link to comment
Share on other sites

  • 2 weeks later...

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...