Hitman 25 Posted March 21, 2010 Share Posted March 21, 2010 schooling im using it and it works great please put some updates later on.. :thumbsup: Quote Link to comment Share on other sites More sharing options...
rowbvp Posted March 21, 2010 Share Posted March 21, 2010 Yes that did it Thanks,I may have drop the table course from users. Great mod! :thumbsup: Quote Link to comment Share on other sites More sharing options...
Uridium Posted March 23, 2010 Author Share Posted March 23, 2010 For those wanting something different for Gangs why not use the same method for education so gangs can learn new things aswell You could use the education system to Help Gangs gain REP, extra cash, Update gang size and possibly more. Im not going to code this cos you could really just adjust the Education mod to make it work the same way. Just a thought Quote Link to comment Share on other sites More sharing options...
jds137 Posted April 6, 2010 Share Posted April 6, 2010 Is this mod working now? I know last time I checked, it was still being developed. Great stuff as usual Quote Link to comment Share on other sites More sharing options...
Uridium Posted April 6, 2010 Author Share Posted April 6, 2010 yep its working 100% fully tested found no problems Quote Link to comment Share on other sites More sharing options...
Monkey644 Posted April 10, 2010 Share Posted April 10, 2010 Help please :S SQL query: ALTER users ADD cpercent DECIMAL( 4, 1 ) NOT NULL DEFAULT 0.0; MySQL said: #1064 - 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 'users ADD cpercent decimal(4,1) NOT NULL DEFAULT 0.0' at line 1 Quote Link to comment Share on other sites More sharing options...
Djkanna Posted April 10, 2010 Share Posted April 10, 2010 ALTER TABLE `users` Quote Link to comment Share on other sites More sharing options...
Guest Drizzle Posted April 10, 2010 Share Posted April 10, 2010 By "Runs on Clicks, not crons" you mean? Like, users have to click over and over to finish? Or throughout the game, it counts the clicks on all pages? Jus wonderin :P good mod Quote Link to comment Share on other sites More sharing options...
Monkey644 Posted April 11, 2010 Share Posted April 11, 2010 Since adding this to my game, i cant seem to get my game to work any more. I can log-in but then get a white screen and cant find the problem anywhere. Any one know what i should do? Quote Link to comment Share on other sites More sharing options...
rowbvp Posted April 11, 2010 Share Posted April 11, 2010 It may be your hosting Company,that has happen to me many time when I was on a bad host. when the site doesn't connect to your SQLs Quote Link to comment Share on other sites More sharing options...
Monkey644 Posted April 11, 2010 Share Posted April 11, 2010 It may be your hosting Company,that has happen to me many time when I was on a bad host. when the site doesn't connect to your SQLs Ok, i'll contact them seeing if they can help. EDIT: Done it, had to sort globals out. Quote Link to comment Share on other sites More sharing options...
Chuckster Posted July 25, 2010 Share Posted July 25, 2010 #1064 - 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 'users ADD cpercent decimal(4,1) NOT NULL DEFAULT 0.0' at line 1 Help??? :( Quote Link to comment Share on other sites More sharing options...
Steve Posted February 12, 2011 Share Posted February 12, 2011 Thanks for this mod....Lol I have learned tons from it. It truly has added a new perspective to my "Pirate game" schema. I have whats a very noobish question but I wanna ask so maybe I can understand in the future. I have added most of this,but when i got to what was noted as edits to header.php div.grey_info{ border:1px #999999 solid; width:80%; margin: auto; background:#a1a1a1 } Â div.outcome_info{ border:1px #ffffff solid; width:80%; margin: auto; background:#D1D1D1 } Seems as if just anywhere in the body with the rest of the css would have sufficed, yet it gave me a white screen. remove it and all is better. Is it monorail that the bit should have been added,or am I just placing it in the wrong place? Quote Link to comment Share on other sites More sharing options...
Maniak Posted February 13, 2011 Share Posted February 13, 2011 Steve, you have probably got a white screen because of the bold lines... div.grey_info{ border:1px #999999 solid; width:80%; margin:auto; background:#a1a1a1 - needs a ; at the end. } div.outcome_info{ border:1px #ffffff solid; width:80%; margin: auto; background:#D1D1D1 - needs a ; at the end } Quote Link to comment Share on other sites More sharing options...
Djkanna Posted February 13, 2011 Share Posted February 13, 2011 Steve, you have probably got a white screen because of the bold lines... div.grey_info{ border:1px #999999 solid; width:80%; margin:auto; background:#a1a1a1 - needs a ; at the end. } div.outcome_info{ border:1px #ffffff solid; width:80%; margin: auto; background:#D1D1D1 - needs a ; at the end } Actually the last attribute doesn't need a semi-colon but it's best practice to do so. Try and see if you are placing them between style tags, best of placing it just under your css for body { }, just to be sure it's in the correct place. :) Also space things out; You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
Steve Posted February 13, 2011 Share Posted February 13, 2011 Thank you both very much, that fixed it. I should have stopped last night when I started "glazing" over staring at it. Thanks to the whole community, I dont generally have a need to post as most answers are already out there with a bit of effort looking around. I could never place a value on the things I have learned from this awesome site. A huge thanks to everyone!! :thumbsup: Quote Link to comment Share on other sites More sharing options...
Uridium Posted February 13, 2011 Author Share Posted February 13, 2011 Wow im surprised people are still using this mod :) Quote Link to comment Share on other sites More sharing options...
Steve Posted February 14, 2011 Share Posted February 14, 2011 Thanks for making it :) I like the concept of it as it actually encourages people to be active. you can not simply log in once, then come back after it completes and restart another. Without staying active you simply can not complete a course :D I am going back through everything. Problem I seem to have now is adding a new course through the admin panel. After filling everything in, and click create course it refreshes and empties all of the fields but never makes the course. Anyone happen to know what I may have done wrong? ?( I thought maybe you could not leave any of the fields blank but that was not it either. Quote Link to comment Share on other sites More sharing options...
Uridium Posted February 14, 2011 Author Share Posted February 14, 2011 Let me dig up my copies i may have altered this and never updated it...... Quote Link to comment Share on other sites More sharing options...
M0B2 Posted February 14, 2011 Share Posted February 14, 2011 Once again a great mod, i will be looking at how it works and see if i can learn a thing or two which im sure i'll learn a ton. Thanks illusions Quote Link to comment Share on other sites More sharing options...
Uridium Posted February 14, 2011 Author Share Posted February 14, 2011 Im still digging i havent forgotten :) Couldnt find it so ive had to reinstall MCC on my pc and edit the files to make them work... Will repost working copy... Quote Link to comment Share on other sites More sharing options...
Uridium Posted February 14, 2011 Author Share Posted February 14, 2011 Call this file staff_courses.php When adding a new course make sure no values are less than 0 for some reason it goofs so ive had to add a new line of SQL You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
Uridium Posted February 14, 2011 Author Share Posted February 14, 2011 Above shows how to add a course Above shows accepted addition Above shows Editing a Course And finally the Succes message... All Courses can be deleted but make sure users are not taking that course at the time... USERS VIEW List of Available course When user starts their course And the final outcome after the completion. Quote Link to comment Share on other sites More sharing options...
Uridium Posted February 14, 2011 Author Share Posted February 14, 2011 Small Update in the image above thats says ( List of Available course ) ive redone it so it shows them amount of times a particular course has been taken.. Quote Link to comment Share on other sites More sharing options...
Steve Posted February 14, 2011 Share Posted February 14, 2011 Thanks illusions :) Cant wait to get home and implement it. :thumbsup: Quote Link to comment Share on other sites More sharing options...
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.