
raynard
Members-
Posts
16 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
raynard's Achievements
Newbie (1/14)
0
Reputation
-
thanks this is a great update to levels
-
that is this login it says Login coded by CJ Holder, designed by Reefer. at the bottom of the page, its a nice clean page i like it.
-
i cant see it getting any bigger than any other forum, the banners are that big at the moment because space is not yet limited if more sites sign up banners will be shrunk to fit. It seems its hard to offer people something for free that they don't have to run or worry about. It was an idea i had that i thought would help players advertise their server trades and referal links without the fear of being banned from games for advertising and eleviating some stress from game owners or game moderators.
-
Thanks for your input, the site is as yet 1 day old so i am not expecting a mass of traffic at this time. this a free way to advertise new games as all game owners know that it is in fact the advertising of a game that costs the most when launching a new game, if i can offer a free way for new owners to advertise their game and to help new players achieve a bonus in the games they play from a referal i see this only as a good idea.
-
[align=center] Calling all game owners and players of all online games. If like many other game owners you are tired of spammers advertising in your games mail system or worse attempting to spam your games forums with referal codes that take your time or your moderators time to clean up then feel free to signup at http://www.referal-links.com/ the new online forum designed to eliminate advertising spam on newly launched games whilst offering a free and safe way for players to advertise their referal codes to other like minded gamers.
-
Nice mod sniko although items lent from the gang armoury can by sold by the renter this could cause a few problems.
-
Good Mod Works well My Forums are being used properly for the first time in a long while +1 from me
-
let me know how you get on with it i wanted to switch to a VPS in the UK and they seem to do a really good deal
-
I changed the queries because its what im used to working with personally and i removed the refresh script because it wasn't needed since i added a limit to the amount of times it can be searched. i added limits because i have players in different time zones some don't get to find items because they log on at different times and the dump has been cleared by 1 high level player by adding a limit i have given my players a fair chance at finding items. the original mod was good but i changed a few things to suit my preference. no fail in my eyes
-
i thought that tech-host was a bit hard to believe but they seem to have some realy decent packages for the prices, nice find
-
i liked this mod but was getting a few complaints from players that the high levels were clearing the dump before the noobs got a shot at looking so i have added a few things to rectify it, thought i would post my changes so others could do the same if they wanted. Run SQL Query [mysql]ALTER TABLE `users` ADD `look` int(11) NOT NULL ;[/mysql] Add In your daily Crons $db->query("UPDATE users SET look=0"); Find in Dump.php $_GET['rfc'] = abs((int) $_GET['rfc']); if(($_SESSION['rfc'] !== $_GET['rfc']) || $_GET['rfc'] < 100) { echo ' You cannot refresh this page. '; } replace with: $_SESSION['rfc'] = (int) rand(100,999); if($ir['look'] >=10) { echo ' You have already looked for stuff 10 times today come back tommorow. '; } Then Find; mysql_query("UPDATE `users` SET `energy` = `energy` -5 WHERE `userid` = ".$userid.""); Replace with; $db->query("UPDATE users SET look=look+1, energy=energy-5 WHERE userid=$userid"); Later find again; mysql_query("UPDATE `users` SET `energy` = `energy` -5 WHERE `userid` = ".$userid.""); replace again with; $db->query("UPDATE users SET look=look+1, energy=energy-5 WHERE userid=$userid"); It should allow your users to only look in the dump 10 times per day, i took the no refreshing page out as i dont mind them refreshing it 10 times a day. you can change the amount of times a user looks through the dump by editing this part to whatever you want $_SESSION['rfc'] = (int) rand(100,999); if($ir['look'] >=10) { echo ' You have already looked for stuff 10 times today come back tommorow. '; }
-
Real nice mod :thumbsup:
-
Thank you +1 for making me realise how much of a noob i am, search the streets has been updated and all items where they should be thanx
-
there is no function_add its in this array $common = mysql_query("SELECT * FROM `items` WHERE `itmid`='".$ri[$ria]."' LIMIT 1"); $rip = mysql_fetch_array($common); $query13=sprintf("INSERT INTO inventory VALUES('',$ri[$ria],$userid,1)",$c); $db->query($query13); $sritemf = $sritemf + 1; could this be the problem
-
I have a problem with my quantifier and i cant seem to fix it, it will quantify items bought or sent but if they are found searching streets they stay as many single items if anyone could help i would be grateful here is my inventory.php <?php include "globals.php"; $q=$db->query("SELECT * FROM items WHERE itmid IN({$ir['equip_primary']}, {$ir['equip_secondary']}, {$ir['equip_armor']})"); print ' <div class="inventory_container"><div class="inventory_topbg"> '; while($r=$db->fetch_row($q)) { $equip[$r['itmid']]=$r; } print ' <div class="generalinfo_txt"> <div>[img=images/info_left.jpg]</div> <div class="info_mid"><h2 style="padding-top:10px;"> Equipped Items</h2></div> <div>[img=images/info_right.jpg]</div> </div> <div class="generalinfo_simple"> <table width="80%" class="table" style="text-align: center;"> <tr> <th>Primary Weapon</th> <td> '; if($equip[$ir['equip_primary']]['itmid']) { print $equip[$ir['equip_primary']]['itmname']."</td><td>[url='unequip.php?type=equip_primary']Unequip Item[/url]</td>"; } else { print "None equipped.</td><td></td>"; } print "</tr> <tr> <th>Secondary Weapon</th> <td>"; if($equip[$ir['equip_secondary']]['itmid']) { print $equip[$ir['equip_secondary']]['itmname']."</td><td>[url='unequip.php?type=equip_secondary']Unequip Item[/url]</td>"; } else { print "None equipped.</td><td></td>"; } print "</tr> <tr> <th>Armor</th> <td>"; if($equip[$ir['equip_armor']]['itmid']) { print $equip[$ir['equip_armor']]['itmname']."</td><td>[url='unequip.php?type=equip_armor']Unequip Item[/url]</td>"; } else { print "None equipped.</td><td></td>"; } print "</tr> </table> <h2 style='padding-top:10px;'> Inventory</h2> "; $inv=$db->query("SELECT iv.*,i.*,it.* FROM inventory iv LEFT JOIN items i ON iv.inv_itemid=i.itmid LEFT JOIN itemtypes it ON i.itmtype=it.itmtypeid WHERE iv.inv_userid={$userid} ORDER BY i.itmtype ASC, i.itmname ASC"); if ($db->num_rows($inv) == 0) { print "[b]You have no items![/b]"; } else { print "[b]Your items are listed below.[/b] <table width=100% class=\"table\" border=\"0\" cellspacing=\"1\"> <tr> <th >Item</th> <th >Sell Value</th> <th >Total Sell Value</th> <th >Links</th> </tr>"; $lt=""; while($i=$db->fetch_row($inv)) { if($lt!=$i['itmtypename']) { $lt=$i['itmtypename']; print "\n<tr><th colspan=4>[b]{$lt}[/b]</th></tr>"; } if($i['weapon']) { $i['itmname']="<font color='red'>*</font>".$i['itmname']; } if($i['armor']) { $i['itmname']="<font color='green'>*</font>".$i['itmname']; } echo "<tr><td>".$i['itmname'].""; if ($i['inv_qty'] > 1) { echo "x".$i['inv_qty'].""; } print "</td><td>\${$i['itmsellprice']}</td><td>"; print "$".($i['itmsellprice']*$i['inv_qty']); $usershop=$db->query("select * from usershops where userid=$userid"); if(mysql_num_rows($usershop)!=0) { $addtoshop="[[url='addtoshop.php?ID={$i[']Put in Shop[/url]]"; } print "</td><td>[[url='iteminfo.php?ID={$i[']Info[/url]] [[url='itemsend.php?ID={$i[']Send[/url]] [[url='itemsell.php?ID={$i[']Sell[/url]] [[url='imadd.php?ID={$i[']Add To Market[/url]] $addtoshop"; $usershop=$db->query("select * from usershops where userid=$userid"); if($i['effect1_on'] || $i['effect2_on'] || $i['effect3_on']) { print " [[url='itemuse.php?ID={$i[']Use[/url]]"; } if($i['weapon']) { print " [[url='equip_weapon.php?ID={$i[']Equip as Weapon[/url]]"; } if($i['armor']) { print " [[url='equip_armor.php?ID={$i[']Equip as Armor[/url]]"; } print "</td></tr> "; } print "<tr><th colspan=4></th></tr></table>"; print "[size="1"][b]NB:[/b] Items with a small red [/size]<font color='red'>*</font>[size="1"] next to their name can be used as weapons in combat. Items with a small green [/size]<font color='green'>*</font>[size="1"] next to their name can be used as armor in combat.[/size] </div><div>[img=images/generalinfo_btm.jpg]</div> </div></div></div></div></div> "; } $h->endpage(); ?>