Jump to content
MakeWebGames

bineye

Members
  • Posts

    310
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by bineye

  1. Is it just me or is the whole thing awfully dark? I couldn't read the menu items until I moused-over them, as well as some other text in places.
  2. I don't like that "rule out this script immediately" thing that a lot of people do. Don't get me wrong, there are better written engines out there, but if you are a beginner, or have a limited knowledge base to work with, you have to find the right script to do the job that you need it to. After that, you can worry about important things like security, or ability to write new features and learning the code used. Find what you need first, then go with that. Good luck with your project.
  3. Sounds like a nice idea. Have you got a screenshot anywhere? Would love to see it without having to put it in myself. If you don't, it's ok. But well done on this, it's a difficult one for a first mod!
  4. lot of support too by the looks of it. haven't seen the place this excited for quite some time
  5. Yeah I never specified Redux as $300, but I did refer to some product as $300. What's to say v3 won't be the same price? The reduction of price for Redux was because it was a reworking of the earlier released and since outdated v2 engine, and as such was still from the v2 family.
  6. Well I don't know. I haven't looked at MCC in quite some time. It was $300 at one time, this I know. It pains me to say it, but MCC was one of the reasons I joined up here, but part of me feels it's reaching the end of it's lifespan. It will take an amazing set of files in v3 to keep it alive. With the competition coming through, they are pricing themselves out of business, even if it is only $20 more than yours Alain, and with continuous reports of bugs and sketchy support (there is a claim of email support which I cannot question having never used that) but the posts on here about reading threads and promising to fix whatever was posted here hasn't happened. The MCC name has been dragged through the proverbial mud, and in any business, brand is the most valuable asset. You see Coca-Cola and Pepsi side by side on a shelf in a shop, and you just read that Coca-Cola customers have found numerous body parts in their drinks, you're gonna buy the Pepsi (unless you are into the whole body part thing), and that's what's happened here. The brand value has plummeted recently and will be interesting to see if it survives. If you do produce an excellent engine for v3, then I wish you the best of luck.
  7. Well it's the age old question, isn't it? And why should the answer change now. Most people, if not everyone, does not want to give up their time to fix a buggy engine for absolutely nothing, not even a thanks, while the people that released the original buggy code continues to take $300 a go from them. So, that being said, why should the work be done by everyone else to see others reap the rewards of their hard work?
  8. tbh if you want to make/own a game, you should learn to fix these errors yourself. because eventually you will need to know how to do it if you ever want to get off the ground. your demanding attitude on a forum is not the way to achieve this
  9. there's many members on here more than capable of doing a clone of what you're after. if you were willing to pay $50, I reckon a post in the requests section would get you something just like this for $20-30.
  10. a full reset is a simple way to piss off your top, most active players
  11. bineye

    Timestamp

    ok why is the time * 1000? does the JS need this for it to work?
  12. There's a few errors around the site. Mostly typos, but there was a session_start() error on the poker page, and also in the estate agent, I bought the $75,000 house and it took the money but didn't give me the house. Perhaps you should look into that.
  13. does "dlevel" only go up to 3?
  14. It appears you misunderstood what I was saying. I was backing up the point that the negative integers were not filtered, and it was said: I took this to mean he put this in a globally accessible file and used it on every variable. Therefore, as games require a number of instances where a user has to put in an integer, then this would be open to exploitation on pages like the ones I gave as examples. And then as you gave an instance where a negative integer would be required, then this renders this portion of the function useless, as in some case, the function will not work as desired.
  15. If you are using your function for all variables, any item where you can input a number will be a problem, like adding an amount of crystals to a market, or playing a 50/50 game for example. As the one function is used all over the site, every place will be at risk, rather than just one.
  16. bineye

    gang contest

    A bit of constructive criticism here. If you are using this in your own game, then you should use proper spelling, punctuation and grammar. There's nothing worse than seeing typos and inconsistent typing. In the main menu it reads then in your mod it's like Proper spelling is worth so much in gaming, believe it or not. Some people think it's fine to overlook it, but you restrict your game to English speakers only then, as those from a non-English speaking background won't be able to understand some of the words or phrases if they are spelt incorrectly.
  17. You want CometChat
  18. That's a harsh way of putting it. Creating a populated list limits what your staff members can actually do. Your query will already be coded into the php file and the inputs will change but a mere 2 words in the line. Yes, exploits are possible, but what out there isn't at risk to these? Putting a query line for freedom typing is a recipe for disaster. If you cannot see the problem, or a solution, perhaps selling this is a mistake at this point.
  19. The reason I ask is because there are actually people out there that can't do SQL, and don't know the fields in the DB for MCC, and it's those people that would need this. As this is a basic enough mod, people with a good knowledge of PHP/SQL would make this themselves rather than pay $15 for it. It almost seems like a lose/lose situation for yourself. But I like to see everyone succeed, so I really hope you have good sales for this. Good luck.
  20. Let's put this in perspective though. For the cost of the MCC engine, you could buy a legitimate copy of an entire operating system from Microsoft, not just a few scripts, and that's a hell of a comparison to make. And Google and Mozilla offer their apps (Chrome and Firefox) for free, and as such we cannot sit and make complaints about something we get for free. When you charge $100 when they charge $0, you cannot sit there and make comparisons to them. For $100 a license, you have to be open to criticism where it is due.
  21. Is it really necessary to have to type the query from the staff panel? Surely you could populate a dropdown menu and use a text box to be able to select the stat and type in the amount it raises?
  22. <?php //HOF include "system.php"; $filters=array( 'nodon' => 'AND donatordays=0', 'don' => 'AND donatordays > 0', 'all' => ''); $filter=(isset($filters[$_GET['filter']])) ? $_GET['filter'] : 'all'; $myf=$filters[$filter]; $bt1=($filter=="nodon") ? "<b>" : ""; $bet1=($filter=="nodon") ? "</b>" : ""; $bt2=($filter=="don") ? "<b>" : ""; $bet2=($filter=="don") ? "</b>" : ""; $bt3=($filter=="all") ? "<b>" : ""; $bet3=($filter=="all") ? "</b>" : ""; print " <div class='generalinfo_txt'> <div><img src='images/info_left.jpg' alt='' /></div> <div class='info_mid'><h2 style='padding-top:10px;'> Hall Of Fame</h2></div> <div><img src='images/info_right.jpg' alt='' /></div> </div> <div class='generalinfo_simple'> Filter: [$bt1<a href='halloffame.php?action={$_GET['action']}&filter=nodon'>Non-Donators</a>$bet1 | $bt2<a href='halloffame.php?action={$_GET['action']}&filter=don'>Donators</a>$bet2 | $bt3<a href='halloffame.php?action={$_GET['action']}&filter=all'>All Users</a>$bet3] <table width=75% cellspacing=1 class='table'> <tr> <td><a href='halloffame.php?action=level&filter={$filter}'>LEVEL</a></td> <td><a href='halloffame.php?action=money&filter={$filter}'>MONEY</a></td> <td><a href='halloffame.php?action=respect&filter={$filter}'>RESPECT</a></td> <td><a href='halloffame.php?action=crystals&filter={$filter}'>CRYSTALS</a></td> <td><a href='halloffame.php?action=total&filter={$filter}'>TOTAL STATS</a></td> <td><a href='halloffame.php?action=mine_level&filter={$filter}'>MINE LEVEL</a></td> <td><a href='halloffame.php?action=robskill&filter={$filter}'>ROB SKILL</a></td> </tr> <tr> <td><a href='halloffame.php?action=strength&filter={$filter}'>STRENGTH</a></td> <td><a href='halloffame.php?action=agility&filter={$filter}'>AGILITY</a></td> <td><a href='halloffame.php?action=guard&filter={$filter}'>GUARD</a></td> <td><a href='halloffame.php?action=labour&filter={$filter}'>LABOUR</a></td> <td><a href='halloffame.php?action=iq&filter={$filter}'>IQ</a></td> <td><a href='halloffame.php?action=ratings&filter={$filter}'>MOST RATED</a></td> <td><a href='halloffame.php?action=enemy_count&filter={$filter}'>MOST HATED</a></td> </tr> <tr> <td><a href='halloffame.php?action=bankmoney&filter={$filter}'>BANK MONEY</a></td> <td><a href='halloffame.php?action=cybermoney&filter={$filter}'>CYBER BANK MONEY</a></td> <td><a href='halloffame.php?action=posts&filter={$filter}'>FORUM POSTS</a></td></table>"; switch($_GET['action']) { case "level": hof_level(); break; case "money": hof_money(); break; case "crystals": hof_crystals(); break; case "respect": hof_respect(); break; case "total": hof_total(); break; case "strength": hof_strength(); break; case "agility": hof_agility(); break; case "guard": hof_guard(); break; case "labour": hof_labour(); break; case "iq": hof_iq(); break; case "ratings": hof_ratings(); break; case "mine_level": hof_mine_level(); break; case "enemy_count": hof_enemy_count(); break; case "robskill": hof_robskill(); break; case "bankmoney": hof_bankmoney(); break; case "cybermoney": hof_cybermoney(); break; case "posts": hof_posts(); break; } function hof_level() { global $db,$ir,$c,$userid, $myf; print "Showing the 20 users with the highest levels <table width=75% cellspacing=1 class='table'><tr style='background:gray'> <th>Pos</th> <th>User</th> <th>Level</th> </tr>"; $q=$db->query("SELECT u.*,g.* FROM users u LEFT JOIN gangs g ON g.gangID=u.gang WHERE u.user_level != 0 $myf ORDER BY level DESC,userid ASC LIMIT 20"); $p=0; while($r=$db->fetch_row($q)) { $p++; if($r['userid'] == $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> <td>$t{$r['level']}$et</td> </tr>"; } print "</table></div><div><img src='images/generalinfo_btm.jpg' alt='' /></div></div></div></div></div></div>"; } function hof_money() { global $db,$ir,$c,$userid, $myf; print "Showing the 20 users with the highest amount of money <table width=75% cellspacing=1 class='table'><tr style='background:gray'> <th>Pos</th> <th>User</th> <th>Money</th> </tr>"; $q=$db->query("SELECT u.*,g.* FROM users u LEFT JOIN gangs g ON g.gangID=u.gang WHERE u.user_level != 0 $myf ORDER BY money DESC,userid ASC LIMIT 20"); $p=0; while($r=$db->fetch_row($q)) { $p++; if($r['userid'] == $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> <td>$t\$".money_formatter($r['money'],'')."$et</td> </tr>"; } print "</table></div><div><img src='images/generalinfo_btm.jpg' alt='' /></div></div></div></div></div></div>"; } function hof_crystals() { global $db,$ir,$c,$userid, $myf; print "Showing the 20 users with the highest amount of crystals <table width=75% cellspacing=1 class='table'><tr style='background:gray'> <th>Pos</th> <th>User</th> <th>Crystals</th> </tr>"; $q=$db->query("SELECT u.*,g.* FROM users u LEFT JOIN gangs g ON g.gangID=u.gang WHERE u.user_level != 0 $myf ORDER BY crystals DESC,userid ASC LIMIT 20"); $p=0; while($r=$db->fetch_row($q)) { $p++; if($r['userid'] == $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> <td>$t".money_formatter($r['crystals'],'')."$et</td> </tr>"; } print "</table></div><div><img src='images/generalinfo_btm.jpg' alt='' /></div></div></div></div></div></div>"; } function hof_respect() { global $db,$ir,$c,$userid; print "Showing the 20 gangs with the highest amount of respect <table width=75% cellspacing=1 class='table'><tr style='background:gray'> <th>Pos</th> <th>Gang</th> <th>Respect</th> </tr>"; $q=$db->query("SELECT * FROM gangs ORDER BY gangRESPECT DESC,gangID ASC LIMIT 20"); $p=0; while($r=$db->fetch_row($q)) { $p++; if($r['gangID'] == $ir['gang']) { $t="<b>";$et="</b>"; } else { $t="";$et=""; } print "<tr> <td>$t$p$et</td> <td>$t{$r['gangNAME']} [{$r['gangID']}]$et</td> <td>$t".money_formatter($r['gangRESPECT'],'')."$et</td> </tr>"; } print "</table></div><div><img src='images/generalinfo_btm.jpg' alt='' /></div></div></div></div></div></div>"; } function hof_total() { global $db,$ir,$c,$userid, $myf; print "Showing the 20 users with the highest total stats <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.strength+us.agility+us.guard+us.labour+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></div><div><img src='images/generalinfo_btm.jpg' alt='' /></div></div></div></div></div></div>"; } function hof_strength() { global $db,$ir,$c,$userid, $myf; print "Showing the 20 users with the highest strength <table width=75% cellspacing=1 class='table'><tr style='background:gray'> <th>Pos</th> <th>User</th> <th>Stat</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.strength DESC,u.userid ASC LIMIT 20"); $p=0; while($r=$db->fetch_row($q)) { $p++; if($r['userid'] == $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> <td>$t".number_format($r['strength'])."$et</td> </tr>"; } } function hof_agility() { global $db,$ir,$c,$userid, $myf; print "Showing the 20 users with the highest agility <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.agility 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></div><div><img src='images/generalinfo_btm.jpg' alt='' /></div></div></div></div></div></div>"; } function hof_guard() { global $db,$ir,$c,$userid, $myf; print "Showing the 20 users with the highest guard <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.guard 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></div><div><img src='images/generalinfo_btm.jpg' alt='' /></div></div></div></div></div></div>"; } function hof_labour() { global $db,$ir,$c,$userid, $myf; print "Showing the 20 users with the highest labour <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.labour 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></div><div><img src='images/generalinfo_btm.jpg' alt='' /></div></div></div></div></div></div>"; } function hof_ratings() { global $db,$ir,$c,$userid, $myf; print "Showing the 20 users with the highest ratings <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 gangs g ON g.gangID=u.gang WHERE u.user_level != 0 $myf ORDER BY u.ratings 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></div><div><img src='images/generalinfo_btm.jpg' alt='' /></div></div></div></div></div></div>"; } function hof_mine_level() { global $db,$ir,$c,$userid, $myf; print "Showing the 20 users with the highest mine level <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 gangs g ON g.gangID=u.gang WHERE u.user_level != 0 $myf ORDER BY u.mine_level 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></div><div><img src='images/generalinfo_btm.jpg' alt='' /></div></div></div></div></div></div>"; } function hof_posts() { global $db,$ir,$c,$userid, $myf; print "Showing the 20 users with the highest form posts <table width=75% cellspacing=1 class='table'><tr style='background:gray'> <th>Pos</th> <th>User</th> <th>Amount</th></tr>"; $q=$db->query("SELECT u.*,g.* FROM users u LEFT JOIN gangs g ON g.gangID=u.gang WHERE u.user_level != 0 $myf ORDER BY u.posts DESC,u.userid ASC LIMIT 20"); $p=0; while($r=$db->fetch_row($q)) { $p++; if($r['gangID'] == $ir['gang']) { $t="<b>";$et="</b>"; } else { $t="";$et=""; } print "<tr> <td>$t$p$et</td> <td>$t{$r['gangPREF']} {$r['username']} [{$r['userid']}]$et</td><td>$t".money_formatter($r['posts'],'')."$et</td> </tr>"; } print "</table></div><div><img src='images/generalinfo_btm.jpg' alt='' /></div></div></div></div></div></div>"; } function hof_bankmoney() { global $db,$ir,$c,$userid, $myf; print "Showing the 20 users with the highest amount of bank money <table width=75% cellspacing=1 class='table'><tr style='background:gray'> <th>Pos</th> <th>User</th> <th>Bank Money</th> </tr>"; $q=$db->query("SELECT u.*,g.* FROM users u LEFT JOIN gangs g ON g.gangID=u.gang WHERE u.user_level != 0 $myf ORDER BY bankmoney DESC,userid ASC LIMIT 20"); $p=0; while($r=$db->fetch_row($q)) { $p++; if($r['userid'] == $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> <td>$t\$".money_formatter($r['bankmoney'],'')."$et</td> </tr>"; } print "</table></div><div><img src='images/generalinfo_btm.jpg' alt='' /></div></div></div></div></div></div>"; } function hof_cybermoney() { global $db,$ir,$c,$userid, $myf; print "Showing the 20 users with the highest amount of cyber bank money <table width=75% cellspacing=1 class='table'><tr style='background:gray'> <th>Pos</th> <th>User</th> <th>Cyber Bank Money</th> </tr>"; $q=$db->query("SELECT u.*,g.* FROM users u LEFT JOIN gangs g ON g.gangID=u.gang WHERE u.user_level != 0 $myf ORDER BY cybermoney DESC,userid ASC LIMIT 20"); $p=0; while($r=$db->fetch_row($q)) { $p++; if($r['userid'] == $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> <td>$t\$".money_formatter($r['cybermoney'],'')."$et</td> </tr>"; } print "</table></div><div><img src='images/generalinfo_btm.jpg' alt='' /></div></div></div></div></div></div>"; } function hof_enemy_count() { global $db,$ir,$c,$userid, $myf; print "Showing the 20 users with the highest enemy count This is based upon how many people have you on there enemy list. <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 gangs g ON g.gangID=u.gang WHERE u.user_level != 0 $myf ORDER BY u.enemy_count 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></div><div><img src='images/generalinfo_btm.jpg' alt='' /></div></div></div></div></div></div>"; } function hof_robskill() { global $db,$ir,$c,$userid, $myf; print "Showing the 20 users with the highest rob skill <table width=75% cellspacing=1 class='table'><tr style='background:gray'> <th>Pos</th> <th>User</th> <th>Stat</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.robskill 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> <td></td></tr>"; } print "</table></div><div><img src='images/generalinfo_btm.jpg' alt='' /></div></div></div></div></div></div>"; } 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></div><div><img src='images/generalinfo_btm.jpg' alt='' /></div></div></div></div></div></div>"; } $h->endpage(); ?>   Get yourself a copy of Notepad++, then when you get an error, copy it in there and go to the line that it tells you the error is on. I found a number of errors there, and none were the original function that you said.
  23. function hof_strength() { global $db,$ir,$c,$userid, $myf; print "Showing the 20 users with the highest strength<br /> <table width=75% cellspacing=1 class='table'><tr style='background:gray'> <th>Pos</th> <th>User</th> <th>Stat</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.strength DESC,u.userid ASC LIMIT 20"); $p=0; while($r=$db->fetch_row($q)) { $p++; if($r['userid'] == $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> <td>$t{$r['strength']}$et</td> </tr>"; }   try this first, then if it doesn't work, tell us if there is an error code, or describe what it displays. "Didn't work" doesn't help anyone because we can't see your page
  24. Why??? Stats aren't money... If you have joined the tables users to userstats (which should already be the case as it is a hall of fame for that stat), then <td>".number_format($r['strength'])."</td> would suffice.
  25. In order for someone to develop modules for this, they'd have to purchase a license I assume to be able to work with the full code, then have to give up 20% of sales too? Potentially a nice little earner there... What game type is the engine going to take? Is it a text-based one, or is it a 2D engine? I may have missed this somewhere along the thread.
×
×
  • Create New...