Jump to content
MakeWebGames

Recommended Posts

Posted

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.

Posted

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 =]

Posted

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.

Posted
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.

  • 4 months later...
Posted

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

Posted

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

Posted

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

Posted

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" />

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...