Jump to content
MakeWebGames

Recommended Posts

Posted

Hey all, this is my first paid mod, I have gone to great extents to make sure its a good, quality and secure mod. What this basically does is give the option of going to a workout centre, and training on different equipment, while gaining stats at the same time. The stat gain can easily be changed, as can the amount of times the person can visit the centre etc.

Files included:

workout.php

workoutFunctions.php

instructions.txt

All instructions are clearly explained in the .txt file, there a few edits to be made to the cron_minute.php and some SQL to be ran, but that's about it. Its very simple and should take about 1-2 minutes to get set up. If you have ANY issues feel free to contact me, I offer 100% support on this mod, FOREVER! I hope the people that buy this enjoy it, I put a lot of effort in.

Send all payments to [email protected].

Send me proof of purchase, and the domain you are to use it on. I want to make an account of everyone who buys it, and the site they use it on to prevent illegal distribution.

Thanks.

Screenshots:

http://img2.pict.com/57/78/d6/a836bded5 ... ration.png

http://img2.pict.com/94/b0/1a/4529acbe2 ... ration.png

http://img2.pict.com/94/97/58/326231154 ... orkout.png

Posted

Re: [mccodes v2] Workout Centre [$15]

Had a bit of confusion about this, it is NOT a gym. Its a workout centre, you choose the amount of time you want to workout for, and every minute your stat will update, by however many the owner has set the stat gain to. Hope this clears any doubts or confusion.

Posted

Re: [mccodes v2] Workout Centre [$15]

So its pretty much another gym only you don't use energy? Maybe (if you don't already have it), you should add page blocks on the work out centre, so if you are "Working out on the treadmill for 15mins" you cannot access places such as the city/explore etc until your workout is over else its kind of pointless no? Just a way to gain more stats for nothing?

Posted

Re: [mccodes v2] Workout Centre [$15]

True, but in that way, at the top of the file there is a line that says you can't access the workout centre while working out, so you could simply copy and paste it to the other files you don't want to be accessed while working out.

Posted

Re: [mccodes v2] Workout Centre [$15]

That would require a lot of editing of files and not be very effecient, with a little statement into the header, you could block off every page for the duration of their workout which effectively makes it more realistic. :-)

Posted

Re: [mccodes v2] Workout Centre [$15]

Ah yes, that is a good idea, as it would bring the user back to your game to see how much stats they've gained etc after its complete. I'll add it in the instructions.txt as an option now so people know what to do. Thanks for that.

  • 2 weeks later...
  • 1 month later...
Posted

Re: [mccodes v2] Workout Centre [$15]

This mod is updated with Radio_Actives suggestion.

Note: This mod is very secure with no bugs.

Posted

Re: [mccodes v2] Workout Centre [$15]

http://img2.pict.com/94/97/58/326231154 ... orkout.png

Why not use something like this.. from that screen shot :)

$allowed = array(5, 10, 15);
if(!in_array($_POST['mins'], $allowed)) {
 echo "Invalid Time
Now your in Hospital :)";
 $db->query('UPDATE `users` SET `hospital` = `hospital` - 20, `hospreason` = \'Idiot\' WHERE (userid = '. $ir['userid'] .')');
 $_POST['time'] = 5;
}
doWorkSon('bicycle', 'btime', $_POST['time']);

 

Lol :D

  • 2 weeks later...
Posted

Re: [mccodes v2] Workout Centre [$15]

yeah i would say this needs to be updated or lowered to 2bucks , if you use this there is nothing to let you know when your done training and or what you got from the training .FIX this, i could have got a cheap hooker for 15 buck mate.

Posted

Re: [mccodes v2] Workout Centre [$15]

You should have reminded me to do it. I have been extremely ill this past week and tbh this was the last thing on my mind.

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