
MyGunWars
Members-
Posts
237 -
Joined
-
Last visited
Personal Information
-
Location
Troy, NY
-
Occupation
General Manager
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
MyGunWars's Achievements
Newbie (1/14)
0
Reputation
-
I bought a copy from him a while ago and have it working on my site what was not working maybe I can get you the file to make sure it right. http://www.mycriminallife.com/
-
mccode-v2 Integrate GoInstant - Real Time Chat Widget
MyGunWars replied to sniko's topic in Free Modifications
Now that they are closing down now what? -
That's pretty neat :)
-
lol well thanks then but what did you remove? Did you rewrite the code?
-
I used to have an online radio website and I'm still friends with the guy who did my sweepers and promo stuff. If you want I can email you some of his work and set you up with him. Shoot me a PM and with your email and I will send you some of his work. That's the only thing I can help you with.
-
My working code: <?php include "globals.php"; print "<center><font size='4' face='Arial, Helvetica, sans-serif'>Trading</font><hr width=75%>"; switch($_GET['action']) { default: start_trade(); break; case 'accept': accept_request(); break; case 'decline': decline_request(); break; case 'acctrade': accept_trade(); break; case 'dectrade': decline_trade(); break; case 'view': view_trade(); break; case 'begin': begin_trade(); break; case 'cancel': cancel_trade(); break; } function start_trade() { global $db,$ir,$c,$userid,$h; $_GET['ID'] = abs((int) $_GET['ID']); if(!$_POST['user']) { print "<br /><form action='trade.php' method='post'> Please type the ID# of the user you wish to trade with below.<br /><br /> ID: <input type='text' name='user' value='{$_GET['ID']}' maxlength='10' length='10' size='10' width='10' /><br /> <input type='submit' value='Send Request' /> </form><br /><hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } else if($ir['trade']) { print "<br />You already have a trade pending completion. Please wait until it is over.<br /><br /><hr width=75%>> <a href='trade.php'>Back</a><hr width=75%>"; } else if($_POST['user'] == $userid) { print "<br />You cannot trade with yourself!<br /><br /><hr width=75%>> <a href='trade.php'>Back</a><hr width=75%>"; } else { mysql_query("INSERT INTO usertrades VALUES ('', '$userid', '{$_POST['user']}')", $c); $q=$db->query("SELECT * FROM usertrades WHERE trFROM=$userid"); $r=$db->fetch_row($q); event_add($_POST['user'], "{$ir['username']} would like to trade with you:<br /> • <a href='trade.php?action=accept&ID={$r['trID']}'>Accept Offer</a><br /> • <a href='trade.php?action=decline&ID={$r['trID']}'>Decline Offer</a>", $c,'general'); print "<br />Trade request sent!<br /><br /> <hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } } function accept_request() { global $db,$ir,$c,$userid,$h; $_GET['ID'] = abs((int) $_GET['ID']); $q=$db->query("SELECT * FROM usertrades WHERE trID={$_GET['ID']}"); $r=$db->fetch_row($q); if(!$_GET['ID']) { print "<br />Invalid trade ID!<br /><br /><hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } else if($r['trUSER'] != $userid) { print "<br />You cannot accept this trade!<br /><br /><hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } else { $q=$db->query("SELECT * FROM usertrades WHERE trUSER=$userid"); $r=$db->fetch_row($q); event_add($r['trFROM'], "{$ir['username']} has accepted your trade offer:<br /> • <a href='trade.php?action=cancel&ID={$r['trID']}'>Cancel Trade</a><br /> • <a href='trade.php?action=begin'>Begin Trade</a><br />", $c); mysql_query("UPDATE users SET trade={$r['trFROM']} WHERE userid=$userid"); mysql_query("UPDATE users SET trade=$userid WHERE userid={$r['trFROM']}"); mysql_query("DELETE FROM usertrades WHERE trID={$_GET['ID']}"); print "<br />Trade request accepted!<br /><br /> <hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } } function decline_request() { global $db,$ir,$c,$userid,$h; $_GET['ID'] = abs((int) $_GET['ID']); $q=$db->query("SELECT * FROM usertrades WHERE trID={$_GET['ID']}"); $r=$db->fetch_row($q); if(!$_GET['ID']) { print "<br />Invalid trade ID!<br /><br /><hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } else if($r['trUSER'] != $userid) { print "<br />You cannot decline this trade!<br /><br /><hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } else { $q=$db->query("SELECT * FROM usertrades WHERE trID={$_GET['ID']}"); $r=$db->fetch_row($q); event_add($r['trFROM'], "{$ir['username']} has declined your trade offer.", $c); mysql_query("DELETE FROM usertrades WHERE trID={$_GET['ID']}"); print "<br />Trade request declined!<br /><br /> <hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } } function cancel_trade() { global $db,$ir,$c,$userid,$h; $q=$db->query("SELECT * FROM users WHERE trade=$userid"); $r=$db->fetch_row($q); if(!$ir['trade']) { print "<br />You are not in a trade!<br /><br /><hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } else if($r['trade'] != $userid) { print "<br />This user is not in a trade with you!<br /><br /><hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } else { $q=$db->query("SELECT * FROM users WHERE trade=$userid"); $r=$db->fetch_row($q); event_add($r['userid'], "{$ir['username']} has cancelled the trade.", $c); mysql_query("UPDATE users SET trade=0 WHERE userid=$userid"); mysql_query("UPDATE users SET trade=0 WHERE userid={$r['userid']}"); print "<br />Trade cancelled!<br /><br /> <hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } } function view_trade() { global $db,$ir,$c,$userid,$h; $q=$db->query("SELECT * FROM trades WHERE trUSER=$userid"); $r=$db->fetch_row($q); $rs=$db->num_rows($q); if($r['trUSER'] != $userid) { print "<br />This is not your trade!<br /><br /><hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } else if(!$rs) { print "<br />This trade has not yet been started!<br /><br /><hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } else { $q=$db->query("SELECT * FROM trades WHERE trUSER=$userid"); $r=$db->fetch_row($q); print "<br /><b><u>Trade Details</b></u><br /><br /> <b>Offer</b><br /> Money: \${$r['trCASH']}<br /> Crystals: {$r['trCRYS']}<br />"; $x=$db->query("SELECT * FROM items WHERE itmid={$r['trITEM']}"); $i=$db->fetch_row($x); if ($r['trITEM']) { print "Item: {$i['itmname']}<br />"; } else { print "Item: <font color=red>None</font><br />"; } print "<br /><b>Request</b><br /> Money: \${$r['trRCASH']}<br /> Crystals: {$r['trRCRYS']}<br />"; $x2=$db->query("SELECT * FROM items WHERE itmid={$r['trRITEM']}"); $i2=$db->fetch_row($x2); if ($r['trRITEM']) { print "Item: {$i2['itmname']}<br />"; } else { print "Item: <font color=red>None</font><br />"; } if ($userid == $r['trUSER']) { print "<br /><b>Options</b><br /><br /> • <a href='trade.php?action=acctrade&ID={$r['trID']}'>Accept Trade</a><br /> &#38;#8226; <a href='trade.php?action=dectrade&ID={$r['trID']}'>Decline Trade</a><br />"; } print "<br /><br /> <hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } } function begin_trade() { global $db,$ir,$c,$userid,$h; if($_POST['crys'] || $_POST['cash'] || $_POST['item'] || $_POST['rcrys'] || $_POST['rcash'] || $_POST['ritem']) { $q=$db->query("SELECT * FROM users WHERE userid=$userid"); $r=mysql_fetch_array($q); if (!$ir['trade']) { print "<br />You are not in a trade.<br /><br /> <hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; $h->endpage(); exit; } $db->query("INSERT INTO trades VALUES(NULL, '{$ir['userid']}', '{$ir['trade']}', '{$_POST['crys']}', '{$_POST['cash']}', '{$_POST['item']}', '{$_POST['rcrys']}', '{$_POST['rcash']}', '{$_POST['ritem']}')"); event_add($ir['trade'], "Your trade offer has been sent:<br /> &#38;#8226; <a href='trade.php?action=view'>View Trade</a><br /> &#38;#8226; <a href='trade.php?action=cancel&ID={$r['trID']}'>Cancel Trade</a><br />", $c); print "<br />Your trade was submitted.<br /><br /> <hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } else { print "<form action='trade.php?action=begin' method='post'> <b>Offer</b><br /> Crystals: <input type='text' name='crys' /><br /> Cash: <input type='text' name='cash' /><br /> Item: <select name='item' type=dropdown> <option value=0 selected>None</option>"; $q=$db->query("SELECT inv.*,i.* FROM inventory inv LEFT JOIN items i ON inv.inv_itemid=i.itmid WHERE inv.inv_userid={$userid} ORDER BY i.itmname ASC",$c); while($r=mysql_fetch_array($q)) { print "\n<option value='{$r['itmid']}'>{$r['itmname']}</option>"; } print "</select><br />"; print "<br /><br /><b>Request</b><br /> Crystals: <input type='text' name='rcrys' /><br /> Cash: <input type='text' name='rcash' /><br /> Item: <select name='ritem' type=dropdown> <option value=0 selected>None</option>"; $q=$db->query("SELECT inv.*,i.* FROM inventory inv LEFT JOIN items i ON inv.inv_itemid=i.itmid WHERE inv.inv_userid={$ir['trade']} ORDER BY i.itmname ASC",$c); while($r=mysql_fetch_array($q)) { print "\n<option value='{$r['itmid']}'>{$r['itmname']}</option>"; } print "</select><br />"; print "<input type='submit' value='Submit' /></form><br /> <hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } } function accept_trade() { global $db,$ir,$c,$userid,$h; $_GET['ID'] = abs((int) $_GET['ID']); $q=$db->query("SELECT * FROM trades WHERE trID={$_GET['ID']}"); $r=$db->fetch_row($q); $x=$db->query("SELECT * FROM users WHERE userid={$ir['trade']}"); $y=$db->fetch_row($x); $m=$db->query("SELECT * FROM inventory WHERE inv_itemid={$r['trITEM']} AND inv_userid={$r['trFROM']}"); $n=$db->num_rows($m); $o=$db->query("SELECT * FROM inventory WHERE inv_itemid={$r['trRITEM']} AND inv_userid={$r['trUSER']}"); $p=$db->num_rows($o); if(!$_GET['ID']) { print "<br />Invalid trade ID!<br /><br /><hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } else if($r['trUSER'] != $userid) { print "<br />You cannot accept this trade!<br /><br /><hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } else if($r['trRCASH'] > $ir['money'] || $r['trRCRYS'] > $ir['crystals']) { print "<br />You do not meet one or more of the requirements!<br /><br /><hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } else if($y['money'] < $r['trCASH'] || $y['crystals'] < $r['trCRYS'] ) { print "<br />Your friend does not meet one or more of the requirements!<br /><br /><hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } else if(!$n < 0) { print "<br />Your friend does not meet one or more of the requirements!<br /><br /><hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } else if(!$p < 0) { print "<br />You do not meet one or more of the requirements!<br /><br /><hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } else { $q=$db->query("SELECT * FROM trades WHERE trUSER=$userid"); $r=$db->fetch_row($q); event_add($r['trFROM'], "{$ir['username']} has accepted your trade.", $c); if ($r['trITEM'] > 0) { mysql_query("UPDATE inventory SET inv_qty=inv_qty-1 WHERE inv_itemid={$r['trITEM']} AND inv_userid={$r['trFROM']}",$c); mysql_query("DELETE FROM inventory WHERE inv_qty=0",$c); mysql_query("INSERT INTO inventory VALUES('',{$r['trITEM']},$userid,'1');",$c); } if ($r['trRITEM'] > 0) { mysql_query("UPDATE inventory SET inv_qty=inv_qty-1 WHERE inv_itemid={$r['trRITEM']} AND inv_userid=$userid",$c); mysql_query("DELETE FROM inventory WHERE inv_qty=0",$c); mysql_query("INSERT INTO inventory VALUES('',{$r['trRITEM']},{$r['trFROM']},'1');",$c); } mysql_query("UPDATE users SET trade=0, money=money+{$r['trCASH']}, crystals=crystals+{$r['trCRYS']}, money=money-{$r['trRCASH']}, crystals=crystals-{$r['trRCRYS']} WHERE userid=$userid"); mysql_query("UPDATE users SET trade=0, money=money+{$r['trRCASH']}, crystals=crystals+{$r['trRCRYS']}, money=money-{$r['trCASH']}, crystals=crystals-{$r['trCRYS']} WHERE userid={$r['trFROM']}"); mysql_query("DELETE FROM trades WHERE trUSER=$userid"); print "<br />Trade request accepted!<br /><br /> <hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } } function decline_trade() { global $db,$ir,$c,$userid,$h; $_GET['ID'] = abs((int) $_GET['ID']); $q=$db->query("SELECT * FROM trades WHERE trID={$_GET['ID']}"); $r=$db->fetch_row($q); if(!$_GET['ID']) { print "<br />Invalid trade ID!<br /><br /><hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } else if($r['trUSER'] != $userid) { print "<br />You cannot decline this trade!<br /><br /><hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } else { $q=$db->query("SELECT * FROM trades WHERE trID={$_GET['ID']}"); $r=$db->fetch_row($q); event_add($r['trFROM'], "{$ir['username']} has declined your trade offer.", $c); mysql_query("DELETE FROM trades WHERE trID={$_GET['ID']}"); mysql_query("UPDATE users SET trade=0 WHERE userid={$ir['trade']}"); mysql_query("UPDATE users SET trade=0 WHERE userid=$userid"); print "<br />Trade declined!<br /><br /> <hr width=75%>> <a href='explore.php'>Back</a><hr width=75%>"; } } $h->endpage(); ?>
-
Yea I can code its just annoying that it happened to like everything. I have not been on in a long time and I see everyone has left too.
-
Did not work why is it that all the old codes do not work anymore and they are messed up?
-
welcome back sir :-)
-
I'm having trouble sending you a PM but I'm looking for coders for my site. Send me a demo of some of your work to my email [email protected]
-
Lumpy0548 Battlefield 4
-
Dose anyone know how to get a hold of seanybob anymore? Looks like he stopped using this site a while ago. I bought mods from him a long long time ago and I lost them. If anyone can help me out I would like to reward you for it lol
-
Big fan of your mods and I really like this one but I am looking for a more simpler one. This one is really simple but I am looking for something like one number comes up and below is a list of numbers layed out like a phone 123,456,789 and the games user only has to click the one number. Can you do this I will pay extra for it. PM me or post back here.
-
Looking to hire 5 Web Developers & Designer's!! PAYING!!
MyGunWars replied to MyGunWars's topic in Paid Modifications
Don't want the job don't take it and that's my starting funds to get the game started and after the game is open and marked and we start pulling in cash (I hope) then I will sink more money in to the game but I refuse to drop $10k on the game to start. Like I said before don't have any thing good to say don't comment its really not needed. Just for a update the site now is on a starting server and domain has been bought. Layout is made just needs slicing and to be coded.Im coding the site now but Im looking for people to help to speed t up and make custom mods. -
Looking to hire 5 Web Developers & Designer's!! PAYING!!
MyGunWars replied to MyGunWars's topic in Paid Modifications
lol I never asked/bugged for free mods I always got my mods from this forum. When I saw a mod I liked and that was for sale I bought it. Yes I asked for help coding I was no good at it, still not that good at it. But I manage. Yes I am starting my own company now I have just got with some friends of mine and we all put money together so I can start a MMORPG the right way and build it up into something big. Our starting budget is $2,000. Now if you would like to know about the job then ask or apply for it don't sit here and bash me. When I started coding I was only 13 so yes I had no time, money or the recourse to code a website and turn it into a company and keep that site going. But now that I am 20 years old done with high school, now in college with a job on the site and investors. I can now get the people I need to start a site and keep it growing and live. GOT ANY MORE QUESTIONS OR PROBLEMS? SEND ME A PM!