Jump to content
MakeWebGames

Revolution-NOTL

Members
  • Posts

    42
  • Joined

  • Last visited

Everything posted by Revolution-NOTL

  1. It was...Now every files re-coded :) And don't worry, I get that a lot.
  2.   It was a MCCodes V1 engine. You don't need a license? I can also get MTG to verify anything with the game as he worked on it.
  3.   The templates from 4templates.com. So don't try it ****ing fool.
  4. NASA #message2short
  5. Hello all. I before have not introduced my self before properly. I am Revolution also known as Zahid. I am 15 years old, and I am from East London, United Kingdom. I am currently in secondary school studying. I am a determined guy. But I am in need of the communities help. I am in need of helping my game go back up to its original standings. It's still in good shape. However I want it to be much better. I am in need of a good coder. Someone who I can trust and who can trust me, and is willing to take 40% of the payments every month. For a period of time. Will sort out a contract. I am in need of someone helping me out find all the errors and helping me fix it. So far I have no errors what's so ever. Its a MCCodes V1 engine. However I now can say its my own built engine. As every file is re-coded. It runs on MYSQLI. I need the economy to stabilised. Someone who can look after the game. I will only be on it 6 - 4 hours a day. It would have been much longer, however school is blocking my chance :( I also need competitions to be added. Something fun the people in game can do. If anyone is interested please mail me.
  6. Hahaha. Actually this is going out for free! Anyone who wants it please mail me!
  7. Hello all. I am selling this template for $30. I am giving out 10 licenses for $30. It comes with CSS images and html coding. I created the template too.
  8. It looks like the RC engine. And I was one of the first to join your game. It's a RC engine.
  9. Hello. I have this error which I can not fix!? I tried everything that I can...   function faction_warview() { global $db,$ir,$c,$userid,$factiondata; $wq=mysql_query("SELECT * FROM factionwars WHERE warDECLARER={$ir['faction']} OR warDECLARED={$ir['faction']}"); print "<b>These are the wars your faction is in.</b><br /> <hr width='100%'><table width=100% cellspacing=1 class='table'><tr style='background:gray'><th>Time Started</th><th>Versus</th><th>Who Declared</th><th>Available</th></tr>"; while($r=mysql_fetch_assoc($wq)) { if($factiondata['factionID'] == $r['warDECLARER']) { $w="You";$f="warDECLARED"; } else { $w="Them";$f="warDECLARER"; } $d=date('F j, Y, g:i:s a',$r['warTIME']); $ggq=mysql_query("SELECT * FROM factions WHERE factionID=".$r[$f]); $them=mysql_fetch_assoc($ggq); print "<tr><td>$d</td><td><a href='factions.php?action=view&ID={$them['factionID']}'><font color = red>{$them['factionNAME']}</font></a></td><td>$w</td> "; $cnt=mysql_query("SELECT * FROM users WHERE faction={$them['factionID']} AND hospital = 0 AND jail = 0"); print "<td><font color = green>".mysql_num_rows($cnt)."</font></td></tr>"; } print "</table><hr width='100%'>"; $membcache.="<hr width='100%'><table width=100% cellspacing=1 class='table'><tr style='background:gray'><th colspan='11'>War Report For War Against: {$them['factionNAME']}</th></tr><tr><th>Nr.</th> <th>ID</th> <th>Name</th><th>Level</th><th>Money</th> <th>Location</th> <th>Ready To Be Attacked</th> <th>Hospital</th> <th>Reason</th> <th>Mail</th> <th>Attack</th></tr>"; $q=mysql_query("SELECT u.*,c.* FROM users u LEFT JOIN cities c ON u.location=c.cityid WHERE faction=$f ORDER BY userid ASC"); $n=0; while($r2=mysql_fetch_array($q)) { if( $r2['hp'] >= 2 and (($r2['hospital'] == 0 and $ir['hospital']==0) || ($r2['hospital'] and $ir['hospital'])) and $r2['location'] == $ir['location']) { $color="green";$text="Yes"; } else { $color="red"; $text="No"; } $n++; if($r2['hospital']==0) { $r2['hospreason']=""; } $membcache.="\n<tr><td>$n</td><td>{$r2['userid']}</td> <td><a href='viewuser.php?u={$r2['userid']}'>{$r2['username']}</a></td> <td>{$r2['level']}</td> <td>\${$r2['money']}</td> <td>{$r2['cityname']}</td> <td><span style='color:$color'>$text</span></td> <td>{$r2['hospital']} minute(s)</td> <td>{$r2['hospreason']}</td> <td>[<a href='mailbox.php?action=compose&ID={$r2['userid']}'>Send Mail</a>]</td> <td>[<a href='attack.php?ID={$r2['userid']}'>Attack</a>]</td></tr>"; } $membcache.="</table><hr width='100%'><a href='yourfaction.php'>> Go Back</a><hr width='100%'>"; print $membcache; }   error - Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/notl/public_html/yourfaction.php on line 1200   Line - while($r2=mysql_fetch_array($q))
  10. Hello all. I am here to find out how to make a browser for a android phone/tablet. I wanna make a simple browser. I want forward, backward and refresh buttons. Along with Clear Cache, History, Cookies, Saved Password, Site Data and Autofill Data. If you can help me out anyway please help me! Thanks :)
  11. I've created the courses. I've check my database to see if it has been created. It has been created. But doesn't show?
  12. Really easy fix. Replace line 2 with - include"globals.php";   Replace line 4 with - echo "<h3>Education</h3>";
  13. Hello all, I have installed this onto my game. Everything work's so far as I know of... How ever the courses does not show up...? I have a Version 1 and converted everything to V1. [ATTACH=CONFIG]1323[/ATTACH]   <?php include(__DIR__ . '/globals.php'); print "<h3>Education</h3>"; if($ir['course'] > 0) //is player taking a course right now? { $q = mysql_query("SELECT * FROM `education_courses` WHERE `ID` = {$ir['course']}"); $r = mysql_fetch_array($q); if($_GET['study'] && $ir['course_clicks_left']>0) //if user has clicked "click here to study" and still has clicks left in this course { if($ir['course_daily_clicks']>=$r['clicks_max_daily']) //finished with the daily clicks { error("You've done as many clicks as you can today. Come back and continue studying tomorrow."); } else if($ir['course_hourly_clicks']>=$r['clicks_max_hourly']) //finished with the hourly clicks { error("You've done as many clicks as you can this hour. Come back and continue studying in an hour."); } else if($ir['brave']<1) //doesn't have brave to perform the click { error("You need 1 brave to perform a click."); } else { echo "<hr width='50%'>Please read the confirmation message.<hr width='50%'><h3>! CONFIRMATION</h3>You've completed a click for this course.<br /><br /> <hr width='50%'><a href='schooling.php'>> Go Back</a><hr width='50%'><br />"; mysql_query(" UPDATE `users` SET `brave`=`brave`-1, `course_clicks_left`=`course_clicks_left`-1, `course_daily_clicks`=`course_daily_clicks`+1, `course_hourly_clicks`=`course_hourly_clicks`+1 WHERE `userid` = {$ir['userid']} "); $ir['course_clicks_left'] -= 1; } } if($ir['course_clicks_left']<=0) //finished with the course? { //update user course info mysql_query(" UPDATE `users` SET `course_clicks_left` = '0', `course` = '0' WHERE `userid` = '{$ir['userid']}' "); //update the amount of times user has done the course mysql_query(" INSERT INTO `education_coursesdone` VALUES ('{$ir['userid']}',{$ir['course']},1) ON DUPLICATE KEY UPDATE `crtimes`=`crtimes`+1 "); //update user stats mysql_query(" UPDATE `userstats` SET `strength` = `strength` + '{$r['award_STR']}', `agility` = `agility` + '{$r['award_AGIL']}', `guard` = `guard` + '{$r['award_GUARD']}', `labour` = `labour` + '{$r['award_LABOUR']}', `IQ` = `IQ` + '{$r['award_IQ']}' WHERE `userid` = {$ir['userid']} "); //all db updates done. now display messages to user echo " <hr width='50%'>Please read the confirmation message.<hr width='50%'><h3>! CONFIRMATION</h3> Congratulations, you've completed {$r['name']}! <br />You've gained {$r['award_STR']} strength, {$r['award_GUARD']} guard, {$r['award_LABOUR']} labour,<br/> {$r['award_AGIL']} agility and {$r['award_IQ']} IQ for completing this course.<br /><br /> <hr width='50%'><a href='events.php'>> Go Back</a><hr width='50%'><br /> "; } else { //display info about the course the user is currently taking: echo 'Welcome to the education center! You\'re currently enrolled in the following course: <hr width="95%"><table width="95%" cellspacing="1" class="table"> <tr> <th>Course</th> <th>Cost</th> </tr> <tr> <td>'.$r['name'].'</td> <td>$'.$r['cost_money'].'</td> </tr> <tr> <th colspan="2">Description</th> </tr> <tr> <td colspan="2">'.$r['description'].'</td> </tr> <tr> <th>Clicks needed total</th> <th>Clicks left</td> </tr> <tr> <td>'.$r['clicks_needed_total'].'</td> <td>'.$ir['course_clicks_left'].'</font></td> </tr> <tr> <th colspan="2">Study</th> <tr> <td colspan="2"><a href="schooling.php?study=yes">Click here to study!</a></td> </tr> </table><hr width="95%"> <a href="index.php">>Go Home</a><hr width="95%"> '; } } else { if($_GET['courseID']) { $_GET['courseID'] = abs((int) $_GET['courseID']); $q = mysql_query("SELECT * FROM `education_courses` WHERE `ID`={$_GET['courseID']}"); if(mysql_num_rows($q) == 0) { eror("You are trying to start a non-existant course!"); } else { $r = mysql_fetch_array($q); $canTakeCourse = true; if ($r['mustBeTakenBefore']!=-1) //is there another course that must be done before this one? { //check if the user has done that course $q3 = mysql_query("SELECT * FROM `education_coursesdone` WHERE `userid` = ".$ir['userid']." AND `courseid` = {$r['mustBeTakenBefore']}"); if (mysql_num_rows($q3)==0) $canTakeCourse = false; } if($ir['money'] < $r['cost_money']) { error("You don't have enough money to start this course."); } else if(!$canTakeCourse) { //the user should never see this message, because the link to take the course isn't displayed if it can't be taken. but the user might be clever and edit the link to try other courseid's. erorr("You have to complete another course before you can start this."); } else { mysql_query(" UPDATE `users` SET `course` = {$_GET['courseID']}, `course_clicks_left` = {$r['clicks_needed_total']}, `money` = `money`-{$r['cost_money']} WHERE `userid` = {$ir['userid']} "); error("You have started the {$r['name']} course!"); } } } else { echo "Welcome to the education center! Here you can see the list of available courses. Pick one that looks interesting and get to it. There are various rewards for completing courses, which you'll see when you finish a course."; $q = mysql_query("SELECT * FROM `education_courses`"); echo " <hr width='95%'> <table width='95%' cellspacing='1' class='table'> <tr> <th width='60%'>Course</th> <th>Cost</th> <th>Take</th> </tr>"; while($r = mysql_fetch_array($q)) { $canTakeCourse = true; if ($r['mustBeTakenBefore']!=-1) //is there another course that must be done before this one? { //check if the user has done that course $q3 = mysql_query("SELECT * FROM `education_coursesdone` WHERE `userid` = ".$ir['userid']." AND `courseid` = {$r['mustBeTakenBefore']}"); if (mysql_num_rows($q3)==0) $canTakeCourse = false; } if($canTakeCourse) { $q2 = mysql_query("SELECT * FROM `education_coursesdone` WHERE `userid` = ".$ir['userid']." AND `courseid` = {$r['ID']}"); if(mysql_num_rows($q2)) { $do = "<a href='schooling.php?courseID={$r['ID']}'>Take Again</a>"; } else { $do = "<a href='schooling.php?courseID={$r['ID']}'>Take</a>"; } echo " <tr> <td><span style='font-weight:bold;'>{$r['name']}</span>{$r['description']}</td> <td>\${$r['cost_money']}</td> <td>$do</td> </tr> "; } } echo " </table><hr width='95%'><a href='index.php'>>Go Home</a><hr width='95%'> "; } } $h->endpage();
  14. I still use it xD I made this thread before you wrote the chat :D
  15. Nope, i found it anyway :D
  16. Hello. I am currently looking for a chat Dayo made. Which I can not find anymore cause of the errors on CCDesigns... If anyone can find the mod. Can someone please send me the files or a link...
  17. Thanks Zettiee and !Angle life savers you guys are!
  18. Hey Zettieee, thanks for the help :) Error - Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /home//public_html//business_cron.php on line 20   Line - while($business= mysql_fetch_assoc($select)) {
  19. Hello. I tried to re-code Richards business cron. But I have few errors, I am willing to pay £2 if someone gets it fixed.   <?php require_once(dirname(__FILE__) . "/../mysql.php"); require_once(dirname(__FILE__) . "/../global_func.php"); $cron_code = '****OFF'; if ($argc == 2) { if ($argv[1] != $cron_code) { exit; } } else if (!isset($_GET['code']) || $_GET['code'] !== $cron_code) { exit; } $select = mysql_query("SELECT * FROM business LEFT JOIN business_classes ON (classId = busClass) ORDER BY busId ASC"); while($business= mysql_fetch_assoc($select)) { $amount=mysql_num_rows(mysql_query("SELECT * FROM businesses_members WHERE `bmembBusiness = {$business['busId']})); $new_costumer = ($business['classCost'] / 5000) * ($amount + 1) + rand(-12, 18)) / 2); $new_profit = (($new_customers + rand(-4, 8)) * ((($business['classCost'] / 2500) * rand(2, 8)) / 10) * ($amount + 1)); $profit = $new_profit - $business['busCash']; mysql_query("UPDATE businesses SET busYCust = busCust, busYProfit = busProfit, busCust = $new_customers, busProfit = $new_profit, busCash = busCash + $profit WHERE busId = {$business['busId']}"); $fetch_members = mysql_query("SELECT * FROM businesses_members LEFT JOIN users ON (userid = bmembMember) LEFT JOIN businesses_ranks ON (rankId = bmembRank) WHERE bmembBusiness = $business['busId']}"); while($member = mysql_fetch_assoc($fetch_members)) { $fetch_stat = array( 'strength' => 'Strength', 'iq' => 'IQ', 'labour' => 'Labour '); mysql_query("UPDATE users SET money = money + {$member['bmembCash']} WHERE userid = {$member['userid']}"); mysql_query("UPDATE userstats SET {$fetch_stat[$member['rankPrim']]} = {$fetch_stat[$member['rankPrim']]} + {$member['rankPGain']}, {$fetch_stat[$member['rankSec']]} = {$fetch_stat[$member['rankSec']]} + {$member['rankSGain']} WHERE userid ={$member['userid']}"); if($business['busCash'] < $member['bmembCash']) { $text = "". username($member['bmembMember']) ." was not paid \$" . number_format($fm['bmembCash']) . " due to lack of funds."; mysql_query("INSERT INTO businesses_alerts (alertId, alertBusiness, alertText, alertTime) VALUES ('NULL', {$business['busId']}, $text,unix_timestamp()"); mysql_query("UPDATE businesses SET busDebt = busDebt + {$member['bmembCash']} WHERE busId = {$business['busId']}"); } else { mysql_query("UPDATE businesses SET busCash = busCash - {$member['bmembCash']} WHERE busId = {$business['busId']}"); } } if($business['busDebt'] > $business['classCost']) { $send_event = mysql_query(sprintf("SELECT `bmembMember` FROM WHERE `bmembBusiness` = '%u' ORDER BY `bmembId` DESC", $bs['busId'])); while($se = mysql_fetch_assoc($send_event)) { $text = "The {$business['busName']} business went bankrupt\, all members have been discharged."; event_add($se['bmembMember'], "$text"); } mysql_query("DELETE FROM businesses_members WHERE bmembBusiness = {$business['busId']}"); mysql_query("DELETE FROM businesses WHERE busId = {$business['busId']}"); } }
  20. Mail me with your game link. I shall help you out for free. :)
  21. Well, my members helped me get members! I at least get 1-6 registration per day…BioHazard sent an email out on few of his games. And we bought advertisement for 2 months. But that's gone.
  22. Bump......
  23. Thanks Magictallguy! However that one did not come out the way i wanted...So I just started working and I got the job done! Thanks all.
  24. The code I provided you now is not the AJAX one... I think I need adding a third column...   Updated first post.
×
×
  • Create New...