Jump to content
MakeWebGames

rulerofzu

Members
  • Posts

    2,464
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by rulerofzu

  1. Hmmmm topic.....I hope you brought enough for everyone! I know this is "free" but what guarantee do you have to anyone taking your offer. You could decide to not continue or cannot afford the monthly payments and the server company revoke your vps taking anyone with you offline too.
  2. Skooda couldn't ddos anything. He hardly has the technical knowledge.
  3. Im gonna call you on this one....post how you would do it :D
  4. Aaaaah but do you know how to use it properly as a global function realm?
  5. Whois says different.
  6. The has item would be better as a function in global_func so it can be used elsewhere. If your doing it might as well make the most of it! Otherwise good work Sniko.....your just too nice doing all the work for em :P
  7. TPB has been using a .se domain since 2004
  8. As they still have not bothered to release the patch CB claimed to have done in the IRC chat then I would recommend you not use any version of mcc as its flawed. Go for ezrpg or nwe.
  9. Basically several countries are offering backhanders and government favours. So sites are being handed over in exchange. SOPA wasnt worth the toilet paper it was written on and the block of TPB in the UK is quite laughable. You can google how to get around it lol
  10.   Well done ill go test...... Blam Blam Blam .... Ill be back :D
  11. Look at the proceeding form where you have the input fields. So you have a new one for entering the details for the item pic which then when the form is submitted gives the info for the query. So then you also need to add the new var for the query $itmpic = (isset($_POST['itmpic'])) ? strip_tags($db->escape($_POST['itmpic'])) : '';
  12. `effect3` = "' . $efx3 . $_POST['itmpic'] Is wrong. Look at the syntax of how the other columns are set in the query. , `itmpic` = '. $itmpic .', `weapon` = ...... *changed $_POST['itmpic'] to $itempic as you still shouldnt be using $_POST directly in queries :P
  13. Post what you have tried.
  14. Well as I stated previously the update code you posted didnt mention any pic column so it wont update even if you have a form field for it your not passing the info in the query.
  15. Ask yourself why is it any different. If you can insert then you can update yes? So what occurs when you try to update. You get an error message which says?
  16. Dont use $_POST in a query. Secure your $_POST and then use the var. If you do not know how to do that look up filter, filter_var, mysql_real_escape_string (or use $db->escape in mc2) , int, abs etc and learn the differences between integers and strings. I do not see itmpic or any reference to what could be the column for a picture in that update. You cant update something if its not included in the query.
  17. Wow 8 hours to create a new column in the items table and reference that in a query?
  18. Barking up the wrong tree. The OP wishes to use an item to get the player out of jail. The itemuse code does not have nor has it ever had if your in jai lalalalal. Could we please move along from jailcheck (shoots the person that mentioned it). Moving along......what mcc version 2.x.x? which if I remember correctly could be more the issue at hand. The inventory query code posted by Kylemassacre bring us all the way back to what I told you to try and code yourself in the first reply of which you didnt try. Yay 3 pages of efficiency lol
  19.   You have " use an item in the inventory to release them out of jail" nothing to do with the gym.
  20. Nope link is fine. Invalid item ID is what it says The $_GET['ID'] has passed which is the first check in the itemuse file Next is a query for the item number and userid if that fails you get Invalid item id and that doesnt appear anywhere else in that file. So either the item id is incorrect OR the user id isnt.
  21.   Point out the jailcheck there then as I do not see it. I believe he was referring too if($ir['jail']) Which wouldnt throw a invalid ID anyway it would simply state you cannot access this page. Its more likely the OP isnt referring to the correct ID. Get the inv_itemid number.
  22. jailcheck..? Not got a clue what your talking about eh
  23. r['itmid'] is not a global so where is the OP going to get that value from? Hence why it works on the inventory page but not elsewhere.
  24. Not being funny but why are you trying to make a php web browser game when you cannot code? Each player has an inventory of which the item id, quantity and userid is stored in the inventory database. So you will need to reference that table to see if they have any of the item if they do then continue and display the link to use the item. Reduce the qty by 1 or delete if its their last one. Perform the appropriate action. Thats the structure of the code why not try and create it.
  25. How is it you dont publish a patch for your own software. I know they have little interest in the Mcc project clearly by their lack of action and involvement in the community but to fix a major security flaw and then just not release it is not only lazy but disrespectful to those that have paid licence fees. Thats IF they have fixed it...or its just a hahahah yes fixed that sorry forgot to release it (best go see if i can fix it quick)
×
×
  • Create New...