Jump to content
MakeWebGames

rulerofzu

Members
  • Posts

    2,464
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by rulerofzu

  1. lmao
  2. Looks good and for the record does it matter if it is mcc based or started with it? Its like a lot of things in life. Its knowing what to do with it what counts ;) Good luck with it :D
  3. Sorry but it has everything to do with what you posted   Which is exactly what those functions do. If I remember correctly you are clearly shown what EXP you need to get to the next level with the inbuilt functions. So for example if its 1200 to reach level 6 then you know what exp you need to get to level 6 as it says 1200 exp required :whistling: If you have simply created a table so it shows all the levels up to x level then well all good but in my opinion not worth paying for.
  4. grpg beta 1.1 as supplied when the website was actually still active. Not modified by anyone. Came as is and was the last release available Not going to post the full code but here you have it..... classes.php line 298 function experience line 316 function Get_The_Level($exp) line 342 function Get_Max_Exp($L) Those functions determine the players exp/max exp and what level they should be etc. Same functions are also used for gangs. No extra database input needed. So YES it does come already in GRPG.
  5. Yeah im pretty sure its already in there.
  6. The inventory and item has been re-written or discarded. Item use for example no longer exists....all combined. I still use the some of the global function stuff mainly the item_add function but thats about it.
  7. Well according to what you have posted $gangdata['exp_needed'] You do not have a exp_needed field in the db table
  8. Your game is essentially the content in the database. If you had 5 domains all pointing to that one database its just the one game as there will be no difference in the content.
  9. Find a better host.
  10. :thumbsup: 8o I like the advert
  11. You have to set the IPN in the profile section in your paypal.
  12. Doesnt anyone use google anymore? Your data being inputted doesnt match the number of columns.
  13. At a guess this is kinda like the old zend framework which was then taken and developed into inspekt. The idea is that you wrap your code in a secure enviroment and let that check the input and output. For example INPUT with my crap code -> CHECK WITH BETTER MORE LONG WINDED CODE -> Display the result or throw an error. http://www.cloudflare.com/wiki/Client_Interface_API I really do not see any need for it. Secure your code. Produce better code. Keep your eye on PHP releases for important security notices. Also I do not see anything there you couldnt do for minimal cost or free. http://www.configserver.com/cp/csf.html for example.
  14. You could always use some css and place the numbers to select actually onto the safe pic making it look visually effective rather than just a image of a safe below.
  15. I appreciate someone that does give it a go and tries their best. So well done. Now....and be honest $_GET['ID'] = (isset($_GET['ID']) && ($_GET['ID'])) ? intval($_GET['ID']) : false; Do you really understand what what line and all the other lines are doing or is it a cut n paste this is what everyone else uses.
  16. Your gonna have to do it yourself then :D
  17. Richard im sure you could have fixed this yourself :P Replace the dump2 function with this one and your done.   function dump2() { global $db, $ir, $c, $h, $userid; if($_POST) { $Itemid = abs((int) $_GET['id']); $amount = abs((int) $_POST['amount']); $Query = mysql_query("SELECT inv_userid,inv_qty,inv_itemid FROM `inventory` WHERE `inv_userid` = ".$userid." and inv_itemid = ".$Itemid.""); $Data = mysql_fetch_array($Query); if($db->num_rows($Query) == 0){ echo 'You do not have this item to dump!'; return; } item_remove($userid, $Itemid, $amount); for($i=1; $i <= $amount; $i++) { mysql_query("INSERT INTO `dump` (dumpID, itmID, dumperID) VALUES (NULL, ".$Itemid.", ".$userid.")"); } echo ' You have dumped '.$amount.' '.getitmname($Itemid).'(s)! '; } }   Also secured the post value :rolleyes:
  18. Diesl is correct that you need to specify unless the table you are entering the data into only has those fields in that order. For example ID, ID2, ID3, ID4 insert into 4 id's fine no problem ID,ID2,ID3,ID4 insert into only two ID, ID4 and you dont specify which then what? do you expect the code and database to have a quick chat and discuss which are the correct fields?
  19. Id like to say good effort and nice try on this. Its a lot of code for something that does not need to be so big. You could use and array to check for the reserved names. Also you need to really think more about your database structure. int(11) is really bad habit. Is your ID really going to need that? Also you should think about security as standard for any code that you do. $_POST['reserved_name'] has nothing to secure that.
  20. I know one thing your good at criminalwars....bullshit....your proving yourself to be really good at that.
  21. if(check for something){ // do something } else { // do something not if(check for something)} {
  22. This doesnt look right here if(username.val() == 'Username' || username.val() == '' || password.val() == 'Password' || password.val() == '')} {
  23. I wouldnt remove it.... put it above ?>
  24. line 154 you have a } in your html
  25. lmao!!!!
×
×
  • Create New...