Jump to content
MakeWebGames

Bennyh789

Members
  • Posts

    164
  • Joined

  • Last visited

Everything posted by Bennyh789

  1. Yea but lite has barely anything on it, and i have made a lot of mods and used a lot of mods from here so lite would not work, i guess i have no option but to shut my game down
  2. Hi all, I got a message on my game threatening that if i do not buy a license for the game they will take legal action against me. So my question is does anybody have a mc code v2 license for sale as i do not have enough money to buy it direct from them If not is my only option to close my game forever? Thanks Ben
  3. Hi all my host has just mailed me saying they will no longer let me "curl" my crons! So therefore they all have now stopped working, they have told me to put:   /usr/bin/lynx --dump (http://www.mygame.com/cron_minute.php?code=*************) However this does not work! I do not want to turn to timestamps Can anybody please help me? Thanks Ben
  4. thanks all however one more problem whenever i press rob company all i get is the message saying it has already been robbed. ive looked through every page and cannot see what i need to add to businesses table for example: rob and i cannot see anywhere on the crons where it updates the business rob]]thanks ben
  5. Thanks however the director link still does not work
  6. help can anyone help i get several erros on business_home.php:   Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/murderco/public_html/business_home.php on line 192   line 192 is: <b>Director /b> <a href='http://viewuser.php?u='.$r['userid']' .stripslashes($r['username']).'</a   Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/murderco/public_html/business_home.php on line 331   line 331 is: <td><a href="http://viewuser.php?u='.$fm['userid'].'" target="_blank">'.stripslashes($fm['username']).'</a> ['.$fm['userid'].']</td>   thanks ben
  7. But when you leave your partners house it still removes your house, so it must be that function and divorce function
  8. OK then below is the function I believe doesnt work function Move_Out() { global $data, $db, $ir, $m, $h; if(isset($data['moved'])) { $marriedwill = $ir['marriedwill']; $db->query(sprintf("UPDATE users SET maxwill=marriedwill WHERE userid=%u", $ir['userid'])); $db->query(sprintf("UPDATE users SET marriedwill=0 WHERE userid=%u", $ir['userid'])); event_add($m['userid'], 'Your partner has moved out.'); echo'You have moved out.'; $h->endpage(); exit;   As i said above when they move out they lose their house! Thanks Ben
  9. Ok all, I bought the below shared housing (with support) but guess what....... NO SUPPORT The problem I have is when users move out of their partners house they lose their house! Thanks in advance Ben Propose.php Don't post paid work
  10. Hi all after installing a free news paper mod from here I get the following error: Parse error: syntax error, unexpected T_STRING in /home/murderco/public_html/newspaper6.php on line 8   This is the code: <?php include "globals.php"; * print "<h3>Newspaper</h3>"; print " <table width=90% cellspacing=1 class='table' border=2> <tr> <td class=h><center><a href="http://job.php" target="_blank"><font color='red'>YOUR JOB</font></a></td> <td class=h><center><a href="http://gym.php" target="_blank"><font color='red'>LOCAL GYM</font></a></td> <td class=h><center><a href="http://halloffame.php" target="_blank"><font color='red'>HALL OF FAME</font></a></td> <td class=h><center><a href="http://gangcentral.php" target="_blank"><font color='red'>LOCAL GANGS</font></a></td> <td class=h><center><a href="http://index.php" target="_blank"><font color='red'>MY HOUSE</font></a></td> </tr> <tr> <td class=h><center><a href="http://userlist.php" target="_blank"><font color='red'>LOCAL RESIDENTS</font></a></td> <td class=h><center><a href="http://stats.php" target="_blank"><font color='red'>CITY STATS</font></a></td> <td class=h><center><a href="http://usersonline.php" target="_blank"><font color='red'>PEOPLE AWAKE</font></a></td> <td class=h><center><a href="http://gangwars.php" target="_blank"><font color='red'>CURRENT WARS</font></a></td> <td class=h><center><a href="http://estate.php" target="_blank"><font color='red'>HOUSES FOR SALE</font></a></td> </tr> <tr> <td colspan=6>"; * print " * <table width=90% cellspacing=1 class='table'><center><h3>Player Advertisements</h3><center> | <a href="http://newspaper.php?action=add" target="_blank"><b>Buy An Advertisement ($10,000)</b></a>"; if($ir['user_level'] > 1) { print " | <a href=newspaper.php?action=all><b>DELETE ALL</b></a>"; } $anpdata=mysql_query("SELECT * FROM npaper"); $q=mysql_query("SELECT user_level FROM users WHERE userid=$userid"); $r=$db->fetch_row($q); print "<marquee speed=2 direction=up onmouseover='this.stop()' onmouseout='this.start()' class='textbox'>"; * while($npdata=$db->fetch_row($anpdata)) { $us=mysql_query("SELECT username FROM users WHERE userid={$npdata['npADDER']}"); $us=$db->fetch_single($us); $time=date('F j',$npdata['npTIME']); print " <hr> <b>Ad By: <a href="http://viewuser.php?u={$npdata[" target="_blank"><font color=red>{$us}</font> [{$npdata['npADDER']}]</a> | Added On: {$time}</b>"; if($r['user_level'] != 1) { print " | <a href=newspaper.php?action=npID&npID={$npdata['npID']}><b>DELETE</b></a>"; } print " * <i><u>{$npdata['npTITLE']}</i></u> * <i>{$npdata['npBODY']}</i> * * "; } print "<hr /></marquee> </table>"; $q=mysql_query("SELECT user_level FROM users WHERE userid=$userid"); $r=$db->fetch_row($q); if($r['user_level'] != 1) { if($_GET['action'] == "all") { if($r['user_level'] != 1) { mysql_query("TRUNCATE TABLE npaper"); print "Newspaper Ads All Cleared! <META HTTP-EQUIV=Refresh CONTENT='1;url=newspaper.php'>"; } } else if($_GET['action'] == "npID") { if($r['user_level'] != 1) { mysql_query("DELETE FROM npaper WHERE npID={$_GET['npID']}"); print "News Paper Ad ID {$_GET['npID']} deleted! <META HTTP-EQUIV=Refresh CONTENT='1;url=newspaper.php'>"; } } } if($_GET['action'] == "add") { print "<h3>Add Advertisement ($10,000)</h3> <form action='newspaper.php?action=added' method='post'> Ad Title:* <input type='text' name='npTITLE' class='textbox'> * Ad Body:* <textarea rows=14 cols=65 name='npBODY' class='textbox'></textarea> * <input class='textbox' type='submit' value='Place Ad ($10,000)' /> </form> <font color=red><b>WARNING:</b> Only plain text will work Do not advertise other games Follow the rules."; } * if($_GET['action'] == "added") { if($ir['money']>9999) { print "Congratulations, you bought an ad for \$10,000! "; mysql_query("UPDATE users SET money=money-10000 WHERE userid=$userid"); $title=str_replace(array("\n"),array(" "),strip_tags($_POST['npTITLE'])); $body=str_replace(array("\n"),array(" "),strip_tags($_POST['npBODY'])); $q=mysql_query("INSERT INTO `npaper` VALUES (NULL, '$userid', '$title', '$body', unix_timestamp())"); print "Advertisement was successfully added! <META HTTP-EQUIV=Refresh CONTENT='5;url=newspaper.php'>"; } else { print "You do not have enough money to place an advertisement. * <a href="http://newspaper.php" target="_blank">>Back</a>"; } } print"</td></tr> <tr> <td td colspan=6> * <center>$content</td> </tr> </table>"; $h->endpage(); ?>   I would post in the original free mod section but the codes over 2 years old Thanks ben
  11. Nope my hosting is paid :-)
  12. Hi all, I have been using a lot of free mods from this site that you kindly put up :) Howvwer 99% dont seem to do anything By that i mean for example i tried adding a newspaper to my site i added newspaper.php to my public_html however when i try to go on the link from my site all i get is: HTTP 500 Internal server error I do not get any code error codes just always HTTP 500 the website cannot be displayed Can anyone help why isnt it showing up code errors or why it is doing that 99% of the time to codes that i know work as 20 other people sayi they work perfect Please help im really losing sleep over this Ben
  13. Hi all, I have installed 5 different lottery mods on her for v2 however NONE of the work I know its a lot to ask but has anyone got one they can post here for free? Thanks Ben
  14. Yes it has both in the db :-)
  15. Hi all I have just installed a marriage mod on my game however I would like it to say on viewuser.php if they are married or not and to who to. Any help would be appreciated Thanks Ben
  16. FIXED IT Thanks for your help guys Ben
  17. If I upload all of the files again before they were hacked will that solve the proble ?
  18. I've found the user that Done the SQL injection but surely deleting him wont solve the problem
  19. Hi all, Im in desperate need for your help My website was hacked and whenever I type in my web address It automatically goes to; http://k-k-k.com/ Please note I am NOT racist in anyway I just need your help How would I get my game back to normal? Thanks Ben
  20. Sorry I now get this error message:   #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Â* (1, 'Search the Bins for Cash', 2, '(WILL*1000/1)', 6, 0, 0, 1, 'You walk aro' at line 2
  21. Lithium thanks very much for you help however I still get the same error message as above :-(
  22. I still get the error message: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Sorry to be a pain all this was after taking the " out of your nicked I just don't understand it
  23. Thanks all however I tried and I still get the below:   Error SQL query: INSERT INTO `crimes` ( `crimeID` , `crimeNAME` , `crimeBRAVE` , `crimePERCFORM` , `crimeSUCCESSMUNY` , `crimeSUCCESSCRYS` , `crimeSUCCESSITEM` , `crimeGROUP` , `crimeITEXT` , `crimeSTEXT` , `crimeFTEXT` , `crimeJTEXT` , `crimeJAILTIME` , `crimeJREASON` , `crimeXP` ) VALUES ;   MySQL said: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 I ran the query: INSERT INTO `crimes` (`crimeID`, `crimeNAME`, `crimeBRAVE`, `crimePERCFORM`, `crimeSUCCESSMUNY`, `crimeSUCCESSCRYS`, `crimeSUCCESSITEM`, `crimeGROUP`, `crimeITEXT`, `crimeSTEXT`, `crimeFTEXT`, `crimeJTEXT`, `crimeJAILTIME`, `crimeJREASON`, `crimeXP`) VALUES; * * (1, 'Search the Bins for Cash', 2, '(WILL*1000/1)', 6, 0, 0, 1, 'You walk around looking for a bin to search for cash!', '<font color=green>You begin moving rubbish inside the bin,\r\n\r\nThen you find a burger wrapper in the bin with <b>${money}</b> scrunched inside!</font>\r\n\r\n', '<font color=brown>You begin moving rubbish inside the bin,\r\n\r\nYou feel the bottom of the bin and realise their is nothing inside.</font>*************** ', '<font color=red>You begin moving rubbish inside the bin,\r\n\r\nThen you hear <b>OI!</b>, \r\n\r\nYou run ,But you couldnt hide no where! "Your Nicked!"</font>******************* ', 2, 'Caught looting the bins', 0.5000),
  24. Hi all, I brought some premade crimes and crime groups from someone on here, i told him about the errors and he blocks me from msn, when I enter them into phpmyadmin I get the following error message: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 4 The sql im using is:   INSERT INTO `crimes` (`crimeID`, `crimeNAME`, `crimeBRAVE`, `crimePERCFORM`, `crimeSUCCESSMUNY`, `crimeSUCCESSCRYS`, `crimeSUCCESSITEM`, `crimeGROUP`, `crimeITEXT`, `crimeSTEXT`, `crimeFTEXT`, `crimeJTEXT`, `crimeJAILTIME`, `crimeJREASON`, `crimeXP`) VALUES (1, 'Search the Bins for Cash', 2, '(WILL*1000/1)', 6, 0, 0, 1, 'You walk around looking for a bin to search for cash!<br/>', '<font color=green>You begin moving rubbish inside the bin,<br/>\r\n\r\nThen you find a burger wrapper in the bin with <b>${money}</b> scrunched inside!</font>\r\n\r\n', '<font color=brown>You begin moving rubbish inside the bin,<br/>\r\n\r\nYou feel the bottom of the bin and realise their is nothing inside.</font> ', '<font color=red>You begin moving rubbish inside the bin,<br/>\r\n\r\nThen you hear <b>OI!</b>, <br/>\r\n\r\nYou run ,But you couldn''t hide no where! "Your Nicked!"</font> ', 2, 'Caught looting the bins', 0.5000),   This is just one of the crimes I have paid and recieved 50, but im sure if i find out what is wrong with this one it would be the same for the rest of them Thankyou in advance Ben
×
×
  • Create New...