Jump to content
MakeWebGames

AlabamaHit

Members
  • Posts

    1,308
  • Joined

  • Last visited

Everything posted by AlabamaHit

  1. Re: Exp from leaving people not working search sprintf on php.net I use it...but when im postin on here i usually don't use it. cuase alot of people get confussed by it.. Its just a string that verifieds data sent to the database......its good to use.
  2. Re: McCode v2 center try adding <center> right after <body> in your header.
  3. Re: Exp from leaving people not working like i said before......might not of explained good i know im not that good at that... from quick look very early in morning. $db->query("UPDATE users SET exp=exp+$expgain WHERE userid=$userid"); is missing from your file.
  4. Re: [item Needed for crime] just go into database. and chagne the default of crimeITEM to the item ID of the crime....
  5. Re: Ammo [shop] it says Parse error: syntax error, unexpected '}' in /home/rdogg/public_html/attack.php on line 241   jsut delete the } on line 241
  6. Re: McCode v2 center Faz sorry man i didnt know you didnt have access to them........ but honestly a screenshot would help alot....it would put us in the right area...
  7. Re: [mccode] 8 Lines to secure your site from known sql injections. dude your an idiot not a hacker lol   Your telling everyone yoru a hacker...showing your IP to everyone lol......Don't say im on a proxy you cant see it lol cause proxys don't hide sh*t. So......your a hacker that let use know yoru IP so we can find your ISP, and then you have you put in jail.....nope not at all beliving that. lol
  8. Re: Were does ppl host Just some advise....Don't by from reseller.....Only buy from a Big Company. And no this statement don't mean anything toward anyone..
  9. Re: [McCodes]No right click script then go learn and quit post BS you find on warez sites.
  10. Re: Clickable images with mouseover. Does it stay focus on the text area? lol
  11. Re: Cron Help see im not sure its us or you...... Do you have bankpercent defined somewhere? in the users table i would hope and also bankmax daysinactive all needs to be defined somewhere? are they?
  12. Re: Exp from leaving people not working you ahve no query to update the exp unless i just over looked it on yoru post....
  13. Re: McCode v2 center this needs to be deleted or somethign he don't want to show us nothing... WE CAN NOT HELP IF WE DON"T SEE THE PROBLEM!!!!!!!!!!!!!!!!!!!! Post a damn picture if youwant help....
  14. Re: Docrime.php help [Please Help] maybe your host don't allow the eval function. thats 99% of the time the problem
  15. Re: Were does ppl host host monster
  16. Re: McCode v2 center i agree with pog on this...But a screen shot would be nice...just so we can make sure we point you in theright direction.
  17. Re: [V2]Register page with 1 account per ip [V2] all you did was add this   $checkIp = $db->query("SELECT * FROM `users` WHERE `lastip`='".$_SERVER['REMOTE_ADDR']."'"); if($db->num_rows($checkIp) > 0) { die("<h3>ONE ACOUNT PER IP! >[url='login.php']Back[/url]"); }   and thats not even the best thing....should only select the userid not * I say this because you are posting all kinds of stuff taht you didnt make..
  18. Re: [V2]Register page with 1 account per ip [V2] don't think "you" code your own games.....all your post are old post that other members have made...none of these "mods" you posted are yours.......
  19. Re: [mccode v2] Most of my Mods lol first you enter those letters it ask for lol then you wait the time it says lol then you download it when it says you can lol Sorry for the smart remark couldn't help it lol
  20. Re: So many of one? I would agree. there are a few on here that does not want to learn...I would Not put Karlos in that category...... Look around on here. Karlos Ask what is better....like what I mean is he/she ask how to improve their self. He/she does NOT just ask for a code to be fixed, or the code that works...Karlos ask how to fix it...and I have noticed when someoen does Karlos does like me.... They ask why that person done what they did. So thier skillls can improve...Like I usually ask for a link so i can read up on it. and karlos seems like that kind of person to.. What does it matter if someone post the same thing over and over....If its better everytime thats a + also. like someone else said on here. Seeing more than one way to do something will help everyone in the long run cause they will see different ways to do a certain objective. So i think all the post is not pointless.... Now if the post is the exact same....yeah of course thats point less.
  21. Re: Report Player Image I have made a mod like this. where you ahve to Approve the pictures. (It's not free)..
  22. Re: sprintf() Query.. no offense taken. Then I don't understand what you want to know? lol Explain what it is u want to know? No one can tell you when its better for you to use a signed or unsigned. on your game. "coding". becase we have no idea what is behind everything. For example %u is fine if you aleady change certain varibles..... Best thing would be to read up on it a few more times. I'm sure you will get it. just try to get what the varibles do...
  23. Re: sprintf() Query.. basically its not to "secure" its to "verify" the sent data. It is safer to use sprintf rather than not.
  24. Re: Cron Help   $get_it = mysql_query("SELECT inv_itemid, inv_userid FROM inventory WHERE inv_itemid = 18"); if(mysql_num_rows($get_it) > 0) { $tru = mysql_fetch_array($get_it)) { $do_it = sprintf("UPDATE users SET bankmoney = bankmoney * (bankpercent * 2) + bankmoney WHERE bankmoney > 0 AND bankmoney < bankmax + 1 AND daysinactive < 2 AND userid = %u",($tru['inv_userid'])); mysql_query($do_it); } } else { mysql_query("UPDATE users SET bankmoney = bankmoney * (bankpercent + bankmoney) WHERE bankmoney > 0 AND bankmoney < bankmax` + 1 AND daysinactive < 2"); }   this maybe?? i assume that your bankpercent and such are there somewhere already..... just a shot in the wind.....
  25. Re: Strange Ip problem ah i see. Will give a try and post back.
×
×
  • Create New...