Jump to content
MakeWebGames

noddy

Members
  • Posts

    45
  • Joined

  • Last visited

Everything posted by noddy

  1. i'd like to learn how to code these templates :/, how shall i go about it ?
  2. i would say, a good place to start would be to check that the config.php code, is the same as the one you have in your crons, if it isnt , they wont work
  3. RE: FOUND A BUG   You could always just not make the unsilenced version un equippable? like... dont make anything but the outcome equippable.
  4. yeah sorry :/ had some coursework to do and it would seem he wasnt aware of the situation xD, sorry about that lol.
  5. +1 for kyle xd yeah it was that, immortals helping me secure stuff now :]
  6. and how would i fix that? btw , could an sql inject be used to get our admins to do it without them knowing, as the head admin says he did click on his profile, and i have yet to secure our display pic
  7. yep, our config files been messed with, anyone know how they got in? cause they didnt get the cpanel pasword
  8. password hasnt been changed, i still login with the same, so you say it may be in the config file? ill go take a look and update with what i find
  9. hey, well the owner of the site i help out on, found a spammer, so he put him in jail, and as soon as that happened, our whole site went down with the error "FATAL ERROR: Could not connect to database on localhost (Access denied for user 'krakisgod'@'localhost' (using password: YES))" , now i gather someone called krakisgod tried getting into our database, but is there anyway to turn off this error, as players cant play the game, if anyone could add me on msn, thatd be great, [email protected] .
  10. if its permanent, you cant, if its temporary it will only run whilst he has his freezer client open. id reccomend going to http://www.messblack.com to see if there is a way to get past it, but if its permanent, and messblack cant help you it looks like you need a new email
  11. Re: IP Banning tool [V1] + [V2] yep :]
  12. Re: IP Banning tool [V1] + [V2] isnt $ip = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; unsecure? thats how hackers got into my site before.
  13. Re: [mccode v2] Advanced(isher) Level Upgrade Mod.   OMGZ!!! My game's full of variable's, does that mean im not secure against hack's? :o same :o damnit im going to get haxxored again >.<
  14. Re: [mccodes]Secure demo account   i changed the ip to that above, as there was a security hiccup with changing ip's, im not sure if its right though >.<
  15. Re: [mccode v2]My Simple Search Streets im not knocking this, as i think it is quite good, but isnt it practically the same as others? oh and yeah the insert into will work, but im not sure about making a streets mod a paid mod, i would keep it as free ^^
  16. Re: admins cant be feded [v2]   Wouldnt it work better in header? less of a wait?
  17. Re: yet another problem yep, that did it alabama, thank all of you guys for helping me.... again, damn -sure shows i need to practice >.<
  18. Re: yet another problem nothing appears?
  19. Re: yet another problem okay ty zeon, your fix got the page working, but when i click refill searches , nothing happens
  20. Re: yet another problem thanks for the fast reply, but it didn't work, could the problem be elsewhere? here is the whole file. <?php include "globals.php"; if(!$_GET['spend']) { print "Welcome to the Points temple! You have [b]{$ir['crystals']}[/b] Points. What would you like to spend your Points on? [url='usepoints.php?spend=refill']Energy Refill - {$set['ct_refillprice']} Points[/url] [url='usepoints.php?spend=IQ']IQ - {$set['ct_iqpercrys']} IQ per Point[/url] [url='usepoints.php?spend=money']Money - ¥".number_format($set['ct_moneypercrys'])." per Point[/url] [url='usepoints.php?spend=searches']Refill Searches -15 points[/url] "; } else { if($_GET['spend'] == 'refill') { if($ir['crystals'] <$set['ct_refillprice']) { print "You don't have enough Points!"; } else if($ir['energy'] == $ir['maxenergy']) { print "You already have full energy."; } else { $db->query("UPDATE users SET energy=maxenergy,crystals=crystals-{$set['ct_refillprice']} WHERE userid=$userid"); print "You have paid {$set['ct_refillprice']} Points to refill your energy bar."; } } else if($_GET['spend'] == 'IQ') { print "Type in the amount of Points you want to swap for IQ. You have [b]{$ir['crystals']}[/b] Points. One Point = {$set['ct_iqpercrys']} IQ.<form action='usepoints.php?spend=IQ2' method='post'><input type='text' name='crystals' /> <input type='submit' value='Swap' /></form>"; } else if($_GET['spend'] == 'IQ2') { $_POST['crystals']=(int) $_POST['crystals']; if($_POST['crystals'] <= 0 || $_POST['crystals'] > $ir['crystals']) { print "Error, you either do not have enough Points or did not fill out the form. [url='usepoints.php?spend=IQ']Back[/url]"; } else { $iqgain=$_POST['crystals']*$set['ct_iqpercrys']; $db->query("UPDATE users SET crystals=crystals-{$_POST['crystals']} WHERE userid=$userid"); $db->query("UPDATE userstats SET IQ=IQ+$iqgain WHERE userid=$userid"); print "You traded {$_POST['crystals']} Points for $iqgain IQ."; } } else if($_GET['spend'] == 'money') { print "Type in the amount of Points you want to swap for money. You have [b]{$ir['crystals']}[/b] Points. One Point = \$".number_format($set['ct_moneypercrys']).".<form action='usepoints.php?spend=money2' method='post'><input type='text' name='crystals' /> <input type='submit' value='Swap' /></form>"; } else if($_GET['spend'] == 'money2') { $_POST['crystals']=(int) $_POST['crystals']; if($_POST['crystals'] <= 0 || $_POST['crystals'] > $ir['crystals']) { print "Error, you either do not have enough Points or did not fill out the form. [url='usepoints.php?spend=money']Back[/url]"; } else { $iqgain=$_POST['crystals']*$set['ct_moneypercrys']; $db->query("UPDATE users SET crystals=crystals-{$_POST['crystals']},money=money+$iqgain WHERE userid=$userid"); print "You traded {$_POST['crystals']} Points for \$".number_format($iqgain)."."; } if($_GET['spend'] == 'searches') { if($ir['crystals'] < 15); { echo "You don't have enough Points!"; } else { echo "You have paid 15 Points to refill searches."; $do = sprintf("UPDATE users SET turns = 50, crystals = crystals - 15 WHERE userid = %u",($userid)); $db->query($do); } } } } $h->endpage(); ?>
  21. i am trying to make it so users can refill there searches, i am using this but it isnt working. if($_GET['spend'] == 'searches') { if($ir['crystals'] < 15); { print "You don't have enough Points!"; } else { print "You have paid 15 Points to refill searches."; $db->query("UPDATE users SET turns=50 WHERE userid=$userid"); $db->query("UPDATE users SET crystals=crystals-15 WHERE userid=$userid"); } } any help?
  22. Re: Website exploitation +1 FOR YOU MY FRIEND
  23. Re: [Mccodes V2]Prayer Mod you missed the ; at the end, and ' should be ` , but like i said im not sure if these are needed, because im a beginner xD
  24. Re: [Mccodes V2]Prayer Mod and the sql should be ALTER TABLE `users` ADD `pray` INT (11) NOT NULL DEFAULT '1'; i think, as it only worked when i did that to it ^^, but im still a beginner >.< and np ^^
  25. Re: [Mccodes V2]Prayer Mod i personally like it, so its a +1 from me.
×
×
  • Create New...