Jump to content
MakeWebGames

SHAD

Members
  • Posts

    267
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by SHAD

  1. sure is!! :thumbup:
  2. That works really well also, it gives details of any querys being manipulated. edit: here is the link to loging user [Free] Log Suspicious Users
  3. Works perfect, i found it. it logs all the urls player enter.
  4. I can't wait to buy this!! Thanks for making this daya! one of the best mods so far!
  5. I was wondering if anyone could make a system for mccodes that tracks any hacking attempts made and give a littile details of where they are made and how they were made, so the owner can take action and fix the problem.
  6. This is a pretty big mod released for free. good work mate!
  7. hey, i have tried but can't come up with a query that would check if user is the gang presendet and allow him to update the coloums ( gangRESPECT and gangUPDATE) . Can anyone help please? <?php include (DIRNAME(__FILE__) ."/globals.php"); if(!$gangdata['gangPRESIDENT']) { echo'Only the gang president can perform this action.'; $h->endpage(); exit; } else { if($gangdata['gangRESPECT']>=150) { mysql_query("UPDATE `gangs` SET `gangUPDATE` = 1, `gangRESPECT` - 150 ' WHERE `userid` = {gangdata['gangPRESIDENT']}"); echo' Congratulation, Your gang now has been updated'; } else { echo'you gang does not have enough respect .'; } } $h->endpage(); ?>
  8.   Damm, i wish i asked you to do my layout, the person i asked is just taking the P*SS and i already paid him for the layout. Your designs look really decent!
  9. Ok i have a valid mccodes licence but was wondering if i could buy ravan script aswell. As i want some of the features in that game and install them in to my mccodes game? Would mccodes allow that? I all ready have a valid mccodes licence so i dont know if it will effect it.
  10. Oh so you mean vars like $_POST and $_GET.
  11. so it only formats it? And would that query be secure? if yes then why the need to format the string anyway? @Djkanna , I see you placed the querys in littile comas or so, may i ask what do they do to the query? as i see quite afew people using them.
  12. I have read in quiet places that sprinf is a slow function, so what would be an alternative of sprinf but still secures the query. say for example i have this query mysql_query("UPDATE users SET testing=testing-10 WHERE userid=$userid",$c); how would i secure it without using sprinf.
  13. How is the forum going so far?
  14. he was talking about trading mod for a blackjack mod, so that why i posted the above. He has edited his original post, that why you didnt see it.
  15. I said he cant't sell other peoples paid mods, As he wanted to trade the mods which he bought from other players. Nothing to do with spelling.
  16. Cool, Thanks.
  17. Buy seanbobs, and what mods are you talking about? You can't sell people paid work if that what you are willing to trade.
  18. Ok since mccodes does not allow users to sell their game because it against the rules, Can two users trade game codes if they both have a vaild licence? Example If their is a person who has a recoded and secure copy of mccodes also (has a valid licence). Another person who has a normal copy of mccodes, just bought.(also has a valid licence). Now can the person who has a secure and recoded version of mccodes, can he give that to the other person as his secure and recoded version for some cash, as they both have vaild licences and it will be just like getting your game secured.
  19. @ColdBlooded, is the auto donator system actually auto and is it safe to sue in the patched version of mccodes v2.
  20. You can still watch friends on E4. they havn't removed it.
  21. Thanks, glad you like it :)
  22. So since mccodes new image, has anyone found any major issues? Their was a small html problem, but i think they have fixed it.
  23. so when will all this be done. as their are lots of illegal copys all over the internet. and action needs to be taken fast! I think mccodes should do someting about the websites which illegally distrubute the code.
  24. Hey all, i have made my first free mod for makewebgames/dev-forum users. If their is any problem or if i have done some thing wrong, then you are most welcome to correct it. :) What this mod basically does is, allows users to throw a grenade at another player, sending him/her to the hospital and setting their will to 0 as they just got bombed and wont be happy about it. You will need to make an item with the id of 28, or any other id, but you will have to edit the current id in the code below. Hope you like it :)   <?php include"globals.php"; $gid = 28; //Change to your item id. $mintime = 200; //Change to the min time. $maxtime = 500; //Change to max time. print'<h2> Throw a grenade </h2>'; $query=mysql_query("SELECT `inv_itemid` FROM `inventory` where `inv_itemid` = $gid && `inv_userid` = $userid"); $i=mysql_fetch_array($query); if(!$i['inv_itemid'] == $gid) { print "Invalid Item"; exit; } if(!isset($_POST['ID'])) { print "<form action='Granade.php' method='post'> User id: <input type='text' name='ID' /> <input type='submit' value='Submit' /> </form>"; } else { $_POST['ID'] = abs(floatval($_POST['ID'])); $maxMembs = $db->fetch_row($db->query("SELECT COUNT(`userid`) AS `u` FROM `users`")); if($_POST['ID'] > $maxMembs['u']) { echo "Invalid user!"; $h->endpage(); } $ht = mt_rand($mintime,$maxtime); mysql_query("UPDATE `users` SET `hp` = 1, `will` = 0, `hospital` = {$hosptime}, `hospreason` = 'Bombed by <a href=\'viewuser.php?u={$userid}\'>{$ir['username']}</a>' WHERE `userid` = {$_POST['ID']}"); event_add($_POST['ID'],"[url='viewuser.php?u=$userid']{$ir['username']} [{$ir['userid']}][/url] threw a grenade at you, causing some severe effects.</a> ",$c); item_remove($userid, $gid, 1); print" You have successfully threw your grenade ."; } $h->endpage(); ?>   Thanks to twitch and sniko, the original code has been updated.
  25. Is this mod ready to be sold?
×
×
  • Create New...