_Ricky_ Posted December 7, 2008 Posted December 7, 2008 ok so i added the crystal temple option go up one level. This guy donated quiet a bit and was apparently wanting to go up above lvl 1000 so when he got to 1100 he says his exp bar started showing negative, and everytime he refreshed or whatever it would go up a level and his exp bar kept going negative, anyone know whats wrong?? i dont care one bit to pay someone to fix this Quote
Eternal Posted December 7, 2008 Posted December 7, 2008 Re: exp in negative??? LAWL cause his level jumped so high in one hit it goes to minus if he refreshes a few more times it will go to normal depending on how much he tried to increase his level i wouldn't suggest having something where the user can do that... Quote
_Ricky_ Posted December 7, 2008 Author Posted December 7, 2008 Re: exp in negative??? he wasnt doing a hit, i added the pay 50 crystals to gain a level in the crystal temple...thats what he was doing Quote
_Ricky_ Posted December 7, 2008 Author Posted December 7, 2008 Re: exp in negative??? once you get to like level 990 it starts giveing you free levels everytime you refresh the page it adds on -100 more exp the bar keeps going makeing the page crazy and you gain a level Quote
Savager Posted December 7, 2008 Posted December 7, 2008 Re: exp in negative??? Probbally because he has max exp which is 9999999.9999 to fix this go into phpmyadmin>users table>structure>edit exp and change decimal(11,4) to decimal(20, 4) or something like that. Quote
Savager Posted December 7, 2008 Posted December 7, 2008 Re: exp in negative??? Double time! :evil: Quote
_Ricky_ Posted December 7, 2008 Author Posted December 7, 2008 Re: exp in negative??? nope i had the problem with max exp at lvl 235, fixed that already, i seen a post last night about globals function that said this is how you fix the 990 lvl problem but i cant find it Quote
Savager Posted December 7, 2008 Posted December 7, 2008 Re: exp in negative??? Try changing (int) to (float) in global_func.php under the level function :) Quote
Eternal Posted December 7, 2008 Posted December 7, 2008 Re: exp in negative??? Try not to rely on other people to fix your own problems. people are here to help you out but posting about something that can be fixed in seconds is pointless savager told you what is wrong and i am positive he is correct. i noticed the same problem when i changed my level from 1 to 1600 i jumped an extra 300 levels Quote
_Ricky_ Posted December 7, 2008 Author Posted December 7, 2008 Re: exp in negative??? dude if you would read, i said i done had the max exp problem and done fixed it, for what hes saying yes thats true...he never said a word that wasnt true....but when you have max exp your level stops, so how about you read the problem and if you dont know how to fix it or you dont want to share how to fix it...then you find another post to talk this junk your talkin on...and Savager thanks for the help and i hope you understand what im saying Quote
Guest Sniko` Posted December 7, 2008 Posted December 7, 2008 Re: exp in negative??? Just get rid of that level upgrade and change his level back to normal or put $db->query("UPDATE users SET exp=100 WHERE userid=$userid"); In the code so it puts their exp to max when they level, it might work Quote
Savager Posted December 7, 2008 Posted December 7, 2008 Re: exp in negative??? lol sniko problem is already solved. Quote
Zero-Affect Posted December 7, 2008 Posted December 7, 2008 Re: exp in negative??? i had this issue not long back a solution is to open global_func.php: FIND- You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Replace with - You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. i edited my full globals and global func but that should work perfectly i thought i would give a more detailed reply Quote
_Ricky_ Posted December 7, 2008 Author Posted December 7, 2008 Re: exp in negative??? thank you both very helpful Quote
Zero-Affect Posted December 7, 2008 Posted December 7, 2008 Re: exp in negative??? thank you both very helpful No problem, hope it helped Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.