Jump to content
MakeWebGames

DeaTH_RideR

Members
  • Posts

    132
  • Joined

  • Last visited

Everything posted by DeaTH_RideR

  1. Re: Buy Your Custom Header, Login or Register!!! i have a template i bought and i would like to have a login,register and a header for it. Hit me on msn if your interested in the work. [email protected]
  2. Re: v2 upgrading hosp time to be honest i have wanted to know where to start with this kind of mod anybody that still don't understand the concept i give you game to go see the same kind of thing working. beyondevo.com they use tokens and you can upgrade you hosp time as well as your energy bar ,max nerve. As for who would want to upgrade there hosp time anybody that's in a gang and wars, if i put you in the hosp for 9 hours i know nobody can touch you from another gang till you get out.   +1 for something new that's not been posted before
  3. Re: Crystal market with limit and day function it seems no matter where i put the cron it runs hourly instead of daily.   to explain a little more when you add to the market everything goes fine say 1,5, or 10 days but it never stays on the market for a day it only stays on for hours.
  4. Re: Streets mc2 mod there is 2 tricks to this file 1 is the file name needs to be street.php, not streets.php. the other is some people with freash new games need to change chance #9 to an id # of there choice its set to give out id 40
  5. Re: Streets mc2 mod MCcodes.com has a free one you can download
  6. Re: Workshop ($10) Payment Sent (Unique Transaction ID #3VV07848G0774744N)
  7. Re: Crystal market with limit and day function nice mod , i think the Sql might need to go in cron_day instead of cron_hour. cant wait for the item market. +1
  8. Re: [MC Codes V2] Captcha ($1) You have sent a payment of $1.00 USD to [email protected]. i been looking for something like this cant wait to put it in.
  9. Re: [MCCODES V2] Abduct someone from Hospital Sorry wicked the scrip was made for my site i have bought the shoutbox from you and he didnt know it was a paid mod.
  10. Re: [mccode] Profile Signatures this uses html code not bbcode
  11. Re: [v2] Car Mods it seems your missing the users field so here they are (finally i catch something that i can help with)   alter table users add `cars_owned` int(11) NOT NULL default '0'; alter table users add `cars_won` int(11) NOT NULL default '0'; alter table users add `cars_lost` int(11) NOT NULL default '0'; alter table users add `cars_challs_sent` int(11) NOT NULL default '0'; alter table users add `cars_challs_accpt` int(11) NOT NULL default '0'; alter table users add `cars_challs_decln` int(11) NOT NULL default '0'; alter table users add `cars_races_won` int(11) NOT NULL default '0'; alter table users add `cars_races_lost` int(11) NOT NULL default '0'; alter table users add `cars_races_income` int(11) NOT NULL default '0'; alter table users add `cars_races_friendly` int(11) NOT NULL default '0'; alter table users add `cars_races_betted` int(11) NOT NULL default '0';
  12. Re: Help with edit job rank. job.php i will try that thanks for the fasy and helpful reply.
  13. Re: Help with edit job rank. job.php im only posting here cause the thread is related to what im looking for so here goes.i was wondering if someone would be nice enough to tell me how i can chnge the cap for the jobs, as in how much i can pay or how much stat gains players can get . thanks any help would be very helpful
  14. Re: [mccode v2] Events Page Updated.   One better <?php include_once (DIRNAME(__FILE__). '/globals.php'); //Create Page Number's. $limit = 10; $page = abs(@intval($_GET['page'])); $page = !isset($page) ? $_GET['page'] : 1; $by = 'evTIME'; $order = 'DESC'; $rows = mysql_query("SELECT `evID` FROM `events` WHERE `evUSER` = ".$ir['userid']); $rows = mysql_num_rows($rows); $pages = ceil($rows/$limit); if($rows % $limit == 0) { $pages++; } if(isset($_POST['del_all'])) { mysql_query("DELETE FROM `events` WHERE `evUSER` = ".$ir['userid']) or die(mysql_error()); echo 'All events have been deleted.'; } if(isset($_GET['del'])) { $id = abs(@intval($_GET['del'])); mysql_query("DELETE FROM `events` WHERE `evID` = ".$id." AND `evUSER` = ".$ir['userid']); echo 'Event deleted.'; } if(isset($_POST['checkbox'])) { for($i = 0; $i < count($_POST['checkbox']); $i++) { mysql_query("DELETE FROM `events` WHERE `evID` IN(".$_POST['checkbox'][$i].") AND `evUSER` = ".$ir['userid']); $result = 1; } if($result == 1) { echo $i.' event(s) have been deleted.'; } else { echo 'Error occured while trying to delete the event(s).'; } } $pg = 'Page: '; echo '<h2>Events</h2> <center><h2>Thahacker07 Say's Hello</h2></center> [b]Note:[/b] If you click on the check box and go to next page. The checkbox will be cleared. So delete the event\'s you want to delete before going to next page. <form action="'.$_SERVER['PHP_SELF'].'" method="post">'.$pg; for($i = 1; $i <= $pages; $i++) { $next = ($i * $limit); if ($i != 0) { echo '[url="'.$_SERVER['PHP_SELF'].'?page='.$next.'"]'.$i.'[/url] - '; } } echo ' <table border="1" cellspacing="0" cellpadding="0" class="table" width="80%"> <tr> <th>Time</th> <th>Event</th> <th>Links</th> </tr>'; if ($page >= 10) { $page=$page-10; } $myEvents = mysql_query("SELECT `evTIME`, `evREAD`, `evTEXT`, `evID` FROM `events` WHERE `evUSER` = ".$ir['userid']." ORDER BY ".$by." ".$order." LIMIT ".$page.",".$limit); while($soc = mysql_fetch_assoc($myEvents)) { $time = date('F j Y, g:i:s a', $soc['evTIME']); if(!$soc['evREAD']) { $new = ' [b]New![/b]'; } echo ' <tr> <td>'.$time.' '.isset($new).'</td> <td>'.$soc['evTEXT'].'</td> <td> <input type="checkbox" name="checkbox[]" value="'.$soc['evID'].'"> | '; if(isset($_GET['page']) ) { echo '[url="'.$_SERVER['PHP_SELF'].'?page='.$_GET['page'].'&del='.$soc['evID'].'"]Delete[/url]'; } else { echo '[url="'.$_SERVER['PHP_SELF'].'?del='.$soc['evID'].'"]Delete[/url]'; } echo ' </td> </tr> <tr>'; } echo ' </tr> </table> '.$pg; for($i = 1; $i <= $pages; $i++) { $next = ($i * $limit); if ($i != 0) { echo '[url="'.$_SERVER['PHP_SELF'].'?page='.$next.'"]'.$i.'[/url] - '; } } echo ' <input type="submit" value="Delete Selected Events"> | <input name="del_all" id="del_all" type="button" value="Delete All Events"> </form>'; if(isset($ir['new_events']) > 0) { mysql_query("UPDATE `events` SET `evREAD` = 1 WHERE `evUSER` = ".$ir['userid']); mysql_query("UPDATE `users` SET `new_events` = 0 WHERE `userid` = ".$ir['userid']); } $h->endpage(); ?>   Added a extra bit <center><h2>Thahacker07 Say's Hello</h2></center>   This is a really neat script... +1 To everyone involved like killah said that one don't work  this one does how ever
  15. Re: [mccode v2] Events Page Updated. works great killah i did how ever take out the delete all button. +1
  16. Re: [mccode v2] userADS thanks added it to my site .+1 Question is there a staff option to delete the ads or how long do they stay up.
  17. Re: [mccodes v2] Gang Bomb [$15.00] i want a copy! [email protected]
  18. Re: [mccode v2] Gang Recruit i got my issue worked out it seems it dont want you to have a ' in your gang name. thats why i got that error but thanks for all of the help i got :|
  19. Re: [mccode v2] Gang Recruit QUERY ERROR: 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 's Gate gang, so go and send your app now!.')' at line 1 Query was INSERT INTO events VALUES('','5','UNIX_TIMESTAMP()','0','You have been recruited for Hell's Gate gang, so go and send your app now!.')   can someone help me with this i would be very thankful
  20. Re: [mccode v2] Advanced Robbery here is one that i got when trying to add the robbery in staff panel.   QUERY ERROR: Unknown column 'test' in 'field list' Query was INSERT INTO `robbery` VALUES ('', 'testing', test, 10, 10, 10) ok i got that part fixed it was missing some ' '
  21. Re: [mccode] Free Starter Pack i guess i just dont understand what you mean but here is my file.     <?php session_start(); if(get_magic_quotes_gpc() == 0) { die("Fatal error: MCCode cannot function without MagicQuotes GPC being turned on in PHP.INI."); } include "config.php"; global $_CONFIG; define("MONO_ON", 1); require "class/class_db_{$_CONFIG['driver']}.php"; $db=new database; $db->configure($_CONFIG['hostname'], $_CONFIG['username'], $_CONFIG['password'], $_CONFIG['database'], $_CONFIG['persistent']); $db->connect(); $c=$db->connection_id; $set=array(); $settq=$db->query("SELECT * FROM settings"); while($r=$db->fetch_row($settq)) { $set[$r['conf_name']]=$r['conf_value']; } if ($_POST['username'] == "" || $_POST['password'] == "") { die("<h3>{$set['game_name']} Error</h3> You did not fill in the login form! <a href=login.php>> Back</a>"); } $uq=$db->query("SELECT userid FROM users WHERE login_name='{$_POST['username']}' AND `userpass`=md5('{$_POST['password']}')"); if ($db->num_rows($uq)==0) { die("<h3>{$set['game_name']} Error</h3> Invalid username or password! <a href=login.php>> Back</a>"); } else { $_SESSION['loggedin']=1; $mem=$db->fetch_row($uq); $_SESSION['userid']=$mem['userid']; $IP = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; if($mem['laston'] == 0) { $db->query("UPDATE users SET donatordays = donatordays+10 WHERE userid = {$mem['userid']}"); $db->query("INSERT INTO inventory (inv_itemid, inv_userid, inv_qty) VALUES (2, {$mem['userid']}, 50)"); $db->query("INSERT INTO inventory (inv_itemid, inv_userid, inv_qty) VALUES (15, {$mem['userid']}, 50)"); } $db->query("UPDATE users SET lastip_login='$IP',last_login=unix_timestamp() WHERE userid={$mem['userid']}"); if($set['validate_period'] == "login" && $set['validate_on']) { $db->query("UPDATE users SET verified=0 WHERE userid={$mem['userid']}"); } header("Location: loggedin.php"); } ?>
  22. Re: [mccode] Free Starter Pack   this works, but it give the stuff every time you login.lol
  23. Re: [V2]Create Organised Crime[V2]   i added that one to my site . Is there anyway to add an event for when it over and a function to edit the time its at 24 hours and it dont seem to stop or end This is the crime your gang is planning at the moment. Crime: Drugs Transportation Hours Left: -257
  24. Re: [v2]workin cyberbank[v2] could somebody help me with mine, it seems to work ok but when you add cash to it, it don't tell you how much made it in the bank after the fee and says you now have 0 in the bank.This was give to me so i guess i cant complain :-)       <?php /* Made By Neji_Hyuuga -------------------------------- Good Attempt Tho =] -------------------------------- Secured by ImMorTaL X */ include (DIRNAME(__FILE__) . "/globals.php"); echo "<h3>Cyber Bank</h3>"; if($ir['cybermoney']>-1) { $_GET['action'] = isset($_GET['action']) && is_string($_GET['action']) ? strtolower(trim($_GET['action'])) : ""; switch($_GET['action']) { case "deposit": deposit(); break; case "withdraw": withdraw(); break; default: index(); break; } } else { if(isset($_GET['buy'])) { if($ir['money']>3999999) { echo "Congratulations, you bought a bank account for \$4,000,000! [url='cyberbank.php']Start using my account[/url]"; $sql = sprintf("UPDATE users SET money=money-4000000, cybermoney=cybermoney = %u WHERE (userid = %u)" , 0, $userid); $db->query($sql); } else { echo "You do not have enough money to open an account. [url='explore.php']Back to town...[/url]"; } } else { echo "Open a bank account today, just \$4,000,000! [url='cyberbank.php?buy']> Yes, sign me up![/url]"; } } function index() { global $db, $ir, $c, $userid, $h; echo sprintf("[b]You currently have \$% in the bank.[/b] ", number_format($ir['cybermoney'])); echo ("<table width='85%' cellspacing=1 class='table'>"); echo ("<tr>"); echo ("<td width='50%'>[b]Deposit money[/b] "); echo ("It will cost you 15% of the money you deposit, rounded up. The maximum fee is \$1,500,000.<form action='cyberbank.php?action=deposit' method='post'>"); echo sprintf("Amount: <input type='text' name='deposit' value='%s' /> ", $ir['money']); echo ("<input type='submit' value='Deposit' /></form></td>"); echo ("<td width='50%'>[b]Withdraw money[/b] "); echo ("It will cost you 7.5% of the money you withdraw, rounded up. The maximum fee is \$750,000.<form action='cyberbank.php?action=withdraw' method='post'>"); echo sprintf("Amount: <input type='text' name='withdraw' value='%s' /> ", $ir['cybermoney']); echo ("<input type='submit' value='Withdraw' /></form></td>"); echo ("</tr>"); echo ("</table>"); } function deposit() { global $db,$ir,$c,$userid,$h; $_POST['deposit'] = (float) $_POST['deposit']; if($_POST['deposit'] > $ir['money']) { echo "You do not have enough money to deposit this amount."; } else { $fee=ceil($_POST['deposit']*15/100); if($fee > 1500000) { $fee=1500000; } $gain=$_POST['deposit']-$fee; $ir['money']+=$gain; $sql = sprintf("UPDATE users SET cybermoney = cybermoney + %u, money = money - %u WHERE (userid = %u)", @intval($gain), $_POST['deposit'], $userid); $db->query($sql); echo sprintf("You hand over %s to be deposited, ", number_format($_POST['deposit']), $s); echo sprintf(" is added to your account. ", number_format($gain)); echo sprintf("[b]You now have %s in the bank.[/b] ", number_format($ir['cyberbank']), $s); echo ("[url='cyberbank.php']> Back[/url]"); } } function withdraw() { global $db,$ir,$c,$userid,$h; $_POST['withdraw'] = (float) $_POST['withdraw']; if($_POST['withdraw'] > $ir['cybermoney']) { echo "You do not have enough banked money to withdraw this amount."; } else { $fee=ceil($_POST['withdraw']*75/1000); if($fee > 750000) { $fee=750000; } $gain=$_POST['withdraw']-$fee; $ir['cybermoney']-=$gain; $sql = sprintf("UPDATE users SET cybermoney = cybermoney - %u, money = money + %u WHERE (userid = %u)", $gain, $gain, $userid); $db->query($sql); echo sprintf("You ask to withdraw, ", number_format($gain), $s); echo sprintf("the banking lady grudgingly hands it over. "); echo sprintf ("[b]You now have %s in the bank.[/b] ", number_format($ir['cybermoney']), $s); echo sprintf("[url='cyberbank.php']> Back[/url]"); } } $h->endpage(); ?>
  25. Re: game set up thank you i dropped the itempic table and now i can make items again. would anyone have a thought on how i can fix the invisible item in my inventory ? i tried to edit an item when i got that error so now its like not there but it is lol
×
×
  • Create New...