Swift-Fusion || Fusion Posted July 20, 2010 Posted July 20, 2010 I was asked before to re-program a mod for you guys too see my programming. So i choose the lotto mod because i looked in the requests and someone had asked for one. So here goes. This hasnt been tested though. Original mod: http://makewebgames.io/board791/21297-mccode-v2-lottery This is the lotto file, call it what you want. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now this is the cron, run it every week: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Dominion Posted July 20, 2010 Posted July 20, 2010 i have not looked over the full file's but they look good one small thing why so much tabbing on the 2nd file? Quote
Swift-Fusion || Fusion Posted July 20, 2010 Author Posted July 20, 2010 I normally add a new tab every line, for me it's easier to read. Quote
Dominion Posted July 20, 2010 Posted July 20, 2010 i know why people add one tab (don't do it myself) but not 8 or 9 anyways still looks very good well done :) Quote
Equinox Posted July 20, 2010 Posted July 20, 2010 It doesn't really show the full extent of what you can do. You said you can program in a secure, up to date code that's fast and efficient - this doesn't really demonstrate that. I'll give you kudos though, as it wasn't as bad as it could of been, but the tabbing is way too much. Try creating something from scratch or recoding a file that hasn't been recoded yet, McCodes could use all the help it can get. Well done, if we could +1 I'd do it =] Quote
HITMAN 17 Posted July 20, 2010 Posted July 20, 2010 niceone but it would be great if it announced in the New announcements Quote
Equinox Posted July 20, 2010 Posted July 20, 2010 niceone but it would be great if it announced in the New announcements You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Djkanna Posted July 20, 2010 Posted July 20, 2010 It's the stair case tabbing effect, not that hard to read it like that.. Good job :thumbsup: Quote
rulerofzu Posted July 20, 2010 Posted July 20, 2010 I always avoid adding anything into the users table which is over sized by default anyway. Never seen tabbing like that but hey easy enough to read. Well done. Quote
BoGFx Posted July 24, 2010 Posted July 24, 2010 Line 16 cron You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Changed to: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Aries Posted July 24, 2010 Posted July 24, 2010 Line 16 cron You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Changed to: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You haven't changed anything - not trying to be rude just pointing something out. To OP: very nice coding i like the way you have spaced things out which is easy to read, its good for new game owners who are new to programming to understand. Quote
rulerofzu Posted July 24, 2010 Posted July 24, 2010 Actually...there was a spelling mistake in the query. FORM FROM Quote
Swift-Fusion || Fusion Posted July 24, 2010 Author Posted July 24, 2010 Thanks for spotting that. Edited and changed. Quote
secret_life Posted December 7, 2010 Posted December 7, 2010 a warning i have this warning Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 16 in /home/..../class/class_db_mysql.php on line 94 0" /> dont work for me Quote
DJShad10 Posted December 10, 2010 Posted December 10, 2010 hey sorry for this question im a bit knew here please dont chop off my head... you say run the cron job every week yes? well would i add the cron to my already existing weekly cron file or create a new one? If i just edit the one i halready have that came with my mccodes then what would i add to my file? if i create a new cron is there a code that i would have to use to rub a new cron? I know it is a stupid question (i ask alot of question so that i can understand) but i really would like to know :P Thanks Shad Quote
secret_life Posted December 10, 2010 Posted December 10, 2010 Mccode dont have a weeek cron job you need to create one cron_week.php copy this inside You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and set it up in your cpanel like other but for every week Quote
DJShad10 Posted December 11, 2010 Posted December 11, 2010 awesome i got it now...but now i get this message Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 16 in /home/..../class/class_db_mysql.php on line 94 0" /> Quote
secret_life Posted December 11, 2010 Posted December 11, 2010 i was i said in my other post but i dont know why and how correct this who can correct this ??? 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.