Jump to content
MakeWebGames

Aqua

Members
  • Posts

    264
  • Joined

  • Last visited

Everything posted by Aqua

  1. Newsletter Mod. Price: $15 MC Code Conversion: $10 Installation Price: $15 Version Conversion:Free Afterall, its not that hard Bug Fixing:Free Providing you show the license Updates: Free if you are a holder of the license Again i will stick to my system,and only 5. Well i saw someone was strugling to Mass Mail people to their email so i coded this modification for the beginner, although even the good coders around here will find that the features. This Mass Mail is a amazing tool to have on your game, or website for that matter. This modification has simple Subscribe and Unsubscribe features, so people will ahve to suscribe to your newsletters, otherwise they may regard it as SPAM. After they pressed suscribe Subscribe, they wll geta email for verification and once they click it, they will be entered into your database for the mailing list. This is easy to control as i have made a panel for it, in your admin section. The code was originally made for my forum i am developing from scratch, however it suits other websites too, although conversion to another game engine including MC will cost you some more. That is all. ¬LK
  2. The classic game, Stone, Paper, Scissors. Price: $20 Installation Price: $5 Graphics Mod: $10 Bug Fixing:Free Providing you show the license Updates: Free if you are a holder of the license Requested Additions: $5 Aprox, although will depend on the actuall request Only 5 Copies of the modification will be sold, i will update the thread to inform on how many are left. I will probably sell two by the end of today as i had requests from those people for this, the others will be served on a first come first serve basis. However keep in mind i will only sell to those whom i believe are trustworthy and wont resell or give out my modification. So be quick :) If you buy this modification, you will certainly be happy. I do truly believe this is a decent gambling feaure. If a player wants to play this game, he or she will have to challenge the user to the game, the challenge button will be located in their profiles, it can also be done by going to casino-stones paper scissors and then writing the id, then the challenge will be complete, and it will be devilvered to the other person in seconds. Also when challenging remember to put in the number of rounds you will have, i set the round max to 10, you can change this if you wish. This game is pure luck, that actually is determined by what you pick, so actually players will not be able to blame this feature. I added a panel were you can set Max bets, Minimum bets and Number of games per day, so even without any php knowledge you can control the feature easily. The layout will be simple when playing the game, you will just have to pres either of the following; Stone, Paper or Scissors. However if you want to add extra thrill it is possible, for an extended ammount i will add graphics/pictures, so it will look better. However you will be in charge of getting the graphics i will just be responsible for adding them. Updates we will be working on adding: The Games will have possibility to be viewed by all To add a AJAX chat, so users can talk while playing Feel free to add suggestions, i will focus on implementing them. ¬LK
  3. Re: Help With level cap vr1 Maybe because his current players are at that level...
  4. Re: [$5]bb code gang description and announcement Again a code that should be posted for free rather than charged for. I myself have made this also, it doesnt take a genius to work this out. The code is doesnt even contain length either, i am sure most 'coders' on here will be able to figure out. And just for the record, i saw you said no critism in your posts, however what needs to be said should be said ;) ¬LK
  5. Aqua

    WWI

    Re: WWI Germany-22 Russia-14 Great Britan-63 France-0 Another nation destroyd by the Templar-LK alliance :)
  6. Aqua

    WWI

    Re: WWI Germany-20 Russia-14 Great Britan-62 France-3
  7. Aqua

    WWI

    Re: WWI Germany-17 Russia-14 Great Britan-60 France-8
  8. Aqua

    WWI

    Re: WWI MWUAHAHAHA Germany-15 Russia-14 Great Britan-60 France-10 TEMPLAR and LK decide to Kill French next :p
  9. Aqua

    WWI

    Re: WWI USA-3 Germany-14 Russia-14 Great Britan-57 France-11
  10. Aqua

    WWI

    Re: WWI USA-5 Germany-12 Russia-14 Great Britan-57 France-11
  11. Aqua

    WWI

    Re: WWI USA-7 Germany-11 Russia-14 Great Britan-56 France-11
  12. Aqua

    WWI

    Re: WWI USA-9 Germany-9 Russia-14 Great Britan-56 France-11 USA AND GERMANY EQUAL
  13. Aqua

    WWI

    Re: WWI USA-10 Germany-9 Russia-14 Great Britan-55 France-11
  14. Aqua

    WWI

    Re: WWI USA-12 Germany-8 Russia-14 Great Britan-55 France-11
  15. Aqua

    WWI

    Re: WWI USA-14 Germany-6 Russia-14 Great Britan-55 France-11 Geez, you cant get dumber than that lol... Anyway i am going to partner Templar and save Germany and kill USA mwuahahahaha, i shall kill USA since Bush is in charge BLAHBLAH :p
  16. Re: Need Help Well this may sound stupid, but do you have jail installed ?
  17. Re: Password Protect Pages 'Although this dose the same. Mine is completely different and more advanced.' Get your vocabulary right ;) Any and Every login page is possible to SQL inject, it is just a matter of time and difficulty. I would like to see your code and compare it, see wether it is a big difference or not. I doubt it, but afterall a free mod is still a mod ;)
  18. Re: Hacker SQL injecting the Crystal Market...
  19. Re: Hacker Maybe you should fix your bugs. You called this guy a 'hacker' all he did was exploit a common bug everyone knows....
  20. Re: Password Protect Pages People have different opinions, and ways to protect their websites. And it seems there was some interest in Ghettos mod, but in my opinion it was not worth the money, so here is a free version :) ¬LK
  21. Aqua

    PHP Codes

    Add numbers to MySQL database results   <?php /* This will add a number in front of each row eg. 1 - Legend-Killer 2 - Mdshare 3 - Scarlet 4 - LostOne */ $sql = "SELECT name FROM people"; $result = mysql_query($sql); $thenumber = 1; while ($row = mysql_fetch_array ($result)) { echo $thenumber . ' - ' . $row['name']; $thenumber++; } ?>   Add data to a MySQL database   <?php // Do your insert query... mysql_query("INSERT etc..."); // This finds the id of the row once it has been added... $id = mysql_insert_id(); // Display it... echo $id; ?>   Create a random password   <?php /** * The letter l (lowercase L) and the number 1 * have been removed, as they can be mistaken * for each other. */ function createRandomPassword() { $chars = "abcdefghijkmnopqrstuvwxyz023456789"; srand((double)microtime()*1000000); $i = 0; $pass = '' ; while ($i <= 7) { $num = rand() % 33; $tmp = substr($chars, $num, 1); $pass = $pass . $tmp; $i++; } return $pass; } // Usage $password = createRandomPassword(); echo "Your random password is: $password"; ?>   Add data to a MySQL database   <?php /** * Change the first line to whatever * you use to connect to the database. * * We're using two values, title and * text. Replace these with whatever * you want to add to the database. * * Finally, change tablename to the * name of your table. */ // Your database connection code db_connect(); $query = "INSERT INTO tablename(title, text) VALUES('$title','$text')"; $result = mysql_query($query); echo "The data has been added to the database."; ?>   Total Load Time   <?php // Insert this block of code at the very top of your page: $time = microtime(); $time = explode(" ", $time); $time = $time[1] + $time[0]; $start = $time; // Place this part at the very end of your page $time = microtime(); $time = explode(" ", $time); $time = $time[1] + $time[0]; $finish = $time; $totaltime = ($finish - $start); printf ("This page took %f seconds to load.", $totaltime); ?>   Connect to a MySQL database Many will be familiar, as you need to do this for the MC codes, if you dont have an installer :p   <?php /** * Edit the database settings to your own. * To use, just include the function and * call it using <?php db_connect(); ?> * * You can then do your database queries */ // Edit your database settings $db_host = "localhost"; $db_user = "username"; $db_pass = "password"; $db_name = "databasename"; function db_connect() { global $db_host; global $db_user; global $db_pass; global $db_name; $connection = mysql_connect($db_host,$db_user,$db_pass); if (!(mysql_select_db($db_name,$connection))) { echo "Could not connect to the database"; } return $connection; } ?>   Validate an email address using regular expressions If you want a PHP script to verify an email address then use this quick and simple PHP regular expression for email validation. This is also case-insensitive, so it will treat all characters as lower case. It is a really easy way to check the syntax and format of an email address.   <?php $email = "[email protected]"; if(eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $email)) { echo "Valid email address."; } else { echo "Invalid email address."; } ?>   Count and display the number of rows in a mysql database table This code will count the number of rows (entries / records) in a MySQL database table and then display it using echo on the screen.   <?php /* Datebase connection code goes here. If you don't know how to do it, see above :) Change tablename to match the name of your own table */ // Connect to the database db_connect(); // Query the database and get the count $result = mysql_query("SELECT * FROM tablename"); $num_rows = mysql_num_rows($result); // Display the results echo $num_rows; ?>   Display date and time with PHP Quick one-liner to output the current server date and time on a page.   <?php /** * Just add this in your page where you * want the date/time to appear * * For more configuration options look * in the PHP manual at [url]http://uk2.php.net/date[/url] */ // Displays in the format Saturday, November 22, 2003 11.38 echo date("l, F d, Y h:i" ,time()); ?>   Hope you found this particular tutorial helpful ¬LK
  22. A password protect page mod. Well Ghetto was offering to sell it; http://criminalexistence.com/ceforums/i ... ic=16735.0 I did not think it is worth the money, more of a 'free' mod, so here goes;   <?php // Define your username and password $username = "PUT!YOUR!USERNAME!HERE!"; $password = "PUT!YOUR!PASSWORD!HERE!"; if ($_POST['txtUsername'] != $username || $_POST['txtPassword'] != $password) { ?> <h1>The Login Menu</h1> <form name="form" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <label for="txtUsername">Username:</label> <input type="text" title="Enter your Username" name="txtUsername" /></p> <label for="txtpassword">Password:</label> <input type="password" title="Enter your password" name="txtPassword" /></p> <input type="submit" name="Submit" value="Login" /></p> </form> <?php } else { ?> This is a protected page, we have logs on who dares to come in here, if you do try and hack us, you will be punished.Feel free to add more.</p> <?php } ?>   If you need further help or information regarding this modification feel free to PM me in private, and we shall discuss your problems, i am always avalible and happy to assist with your needs :-) ¬LK
  23. Well numerous times i have seen Random images, users or quotes on login pages. Well i have collected a few codes like that :); Random Quote; <?php /** * Add this line of code in your page: * <?php include "random_quote.php"; ?> */ $quotes[] = "This is a quote"; $quotes[] = "This is another"; $quotes[] = "quote 3"; $quotes[] = "quote 4"; $quotes[] = "quote 5"; $quotes[] = "quote 6"; srand ((double) microtime() * 1000000); $randomquote = rand(0,count($quotes)-1); echo " " . $quotes[$randomquote] . "</p>"; ?>   Random Image: <?php /* * Name your images 1.jpg, 2.jpg etc. * * Add this line to your page where you want the images to * appear: <?php include "randomimage.php"; ?> */ // Change this to the total number of images in the folder $total = "11"; // Change to the type of files to use eg. .jpg or .gif $file_type = ".jpg"; // Change to the location of the folder containing the images $image_folder = "images/random"; // You do not need to edit below this line $start = "1"; $random = mt_rand($start, $total); $image_name = $random . $file_type; echo "<img src=\"$image_folder/$image_name\" alt=\"$image_name\" />"; ?>   PS: This was originally made for other websites, a little bit of editing will be needed if you are to use it for a MC coded website. ¬LK
  24. Re: Counting (nr game) 1728
  25. Aqua

    WWI

    Re: WWI USA-14 Germany-11 Russia-14 Great Britan-50 France-11 Russia shall dominate :p Germany shall die :p
×
×
  • Create New...