Jump to content
MakeWebGames

lucky3809

Members
  • Posts

    1,115
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by lucky3809

  1. @Wickidnezz, You make a valuable point! It is really easy to get a hold of mccodes, and not needing a license to run the engine. I think it's the creators problem when their engine is all over rapidshare for free, maybe if they made it to where you needed a license before installing it, it would have made it harder for people to use it for free, however most people uses free copies of the engine due to the coding is not properly coded, and why pay for something that is not in working condition?! I never understood that, why mccodes is selling an engine that is not properly coded in the first place, plus the advertisement of it being new out of the box... Not to mention not at least getting a business license, to sell such or getting a copyright on their products, like most companies do that are legal!
  2. We have all tried to tell people to get a valid license so they can get the upgraded mccode patch, however some people just don't care to have a legal copy. If your having mccode problems with installing them and what not it's time you buy a license and get the updated patch for it. Then you have no worries!! Or learn php yourself and fix the errors your getting it's really simple to learn php, not that hard to learn as most gives an excuse that they dont have time, if you dont have time then i would suggest dont use mccodes period, because you NEED to know php when using the mccode engine...
  3. I've played it also, a friend was a mod on there, and she sent me the link. I played it for awhile then gave up on playing it, one of the players from roguevampires made it. It needs more tweaking to the layout, that is what really drew me away from playing it, and the multi accounts too as John said.
  4. Instead of... $db->query("INSERT INTO `inventory` VALUES('',$itemidsearch2,$userid,$quantitysearch2) "); change to... item_add($userid, $itemidsearch2, $quantitysearch2);   do the same thing to all inventory inserting queries. but make sure your changing the $itemidsearch2, $quantitysearch2 to the right ones for that search. the item_add function should be in your global_func.php you do not replace that, keep it as it is... And use the function how I have explained above...
  5. average is $1-2 a page, cheapest 50 cents a page, depending on the security of course, just know every page needs to be secured not just a bunch of codes placed in the header.php... A few thinks securing a game is adding a small code to the header, and it actually doesn't secure EVERYTHING! It's better to have it secured the right way, even if you need to pay more. Like Oct says its better to do it yourself, then you know what is wrong when a problem occurs! There is tons of help on the internet that can teach anyone about security it may pay to learn the coding.
  6. Yep see what you have $item=mysql_query("SELECT `inv_qty` FROM `inventory` WHERE `inv_itemid`='564' AND `inv_userid`='$userid'"); $item1=mysql_fetch_assoc($item); $inc=$item1['inv_qty']-$_POST['transfergem']; $tabs=$_POST['transfergem']; $gain=$_POST['transfergem']; $db->query("UPDATE `storagebox` SET `sbox_qty` = `sbox_qty` + ". $gain ." WHERE {$item1['inv_itemid']} = `sbox_itemid` AND `sbox_userid` = '$userid'"); Need to add inv_itemid to your query selecting/ To: $item=mysql_query("SELECT `inv_qty`,`inv_itemid` FROM `inventory` WHERE `inv_itemid`='564' AND `inv_userid`='$userid'");
  7. It may be simple to us that are more advance in coding, but it may be hard for new people who are learning, asking questions does not hurt any. I am sure we ALL have asked questions and STILL do when we are stuck on something simple. With coding there is always something NEW to learn. ( i know i ask when I am stuck, then everything clicks after asking).
  8. Are you using mccodes? This mod works for mccodes. Can be implemented to any engine and website for that matter not hard. Just have to know php, which there is many php websites to help you learn it.
  9. Thanks everyone who tried to help. I figured it out had to do the research from facebook pagnation http://youhack.me/2010/05/14/an-alternative-to-pagination-facebook-and-twitter-style/ which uses php... Had to put this before the query <?php then after the while statement add a few vars, then end the php tag, then do something along the lines such as <div id="faqtable1" class="icongroup"> <td> <?php echo $blah; ?> </td> </div> for it to work... Dunno why it needed to be complicated to work with php but it seemed so.
  10. that is weird your getting font stuff on my end it does not show font stuff but on what you posted...forum must be acting up again for certain people...
  11. Ok I have been trying, but can't seem to get this to work correctly... First of all I am using the hide/show script from http://www.dynamicdrive.com/dynamicindex17/switchcontent2.htm demo 2.... I am using it in php but seems to not work effectively after a "while statement".... I want it to hide all names,id tables when clicked, however it seems to only want to hide one id (the one at the top of the list) instead of all ids,names in the tables... such as for instance... I have....   $nm=$db->query("SELECT id,username FROM users_s WHERE id=$name ORDER BY id ASC")or die(mysql_error()); echo '<span id="faqtable1-title" class="iconspan"></span> <table style="margin: 0 auto 0 auto; border: solid #292929 0px; width: 90%;"> <tr class="he"> <td>ID</td> <td style="width: 125px;">Name</td></tr>'; while($users=$db->fetch_row($nm)) { $bgcolor=($bgcolor == "#ececec") ? "#ffffff" : "#ececec"; echo '<tr style="background-color: '.$bgcolor .'"> <div id="faqtable1" class="icongroup"> <td>'.$users['id'].'</td> <td>'.$users['username'].'</td><div></tr></table>'; } echo <<<EOF <script type="text/javascript"> var faqtable=new switchicon("icongroup", "div") //Limit scanning of switch contents to just "div" elements faqtable.setHeader('[Hide]', '[show]') //Set header HTML faqtable.collapsePrevious(false) //Allow more than 1 content to be open simultanously faqtable.setPersist(true, 7) //Enable persistence to remember last switch content states for 7 days faqtable.init() </script> EOF;   It's only hiding the first ID in the first td, and not both name and id and all info in that whole table, like it should, or how i want it too lol. Hopefully there is someone out there that can help me or direct me to a website that shows how it is done.
  12. I personally use abs(intval()) for numeric and alpha mysql_real_escape_string(htmlentities()) . I use the simplest functions that are already there... Sometime for POST & GET numeric I use $ids=(isset($_GET['id']) && ctype_digit($_GET['id'])) ? $_GET['id'] : '';
  13. everyone secures differently then others, I have seen numerous secure features. The best thing to do is stick to what you know works, that you understand!
  14. You can add an item just replace the crystals, and query.
  15. If you cant find the images, you can always use google and google icons not hard lol
  16. nevermind...
  17. Your error is the secure function in one of your scripts, it wont be in the same page, as I tried stating. call to undefined function secure() <-----THAT IS YOUR ERROR! just replace all secure () function with the right secure functions... abs(intval()) for numeric values. mysql_real_escape_string(htlmentites()) with all your name and alphabetic values...
  18. Yeah I noticed those things to I pm'd him after I wrote that. The security is not really good, several things not needed and several things not placed right, and told him about mres being on alphabet such as names that it does NOTHING for the numeric value.
  19. by glancing at this you have $reset=strip_tags(addslashes(htmlspecialchars($_GE T['reset']))); the $_GE T should be $_GET And $amount=secure($_POST['amount']); do you have a secure function in another page? if not that can be your problem. You can use ... $amount=abs(intval($_POST['amount']));
  20. somewhere you may have duplicated a query, have you checked all your queries?
  21. Can I ask something... Why would you already think you will be shutdown?? your clients will get the maximum before you are shutdown? So I take it You have already did this before to make money off people then you get shutdown and they are chit out of luck? right? Think I know whom you are. Not very reliable if your constantly getting shutdown. And your clients are losing their money and hosting with your so called hosting.
  22. That is a good game you have there, lots of potential!! Only thing I have noticed is you level fast, to keep a game alive it should be harder to level after level 10, the faster your players level and accomplish everything in your game, it leaves no goals for them to continue to play, which most players will leave. Make things harder to accomplish, and not so fast to achieve. Sound effect on menu is bothersome but other sounds are ok.
  23. Go into global_func.php and look at your check_level function, it's not hard to come up with calculations to what your wanting.
  24. lucky3809

    Motivation.

    This is really right on, thanks for posting this, because from the start you are motivated then when your rounding to finish your game its less motivating then once the players arrive, the motivation goes back to how it was when you thought of the idea!! I think the part where your motivation is lost is when you try to compare your coding with other games, and also when others tell you negative things about your ideas, then you are usually thinking maybe this is not the right idea to do, but then you finish it and it WAS the right idea! Just NEVER listen to anyone when you are coding a game, if you believe in your game success it will be successful no matter what others might think or say! Your time is never wasted nor is your ideas!
  25. All scripts need to be secured. As for any for sell of mccodes, I don't think there is, unless redux is secured, maybe someone can answer that who has used the redux upgrade?... The parts that need to be secured are forms, anywhere a user is typing in stuff into your database, and ALL queries in your scripts should be secured. Do not ever go for securing the header.php only, some people think a small code will secure all pages, when it does not secure EVERYTHING, ALL pages needs to be secured!
×
×
  • Create New...