
BluroSoft
Members-
Posts
45 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by BluroSoft
-
haha you simply just used the html/css from their game and that is all i see. not worth nothing.
-
scriptians.com Scriptcreators.com TheMafians.com
-
ScriptCartel.com MafiaCoding.com UGEngines.com - Under Ground Engines Scriptedmafia.com CodeOfMafia.com
-
I need some help with my donation logs. Basically i want to view my total donation for last month can some help me code this in. I have tried this no result being displayed. $blah=$db->query("SELECT SUM(payment) as total_payment FROM donations WHERE timestamp BETWEEN DATE_ADD( now( ) , INTERVAL -1 MONTH ) AND now() "); $blah->fetchInto($row); echo $row['total_payment']; this is my current script (Mccodes v2) function view_donation_logs() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] > 2) { die("403"); } $_GET['st']=abs((int) $_GET['st']); $rpp=100; print "<h3>Donation Logs</h3> <table width=100% cellspacing='1' class='table'> \n<tr style='background:gray'> <th>Time</th> <th>User</th> <th>Amount</th> <th>Item</th> <th>Qty</th> </tr>"; $q=$db->query("SELECT * FROM donations AS s LEFT JOIN users AS u ON s.buyer=u.userid ORDER BY s.id DESC LIMIT {$_GET['st']},$rpp "); while($r=$db->fetch_row($q)) { print "<tr><td>".date('F j Y g:i:s a', $r['timestamp'])."</td><td><a href=#viewuser.php?u={$r['buyer']}>{$r['username']}</a> [{$r['buyer']}]</td><td>\${$r['payment']}</td><td>{$r['item']}</td><td>{$r['quantity']}</td></tr> "; } print"</table><br />"; $mypage=floor($_GET['st']/$rpp)+1; $q2=$db->query("SELECT id FROM stafflog"); $rs=$db->num_rows($q2); $pages=ceil($rs/$rpp); print "Pages: "; for($i=1;$i<=$pages;$i++) { $st=($i-1)*$rpp; print "<a href='staff_logs.php?action=dlogs&st=$st'>$i</a> "; } stafflog_add("Looked at the donation logs"); }
-
Okay basically some of my top players have their stats over 19486372424599998562304+ when they attack a player their max damage is around 1-2 even low level players can beat them up. One player reported with a crap item he can hit quite good but with top items he can not if someone can help me identify and resolve this error it will be great. $_SESSION['attacking'] = 1; $ir['attacking'] = $odata['userid']; $db->query("UPDATE users SET attacking={$ir['attacking']} WHERE userid=$userid"); $_GET['wepid'] = (int)$_GET['wepid']; $_GET['nextstep'] = (int)$_GET['nextstep']; //damage if ($youdata['location'] != $odata['location']) { print "You can only attack someone in the same location! <br /><a data-role='button' data-rel='back' href='index.php'>Back</a>"; $db->query("UPDATE users SET attacking=0 WHERE userid=$userid"); $h->endpage(); exit; } if ($_GET['wepid'] != $ir['equip_primary'] && $_GET['wepid'] != $ir['equip_secondary']) { print "Stop trying to abuse a game bug. You can lose all your EXP for that.<br /> <a href='index.php'>> Home</a>"; $db->query("UPDATE users SET exp=0 where userid=$userid", $c); die(""); } $qo = $db->query("SELECT i.* FROM items i WHERE i.itmid={$_GET['wepid']}"); $r1 = $db->fetch_row($qo); $mydamage = (int)(($r1['weapon'] * $youdata['strength'] / ($odata['guard'] / 1.5)) * (rand(8000, 12000) / 10000)); $hitratio = max(10, min(60 * $ir['agility'] / $odata['agility'], 95)); if (rand(1, 100) <= $hitratio) { $q3 = $db->query("SELECT i.armor FROM items i WHERE itmid={$odata['equip_armor']} ORDER BY rand()"); if ($db->num_rows($q3)) { $mydamage -= $db->fetch_single($q3); } if ($mydamage < -100000) { $mydamage = abs($mydamage); } elseif ($mydamage < 1) { $mydamage = 1; } $crit = rand(1, 40); if ($crit == 17) { $mydamage *= rand(20, 40) / 10; } elseif ($crit == 25 or $crit == 8) { $mydamage /= (rand(20, 40) / 10); } $mydamage = round($mydamage); $odata['hp'] -= $mydamage; if ($odata['hp'] == 1) { $odata['hp'] = 0; $mydamage += 1; } $db->query("UPDATE users SET hp=hp-$mydamage WHERE userid={$_GET['ID']}"); print "<font color=red>{$_GET['nextstep']}. Using your {$r1['itmname']} you hit {$odata['username']} doing $mydamage damage ({$odata['hp']})</font><br />\n"; $_SESSION['attackdmg'] += $mydamage; $_SESSION['attacklog'] .= "<font color=red>{$_GET['nextstep']}. Using {$myabbr} {$r1['itmname']} {$ir['username']} hit {$odata['username']} doing $mydamage damage ({$odata['hp']})</font><br />\n"; } else { print "<font color=red>{$_GET['nextstep']}. You tried to hit {$odata['username']} but missed ({$odata['hp']})</font><br />\n"; $_SESSION['attacklog'] .= "<font color=red>{$_GET['nextstep']}. {$ir['username']} tried to hit {$odata['username']} but missed ({$odata['hp']})</font><br />\n"; } if ($odata['hp'] <= 0) { $odata['hp'] = 0; $_SESSION['attackwon'] = $_GET['ID']; $db->query("UPDATE users SET hp=0 WHERE userid={$_GET['ID']}"); print "<br /> <b>What do you want to do with {$odata['username']} now?</b><br /> <form action='attackwon.php?ID={$_GET['ID']}' method='post'><input type='submit' value='Steal Money' /></form> <form action='attackcry.php?ID={$_GET['ID']}' method='post'><input type='submit' value='Steal Crystals' /></form> <form action='attackbeat.php?ID={$_GET['ID']}' method='post'><input type='submit' value='Leave at Hospital' /></form> <form action='attacktake.php?ID={$_GET['ID']}' method='post'><input type='submit' value='Leave For Exp' /></form>"; /*<form action='attackbomb.php?ID={$_GET['ID']}' method='post'><input type='submit' value='Leave Them & Bomb (cost $20,000)' /></form>*/ } else { //choose opp gun $eq = $db->query("SELECT i.* FROM items i WHERE i.itmid IN({$odata['equip_primary']}, {$odata['equip_secondary']})"); if (mysql_num_rows($eq) == 0) { $wep = "Fists"; $dam = (int)((((int)($odata['strength'] / $ir['guard'] / 100)) + 1) * (rand(8000, 12000) / 10000)); } else { $cnt = 0; while ($r = $db->fetch_row($eq)) { $enweps[] = $r; $cnt++; } $weptouse = rand(0, $cnt - 1); $wep = $enweps[$weptouse]['itmname']; $dam = (int)(($enweps[$weptouse]['weapon'] * $odata['strength'] / ($youdata['guard'] / 1.5)) * (rand(8000, 12000) / 10000)); } $hitratio = max(10, min(60 * $odata['agility'] / $ir['agility'], 95)); if (rand(1, 100) <= $hitratio) { $q3 = $db->query("SELECT i.armor FROM items i WHERE itmid={$ir['equip_armor']} ORDER BY rand()"); if ($db->num_rows($q3)) { $dam -= $db->fetch_single($q3); } if ($dam < -100000) { $dam = abs($dam); } elseif ($dam < 1) { $dam = 1; } $crit = rand(1, 40); if ($crit == 17) { $dam *= rand(20, 40) / 10; } elseif ($crit == 25 or $crit == 8) { $dam /= (rand(20, 40) / 10); } $dam = round($dam); $youdata['hp'] -= $dam; if ($youdata['hp'] == 1) { $dam += 1; $youdata['hp'] = 0; } $db->query("UPDATE users SET hp=hp-$dam WHERE userid=$userid"); $ns = $_GET['nextstep'] + 1; print "<font color=blue>{$ns}. Using $oabbr $wep {$odata['username']} hit you doing $dam damage ({$youdata['hp']})</font><br />\n"; $_SESSION['attacklog'] .= "<font color=blue>{$ns}. Using $oabbr $wep {$odata['username']} hit {$ir['username']} doing $dam damage ({$youdata['hp']}hp left)</font><br />\n"; } else { $ns = $_GET['nextstep'] + 1; print "<font color=red>{$ns}. {$odata['username']} tried to hit you but missed ({$youdata['hp']}hp left)</font><br />\n"; $_SESSION['attacklog'] .= "<font color=blue>{$ns}. {$odata['username']} tried to hit {$ir['username']} but missed ({$youdata['hp']})</font><br />\n"; } if ($youdata['hp'] <= 0) { $youdata['hp'] = 0; $_SESSION['attacklost'] = 1; $db->query("UPDATE users SET hp=0 WHERE userid=$userid"); print "<form action='attacklost.php?ID={$_GET['ID']}' method='post'><input type='submit' value='Continue' />"; } } } elseif ($odata['hp'] < 5) { print "You can only attack those who have health<a data-role='button' data-rel='back' href='index.php'>Back</a>"; $h->endpage(); exit; } elseif ($ir['gang'] == $odata['gang'] && $ir['gang'] > 0) { print "You are in the same gang as {$odata['username']}! What are you smoking today dude!<a data-role='button' data-rel='back' href='index.php'>Back</a>"; $h->endpage(); exit; } elseif ($youdata['energy'] < $youdata['maxenergy'] / 2) { print "You can only attack someone when you have 50% energy<a data-role='button' data-rel='back' href='index.php'>Back</a>"; $h->endpage(); exit; } elseif ($youdata['location'] != $odata['location']) { print "You can only attack someone in the same location!<a data-role='button' data-rel='back' href='index.php'>Back</a>"; $h->endpage(); exit; } else { } print "</td></tr></table>"; if ($youdata['hp'] <= 0 || $odata['hp'] <= 0) { print ""; } else { $vars['hpperc'] = round($youdata['hp'] / $youdata['maxhp'] * 100); $vars['hpopp'] = 100 - $vars['hpperc']; $vars2['hpperc'] = round($odata['hp'] / $odata['maxhp'] * 100); $vars2['hpopp'] = 100 - $vars2['hpperc']; $mw = $db->query("SELECT i.* FROM items i WHERE i.itmid IN({$ir['equip_primary']}, {$ir['equip_secondary']})"); print "<div class='attackbox'>Attack with:<br /><br />"; if ($db->num_rows($mw) > 0) { while ($r = $db->fetch_row($mw)) { if (!$_GET['nextstep']) { $ns = 1; } else { $ns = $_GET['nextstep'] + 2; }
-
$45 just for ingame.
-
This is not a stolen design neither im i selling it, i created this for future use, yes i copied Street crimes layout but i did not steal nothing and its quite different btw not exactly the same
-
D T K - Collab Experience ( Split from thread )
BluroSoft replied to D T K's topic in Collaboration Experiences
Obviously i will not buy it straight im not retarded but it will defo would have been a waste of time and would have taken it seriously and im sure you would have played up to trying to possibly fit in a scam. And trolling? your the whos doing that. -
D T K - Collab Experience ( Split from thread )
BluroSoft replied to D T K's topic in Collaboration Experiences
no i bet you tried to sell it to me why you lying if the owners did not post here then i possibly would have paid for this unaware that it is not even yours but guess you got caught now trying to act innocent. -
Contact me if you have a good mccodes game with active users and any sort of income. must have active users thats the main thing im after. don't contact me with BS offers like you can create me a game that will earn this or that i want a ready made game with users because myself can create good games but cba adding crimes, items and marketing it. budget will be discussed with the seller based on the quality, income & active users of their game.
-
This is a psd only, i had posted it up before but the thread died out now on offer for $50 BIN! PM me if you need any design work :D
-
Yeah i do not want that i want a connect which auto registers you if your loggedin to fb already then logs you in.
-
Paying someone to create me a Facebook connect function to mccodes. It uses your facebook details to sign up then once completed it auto directs your into the game. I do not want a facebook signup i want a connect so they can just click it and automatically signs them up using facebook. $10-25 for this. PM me
-
any one interested in it?
-
the title is just a example can be changed.
-
Yes i can change the name, and this zombie image i had for a long time on my pc, it must have been bought but i can also change anything you want as well as images.
-
any bids? if you need design work contact me by pm or add me on msn
-
BIN is lowered to $100, any bids add me on [email protected] or PM me.
-
thank you for the feedback :D
-
Hi guys i had made a thread before about a zombie psd i had designed unfortunately i had lost that design contents in the psd by saving another design on it. so i had to start from scratch again here it is a complete one with login and ingame design. Bidding starts at: $20 Will end on 10th January
-
Zombie Theme PSD design 80% complete tell me what you think!
BluroSoft replied to BluroSoft's topic in Art and Content
ARRRRRG!!!! lost the template PSD i was working on a login from the ingame PSD was going to rename the psd to a login one but accidentally just saved it on the ingame psd, very annoying i will be re-doing it in my spare time sorry guys! But thanks for all the feedback! -
Does not look like its worth anything if your lucky you might get $1 for it but its just a bit of css play to a default mccodes layout, it does not even have any nice graphics to it simple background colour and header color, my opinion :D
-
Zombie Theme PSD design 80% complete tell me what you think!
BluroSoft replied to BluroSoft's topic in Art and Content
After i have finished i will let you know.