The Ace Posted March 26, 2008 Posted March 26, 2008 I have made Super Lucky Boxes from the code of Lucky Boxes....and changed the lucky.php to superlucky.php (and I created superlucky.php). I made it so you can only open 3 Super Lucky Boxes...and the original 5 lucky boxes. Here's the problem: I open my 3 super lucky boxes, then go to open my 5 lucky boxes, but I can only open 2 lucky boxes instead of 5...because I had already opened 3 super lucky boxes....but I don't want them to be linked.....I would like to be able to open 3 super lucky boxes and 5 lucky boxes, so 8 in total, not 5. :) And help? :-P Quote
Guest Anonymous Posted March 26, 2008 Posted March 26, 2008 Re: Lucky Boxes I assume you are examining the "boxes"? field in the users table... If so, my guess is both your lucky-boxes and super-lucky-boxes code is using the same field. Maybe... add a "super_boxes TINYINT(3) UNSIGNED NOT NULL DEFAULT 3" into the users table... Quote
Haunted Dawg Posted March 26, 2008 Posted March 26, 2008 Re: Lucky Boxes I think both files are requiring open_boxes from the db so do as nyna says :wink: Quote
The Ace Posted March 26, 2008 Author Posted March 26, 2008 Re: Lucky Boxes I take it you mean by adding a SQL query into my database? What would the query be to add the field of Super Lucky Boxes opened? (Soz....I don't really understand it all!) :) Quote
The Ace Posted March 30, 2008 Author Posted March 30, 2008 Re: Lucky Boxes How would I add a query to my phpMyAdmin in the USERS part for Super Lucky Boxes.... I know it has got something to do with "super_boxes TINYINT(3) UNSIGNED NOT NULL DEFAULT 3", as Nyna said, but what goes before that...? Something ALTER....? Quote
Haunted Dawg Posted March 30, 2008 Posted March 30, 2008 Re: Lucky Boxes ok: alter table users add super_boxes tinyint(3) not null default '3'; 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.