ColdK Posted November 11, 2008 Posted November 11, 2008 Re: Donator and Non-Donator Lottery [V2] I Did Do That I Got A Error On Item USe Every thing Works Ok Quote
KiX Posted November 11, 2008 Author Posted November 11, 2008 Re: Donator and Non-Donator Lottery [V2] ahh ok I think I know why. I currently have my items that they can give you upto 5 effects, where as mccodes only comes with 3 as default. find all this code and delete it You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
daveaite Posted November 11, 2008 Posted November 11, 2008 Re: Donator and Non-Donator Lottery [V2] :? I'm confused,so. there needs to be an Item called a lottery ticket? :| And I don't see how you will get 1 winner if the tickets is just the same item :? Quote
KiX Posted November 12, 2008 Author Posted November 12, 2008 Re: Donator and Non-Donator Lottery [V2] :? I'm confused,so. there needs to be an Item called a lottery ticket? :| And I don't see how you will get 1 winner if the tickets is just the same item :? Yes there needs to be 2 items. One of the lottery tickets is bought through explore and the other one when you donate to paypal. When you receive the item, you will see it in your inverntory and you decide if you want to use it in this month's draw, sell it, or send it to someone. Once you use it, you will see in the top of your inventory a link to see all your purchased lottery tickets for the month with its assigned lottery ticket. At the end of the month, the cron chooses randomly the winner and then the prize to both the donator and non-donator lottery winners. Quote
daveaite Posted November 12, 2008 Posted November 12, 2008 Re: [mccode v2] Donator and Non-Donator Lottery ooohhhh,, I get it now :-P Sounds pretty good. Quote
ColdK Posted November 12, 2008 Posted November 12, 2008 Re: [mccode v2] Donator and Non-Donator Lottery Fully Woking now but ! the cron when i add it into the cpanel do i add the cron code onto it Quote
KiX Posted November 12, 2008 Author Posted November 12, 2008 Re: [mccode v2] Donator and Non-Donator Lottery in the cpanel, you just need to put when u want it to run. Quote
ColdK Posted November 13, 2008 Posted November 13, 2008 Re: [mccode v2] Donator and Non-Donator Lottery i understand but do you put curl http://domain.com/cron_week.php?code=myconfigcode or just curl http://domain.com/cron_week.php Quote
KiX Posted November 13, 2008 Author Posted November 13, 2008 Re: [mccode v2] Donator and Non-Donator Lottery For that question you are best asking your host. Each of them are different. It is not usually a http, but a direct link to it. Quote
ColdK Posted November 13, 2008 Posted November 13, 2008 Re: [mccode v2] Donator and Non-Donator Lottery XD Omg i mean when you put them into your crons do you put the config code at the end or not Quote
daveaite Posted November 13, 2008 Posted November 13, 2008 Re: [mccode v2] Donator and Non-Donator Lottery i understand but do you put curl http://domain.com/cron_week.php?code=myconfigcode or just curl http://domain.com/cron_week.php Top one would work. Quote
MDK666 Posted November 13, 2008 Posted November 13, 2008 Re: [mccode v2] Donator and Non-Donator Lottery nice mod +1 Quote
bob324 Posted November 15, 2008 Posted November 15, 2008 Re: [mccode v2] Donator and Non-Donator Lottery I like this mod but am struggleling to get it working perfectly! Quote
castle Posted November 15, 2008 Posted November 15, 2008 Re: [mccode v2] Donator and Non-Donator Lottery what about a way to post the winner? Quote
KiX Posted November 15, 2008 Author Posted November 15, 2008 Re: [mccode v2] Donator and Non-Donator Lottery I like this mod but am struggleling to get it working perfectly! What problems are you having? Quote
HITMAN 17 Posted December 14, 2008 Posted December 14, 2008 Re: [mccode v2] Donator and Non-Donator Lottery QUERY ERROR: Unknown column 'lot_DON' in 'where clause' Query was SELECT * FROM lottery WHERE lot_DON=1 anyone have fix Quote
KiX Posted December 15, 2008 Author Posted December 15, 2008 Re: [mccode v2] Donator and Non-Donator Lottery QUERY ERROR: Unknown column 'lot_DON' in 'where clause' Query was SELECT * FROM lottery WHERE lot_DON=1 anyone have fix I presume you have added the lot_DON to your users table right? Is that happening when the cron runs? Quote
HITMAN 17 Posted December 15, 2008 Posted December 15, 2008 Re: [mccode v2] Donator and Non-Donator Lottery i have added all correctly but still doesnt work i added all sql i just get on the lottery page QUERY ERROR: Unknown column 'lot_DON' in 'where clause' Query was SELECT * FROM lottery WHERE lot_DON=1 Quote
KiX Posted December 18, 2008 Author Posted December 18, 2008 Re: [mccode v2] Donator and Non-Donator Lottery i have added all correctly but still doesnt work i added all sql i just get on the lottery page QUERY ERROR: Unknown column 'lot_DON' in 'where clause' Query was SELECT * FROM lottery WHERE lot_DON=1 can you please add the full code, so I can take a look at it. Cheers Quote
HITMAN 17 Posted December 30, 2008 Posted December 30, 2008 Re: [mccode v2] Donator and Non-Donator Lottery Fixed LoL Nice Mod Though Quote
KiX Posted December 30, 2008 Author Posted December 30, 2008 Re: [mccode v2] Donator and Non-Donator Lottery Great news! Where was your problem at? Quote
Karlos Posted December 30, 2008 Posted December 30, 2008 Re: [mccode v2] Donator and Non-Donator Lottery maybe not adding the SQL :roll: Quote
KiX Posted December 30, 2008 Author Posted December 30, 2008 Re: [mccode v2] Donator and Non-Donator Lottery yeah could be. dumb me put the post all over the place....sorry bout that. Quote
gurpreet Posted December 30, 2008 Posted December 30, 2008 Re: [mccode v2] Donator and Non-Donator Lottery +1 for the effort, a bit too complicated for me :P Quote
KiX Posted December 31, 2008 Author Posted December 31, 2008 Re: [mccode v2] Donator and Non-Donator Lottery Thanks mate :) 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.