
Neji_Hyuuga
Members-
Posts
46 -
Joined
-
Last visited
Never
Neji_Hyuuga's Achievements
Newbie (1/14)
0
Reputation
-
Re: New member search... wow cheers love this new search but where do i find the mug so i can use that part as well
-
Re: [mccode lite / V1] Basic Forums thank you i added the v2 one is i tsecure or does it need securing cos i dont want my game being hacked but i like the mod and thank you for doing it
-
Re: [mccodes] House Upgrades [$15] ok mate my only problem is i dont knwo when ill be able to get $15 for it i jsut hope i can get it before all copies are sold as im really looking for this code too
-
Re: [mccode v2] Weather Gym [$1.00] cheers mate gonna enjoy having this gym on my game
-
Re: [mccodes] House Upgrades [$15] ok thanks mate for letting me know ill go see if i can get $15 as im really looking for this mod for a game im currently in the making of to make it abit harder to gain stuff as i found out on other games i owned people gained money fast for selling there house putting money in there banks and getting interest from it then buying there house back afterwards
-
Re: [mccodes] House Upgrades [$15] [mccodes] House Upgrades [$15] that price is thats on the main page to access this post so how much is it mate $15 that it says there or $20 that it says on your post as i dont want to be paying the wrong price but im after thismod have been for months and now i finaly found it if this is the estate mod that lets you only upgrade the house and not sell it
-
Re: looking to buy sounds like a good idea i wonder if it can be done this mod as it really does sound like a good idea make it so its all different that other games for gaining gang respect
-
Re: [MC Code v2] Saved Events nice mod this is +1 mate for it added it to my game
-
Re: [mccode v2] Weather Gym [$1.00] just bought as i just found out about this gym and its a really wicked gym i love it ill be using this on my game as soon as i get it nice one mate
-
Re: [MCCODES v1 + V2] Flash Login so once i paid how do i get the code mate do u email me it or something as im interested in it and wanting to buy it from you
-
Re: [MCCODES v1 + V2] Flash Login this bit here mate does this mean its the entire login page with it all attached and if it is how much is $5 in ? GBP mate as im not very good at currency converting. i am very interested in this as it sounds like a really good login page
-
Re: cmarket.php HELP i know what its liek to buy codes and have them not working had a couple like that my self so here you go mate ill add my cmarket.php hoep it helps you and you fix your problem <?php $_GET['ID'] = abs(@intval($_GET['ID'])); include "globals.php"; print "<h3>Crystal Market</h3>"; switch($_GET['action']) { case "buy": crystal_buy(); break; case "remove": crystal_remove(); break; case "add": crystal_add(); break; default: cmarket_index(); break; } function cmarket_index() { global $db,$ir,$c,$userid,$h; print "[url='cmarket.php?action=add']> Add A Listing[/url] Viewing all listings... <table width=75% cellspacing=1 class='table'> <tr style='background:gray'> <th>Adder</th> <th>Qty</th> <th>Price each</th> <th>Price total</th> <th>Links</th> </tr>"; $q=$db->query("SELECT cm.*, u.* FROM crystalmarket cm LEFT JOIN users u ON u.userid=cm.cmADDER ORDER BY cmPRICE/cmQTY ASC"); while($r=$db->fetch_row($q)) { if($r['cmADDER'] == $userid) { $link = "[url='cmarket.php?action=remove&ID={$r[']Remove[/url]"; } else { $link = "[url='cmarket.php?action=buy&ID={$r[']Buy[/url]"; } $each= (int) $r['cmPRICE'] / $r['cmQTY']; print "\n<tr> <td>[url='viewuser.php?u={$r[']{$r['username']}[/url] [{$r['userid']}]</td> <td>{$r['cmQTY']}</td> <td> \$" . number_format($each)."</td> <td>\$".number_format($r['cmPRICE'])."</td> <td>[$link]</td> </tr>"; } print "</table>"; } function crystal_remove() { global $db,$ir,$c,$userid,$h; $q=$db->query("SELECT * FROM crystalmarket WHERE cmID={$_GET['ID']} AND cmADDER=$userid"); if(!$db->num_rows($q)) { print "Error, either these crystals do not exist, or you are not the owner. [url='cmarket.php']> Back[/url]"; $h->endpage(); exit; } $r=$db->fetch_row($q); $db->query("UPDATE users SET crystals=crystals+{$r['cmQTY']} where userid=$userid"); $db->query("DELETE FROM crystalmarket WHERE cmID={$_GET['ID']}"); print "Crystals removed from market! [url='cmarket.php']> Back[/url]"; } function crystal_buy() { global $db,$ir,$c,$userid,$h; $q=$db->query("SELECT * FROM crystalmarket cm WHERE cmID={$_GET['ID']}"); if(!$db->num_rows($q)) { print "Error, either these crystals do not exist, or they have already been bought. [url='cmarket.php']> Back[/url]"; $h->endpage(); exit; } $r=$db->fetch_row($q); if($r['cmPRICE'] > $ir['money']) { print "Error, you do not have the funds to buy these crystals. [url='cmarket.php']> Back[/url]"; $h->endpage(); exit; } $db->query("UPDATE users SET crystals=crystals+{$r['cmQTY']} where userid=$userid"); $db->query("DELETE FROM crystalmarket WHERE cmID={$_GET['ID']}"); $db->query("UPDATE users SET money=money-{$r['cmPRICE']} where userid=$userid"); $db->query("UPDATE users SET money=money+{$r['cmPRICE']} where userid={$r['cmADDER']}"); event_add($r['cmADDER'],"[url='viewuser.php?u=$userid']{$ir['username']}[/url] bought your {$r['cmQTY']} crystals from the market for \$".number_format($r['cmPRICE']).".",$c); print "You bought the {$r['cmQTY']} crystals from the market for \$".number_format($r['cmPRICE'])."."; } function crystal_add() { global $db,$ir,$c,$userid,$h; $_POST['amnt'] = abs((int) $_POST['amnt']); $_POST['price'] = abs((int) $_POST['price']); if($_POST['amnt']) { if($_POST['amnt'] > $ir['crystals']) { die ("You are trying to add more crystals to the market than you have."); } $tp=$_POST['amnt']*$_POST['price']; $db->query("INSERT INTO crystalmarket VALUES('',{$_POST['amnt']},$userid,$tp)"); $db->query("UPDATE users SET crystals=crystals-{$_POST['amnt']} WHERE userid=$userid"); print "Crystals added to market! [url='cmarket.php']> Back[/url]"; } else { print "[b]Adding a listing...[/b] You have [b]{$ir['crystals']}[/b] crystal(s) that you can add to the market.<form action='cmarket.php?action=add' method='post'><table width=50% border=2><tr> <td>Crystals:</td> <td><input type='text' name='amnt' value='{$ir['crystals']}' /></td></tr><tr> <td>Price Each:</td> <td><input type='text' name='price' value='200' /></td></tr><tr> <td colspan=2 align=center><input type='submit' value='Add To Market' /></tr></table></form>"; } } $h->endpage(); ?> im always glad to help fellow game owners/coders as i also knwo what it is like to not have help and do it your self and strugle so i try my best to save all that for others and help the best i can
-
Re: Looking for a Referal Mod ... nice idea about this tolk but the one i added of urs dont work so i edited it and now it works on my game here is the edited version first of off find case "iq": hof_iq(); break; then under it add case "referal": hof_referals(); break; then find function hof_iq() { global $db,$ir,$c,$userid, $myf; print "Showing the 20 users with the highest IQ <table width=75% cellspacing=1 class='table'><tr style='background:gray'> <th>Pos</th> <th>User</th> </tr>"; $q=$db->query("SELECT u.*,g.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid LEFT JOIN gangs g ON g.gangID=u.gang WHERE u.user_level != 0 $myf ORDER BY us.IQ DESC,u.userid ASC LIMIT 20"); $p=0; while($r=$db->fetch_row($q)) { $p++; if($r['userid'] == $ir['userid']) { $t="[b]";$et="[/b]"; } else { $t="";$et=""; } print "<tr> <td>$t$p$et</td> <td>$t{$r['gangPREF']} {$r['username']} [{$r['userid']}]$et</td> </tr>"; } print "</table>"; } under it add function hof_referals() { global $db,$ir,$c,$userid, $myf; print "Showing the 6 users with the highest number of referals <table width=75% cellspacing=1 class='table'><tr style='background:gray'> <th>User ID</th> <th>Number of referals</th> </tr>"; $p=0; $ar=$db->query("SELECT COUNT('refREFED') AS total,refREFER FROM referals GROUP BY refREFER ORDER BY COUNT('referred') DESC LIMIT 10"); while($s = $db->fetch_row($ar)) { echo '<tr style="background:brown">'; echo '<td>'.$s['refREFER'].'</td>'; echo '<td>'.$s['total'].'</td>'; echo '</tr>'; } also to add the link at the top of the page do the following find <td>[url='halloffame.php?action=crystals&filter={$filter}']CRYSTALS[/url]</td> directly after it add <td>[url='halloffame.php?action=referal&filter={$filter}']REFERALS[/url]</td> this is the working version its a good idea tolk not taking credit for it jsut wanting to help out by addin gthe verion i managed to get working because you forgot to add the case files and the link hope everyone liks the working version as its a good mod ill send a screenshot of it too so u can see the working version By Paul_Donna_Luke
-
[MOD V2] Send Users Secret Messages....
Neji_Hyuuga replied to Uridium's topic in Free Modifications
Re: [MOD V2] Send Users Secret Messages.... this sounds like a really good mod im gonna this to my game thanks mate for it you fetch out good mods all the time -
Re: [mccodes V2] Nudge Users well i never said i made this mod but killah seemed to think i did all i did was add it i never knew it was added before as i have not seen it on here before but it is a good mod nice one mate