AlabamaHit
Members-
Posts
1,308 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by AlabamaHit
-
Re: Psychotic Insanity The font is kinda throwing me off....
-
Please review my game. Its not very new been around awhile...never got many players. Maybe some help from reviews will help me in this problem. Link is www.thugways.info
-
Re: [V2] Youtube Mod [V2] That is because he used $ir on his querys....just go into youtube.php Notice this.... print " <table width=75% border=1 cellspacing=0> <tr> <th bgcolor=#CCCCCC>Last 10 videos added</th> <th bgcolor=#CCCCCC>Watch</th> </tr>"; while($ir=$db->fetch_row($youtube)) ^^See where the while is $ir....just change it to $r.......MAKE SURE YOU GO THROUGH THE PAGE AND CHANGE ALL THE SPOTS THAT $ir IS USED AND MAKE THEM $r..... Sorry for caps...just dont want you to forget that. lol.. Also do that for your other page as well.....That should fix the problem..
-
Re: Cron Hour Gang Crimes well did that fix it?
-
Re: hey so would placing it in the hour cron...
-
Re: Cron Hour Gang Crimes There should be 2 required pages... Look in your code find require "removed"; add after...this is where you have to decide which cause obviously you removed it LMAO require "class/class_db_{$_CONFIG['driver']}.php"; require "global_func.php"; just add which ever you dont have....
-
Re: Cron Hour Gang Crimes show me the top of your cron i want to say its somethign in the top connecting to the database where its not allowing the event add feature work...post yours and i will compare to mine lol..i fixed it but i dont feel like finding my orginal files...(on external hard drive in closet LOL)
-
Re: hey Couldn't it just be placed in the header.php?
-
Re: Point/Cash Exchange I see no error....posted.. i see your code....and you saying its not working.. What is not working? Im not uploading this to my game to see what is not working or what error is coming out.. POST THE ERROR OR SAY WHATS NOT WORKING or post in mod request... to request someone to make this for you..this is the help section its Impossible to help you if you way here is some code...it dont work please help. how do i know what to fix
-
Re: Point/Cash Exchange I'm not going to code it for you............ you said you have coded it...and its NOT working.... Post Your error...
-
Re: Point/Cash Exchange what is it doing? whats the error...would help.....make it faster to help you....dont want to recode you a whole page lol
-
Re: Bank Cap (Not Remove The Cap) just go into your day cron and add something like.. $db->query("UPDATE users SET bankmoney = 2000000 WHERE bankmoney > 2000000"); thats will make it where if the interest goes over it will set back to 2 million without giving money to them...Just make sure its AFTER the query that gives the interst..so put it at the bottom of page...also in bank.php should be like.. This one stops them depositing over 2 million... if($_POST['deposit'] > 2000000) { print "Say somethign here.. [url='bank.php']> Back[/url]"; $h->endpage; exit; } and also you need thiis... This one stops them from depsiting over 2 million also but notice the bank money...cuase if you just block with first i could easly just depost 1.5 million every time and go over it...but with this it will add there deposit and there bankmoney together and if combined it will stop them. if($_POST['deposit'] + $ir['bankmoney'] > 2000000) { print "Say somethign here.. [url='bank.php']> Back[/url]"; $h->endpage; exit; }
-
Re: Regen put the code in your 15 cron page...............its in your 5 min cron already.......
-
Re: Cron Setup its not that hard all you do is type in the url....damn
-
Re: [V2] Daily Donator Reward [V2] Require is better than Include. if you use require and there is an error on the page the page Stops loading. and no querys will run... if you use include and there is an error on th epage the page will show the error..BUT it will continue to run the page after the error...so if there is a query after the error the query will still run.
-
Re: Need help limiting energy refills opps forgot that lol
-
Re: Need help limiting energy refills That should be easy just do this... Add to your users table in your database. a row called energyfill Now in your temple page find $db->query("UPDATE users SET energy=maxenergy,crystals=crystals-{$set['ct_refillprice']} WHERE userid=$userid"); print "You have paid {$set['ct_refillprice']} crystals to refill your energy bar."; change it to this $db->query("UPDATE users SET energyfill=energyfill+1, energy=maxenergy,crystals=crystals-{$set['ct_refillprice']} WHERE userid=$userid"); print "You have paid {$set['ct_refillprice']} crystals to refill your energy bar."; Now in temple page find else if($ir['energy'] == $ir['maxenergy']) { print "You already have full energy."; } Add right after that. if($ir['energyfill'] > 3) { print "You have already filled your energy 3 times today."; } That should do it..
-
Re: Time Stamp. Thank you all so much for your help :-D
-
Um....Hope I explain this good....Ok..here we go lol I was wondering if someone could tell me what it the timestamp for 4 Days.. For example....if i didnt not want people who has not loggined in, in 4 days to get interest....(in there bank.) Like what would the time stamp number be... I also know for example 30 days would be like this...I only know because i found an example on here. mysql_query("UPDATE users SET bank=bank+(bank/50) where bank>0 and time < (unix_timestamp()-2592000",$c); but what would be the 4 days? Or if you dont want to tell me thats fine..if you could point me to a place that explains how it works would be Great to..I kinda would like that better so I can learn it.
-
Re: Ipn_donator problem If you changed the price it wont work....So if your 2 and 3 is not $3 then that is why.
-
Re: Create user problem I just looked through.... All thats wrong is your not placing the Location. You need to check the query. And add it to add a Location.
-
Re: Can Somone Help? Im A Bit Of A Newb. Just use this... Change your query $q=$db->("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid={$_GET['ID']}",$c); to this $q = $db->query("SELECT u.*, us.* FROM users u LEFT JOIN userstats us ON u.userid = us.userid WHERE u.userid = {$_GET['ID']}"); That should work. or you could try this.. $lol = $_GET['ID']; $q = $db->query("SELECT u.*, us.* FROM users u LEFT JOIN userstats us ON u.userid = us.userid WHERE u.userid = $lol");
-
Re: I need HELP and Willing to Pay Looks like an extra _ to me......thats all... change the require(class/class_db_.php) to require(class/class_db_mysql.php) I would be willing to bet that will Fix the problem.
-
Re: Stats [urgent] big int dont have decimals. I dont know if that would cause that or not but worth a try.
-
Re: Have mails dont show Nope sounds like your mailbox.php It has to update the users table (newmail) <-- something like that...everytime you send a mail... Not exact code but will help you solve it...in the mailbox.php in the send function there should be a query to do that somethign like this. $db->query("UPDATE users SET newmail=newmail+1 WHERE userid= here is where im not sure but it should be the person RECIVEING the mail.