-
Posts
2,657 -
Joined
-
Last visited
-
Days Won
74
Content Type
Profiles
Forums
Events
Everything posted by Uridium
-
[mccode v2] UPGRADED upload pics add pics everywhere [RECODED]
Uridium replied to Uridium's topic in Free Modifications
Re: {MOD} UPGRADED upload pics add pics everywhere [RECODED] Recoded this due to ITMPICNAME issuses so ive removed that option and now the Item Description can be calle for by the usual ITMDESC command... ISSUE was when inserting a new pic it worked fine. But when you came to edit the Picture the ITMPICNAME sql would Conflict with ITMPIC.... That has now been Resolved.. -
Re: MCC sending out spam emails Thanks for your Prompt MD Im waiting for conformation of the emails that they call spam i have disabled the Password script as it has a email form system. and will wait too see if anything else develops as regards a Trojan Infection. I'll try to find a way to scour my system for events.
-
I was told today that my subdomain was sending out spam emails i only have one email account for this domain that being an info email and its empty. Yet my host insits the subdomain is sending out spam emails.. messages from host.. justin cormier (9/27/2008 5:28:47 AM): As stated in the form, if your clients wish to send bulk email it must be opt-in email list and must be verified. If not a verified opt-in list the domain will be suspended or possibly terminated. justin cormier (9/27/2008 5:25:44 AM): Ur subdomain zenellion is causin spam issues server owners are pissed lol Im not sure why spam emails are beng sent the game itself is not even open to the public.. can anyone shed some light on this plz or if you have had a similar occurance.
-
Re: [mccode] item images Send me your YM or MSN addy and i will Add you I dont think you have the complete File for the images to show you up. The script on this page doesnt have the SQL and other additions to the items.php that is needed for pics to show...
-
Ok im scraping the bottom of the Barrel here the ZX Spectrum was Introduced in 1982 which officially makes it a classic so here ya go 26 Years on it lives again on MCC Call this file speccy.php <?php require "globals.php"; if($ir['prison'] or $ir['hospital']) { die("Awww you cant access this page whilst in Jail or Hosp Sorry!!"); } ?> <html> <body bgcolor='#000000'><h1>ZX SPECTRUM EMULATOR</h1> <center> <iframe src='http://twinbee.org/hob/play.php?output=frame' frameborder='no' scrolling='no' width='256' height='200'> </iframe> <center>[url='speccy.php']<center><h2>Click Here to change Game</h2></center>[/url] </html> thats it your done
-
Re: [mccode] item images Have a look at this post http://criminalexistence.com/ceforums/index.php?topic=24996.0
-
Re: [mccode] item images for this code to work you need to change the original that was posted on page 1 from [img={$r[] to [img={$i[] heres and more indepth example of the code that i modified for mine which will also give you an ALT or in this case TITLE description of each picture... The ALT is taken from the ITEM when you added it from your admin panel print"</td><td>[img=itmpics/{$i[]"; On mine i created a folder called itmpics hence why the SRC is pointing to it...
-
[mccode v2] Enhanced Hall of fame COMPLETED!
Uridium replied to Haunted Dawg's topic in Free Modifications
Re: Enhanced Hall of fame [v2] COMPLETED! If your Getting that on the BUSTS i am also seeing the same message. But then i dont actually have the Script for ammont of Busts Added so that may be the cause of the error -
[mccode v2] Enhanced Hall of fame COMPLETED!
Uridium replied to Haunted Dawg's topic in Free Modifications
Re: Enhanced Hall of fame [v2] COMPLETED! KILLAH... Im getting Javascript Errors when i try to use ASC or DESC on line 157 which appears to be just ) -
Re: My First MOD EVER!!! Need help..think there is big time mistakes... Your getting there POLDER :) havent tested the script but by looking at it, the script puts money into an account when a button is pressed on a thursday.. Few pointer though.. just to keep you on the right track... :) Always put HTML at the end of a script as sometimes you will find it conflicting with the global_func.php When closing out a php the ?php> is not needed just a simple ?> will do.. The table for your USER should be USERS i make that mistake quite alot as well... But for a first attempt your doing Okies.... What i usualy do is look at already coded scripts and just alter things on trial and error to see the outcome if it dont work just revert it bak to how it was and have another go.. You will start to pick it up quite fast that way.
-
When Users try to access pages they should'nt see they are usually Greeted with a message as below... 403: Access Denied Fatal error: Call to a member function endpage() on a non-object in /xxxx/xxxxxx/public_html/sglobals.php on line 69 To Prevent this unsightly message open up sglobals .php and look for the 403 error if($ir['user_level'] <= 1) { print("403: Access Denied"); $h->endpage(); exit; } And over write with this one if($ir['user_level'] <= 1) { print("<center><Body bgcolor='#000000'><font size=4><font color='red'>RESTRICTED AREA</font> [url='index.php']<font color='yellow'>Return to Game</font>[/url]</center>"); die(); exit; } You can also add the above coding to your smenu.php and staff.php Just makes your pages look more dignified than having a Function error message displayed everywhere...
-
Re: Another New Mailbox No Disrespect to you ISHZ and i dont mean to make you look Silly but That script as POG-ONE said has already been done.. This is the one I am Using With Credits Still Intact. <?php ################################### ## Made By -Freek- ## ## Mail Box Add-on ## ## Copyright 2007 Deadly Mafia ## ################################### include "globals.php"; $fix= abs((int) $_GET['fix']); switch($fix) { case '1': mail_fix(); break; case '2': mail_2(); break; case '3': mail_3(); break; default: error(); break; } // Comment added by a_bertrand and remaining code removed... etc... ?> Just one thing to remember on here Everyone knows Everyone Else's Work...
-
Re: [MOD] Auto Hide Game Pages You dont have to Add it to Hide the whole screen im simply showing you what can be done with it. if you put it in Viewusers it can hide images so the page loads fasrer change this line to hidden to hide images before page loads.. <SPAN ID=Header Style="Visibility:visible; <SPAN ID=Header Style="Visibility:hidden; also you can change <INPUT TYPE=mouseover VALUE="Welcome To {$set['game_name']}" onmouseover="goAgain();"> to <INPUT TYPE=button VALUE="Welcome To {$set['game_name']}" onClick="goAgain();"> to act as a button instead of a mouse over...
-
Not a very large Mod this lets you Hide your game page before being caught by your boss ;) Hover mouse over the Text for the page to be Hidden.. Open up header.php where you see print <<<OUT Just add these lines.. <SCRIPT LANGUAGE="javascript"> function goAgain() { Header.filters[0].Apply(); if (Header.style.visibility == "visible") { Header.style.visibility = "hidden"; Header.filters.revealTrans.transition=23; } else { Header.style.visibility = "visible"; Header.filters[0].transition=23; } Header.filters[0].Play(); } </SCRIPT> <INPUT TYPE=mouseover VALUE="Welcome To {$set['game_name']}" onmouseover="goAgain();"> <SPAN ID=Header Style="Visibility:visible; Filter:revealTrans(duration=2); width="50%"> To finish the code off add </SPAN> After LINKS so it looks like this. </SPAN> OUT; 1 Problem is it dont work on Mozilla FireFox but is fine on IE SCREENSHOTS/// AFTER MOUSE OVER TEXT
-
Re: I need a Project Nice one or just use the Jailkeys mod so you can open the safe only when you have keys to do so. wow how bored am i lol
-
Re: I need a Project Ooops my bad im that used to posting on here
-
As ya all know i dont make mods from scratch i just kinda alter ones and try make them do things that people find useful.. but im running outta ideas to remod an already done mod so come on give me some suggestions im bored stupid here,,,
-
Re: Searching Are there anymore of these Scripts left ? if so i would like one. I have been trying to contact Reload for days but to no avail so if anyone could help i would be greatful...
-
[mccode] UPGRADE Retrieve original Password
Uridium replied to Uridium's topic in Free Modifications
Re: [MOD] UPGRADE Retrieve original Password Yep just found that out... I tried 10 before posting and they worked fine seems if the users are very imaginative the site cant recognise it. So i guess its back to the drawing board lol -
Re: [V2] SafeHouse Well like i said just putting my Penny's worth in, Seems pointless even so. I mean if your in there for protection whats the use of being in the game to begin with. Number of possibilites would be. 1= They time out after a lengh of time. 2= They are charge by the hour for being in there
-
[mccode] UPGRADE Retrieve original Password
Uridium replied to Uridium's topic in Free Modifications
Re: [MOD] UPGRADE Retrieve original Password Not sure what the Above means was enever anygood at morse code ;) -
Im sure members who lose passwords are fed up of having to renew them so ive slightly aletered a script made by WILL from this topic http://criminalexistence.com/ceforums/index.php?topic=4666.15 OOPS nearly forgot call this file forgot_password.php if you are using the Original from WILL and dont want to lose that then call this file retrieve_password.php but remember to change any links in the script to retrieve_password.php as well... So that you can Retrieve your original Password <?php /*----------------------------------------------------------- -- William -- Password reset ------------------------------------------------------------*/ 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; require "global_func.php"; print "<html> <head> <title>YOUR GAME NAME Forgot Password</title> <style> body { font-family:Verdana;font-size:8pt;color: black;background: #C3C3C3; } .details { border: 2px dashed red; background: #F88;width:50%;height=120; } .details table,tr,td { font-size:10pt;border: 1px solid white; } .logo img { border: none; } a { text-decoration: none; } </style> </head> <body><center><div class=logo>[img=logo.png]</div>"; if($_GET['action'] == '') { print "<form action='forgot_password.php?action=submit' method='post'>Your Email Address <input type='text' name='email'/><input type=submit value='Retrieve Password'></form> [url='login.php']<font color=black>>back</font>[/url]"; } if($_GET['action'] == 'submit') { if(!$_POST['email']) { die("You forgot to enter your email address!"); } else { $a=$db->query("SELECT * FROM users WHERE email='{$_POST['email']}'") or die(mysql_error()); $b=mysql_fetch_array($a); if ($db->num_rows($a)==0) { print "This email address does not exist <a href=forgot_password.php>Back</a>"; exit; } //$key=randomString(10); $db->query("SELECT * FROM users WHERE userpass='{$_POST['userpass']}'") or die(mysql_error()); $to = $b['email']; $subject = "YOUR GAME NAME"; $headers = "From: YOUR GAME EMAIL"; $body = "You have requested a Retrieval of an old Password! The password is encrypted as {$b['userpass']} you will need to visit ths site to view its orginal Form [url]http://wwwmd5decryption.com[/url] insert the HASH displayed here in to the Decryption"; mail($to, $subject, $body, $headers); print " <font size=4>Your Encrypted password has been sent to your Email Address Use the link in your Email To Decrypt it"; } } ?> This will Send out your MD5 Encrypted Password which can be Decrypted once rhey recieve the email... Change the YOURGAME to that of your games name and thats about it..
-
Re: [V2] SafeHouse Some decent posts here just adding my pennys worth. not that it counts for anything ;) Good idea for safehouse but my oppinion would be you safe for an hour but cant enter for the rest of the day.. So you would need an Hour cron that times you out of the Safehouse and a Daycron that resets your value from 1 to zero on your tables obviously needed in the Users Table
-
Re: The Drug Deal --- Free V2 Mod you mentioned above about adding to cron day wouldnt it be easier to leave this file as it is and call it drg_cron.php and add a new cron job for it for an day <?php include "config.php"; global $_CONFIG; if($_GET['code'] != $_CONFIG['code']) { die(""); } 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; //if adding to cron_day only add from here downwards $d=$db->query("SELECT * FROM drugs where drugid=1"); $t=$db->fetch_row($d); $chance6 = rand(50,100); $db->query("UPDATE drugs SET price=$chance6 WHERE drugid=1"); if ($t['lowprice'] > $chance6) { $db->query("UPDATE drugs SET lowprice=$chance6 WHERE drugid=1"); } if ($t['highprice'] < $chance6) { $db->query("UPDATE drugs SET highprice=$chance6 WHERE drugid=1"); } $d=$db->query("SELECT * FROM drugs where drugid=2"); $t=$db->fetch_row($d); $chance7 = rand(75,125); $db->query("UPDATE drugs SET price=$chance7 WHERE drugid=2"); if ($t['lowprice'] > $chance7) { $db->query("UPDATE drugs SET lowprice=$chance7 WHERE drugid=2"); } if ($t['highprice'] < $chance7) { $db->query("UPDATE drugs SET highprice=$chance7 WHERE drugid=2"); } $d=$db->query("SELECT * FROM drugs where drugid=3"); $t=$db->fetch_row($d); $chance8 = rand(100,150); $db->query("UPDATE drugs SET price=$chance8 WHERE drugid=3"); if ($t['lowprice'] > $chance8) { $db->query("UPDATE drugs SET lowprice=$chance8 WHERE drugid=3"); } if ($t['highprice'] < $chance8) { $db->query("UPDATE drugs SET highprice=$chance8 WHERE drugid=3"); } $d=$db->query("SELECT * FROM drugs where drugid=4"); $t=$db->fetch_row($d); $chance1 = rand(125,175); $db->query("UPDATE drugs SET price=$chance1 WHERE drugid=4"); if ($t['lowprice'] > $chance1) { $db->query("UPDATE drugs SET lowprice=$chance1 WHERE drugid=4"); } if ($t['highprice'] < $chance1) { $db->query("UPDATE drugs SET highprice=$chance1 WHERE drugid=4"); } $d=$db->query("SELECT * FROM drugs where drugid=5"); $t=$db->fetch_row($d); $chance2 = rand(150,200); $db->query("UPDATE drugs SET price=$chance2 WHERE drugid=5"); if ($t['lowprice'] > $chance2) { $db->query("UPDATE drugs SET lowprice=$chance2 WHERE drugid=5"); } if ($t['highprice'] < $chance2) { $db->query("UPDATE drugs SET highprice=$chance2 WHERE drugid=5"); } $d=$db->query("SELECT * FROM drugs where drugid=6"); $t=$db->fetch_row($d); $chance3 = rand(175,225); $db->query("UPDATE drugs SET price=$chance3 WHERE drugid=6"); if ($t['lowprice'] > $chance3) { $db->query("UPDATE drugs SET lowprice=$chance3 WHERE drugid=6"); } if ($t['highprice'] < $chance3) { $db->query("UPDATE drugs SET highprice=$chance3 WHERE drugid=6"); } $d=$db->query("SELECT * FROM drugs where drugid=7"); $t=$db->fetch_row($d); $chance4 = rand(200,250); $db->query("UPDATE drugs SET price=$chance4 WHERE drugid=7"); if ($t['lowprice'] > $chance4) { $db->query("UPDATE drugs SET lowprice=$chance4 WHERE drugid=7"); } if ($t['highprice'] < $chance4) { $db->query("UPDATE drugs SET highprice=$chance4 WHERE drugid=7"); } $d=$db->query("SELECT * FROM drugs where drugid=8"); $t=$db->fetch_row($d); $chance5 = rand(225,275); $db->query("UPDATE drugs SET price=$chance5 WHERE drugid=8"); if ($t['lowprice'] > $chance5) { $db->query("UPDATE drugs SET lowprice=$chance5 WHERE drugid=8"); } if ($t['highprice'] < $chance5) { $db->query("UPDATE drugs SET highprice=$chance5 WHERE drugid=8"); } ?>