Jump to content
MakeWebGames

Xukusari

Members
  • Posts

    29
  • Joined

  • Last visited

Everything posted by Xukusari

  1. if ( isset($_SESSION['attacking']) && $dosessh && ($_SESSION['attacking'] || $ir['attacking']) && ( in_array($_GET['page'], array('attack','attacktake','attackbeat','attacklost','attackwon')) ) ) { echo "You lost all your EXP for running from the fight.."; $db->query("UPDATE users SET exp=0,attacking=0 WHERE userid=$userid"); $_SESSION['attacking']=0; header.php lines 25-28. I have no idea why this code was even in there. I personally just removed the whole thing and it resolved.
  2. If you want the fix for this problem send me a private m essage a friend helped me solve it.
  3. Oh ok :) I'm tearing my hair apart trying to figure this stuff out XD. I've tried looking into all three issues myself but just hit dead ends :(
  4. I bought MC Redux recently as a way to learn some new coding(it's also been a dream I've had since I was like 16), however every time I turn around I find a new problem. I test out a new feature on the website and there's a new problem. There's issues just about everywhere. 1. Cron's. I know this is probably really nooby/stupid of me to ask, but these are confusing. My host told me to use cronjobs, so I did, still not working. They told me I could also just use my Crons folder, but if I do that where do I put the commands? I was simply epic failing at doing crons, there were a few pieces of coding I didn't know and I also didn't know how to use the security code. 2. Crimes. Fatal error: Call to undefined method database::fetch_array() in /home/street29/public_html/Mods/docrime.php on line 20 $r = $db->fetch_array($q); Line 20 of docrime.php Fixed, just had to change a few lines of code.   3. During attacks it shows a few lines of text saying I lost all of my experience for running away from a fight. That would be fine if I had actually ran away, which I hadn't. Really odd lines of coding on one of the main pages was causing this. There really wasn't a reason this was in there.
×
×
  • Create New...