![]() |
Quote:
Never mind... change the value of jackpot from 'SMALLINT' to 'INT with a value of however many... I picked 8. BTW Lesane, since it hasn't been said in a few pages - YOU ROCK! |
i installed this hack. How come it does not show up in the store?
Any ideas? |
You have to go in to the Admin CP and start a lottery. Remember to only start one, unless having 2 running at the same time doesn't bother you. I'm going to run 1 weekly, and the other monthly. I hope it works out! :D
EDIT: Turns out that my "2 lotteries" thing didn't work out as planned. I was just seeing an echo of the first one.... :rolleyes: |
i get this error after i pick the winner, and click the link to reward the user:
PHP Code:
PHP Code:
|
^ is anyone else having problems with this?
|
yep i always got that so the way i got round it was when i picked a winner was to always start another lottery for the following wekk.Aint sure why it happens though
|
YEAH< this hack is very nice. But I have a idea for LESANE: Can you add a page like "WINNER" which show who is the winner and the number of ticket the winner has chossen . :D
It's very cool, really? |
Quote:
EDIT: nvm i got it fixed. :) |
Quote:
How did you fix it? I got this error too. |
Quote:
|
Make sure you don't have errors in the the following lines:
PHP Code:
BTW I'm running 2.2.9 and haven't had any errors other than choosing from only those who have bought a ticket and the fact he hardcoded the colors and bullet images in which were all rectified... |
Anyone feel like telling me the meaning of "kutje"? I tried translating it to no avail.... :(
|
everything worked fine until i picked a winner
Database error in vBulletin Control Panel 2.3.0: Invalid SQL: UPDATE user SET storep=storep+ WHERE userid='1' mysql 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 mysql error number: 1064 hmmmhhhhhhhhhhhhhh |
Mine's ok on 2.3.0 but I want to change the userid of the winner/loser PM sender (I use Admin-Bot for jobs like this. :D).
|
Quote:
PHP Code:
|
Yeah, I knew that had to be the key. I just wasn't sure if you just stick the userid on its own or whatnot.
Right, I've now replaced '$bbuserinfo[userid]' with '192' and done the same for the loser PM. I'll see how that goes when the next lottery ends in a week. Thanks a lot! On another note, with the last lottery the jackpot was over 30000 but the lottery awarded little over 1000. Maybe the jackpot just went over the maximum at the last minute? I've made the jackpot for the current lottery less to see if this one goes better. |
There's a fix mentioned earlier in the thread regarding award issues... You might wanna doublecheck that problem if you haven't already corrected it. I've got my lottery to award over $10,000,000...
|
http://www.myfootballforum.com/myfoo...action=lottery
When i try to buy a ticket i click on the buy button BUT it does nothing.. Below is the code for it which i'm using. template: store_lottery Code:
<html> |
getting problem.. well dunno if its a problem or not, but the lotto insert is appearing twice in admin
check attached gif |
Nur1 I also have that problem. It doesn't seem to mess anything up, just shows everything twice though. I just ignore it.
I also have the same problem as you vurton. Members still get their money, but I get your error along with a nice vbulletin error email. I hate those LOL! But yeah I get this too in 2.2.9. Anyone know what could be wrong? Quote:
|
Quote:
|
Quote:
|
Is there any way to show how much (including the starting ammount) is in the current jackpot??
|
i dont know if anyone has this problem or if its the same but when someone wins a lottery, they only get the amount that people bought tickets with, they dont recieve the amount added by an admin
|
It's been mentioned many times in this thread before, along with the fix. It's on like page 4 or something..
|
can this be a stand alone hack
if not can some1 do it? l8er sonic |
PHP Code:
|
Quote:
|
I have not seen a post on here in awhile. Is anybody still supporting this hack?
Lesane, I know it is a pain in the butt, but is there a way you can make a modification so that this hack works with Zajako's RPG Hack? I do not have the store hack installed on my system. Actually, it is a bit too complicated for me. It might require a couple of changes (like DB field name changed to have maybe an "RPG" in front of it), bank.php changed to rpgbank.php. This is so people could have this hack running on the Store hack as well as Zajako's RPG hack. For money, Zajako uses a variable called "$rpgmoney". If you could do this, I would greatly appreciate it. Thank you. |
Hi Lesane,
I would like to have the Lottery winners information such as a copy of the pm or something of such. Post inside of a Lotto Winners Thread in my contest winners forum. How is this possible. Awesome work you do, I would still kill or pay well to get my forumhome columns to look like yours though :) Cheers, midnightz |
Now that I have installed the lottery I have no way to increase/decrease the points given when someone rates a thread. Any ideas?
|
Again, does Lesane even look at this thread anymore?
|
I just installed the hack but dont see anywhere to modify the start and end date of the lotto? Where is this found? If not when does it end?
|
anyone, please?
|
lol, never mind Im tired and feel like an idiot now,
|
I'm sharing the problem of the mysterious "white page" with the lottery action. Can anyone help?
I'm running vB 2.3.0, and the latest rev of MySQL. I've double checked everything I could, but came up with nothing. Looks sorta like nobody's here... |
i am not able to download it, lol
|
yup, I'm getting the white page too *sigh*
|
I am having the same problem with just getting a blank white page... please help, it seems I'm not the only one!
|
|
All times are GMT. The time now is 02:45 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|