Jump to content
MakeWebGames

Curt

Members
  • Posts

    525
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Curt

  1. lol...just to clarify I was not dissing your mod at all... i think its a cool mod :P
  2. lol... naw...i seen something like this a while back...not sure if it was on this site or not though... but i do remember you needing to save up bricks to build a house.. but its a nice mod... good luck with it :D
  3. im not for sure but i believe i seen a mod just like this somewhere :P... im not saying you didnt code your own, im just saying i think i seen something like this... giving out a free tester ? :)
  4. srry i guess i was mistaking... im still learning...:P hope u get it solved
  5. just curious does this donator mod credit the person instantly after the purchase ?
  6. are you using v1 or v2 ?... if your using v2 and if im not mistaking. you have to change mysql_num_rows into mysql_num_array   but i could be wrong....
  7. thanks a_bertrand, that one apostrophe was messing me up :P
  8. lol..i have seen this Ravens script BS and i have to say it is in fact the mccodes engine with a few minor changes...lol im surprised dabostew could not sue this guy, the similarity's are too much to deny it.... plus he prob made a nice amount of money off ignorant people...(no offence if you bought this engine :P)
  9. this is the sql error i get : QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' WHERE userid=1' at line 1 Query was UPDATE users SET username='ADMIN', display_pic='', forums_avatar='', forums_signature='', email='[email protected]', login_name='admin', profsignature=' WHERE userid=1
  10. ok well i used the mod with the table added and all looks good but when i submit i get a SQL error.....i checked to make sure i have all entries in my users table and i do... this is the version of php and SQL i have.. PHP Version: 5.2.6 MySQL Version: 5.0.81-community   am i out of date ?...lol
  11. ive helped him resolve his issue...so he should be good to go :D
  12. well i guess it is the version of php im using... i deleted the line of code and it works fine :) nice work... EDIT** hmm...well i added a table to make it so its lined up...but when i submit it gives me an error... heres the error: Not Found The requested URL /account was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. I copied the original code back there and i get the same error when i submit the data...
  13. well this looks like a nice mod... i copied the new code you put there and still same thing..a blank white page... I dont know..ill check back tomorrow and see if anyone else has the same problem i have... it might just be something i did wrong... very nice work on this though...a nice mod indeed :) later EDIT* hmm for some reason my online game doesnt tell me where the errors occurred ,which is stupid, but i put it in my offline server and it tells me theres a parse error on line 90
  14. hmmmm...for some reason i just get a blank white page on the account.php page... also on the SQL, you gotta remove that comma at the end :P...it throws up a error.. ill see if i can figure this out...
  15. cool ill try this out now and post a comment in a few minutes :)
  16. LOL.... now i have givin him the knowledge that there is an alternative to cron jobs...thats the point of my 2cents... if he searches the forums im sure he will find it...its not like hes gotta go on a wild google search..lol no one told me about this i had to find it myself..... if you wanna share it with him be my guest...i just figured he would learn more if he found it his self... PS. I am a nice guy :D
  17. there is always the alternative to cron jobs.....thats what i use :) i would give u a link to the post but it took myself a couple weeks to discover it so ill leave it up to you :P later
  18. thanks for the info lazy t :)
  19. nice, ill try mdshare's method thanks for this post :)
  20. This is a simple one.... this determines how much money you get...   $stole=make_bigint(rand($r['money']/500,$r['money']/20));   and this determines how much exp you get...   $qe=$r['level']*$r['level']*$r['level']; $expgain=rand($qe/4,$qe/2);   You could simply take away one of the $r['level'] (qe=$r['level']*$r['level']*$r['level'];) and that would give u less exp i think...also multiply money by rand number between 1,20 instead of dividing ($r['money']/20));)that would give u more money..... but you need to learn to change this around until you find what suits you hope that helps you later EDIT"" just relized u could possibly take more money than the player actually has doing it the way i said... and easy way would simply be : $stole=make_bigint(rand($r['money']*.05,$r['money']*.20));
  21. hmm...well this one is kinda confusing for me...the way it looks is that the message would come up during your first bust only...also your not telling it if you passed or failed....so it doesnt know to run the other code...thats my guess.. hope it helps
  22. lol... The mods are simple to convert...you shouldnt have too much trouble with that....just remember don't for get to insert the SQL into your database if the mod requires it... the lite version is stripped of most features that come with v2...like the staff menu...it does have less advanced staff menu i believe... some advice is to learn as much as you can about html, javascript, PHP, and SQL databases....these skill are essential if you plan to set up and run a game.... im new myself and have been learning lots, these forums have lots of great things, some more advice would be to look through the entire forum dedicated to mccodes..you will learn lots :) feel free to PM me if you would like...always willing to help a fellow newbie :P later
  23. thats looks good your problem is that as long as your are the level you specifed you will keep recieving the points until you grow another level....you need to specify it so you only gain the point/s once...   if($ir['level'] == 5) { if($ir['yourvairable'] == 0) { $db->query("UPDATE users SET points=points+1 yourvairable+yourvairable+1 WHERE userid=$userid",$c); event_add($ir['userid'],"Congratulations on getting to level 5, for doing so you have recieved one Point!",$c); } } //next level code if($ir['level'] == 10) { if($ir['yourvairable'] == 1) { $db->query("UPDATE users SET points=points+1 yourvairable+yourvairable+1 WHERE userid=$userid",$c); event_add($ir['userid'],"Congratulations on getting to level 10, for doing so you have recieved one Point!",$c); } }   I think something like that would work...NOT TESTED AT ALL :P
  24. do you want it to give a certain amount of points each time you grow a level ? then do as danny696 says...but if you want it to give points every 5 levels, and so on you could add a row in your query saying sumthin like points_recieved or wte..and add a 1 to it and and add if points_recieved is one then no points...then make it if level is 10 add points and add 1 to points_recieved...and so on.. i think something like that would work.... im still learning c ya
  25. just to keep you guys updated...I completely removed the "$c" and everything runs smoothly. Thanks for the help guys
×
×
  • Create New...