Jump to content
MakeWebGames

Strats

Members
  • Posts

    649
  • Joined

  • Last visited

    Never

Everything posted by Strats

  1. Re: [MC-Codes][V2]Thugs (core system) I'm gonna try this out. Looks good!
  2. Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... Just tried this but I have a problem : Game folder writable = Failed How can I fix it? Or can I not?
  3. Re: [mccode] [TGM] Crystal Market Logs [TGM]   Ummm...why not use the code posted for V2? if people actually looked in sql instead of just taking free mods from websites they would know a large amount of logs are available for use already for example Item buy Logs Item Sell Logs Item Market Add Logs Item Market Remove Logs get off your bone idle ass's and actually learn something instead of playing on the "im a noob" bullsh!t Im sick of people expecting everyone else to do everything for them GET A F'ing LIFE!   Yes all of these logs are V1 There's no need to get so lairy :P
  4. Re: [McCodes v2] 100 Club! Lol Nice idea. Would it be easy to alter it so it's perhaps club 200?
  5. Re: [mccode v2] Weather Gym [$1.00] Can you mail me and let me know what you updated. And what files if any I need to change
  6. Re: [MC Codes V2] Captcha ($1) Simple and sweet. Wish I had money in my pay pal I would get this.
  7. Re: Any ideas? For 12 hot dogs and 3 talking chicken wings
  8. Re: Any ideas?   Why not just add a Max Sell value when creating/editing the product and check for it when you are letting it be added to the item market   Cause I never thought of it lol
  9. Re: Any ideas? You know those people on games who put their itesm on the market for stupid prices... really high and it clutters up your item and crystal market. How about a mod that allows you to change the prices of their items through the staff panel.
  10. Re: Another Will Mod Question Anybody?
  11. Re: Events Recode It's cool, as my game has white typing I have never noticed that it keeps the events as new for that long lol
  12. Re: Another Will Mod Question My five min cron is set like this :   $db->query("UPDATE `users` SET `brave`=LEAST(`brave`+((`maxbrave`/'10')+'0.5'), `maxbrave`), `hp`=LEAST(`hp`+(`maxhp`/'3'), `maxhp`), `will`=LEAST((`will`+'10'), `maxwill`), `energy`=IF(`donatordays`<>'0', LEAST(`energy`+(`maxenergy`/'6'), `maxenergy`), LEAST(`energy`+(`maxenergy`/'12.5'), `maxenergy`))");   I was talking to someone the other day about my 5 min cron. It refills will straight away after a user has been training or buying a house. Help? Tips lol
  13. Re: Events Recode     This one does not change the new events. Once there has been an event it says NEW in big red letters. Than later on you go back and it always says NEW lol Can this be changed cause it's confusing
  14. Re: [mccode v2] User Shops [$35.00] Thanks got it sorted now :)
  15. Re: Another Will Mod Question I haven't changed anything like that. What file should I look at?
  16. Re: Any ideas? Mail me :D
  17. Lol A while ago I asked about making an item that increases your will for a certain amount of time. 25% for 5 mins - Not going back to 100% until the 5 mins is up. Well that one works, I tried to make one that was 50% for 15 mins I wanted this item to be a donator item. But this one only seems to last 3 mins then goes back to normal. Is this right? : if($ir['willtime'] > 0){die("Sorry only one drink can be drank at a time");} else { $db->query("UPDATE users SET will=will+will/2,willtime=15 WHERE userid={$userid}"); }
  18. Re: looking to buy Not being rude but this is a silly idea..
  19. Re: Events Recode     With this code i get this : Delete All Events Unknown column 'evTO' in 'where clause' No events lol Just thought I'd let you know
  20. Re: Inventory Trouble Lol I was sure I had taken from the Inventory. It's all sorted now :)
  21. I have added a couple of things to my inventory and most of it works. But I got a users shops mod and for some reason when I try to add an item to my shops I get this message. This item still belongs to your gang, you can't sell it I Did have a gang armoury but I deleted it so that option should not be there. Can someone take a look and spot what's wrong. I'm a bit :?   <?php include "globals.php"; $used=array(); $q=$db->query("SELECT * FROM inventory WHERE inv_userid=$userid"); while ( $r=mysql_fetch_array($q) ) { if ( ! in_array ( $r['inv_id'], $used ) ) { $currdel=array(); $used[] =$r['inv_id']; $currdel[]=$r['inv_id']; $amount=$r['inv_qty']; //grab sellers others $q2=$db->query("SELECT * FROM inventory WHERE inv_userid=$userid AND inv_itemid = {$r['inv_itemid']} AND inv_id != {$r['inv_id']}"); while ( $r2 = mysql_fetch_array($q2) ) { $used[]=$r2['inv_id']; $currdel[]=$r2['inv_id']; $amount+=$r2['inv_qty']; } //if($userid == 1) //print "DEBUG: DELETE FROM inventory WHERE inv_id IN(".implode(",",$currdel).") "; $db->query("DELETE FROM inventory WHERE inv_id IN(".implode(",",$currdel).")"); //if($userid == 1) //print "DEBUG: INSERT INTO inventory VALUES('', {$r['inv_itemid']}, $userid, $amount) "; $db->query("INSERT INTO inventory VALUES('', {$r['inv_itemid']}, $userid, $amount)"); } } $q=$db->query("SELECT * FROM items WHERE itmid IN({$ir['equip_primary']}, {$ir['equip_secondary']}, {$ir['equip_armor']})"); print "<h3>Equipped Items</h3><hr />"; while($r=$db->fetch_row($q)) { $equip[$r['itmid']]=$r; } print "<table width='75%' cellspacing='1' class='table'> <tr> <th>Primary Move</th> <td>"; if($equip[$ir['equip_primary']]['itmid']) { print $equip[$ir['equip_primary']]['itmname']."</td><td>[url='unequip.php?type=equip_primary']Unequip Move[/url]</td>"; } else { print "None equipped.</td><td> </td>"; } print "</tr> <tr> <th>Secondary Move</th> <td>"; if($equip[$ir['equip_secondary']]['itmid']) { print $equip[$ir['equip_secondary']]['itmname']."</td><td>[url='unequip.php?type=equip_secondary']Unequip Move[/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><hr /> <h3>Inventory</h3><hr />"; $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> <td class=\"h\">Item</td> <td class=\"h\">Sell Value</td> <td class=\"h\">Total Sell Value</td> <td class=\"h\">Links</td> </tr>"; $lt=""; while($i=$db->fetch_row($inv)) { if($lt!=$i['itmtypename']) { $lt=$i['itmtypename']; print "\n<tr><td colspan=4>[b]{$lt}[/b]</td></tr>"; } if($i['weapon']) { $i['itmname']="<font color='red'>*</font>".$i['itmname']; } if($i['armor']) { $i['itmname']="<font color='green'>*</font>".$i['itmname']; } print "<tr><td>{$i['itmname']}"; if ($i['inv_qty'] > 1) { print " x{$i['inv_qty']}"; } print "</td><td>\${$i['itmsellprice']}</td><td>"; print "$".($i['itmsellprice']*$i['inv_qty']); 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]]"; $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"$addtoshop"; 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 "</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]"; } $h->endpage(); ?>
  22. Re: [?5]Login & Register[v1+v2] That is shit hot. I like it.
  23. Re: [mccode v2] Advanced Turns [$15.00] With these streets can you find random items?
  24. Re: [MCCODES V2] 100% Working Copy Enhanced Schooling Looks brilliant!
  25. Re: [mccode2] Updated Attack Script That Works With My Updated Inventory ($10.00)   Where's your one click attack I looked about for it
×
×
  • Create New...