Jump to content
MakeWebGames

Recommended Posts

Posted

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

Guest Anonymous
Posted

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

Posted

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!) :)

Posted

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

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