Dustin Rohel Posted April 17, 2022 Posted April 17, 2022 Hey, I've been looking for a decent mining mod, can't find a working one here. If you have something please let me know. Quote
Canjucks Posted April 17, 2022 Posted April 17, 2022 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Try that out ... create a page called mine.php 1 Quote
Canjucks Posted April 18, 2022 Posted April 18, 2022 add the below to your users table: alter table 'users'`mine_level` int(11) NOT NULL DEFAULT '1'; alter table 'users' `mine_exp` int(11) NOT NULL DEFAULT '1'; alter table 'users' `mine_needed` int(11) NOT NULL DEFAULT '1000', 1 Quote
Dustin Rohel Posted April 18, 2022 Author Posted April 18, 2022 Thanks will try this Didn't work, got a critical error Quote
Dustin Rohel Posted April 18, 2022 Author Posted April 18, 2022 ??? Is it more than 1 sql? Or is that all 1? A critical error has occurred, and this page cannot be displayed. Please try again later. Query failed Quote
Canjucks Posted April 18, 2022 Posted April 18, 2022 Did you add them to the database? Each row must go in your users table. Do one at a time and see if it adds, but only try the game once they're in the users table. Quote
Dustin Rohel Posted April 18, 2022 Author Posted April 18, 2022 Yeah I added to data base, ill try 1 at a time Still not working for me... Quote
Canjucks Posted April 18, 2022 Posted April 18, 2022 do you have an error log for the game page? need a few more clues to how i can help you fix it.... Quote
Veramys Posted October 2, 2022 Posted October 2, 2022 (edited) Power isn't a native part of V2 users table, so of course that's not gonna work with the sqls given. Edit to add: Also neither is Safehouse for that matter. Edited October 2, 2022 by Veramys Quote
Oracle Posted January 14, 2023 Posted January 14, 2023 On 10/1/2022 at 6:11 PM, Oracle said: NEED correct SQL please 😃 alter table 'users'`mine_level` int(11) NOT NULL DEFAULT '1'; alter table 'users' `mine_exp` int(11) NOT NULL DEFAULT '1'; alter table 'users' `mine_needed` int(11) NOT NULL DEFAULT '1000', is not working even if adding one at a time. Quote
Inveteratus Posted January 14, 2023 Posted January 14, 2023 Try You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Notice: The ADD keyword is needed. INT(11) -- The (11) is useless, it has no bearing on the size of the value that can be stored. I've used UNSIGNED as it's unlikely your mine level and/or experience will go below zero. I've change the default mine_exp to 0 -- feel free to adjust to suit. Quote
Canjucks Posted January 15, 2023 Posted January 15, 2023 15 hours ago, Inveteratus said: Try ALTER TABLE `users` ADD `mine_level` INT UNSIGNED NOT NULL DEFAULT 1; ALTER TABLE `users` ADD `mine_exp` INT UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE `users` ADD `mine_needed` INT UNSIGNED NOT NULL DEFAULT 1000; You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Notice: The ADD keyword is needed. INT(11) -- The (11) is useless, it has no bearing on the size of the value that can be stored. I've used UNSIGNED as it's unlikely your mine level and/or experience will go below zero. I've change the default mine_exp to 0 -- feel free to adjust to suit. oh boy add might have helped make me look good at helping 😂 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.