Jump to content
MakeWebGames

rulerofzu

Members
  • Posts

    2,464
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by rulerofzu

  1. If you only have $150 budget. Spend a lot of time learning html, css, photoshop, javascript, php and mysql yourself as this is the only way really your gong to be able to afford a good game. Then come up with an entire game plan. theme, mods, ideas for exansion, content and then launch your game.
  2. Fair enough Peter ill change it this.. Why is this post even here?
  3. Well i posted how to do this in the freebies section so there ya go....mine was in the viewuser but can be applied anywhere. 8o
  4. $multiplier=1; $calosc = $i['itmbuyprice']*$i['inv_qty']; $total += $multiplier*$calosc;   Then where you have your print   print "{$total}";
  5. rulerofzu

    AJAX Help

    You should look at XMLHttpRequest for that Dayo. Which is basically sending a request to the server in this case query the db who is online and then sending the result back to the webpage. Quick google on that will lead you here http://forums.devnetwork.net/viewtopic.php?t=34665
  6. Just to clarify SUM for mysql not PHP select SUM(fieldname) from items you may wish to also GROUP by item type should be a simple adjustment to your existing select query.
  7. why would it have bbc.php? what bbc.php? what you talking about danny?? :P
  8. This modification has been removed for the following reasons. Lack of support from the owners of the forum, mccodes staff, for their own engine. Linking from their own website to this modification without permission. Non release of patches for bugs and security flaws in ALL versions of McCodes despite the staff being informed of such.
  9. If your webhost is PHP 5 then go read through filter http://php.net/manual/en/book.filter.php http://www.w3schools.com/PHP/php_filter.asp will run you through how to validate and sanitize numbers, strings, email, ip, url, inputs, arrays.
  10. Thanks to A_B for the example it wouldnt have crossed my mind to do data into excel and then import it. Ive also since read from here about using excel as a ODBC data source. This is a great way for your requirements Lilith as you can supply the data input person with an excel template they input the data and then you can run it into the database. They never need any kind of admin access. Can work on or offline. 2 massive areas of my gameplay will be done like this as soon as ive got a moment to do the template and get the ball rolling.
  11. A_B I think that would be great if you could show how to do that.
  12. It will call the image set in the database snake. As the sql is set to have a default image then this will automatically be used.
  13. Karlos the result has been favourable and it is producing some good results with regards to new signups and positive feedback from existing players. Depending on what you require I found this to be quite helpful. https://github.com/facebook/php-sdk/
  14. I use Facebook connect on Zu. Works pretty well. I also use the like button and will be using commenting shortly.
  15. Or have it in the database. I was just giving a simple example which will depend on how many results you wish. Illusions did a similiar thing with calling from a text file. Many ways to do it. Take your pick
  16. You could add something like this   $hosp = array(); $hosp[] = "<font color=brown>Beaten by guards!</font> "; $hosp[] = "<font color=orange>You have been hit by a guard!</font> "; $hosp[] = "<font color=red>A guard smashed you to pieces!!</font> "; $random_number = rand(0,count($hosp)-1); $hospreason = "".$hosp[$random_number]."";   Will give a random result for going into the hospital. Recycle the code for jail and voila!!
  17. Whilst the price is now relatively low for what you get should it just be left insecure and force you to do the work or pay someone else? I disagree. It was their choice to make the product and put it up for sale. Any software which is taking money surely has to give their customers a working product. Does MC work out of the box without a problem. No it does not and therefore it should be fixed. Ive purchased ecommerce php software for around the same price that mc2 was originally on sale for. The owners of the software spend a significant amount on security audits and has always released a minor patch within 48hrs and any major patch within 24. Yes bugs and exploits do occur but its how you manage them what counts. I agree with you A_B that people shouldnt expect to just be able to setup a database upload the files and have a game ready to play. MC is designed to be a base to build upon and you should be very clear what you intend to do before you begin. I just believe the base should be solid and not full of holes.
  18. RSS feed from your main website into the admin panel would achieve this. Nice easy compact way to provide announcements by links to your website. That way you control those that are allowed to download the patches. They have to have registered on the website to be able to access the patch. Lets face it software is cracked all the time and not one system is foolproof therefore its more about making sure your legit members have access and others do not.
  19. The big question you should be asking is why AFTER spending $100 you need to spend $150 on getting it secured. :whistling:
  20. Unless your able to provide examples of your work as is being requested then I wouldnt expect to be getting any work anytime soon.
  21. Check if they have 0 health before anything else. if($ir['hp'] == 0) { // give them a message or just end the page }
  22. mc2? $db->escape Personally I like to name it so $var=$db->escape($_POST.... if your on a webhost with PHP5 then you can use filter_input and filter_var.
  23. Jordan you can steal my idea and pay me 55mil ill be more than happy 8o
  24. Feel the love....fell the love :D
  25. Funny thing about this test. My IP tracks back to somewhere around London which is where the test was done from. However I live in the middle of fields in Cornwall South West UK with a line less than 1MB. My work is a bit better I get up to 3MB there. I regularly get timeouts have to re-sync the router so I would like to believe these results however actual usage tells me different!
×
×
  • Create New...