
Aqua
Members-
Posts
264 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Aqua
-
I took Genocides code , and i thaught it wasa bit too dirty for some games out there :p So i changed it Around <?php /*----------------------------------------------------- -- A product of Stage3Gaming -- [url]http://www.stage3gaming.com[/url] -- Pub.php -- Modified By Sarunas -----------------------------------------------------*/ 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(); if(!$_GET['spend']) { print "Pub Hi and welcome , what would you like?. Prices and payment options are listed below. For The Clients </pre> <table border="1" width="90%">Alchohol DrinksPriceBuyJuice$1,000,000[url='Pub.php?spend=Juice']Buy Juice[/url]Beer$5,000,000[url='pub.php?spend=Beer']Buy Beer[/url]Brandy</table> <center>$7,000,000[url='pub.php?spend=Brandy']Buy Brandy[/url]</center> <br><center>Tequila</center> <center>$10,000,000</center> <center>[url='PUB.php?spend=Tequila']Buy Tequila[/url]</center>";<br>print "<br><br>}<br>else<br>{<br>if($_GET['spend'] == 'Juice')<br>{<br>if($ir['money'] <1000000)<br>{<br>print "You don't have enough money to buy a pint of beer , Get out of my PUB!";<br>}<br>else<br>{<br>mysql_query("UPDATE users SET will=will+35,energy=0,money=money-1000000 WHERE userid=$userid",$c);<br>mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c);<br>print "<center>You payed the Bartender \$1,000,000,and then drank your juice . You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>";<br>}<br>}<br>else if($_GET['spend'] == 'Beer')<br>{<br>if($ir['money'] <5000000)<br>{<br>print "You don't have enough money to buy a pint of beer , Get out of my PUB!";<br>}<br>else<br>{<br>mysql_query("UPDATE users SET will=will+70,energy=0,money=money-5000000 WHERE userid=$userid",$c);<br>mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c);<br>print "<center>You payed the Bartender \$5,000,000, and then drank your beer. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>";<br>}<br>}<br>else if($_GET['spend'] == 'Brandy')<br>{<br>if($ir['money'] <10000000)<br>{<br>print "You don't have enough money to buy a pint of beer , Get out of my PUB!";<br>}<br>else<br>{<br>mysql_query("UPDATE users SET will=will+210,energy=0,money=money-10000000 WHERE userid=$userid",$c);<br>mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c);<br>print "<center>You payed the Bartender \$10,000,000, and then drank your Brandy. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>";<br>}<br>}<br>else if($_GET['spend'] == 'Tequila')<br>{<br>if($ir['money'] <10000000)<br>{<br>print "You don't have enough money to buy a pint of beer , Get out of my PUB!";<br>}<br>else<br>{<br>mysql_query("UPDATE users SET will=will-50,energy=+250,money=money-10000000 WHERE userid=$userid",$c);<br>mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c);<br>print "<center>You payed the Bartender \$10,000,000, and then drank your tequila. You feel Dizzy , Then you feel some of your energy comming back to you. [url='index.php']>Home[/url]</center>";<br>}<br>}<br>}<br>}<br>$h->endpage();<br
-
Re: Phaos Game Engine yes but as i said on my Kiddy kartel engine topic , the people that will make this game first will the right players. The other 'copy cats' that make these games after wont get nothing , especially if it will be one of their quick-money-making schemes...
-
Re: Phaos Game Engine Different is Unique , Unqique is goood. Good Staff + Unique + Chalenging + FUN = Good Game ! Phaos Engine provides all :)
-
I have seen many games that are quite good , but their context is very easily exploitible... Protecting your site from SQL injections and other hacking Procedures is vital and crucial to your game , because many players will leave if they are not satisfied with the performance of the games staff. Staff Should make sure SQL injections dont take place , and if they do they should be well prepared for it. We all saw what hapened to TC ... So lets start , SQL stands for Structured Query Language.Most SQL injections take place in ASP or NET , so it may not necisrily hapen in your game. What is a SQL injection: SQL Injection is one of the many web attack mechanisms used by hackers to steal data from organizations. It is perhaps one of the most common application layer attack techniques used today. It is the type of attack that takes advantage of improper coding of your web applications that allows hacker to inject SQL commands into say a login form to allow them to gain access to the data held within your database. In essence, SQL Injection arises because the fields available for user input allow SQL statements to pass through and query the database directly. --------------------------------------------------------------------------------------------------- Overview A successful SQL injection attack enables a malicious user to execute commands in your application's database by using the privileges granted to your application's login. The problem is more severe if your application uses an over-privileged account to connect to the database. For example, if your application's login has privileges to eliminate a database, then without adequate safeguards, an attacker might be able to perform this operation. Common vulnerabilities that make your data access code susceptible to SQL injection attacks include: Weak input validation. Dynamic construction of SQL statements without the use of type-safe parameters. Use of over-privileged database logins. ------------------------------------------------------------------------------------------- If you are a owner of a game , but dont knmow anything about SQL then you should do the following : Learn how SQL injection attacks work. Constrain input to prevent SQL injection. Use type safe SQL command parameters to prevent SQL injection. Use a least privileged account to connect to the database. Learn additional countermeasures to further reduce risk. To counter SQL injection attacks, you need to constrain and sanitize input data. Check for known good data by validating for type, length, format, and range .Use type-safe SQL parameters for data access. Also usse an account that has restricted permissions in the database. Ideally, you should only grant execute permissions to selected stored procedures in the database and provide no direct table access. Some people think IP Security and Secure Socket Layer protect them from such 'hacking' methods , THEY DO NOT ! Usefull Sites: http://www.acunetix.com/websitesecurity ... ction2.htm http://www.unixwiz.net/techtips/sql-injection.html ~Sarunas
-
Re: Kiddy Cartel I think we astablished the fact that there ALOT of potential in this product :-D Time for me to try it out :p
-
Re: Potential I am not a great coder ... For the better coders out there this will be a great chalenge , and this will prove if they really are the 'great coders' they claim to be. Many people here brag about their mods etc , that are stolen or just modified , and most people tha claim they are profesional coders , cant do anything at all... This engine is suitible to those who have experience and skill in programing... But as i said there is alot of space in the web industry for this , the people that can code and are good at it , now have the chance to prove it. If coders here succeed and achieve their goal of making this game it will be a hit im sure , but there is ALOT of chalenges you will have to face , its pretty much a game/puzzle itself :wink: ~Sarunas
-
Re: Potential To solve the problem , i would just get rid of db.php...
-
Ok people , some people say the engine is rubish some say its unique. Well i think thiss engine is a great way to make a great game and make some money , the game would be unique and special. What makes a good game: Continues Chalanges- A good game designer gives his players continuous challenges, each of which leads to another challenge, to keep them "hooked" on playing a game. This can be done by setting clear, short-term goals appropriate to the level of the player and the context within the game. Orginality - Any new game must be original. It has to possess elements that have never—or at least not in this particular combination—been part of a game before , MC codes are very popular , but now the clients and players are not satisfied with new MC coded games , since most of them are now just quick money making schemes. Learning and mastering a game - Surely it is an advantage for a game to start quickly and be easy to learn, and the clearer and simpler the rules, the better. Not all games suffer from having complex rules. In general, the more opportunities players have to influence the course of a game, the more readily the players will tolerate a complex set of rules. TC was my first game , and it took me quite some time to learn the basics of the game aswell as learn the rules. Kiddy Kartel Engine seems quite easy to master, Both for players , and for the owners ( develop purposes ). Short, simple games must have short, simple rules. Complex games, on the other hand, may have more complex rules. There is clearly potential for the engine in the web industry , cant wait till someone makes a fully functional cool game with this engine. And i could gaurantee the people that will make this game latest as possible will be successfull and then many will decide to 'copy-cat' these games and then they wont be original , so listen people , if you are waiting to make your own game , Kiddy Kartel is one of the best choices. Now or Never ! ~Sarunas
-
Counting (nr game) :D Now seriously .... 740
-
Counting (nr game) 2438790435704 ... Just joking , 140 :thumbs_up: