Jump to content
MakeWebGames

Ishy

Members
  • Posts

    203
  • Joined

  • Last visited

    Never

Everything posted by Ishy

  1. Re: Advanced Burn House [$15] Heres something you might wanna do, make it so people can have a wide range of days they can insure for, like 10k per day so for this you would have the following: - A page where you can type in how many days you want to insure for (noting the cost of each day), and then submit it. - The next page will then tell you how much the total cost will be, and then they can confirm. You would only have to have another field like insuranceday make it int(11), very easy :wink: Just a thought, could make you a little more money, I would of done it if you have made this mod :-P
  2. Re: TownView [$5] I agree with z-e-r-o here, this is kinda off track, killah is trying to sell a Townview mod, and we are talking about a page tutorial mod, tell me if I am wrong if this is off track LOL
  3. Re: [MCcode V1.1] New Search/Locate Thanks :-D
  4. Re: Ruby Bank [Free] Well, I honestly think if someone had asked for the Ruby Bank but there is also a Crystal Bank, so on the requests section I would of posted it on the same topic he requested on. :|
  5. Re: omg wtf i dont get it There is nothing wrong with that code you gave us, we need more lines, and yes it should be under DBS Code Support section.
  6. Re: Simple SQL Injection protection Well, I would take Nyna's advice on this, she has taught me a bit on safety of my site e.g. form inputs and cleaning incoming data. Just thought I would tell you all. Nyna don't say -DON'T USE THIS- for nothing :wink:
  7. Re: Item Type Upgrade I like it good for new people to MC codes which use the staff panels a lot. However, there could of been an improvement, on the Delete Item Type, you could change it from typing in the name of the Item Type to delete to a dropdown menu and then click Delete, much easier and for bone idle people :wink:
  8. Re: Ruby Bank [Free] Well, I think it is good that you are adding modifications, but please scout around the forums, or use the useful "Search" button at the top of the screen :-) As I did look and there is a topic already posted for a "Crystal Bank".   But however, good work. :wink:
  9. Re: [V2] Login Page Advanced The login is very good, however, the arguing needs to stop... My advice, someone posted a free modification or an improved (login.php) just give them good feedback and improvements, not immature comments. And that is someone started to be childish calling, just ignore them, there is a section in the forums which specifically made for people arguing not in another part of the forums. Overall well done TDP, I like it.
  10. Re: Advanced Merit System [$5] You getting ideas off other mods and improving them :-D I like, I feel sorry for the people who bought the old mod :lol:
  11. Re: Advanced Turns[$15] So you kinda like search the streets but you can beat someone up? I really don't understand this :roll: Can you explain to me exactly what it does :P
  12. Re: TownView [$5] This is a very easy thing to do :| I personally think this should post this on the Free Modifications part :mrgreen: But if you need money I understand :wink:
  13. Re: wtf tables are f d up Try replacing it with:   INSERT INTO users (username, login_name, userpass, level, money, crystals, donatordays, user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, bankmoney, lastip, lastip_signup) VALUES( 'ghghgh', 'ghghgh', md5('ghgh'), 1, 100, 0, 0, 1, 12, 12, 100, 100, 5, 5, 100, 100, 1, 'Male', unix_timestamp(), '[email protected]', -1, '65.190.173.236', '65.190.173.236')
  14. Re: Ignore User Mails [$10] Thanks guys, and yes Deception it does, but whats the harm of putting in a new table with only 3 fields? Or I could of done it by adding another field in users table which would of worked. :-)
  15. Hey all... Thought I would make a nice and easy, but effective mod so you can Ignore users on the game. I don't know if anyone else has created this before, but if you have a I am really sorry :| Details Name: Ignore Users Mail PHP Files: None (just attachments to other files, preferences.php, mailbox.php) SQL Files: 1 Compatible With: V1.1, V2.0 View on game: http://www.toxiccodes.net/testgame Cost: $10 MSN: [email protected] Yahoo: [email protected] PayPal: [email protected] Description: You can add people onto a Ignore list which will stop that user from sending you a mail, you can Unblock and Block the users by inserting the ID, this is a VERY simple mod, but I hope you guys who buy it will like it. Screenshots:(for lazy people :-D) Please contact me via, MSN, Yahoo or on CE to order a "Ignore User Mail" mod. Thanks Toxication
  16. Re: Best Security [Made by me] I don't blame him for trying to make some money :mrgreen: I do it a lot but I think you should or though it through some more before posting it into somewhere your egret :lol:
  17. Re: [MCCode lite & V1.0 & V1.1] [ES] - Pin Mod V1.0B   Your right mate, I think it sounds good.
  18. Re: 2nd crystals I remember mdshare posting this AGES ago, like in ancient times :-P To tell you the truth, I don't think people should own a game if they cannot use the database (simply) and configure it in the header files :|
  19. Re: *+*Amazing New Explore *+* [V1] Well could I just ask a question? Why have you put classes on <table><td> tags? People won't get the same style unless you give it them, CSS is a powerful thing in style, could you post the CSS for the tables? So then people can get the same style as you and not all messed up :wink: Good one though.
  20. Re: Can't create armor (v2)??!! Lol
  21. Well I got a bit bored so I thought I would reduce one or two file from your public_html directory. This little addon lets you search Name, User In Gang, Users in a certain location. I would of done Search By ID in the same file but it leads to the profile page. I made it so there is no searchname.php and is a much better layout than MCcode, as your results on the search is on the same page using $_GET. Firstly add this function into global_func.php: function gang_dropdown($connection,$ddname="gang",$selected=-1) { $ret="<select name='$ddname' type='dropdown'>"; $q=mysql_query("SELECT * FROM gangs ORDER BY gangNAME ASC",$connection); if($selected == -1) { $first=0; } else { $first=1; } while($r=mysql_fetch_array($q)) { $ret.="\n<option value='{$r['gangID']}'"; if ($selected == $r['gangID'] || $first == 0) { $ret.=" selected='selected'";$first=1; } $ret.=">{$r['gangNAME']}</option>"; } $ret.="\n</select>"; return $ret; }   Then add a file called locate.php or just rename search.php and replace or add in all of this code: <?php session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); print "<center><h3>Locate Player</h3> <table class='smallcoll' border='1' bordercolor='#303030' bgcolor='#505050' width='40%'> <tr bgcolor='#404040'> <th>Search By Name</th> </tr> <tr> <form action='locate.php' method='get'> <td> <center><input type='text' name='name' /> <input type='submit' value='Search By Name' /> </td> </form> </tr> <tr bgcolor='#404040'> <th>Search By ID</th> </tr> <tr> <form action='viewuser.php' method='get'> <td> <center> <input type='text' name='u' /> <input type='submit' value='Search By ID' /> </center> </td> </form> </tr> <tr bgcolor='#404040'> <th>Search By Location</th> </tr> <tr> <form action='locate.php' method='get'> <td> <center> Location: ".location_dropdown($c,'location')." <input type='submit' value='Search By Location' /> </center> </td> </form> </tr> <tr bgcolor='#404040'> <th>Search Users In Gang</th> </tr> <tr> <form action='locate.php' method='get'> <td> <center> Location: ".gang_dropdown($c,'gang')." <input type='submit' value='Search Users In Gang' /> </center> </td> </form> </tr> </table>"; if($_GET['name']) { $q=mysql_query("SELECT * FROM users WHERE username LIKE ('%{$_GET['name']}%')",$c); print " <center> <hr width='50%' color='black'> <hr width='50%' color='black'> <center> <h4>Searched for users with the name like: [b]{$_GET['name']}[/b]</h4> <table border='1' bordercolor='#303030' class='smallcoll' bgcolor='#505050' width='75%'> <tr bgcolor='#404040'> <th>User</th> <th>Level</th> <th>Money</th> </tr>"; if (mysql_num_rows($q) == 0) { print "<tr colspan='3'> <td colspan='3'>No users found!</td> </tr>"; } else { while($r=mysql_fetch_array($q)) { $fm=money_formatter($r['money']); print " <tr> <td>[url='viewuser.php?u={$r[']{$r['username']}[/url]</td> <td>{$r['level']}</td> <td>{$fm}</td></tr>"; } print "</table>"; } } if($_GET['location']) { $q1=mysql_query("SELECT * FROM cities WHERE cityid={$_GET['location']}",$c); $r1=mysql_fetch_array($q1); $q=mysql_query("SELECT * FROM users WHERE location={$r1['cityid']}",$c); print " <center> <hr width='50%' color='black'> <hr width='50%' color='black'> <Center> <h3> Searching users in the city named: [b]{$r1['cityname']}[/b]</h3> <table border='1' bordercolor='#303030' class='smallcoll' bgcolor='#505050' width='75%'> <tr bgcolor='#404040'> <th>User</th><th>Level</th><th>Money</th> </tr>"; if (mysql_num_rows($q) == 0) { print "<tr colspan='3'> <td colspan='3'> No users found!</td></tr></table>"; } else { while($r=mysql_fetch_array($q)) { $fm=money_formatter($r['money']); print "<tr><td>[url='viewuser.php?u={$r[']{$r['username']}[/url]</td><td>{$r['level']}</td><td>{$fm}</td></tr>"; } print "</table>"; } } if($_GET['gang']) { $q=mysql_query("SELECT * FROM users WHERE gang={$_GET['gang']}",$c); $q1=mysql_query("SELECT * FROM gangs WHERE gangID={$_GET['gang']}",$c); $r1=mysql_fetch_array($q1); print " <center> <hr width='50%' color='black'> <hr width='50%' color='black'> <Center> <h3> Searching users which is the gang named: [b]{$r1['gangNAME']}[/b]</h3> <table border='1' bordercolor='#303030' class='smallcoll' bgcolor='#505050' width='75%'> <tr bgcolor='#404040'> <th>User</th><th>Level</th><th>Money</th> </tr>"; if (mysql_num_rows($q) == 0) { print "<tr colspan='3'> <td colspan='3'> No users found!</td></tr></table>"; } else { while($r=mysql_fetch_array($q)) { $fm=money_formatter($r['money']); print "<tr><td>[url='viewuser.php?u={$r[']{$r['username']}[/url]</td><td>{$r['level']}</td><td>{$fm}</td></tr>"; } print "</table>"; } } $h->endpage(); ?>   And you are done. Feedback and some comments or how I can improve would be great :-) Also if you want to convert into V2.0 please do so. And sorry I have no print screens. :-( Thanks Toxication
  22. Re: $15 drop down explore As YoungGold said, this would be very annoying ^_^ Most players would not like this as it is very different, iseeyou, I don't think you should post things like this on the tutorials section if you can have a free tutorial as LostOne pointed out :|
  23. Re: [$5]Gang Status Well I gotta say, it is a little nice addon, but can be easily done, and would be something which could of gone on the "Free Modifcations" sections, however I know what you are like for money iseeyou :mrgreen: I'm the same...
  24. Re: Gang records messed up Is there a field in users table called 'cbank' ? If not, that is your problem.
  25. Re: [mccodes] Training and crime logs. Hmm... Please tell me if I am wrong but however, you think of how many people will train in a day and how many people will do crimes and the more data in being imported and exported out of the Database increaes the Data Transfer on your site don't it and may cause the site to lag?
×
×
  • Create New...