Cyanide
Members-
Posts
107 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by Cyanide
-
Re: [v1] Issue a Threat [FREE] Thank you, glad you like it.
-
Re: [Free][v1][v2] Password reset code Awesome mod, works perfect, thanks for posting!
-
Re: Updated Mailbox [v1] Can someone post some screen shots?
-
Re: [v1] Issue a Threat [FREE] You didn't pay for the mod it's self, it came in a package deal, you payed for the install along with the install of about 5 or 6 other mods.
-
Re: PHAOS COMBINED WITH MCCODES I would like to check it out, my msn is [email protected]
-
Re: Free gamedemo thingy titlemouse has asked for every post in this forum to be converted to v2 LMAO I posted the conversion tutorials for a reason, stop asking for people to do it for you, take your thumbs out of your ass and do it yourself. You will never learn anything with other people doing it for you.
-
Re: stop same ip transfers very nice addition
-
Multi accounts, less proxys. Learn to stop it here
Cyanide replied to topmorpg's topic in Free Modifications
Re: Multi accounts, less proxys. Learn to stop it here Thanks, I will definitely be using this...I hate proxys -
Re: [v1] Issue a Threat [FREE] Thanks for all the positive feedback, if enough people want me to fix it so you cant threat yourself I will....I have just finished a one of a kind Newspaper mod, and Vorlen and I have finally finished our customizable blogs mod. You can check both of them out on http://criminalmadness.net
-
Re: Passport Mod Multi Version I'm going to modify this a bit, I will repost and give credit where it is due. very nice post
-
Re: Add a Radio to your site [Free mod] v 0.01 Awesome mod bro
-
Re: [v1] Issue a Threat [FREE] bump :evil:
-
Re: [v1]Virus Mod[v1] Did I missread? Or did someone say iseeyou copied Zaver when Zaver was one of the worst mod thieves to ever use these forums....I say "was" because he says he has cleaned up his act and I havent seen anything to prove otherwise as of yet......
-
Re: Profile Music I used this mod for the music player in my blogs mod on Criminal Madness, works great, but I found out something that some of you might be interested in. Alot of you are familiar with playlist.com, for those of you who are not, its a free website where you can make an online playlist that holds up to 100 songs, when are done with the playlist, the site will generate some code for you to embed a player in you myspace, facebook, etc etc....but if you click the link to get the "GAIA" code, you can use it with this mod, so users can have up to 100 songs on there profile with autostart and a shuffle feature. Great mod iseeyou.
-
Re: Best Security [Made by me] ..laffs
-
Re: [v1] Issue a Threat [FREE] Thanks for converting.....I didnt feel like it
-
Re: [v1] Issue a Threat [FREE] Thanks.
-
What does this script do? A player can issue a threat to another player to scare them, if the threat succeeds, the targeted player will lose all of their brave. If the threat fails, then the issuing player will lose theirs. What does this mod require? This mod requires a player to have full brave to attempt a threat. If the threat succeeds, the issuer will lose 1 brave per level. If it fails, the issuer will lose all brave. Is this mod easy to install? Yes, all you have to do is upload threat.php file and add a link to viewuser.php Where can I see it in action? Check it out at http://criminalmadness.net ---------------------------------------------------------------------------------------------------- Ok, so now you should have no questions about the mod, if you do, post them and I'll answer them. Instructions: 1. Save this as threat.php <?php //-----------------------------------------------------------------------// // Issue A Death Threat // // This is free code and can be modified or redistributed. // // Please do not try and sell this mod, it is meant to be FREE. // // [url]http://dreamburst.com[/url] - [url]http://criminalmadness.net[/url] // // File Name: threat.php // //-----------------------------------------------------------------------// session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); $_POST['ID'] = abs((int) $_POST['ID']); $_GET['ID'] = abs((int) $_GET['ID']); if($_POST['ID']) { $q=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid={$_POST['ID']}",$c); $r=mysql_fetch_array($q); $chance = rand(1,100); //------------------------------------------------------------------// // DON'T EDIT ABOVE THIS LINE IF YOU DON'T KNOW WHAT YOU'RE DOING!! // //------------------------------------------------------------------// //------------------------------------------------------------------------// //Change the next line to increase / decrease the success rate of a threat// // The higher the number the better chance a player has to be successful // // eg. If the number is 60 then the player has a 59% chance of succeeding // //------------------------------------------------------------------------// if($chance < 50) { //Change the following line to control how much brave someone will lose for failing a death threat// $div = rand(1,3); $brave=$r['maxbrave']/$div; mysql_query("UPDATE users SET brave=0 WHERE userid=$userid",$c); //This is the event the target will recieve if the threat is failed// event_add($r['userid'],"[url='viewuser.php?u=$userid']{$ir['username']}[/url] pulled a gun and threatened your life, but your friends stepped in and scared them off.",$c); //The following is the fail text// print "[b]1.[/b] You approach {$r['username']} with your weapon in hand. [b]2.[/b] You pull them into an alley and issue a death threat.... [b]3.[/b] Out of the corner of your eye you see {$r['username']}s friends enter the alley way. [b]4.[/b] Scared that they will beat you senceless you run away.... [b]Result:[/b] <font color='red'>Failed - You lose $brave bravery.</font> "; } else { //This is how much brave it will cost to perform a successful death threat// $brave=$ir['level']*1; mysql_query("UPDATE users SET brave=brave-$brave WHERE userid=$userid",$c); mysql_query("UPDATE users SET brave=0 WHERE userid={$r['userid']}",$c); //This is the event the target will recieve if the threat is successful// event_add($r['userid'],"[url='viewuser.php?u=$userid']{$ir['username']}[/url] put their gun to your head and threatened your life, causing you to lose all your brave.",$c); //The following is the success text// print "[b]1.[/b] You approach {$r['username']} with your weapon in hand. [b]2.[/b] You pull them into an alley and wave it in their face after issueing a threat. [b]3.[/b] {$r['username']} breaks out in a sweat and starts turning white. [b]4.[/b] Scared to death they turn and run away not to look back. [b]Result:[/b] <font color='green'>Succeeded - {$r['username']} loses all their brave.</font> "; } } else { $q=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid={$_GET['ID']}",$c); if(mysql_num_rows($q) == 0) { //Error message// print "[b]<font color='red'>ERROR:[/b]</font> Invalid User ID. [url='index.php']-Go Home[/url]"; } else { $r=mysql_fetch_array($q); //This is how much brave it will cost to issue a threat (printed on the confirm page)// $brave=$ir['level']*1; //This is the text printed on the confirm page// if($ir['brave'] >= $ir['maxbrave']) { print "You are about to issue a death threat to [b]{$r['username']}[/b], this will cost you $brave brave. <form action='threat.php' method='post'><input type='hidden' name='ID' value='{$_GET['ID']}' /><input type='submit' value='Issue Death Threat' /></form>"; } else { //Error Message// print "[b]<font color='red'>ERROR:</font>[/b] You must have maximum bravery to use this feature. [url='index.php']-Go Home[/url]"; } } } $h->endpage(); ?> 2. Add this link to viewuser.php [[url='threat.php?ID={$r[']Issue a Threat[/url]] ...and you're done...Enjoy. Don't forget to visit http://dreamburst.com
-
Re: Profile Music Very nice mod, thought i would post this to help out.... Use this for the SQL, will make the install alot faster: ALTER TABLE `users` ADD `music` TEXT CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL , ADD `musicc` ENUM( 'Off', 'On' ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT 'Off';
-
Re: SMF & MCCodes? Much thanks MD
-
Re: [Free] Log Suspicious Users Very, very nice. I'll definitely be using this mod. If I could give you +1 I would. LoL
-
Ok, I don't know if anyone has posted this, and I did not code this, it's pretty much open source on any coding website out there. First, open your images folder and create a new folder, name it "random". Ok, lets say you have 3 banners you want to be displayed on your game, name them 1.jpg, 2.jpg, and 3.jpg or .gif, or .png, whatever you want, just make sure they are all the same file type. Upload those 3 banners into the images/random directory. Open header.php and find a line of code similar to this: $enperc=(int) ($ir['energy']/$ir['maxenergy']*100); Should be line 42 in the basic v1.1 header.php Above that line add this: // Change this number to match exactly how many banners you uploaded to your random folder $total = "5"; // This is where you set whatever file type you gave your banners earlier. Example: .jpg .gif $file_type = ".jpg"; // If you dont want images in the folder I specified above, then you could change this $image_folder = "images/random"; // Don't edit below this line $start = "1";$random = mt_rand($start, $total); $image_name = $random . $file_type; Now find a line of code like this: <table width=100%><tr><td>[img=logo.png]</td> Should be line 62 in the basic v1.1 header.php Replace that line of code with this: <table width=100%><tr><td><img src=\"$image_folder/$image_name\" alt=\"$image_name\" /></td> Now, save the file, if you have an error, retrace your steps. This mod is incredibly simple and you shouldn't have a problem, but if you do, post it here and I'll help you fix it. Hope you all enjoy. :mrgreen:
-
[V2] Reward the active. - Punish the inactive.
Cyanide replied to Ragnar's topic in Free Modifications
Re: [V2] Reward the active. - Punish the inactive. That method would work fine fbiss, but these are good mods, I will probably be using a couple of them -
Re: Advanced newspaper mod. I may use this after I do some edits of my own to newspaper.php
-
Re: Tournaments mod For V2 Very nice, thanks for posting.