Dustin Rohel Posted April 17, 2022 Share 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 Link to comment Share on other sites More sharing options...
Canjucks Posted April 17, 2022 Share 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 Link to comment Share on other sites More sharing options...
peterisgb Posted April 17, 2022 Share Posted April 17, 2022 Don't forget to post the SQL 😄 Quote Link to comment Share on other sites More sharing options...
Dustin Rohel Posted April 17, 2022 Author Share Posted April 17, 2022 Need SQL like Peterisgb said Quote Link to comment Share on other sites More sharing options...
Canjucks Posted April 18, 2022 Share 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 Link to comment Share on other sites More sharing options...
Dustin Rohel Posted April 18, 2022 Author Share Posted April 18, 2022 Thanks will try this Didn't work, got a critical error Quote Link to comment Share on other sites More sharing options...
Canjucks Posted April 18, 2022 Share Posted April 18, 2022 which part? Quote Link to comment Share on other sites More sharing options...
Dustin Rohel Posted April 18, 2022 Author Share 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 Link to comment Share on other sites More sharing options...
Canjucks Posted April 18, 2022 Share 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 Link to comment Share on other sites More sharing options...
Dustin Rohel Posted April 18, 2022 Author Share Posted April 18, 2022 Yeah I added to data base, ill try 1 at a time Still not working for me... Quote Link to comment Share on other sites More sharing options...
Canjucks Posted April 18, 2022 Share 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 Link to comment Share on other sites More sharing options...
Dustin Rohel Posted April 18, 2022 Author Share Posted April 18, 2022 Not sure, I'm new at this Quote Link to comment Share on other sites More sharing options...
Oracle Posted October 1, 2022 Share Posted October 1, 2022 NEED correct SQL please 😃 Quote Link to comment Share on other sites More sharing options...
Veramys Posted October 2, 2022 Share 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 Link to comment Share on other sites More sharing options...
Oracle Posted January 14 Share Posted January 14 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 Link to comment Share on other sites More sharing options...
Inveteratus Posted January 14 Share Posted January 14 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 Link to comment Share on other sites More sharing options...
Canjucks Posted January 15 Share Posted January 15 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 Link to comment Share on other sites More sharing options...
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.