Jump to content
MakeWebGames

jeeppimp

Members
  • Posts

    62
  • Joined

  • Last visited

    Never

Everything posted by jeeppimp

  1. Re: Transferring Crimes? Ok thanks all! just looking for an ez way.... :-D
  2. Re: Free Loan Shark System that seem to work!! thanks... :mrgreen:
  3. Is it possible too transfer all crimes from V1 to V2? If so could someone please explain this? :-)
  4. Re: Free Loan Shark System I think its setup so low level numbers, lest loan amount you can take out. say Level:2 loan would be something like $4200 and you cant take from it until you pay it back... 4200 isn't much... for Level:1 it's less....
  5. Re: Simple user rating system v2 How about having it so you can rate everone at lest once aday! Ahh Please! :-D :evil:
  6. Re: Lottery [v1 and v2] works well for V2, thanks!! :-D
  7. Re: Emerngency Surgery for V2 Thanks for this mode!! I stuck it under hospital at the top in mainmenu.php so it comes out only when you get put in the H like so...   print "[url='hospital.php']Hospital ($hc)[/url] [url='inventory.php']Inventory[/url] [url='emergencysurgery.php']Emergency Surgery[/url] ";
  8. Re: Check this idiot out... I have to say though, V2 is look good for 80 buck! LMAO! DEMO doesn't even work!! WHAT A LOSER!!!
  9. Re: Horse Racing[v1 + v2] Thanks for this this is a pretty cool addon!   TheAce, what did you set the % at?
  10. Re: Free 2 - Gym Nice! works well..... Thanks...
  11. Re: Putt Putt Golf   this one is hosted on addictinggames.com you would be using there bandwidth :P I don't know about you but this is fucken wrong!! Bombing someone else's bandwidth for your own personnel fun and enjoyment.... :x :x
  12. Re: Adding Cities! Help Please!!! :) I had the same problem, go here and read this this will help you fix the problem. read post 6 and 9 http://criminalexistence.com/ceforums/i ... ic=12485.0
  13. Re: V2 cars mod I installed one on mine and even the background color is the same! lmao! ugle tan! :mrgreen:
  14. Re: about Lucky Boxes? _Eagle thanks a million!
  15. Trying to add (Will's) to my Lucky Boxes when picked! I want it to be sent dir to inventory, can some one show me how please?   case 4: $will=rand(1,5); print "Outcome (gained {$will} will)"; $db->query("UPDATE users SET will=will+{$will} where userid=$userid"); break;
  16. Re: userlist.php with a few mods to it V2 Good job! thanks :-D
  17. Re: Money,crystals cap Figured it out, ALTER TABLE `houses` CHANGE `hPRICE` `hPRICE` BIGINT( 21 ) NOT NULL DEFAULT '0' staff_house.php edit int to float done....
  18. Re: Money,crystals cap Question! that seem too work ok but, the only thing, I can't get the prices of my houses above 2.1bill. what should I edit to fix this?
  19. Re: [V2] Staff_cities Help yeah, that line was fine in mine, I believe that was at line 77, my problem was at line 40 it was missing " ' " also
  20. Re: Need help with Staff_cities.php Spazz thanks! That link helped solved the problem! you the man!
  21. Re: [V2] Staff_cities Help 'Bump' I ran into this problem where I couldn't add cities also, here's a similar fix for V2. in staff_cities line-40 Minimum Level: <input type='text' name=minlevel' />   Change it with this. Minimum Level: <input type='text' name='minlevel' />
  22. When I call up the Cities page in staff menu it show up but it will not a low me create cities, After pressing Add Cities, I get nothing... could some take a look at it for me please? John. staff_cities.php   <?php include "sglobals.php"; if($ir['user_level'] > 2) { die("403"); } //This contains city stuffs switch($_GET['action']) { case "addcity": addcity(); break; case "editcity": editcity(); break; case "delcity": delcity(); break; default: print "Error: This script requires an action."; break; } function addcity() { global $db, $ir, $c, $h, $userid; $minlevel=abs((int) $_POST['minlevel']); $name=$_POST['name']; $desc=$_POST['desc']; if($minlevel and $desc and $name) { $q=$db->query("SELECT * FROM cities WHERE cityname='{$name}'"); if($db->num_rows($q)) { print "Sorry, you cannot have two cities with the same name."; $h->endpage(); exit; } $db->query("INSERT INTO cities VALUES(NULL, '$name', '$desc', '$minlevel')"); print "City {$name} added to the game."; stafflog_add("Created City $name"); } else { print "<h3>Add City</h3><hr /> <form action='staff_cities.php?action=addcity' method='post'> Name: <input type='text' name='name' /> Description: <input type='text' name='desc' /> Minimum Level: <input type='text' name=minlevel' /> <input type='submit' value='Add City' /></form>"; } } function editcity() { global $db, $ir, $c, $h, $userid; switch($_POST['step']) { case "2": $minlevel=abs((int) $_POST['minlevel']); $name=$_POST['name']; $desc=$_POST['desc']; $q=$db->query("SELECT * FROM cities WHERE cityname='{$name}' AND cityid!={$_POST['id']}"); if($db->num_rows($q)) { print "Sorry, you cannot have two cities with the same name."; $h->endpage(); exit; } $name=$_POST['name']; $q=$db->query("SELECT * FROM cities WHERE cityid={$_POST['id']}"); $old=$db->fetch_row($q); $db->query("UPDATE cities SET cityminlevel=$minlevel, citydesc='$desc', cityname='$name' WHERE cityid={$_POST['id']}"); print "City $name was edited successfully."; stafflog_add("Edited city $name"); break; case "1": $q=$db->query("SELECT * FROM cities WHERE cityid={$_POST['city']}"); $old=$db->fetch_row($q); print "<h3>Editing a City</h3><hr /> <form action='staff_cities.php?action=editcity' method='post'> <input type='hidden' name='step' value='2' /> <input type='hidden' name='id' value='{$_POST['city']}' /> Name: <input type='text' name='name' value='{$old['cityname']}' /> Description: <input type='text' name='desc' value='{$old['citydesc']}' /> Minimum Level: <input type='text' name='minlevel' value='{$old['cityminlevel']}' /> <input type='submit' value='Edit City' /></form>"; break; default: print "<h3>Editing a City</h3><hr /> <form action='staff_cities.php?action=editcity' method='post'> <input type='hidden' name='step' value='1' /> City: ".location_dropdown($c, "city")." <input type='submit' value='Edit City' /></form>"; break; } } function delcity() { global $db,$ir,$c,$h,$userid; if($_POST['city']) { $q=$db->query("SELECT * FROM cities WHERE cityid={$_POST['city']}"); $old=$db->fetch_row($q); if($old['cityid']==1) { die("This city cannot be deleted."); } $db->query("UPDATE users SET location=1 WHERE location={$old['cityid']}"); $db->query("UPDATE shops SET shopLOCATION=1 WHERE shopLOCATION={$old['cityid']}"); $db->query("DELETE FROM cities WHERE cityid={$old['cityid']}"); print "City {$old['cityname']} deleted."; stafflog_add("Deleted city {$old['cityname']}"); } else { print "<h3>Delete City</h3><hr /> Deleting a city is permanent - be sure. Any users and shops that are currently in the city you delete will be moved to the default city (ID 1).<form action='staff_cities.php?action=delcity' method='post'> City: ".location_dropdown($c, "city")." <input type='submit' value='Delete City' /></form>"; } } function report_clear() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] > 3) { die("403"); } $_GET['ID'] = abs((int) $_GET['ID']); stafflog_add("Cleared player report ID {$_GET['ID']}"); $db->query("DELETE FROM preports WHERE prID={$_GET['ID']}"); print "Report cleared and deleted! [url='staff_users.php?action=reportsview']> Back[/url]"; } $h->endpage(); ?>
  23. Re: userlist.php with a few mods to it V2 Nice, Just installed it! +1 I might add to this so (Id:1) comes out as Owner or unless you want to do it?
  24. Re: Crons Guide for v1 I've done it that way also with no secess, I've added * * * * * curl, at the tale end of the link and it worked for me like so. * * * * * curl http://amazon-survival.com/crons/are/no ... spital.php * * * * * curl Not sure if its right or wrong but it worked...
  25. Re: [v1] New criminal.php layout (FREE) Well I'd figure I give this a try with out using V1 converting over to V2. This is all probably wrong but what the hell, you need to start somewhere It might as well be here! What I did was added a name called "Payout" From this <table width='75%' cellspacing=1 class='table'><tr><th>Crime</th><th>Cost</th><th>Do</th></tr>"; To this <table width='75%' cellspacing=1 class='table'><tr><th>Crime</th><th>Cost</th><th>Payout</th><th>Do</th></tr>"; --------------------------------------------------------------------------------------------------- Changed this to a '4' colspan from '3' print "<tr><td colspan='4' class='h'>{$r['cgNAME']}</td></tr>"; _______________________________________________________________________________________ Now what I'm trying to do is place the percentage of the crime under PAYOUT, having a hard time with this. Do I need to create a table now in SQL called Payout? Need a little guidance on this...   *edit* I think I just figure it out. I added </td><td>{$v['crimeXP']} As so, print "<tr><td>{$v['crimeNAME']}</td><td>{$v['crimeBRAVE']} Brave</td><td>{$v['crimeXP']}</td><td>Do</td></tr>";   Is there any thing ells I need to do?
×
×
  • Create New...