R!der Posted March 16, 2007 Posted March 16, 2007 Free mining mod, its pretty basic. anyone who can make inprovements to it then go ahead... mine.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. global_func.php find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. below that add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. the querys You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. As i stated this is pretty basic. Please post your thoughts and comments lol Any problems let me know Quote
-Genocide- Posted March 16, 2007 Posted March 16, 2007 Re: Mining mod great add. +karma for you Quote
R!der Posted March 16, 2007 Author Posted March 16, 2007 Re: Mining mod Forgot to say you need a cron to update power i have mine in the energy cron file You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
UCC Posted March 16, 2007 Posted March 16, 2007 Re: ****FREE Mining mod**** Looks promising. I'll play with it over the weekend and see how I might be able to use it. Quote
R!der Posted March 16, 2007 Author Posted March 16, 2007 Re: ****FREE Mining mod**** Well i have tested it all seems to work fine for me. did'nt find any bugs in it and i tested it quite well while making it. But i am sure improvments can be made to it so it dont look too plain lol Quote
R!der Posted March 16, 2007 Author Posted March 16, 2007 Re: ****FREE Mining mod**** This is optional open header.php and find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. replace with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. then find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. replace with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
John99 Posted March 16, 2007 Posted March 16, 2007 Re: ****FREE Mining mod**** What the hell is this mod do ? Quote
R!der Posted March 16, 2007 Author Posted March 16, 2007 Re: ****FREE Mining mod**** If you look at the coding you will see its a way for users to get crystals/money Its basicly another skill thay can train which would hopfully get your more active members Quote
twist_killer Posted March 16, 2007 Posted March 16, 2007 Re: ****FREE Mining mod**** thanks..i was trying to create that mod but wasnt very succsessfull!...well am gonna change it from money and crystals to ruby and shappire hopefully...i hope it works for lite Quote
R!der Posted March 16, 2007 Author Posted March 16, 2007 Re: ****FREE Mining mod**** Its not been tested for lite only tested on 1.1 Post here if it works for lite. Thanks :D Quote
UCC Posted March 16, 2007 Posted March 16, 2007 Re: ****FREE Mining mod**** I'll be porting it over to 2.0 Quote
Vorlen Posted March 17, 2007 Posted March 17, 2007 Re: ****FREE Mining mod**** Did I miss something? Does it have a spot where it sets mine_exp and mine_expneeded ?? Or am I just crazy? Same for the other stuff lol Quote
UCC Posted March 17, 2007 Posted March 17, 2007 Re: ****FREE Mining mod**** It appears you gain mining exp every time you mine. The mine level is determined in the same was your normal leveling exp. Looks like it's using the same forumula for exp_needed. I got it running on my server but I want to develop a big-picture around the system before using it. I dont really want to add a lot more cash and gold into my economy. I might make you find other items while mining which you could trade in for stuff. Not certain yet. Quote
Vorlen Posted March 17, 2007 Posted March 17, 2007 Re: ****FREE Mining mod**** Free mining mod, its pretty basic. anyone who can make inprovements to it then go ahead... mine.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. global_func.php find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. below that add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. the querys ALTER TABLE `users` ADD `mine_level` int(11) NOT NULL ; ALTER TABLE `users` ADD `mine_exp` int(11) NOT NULL ; ALTER TABLE `users` ADD `mine_needed` int(11) NOT NULL ; ALTER TABLE `users` ADD `power` int(11) NOT NULL ; ALTER TABLE `users` ADD `max_power` int(11) NOT NULL ; As i stated this is pretty basic. Please post your thoughts and comments lol Any problems let me know I edited the first part, so that it SHOULD work for V2. If not, I'll covert the mysql_query to $db->query stuff, but in my opinion I don't see why it's needed. But I'm not "1337 h4xx0r' lmao Let me know. :) PS, yeah I figured that one out after a while, I added the get_mine(); to my index.php as well so that it updates when they login, not that it needs to lmfao. Quote
sfekt` Posted March 17, 2007 Posted March 17, 2007 Re: ****FREE Mining mod**** im gonna use this, but re-do the entire thing, users shouldn't find something each time they mine.. Quote
sfekt` Posted March 17, 2007 Posted March 17, 2007 Re: ****FREE Mining mod**** Hmm, for a level 1 user, what is the max power / power supposed tobe ?:o Quote
Vorlen Posted March 17, 2007 Posted March 17, 2007 Re: ****FREE Mining mod**** Mining levels are not effected by standard users' levels. It starts at 10, when you move your mining level it goes up, luckily it doesn't depend upon the users' level. :) Quote
R!der Posted March 17, 2007 Author Posted March 17, 2007 Re: ****FREE Mining mod**** Hmm, for a level 1 user, what is the max power / power supposed tobe ?:o Oh yea sorry forgot to add that in here.. Well i have max power at 100 and 100 power at default... when the user goes up a mining level thay get +10 max power This can be changed if you dont like the way it is set up... its basicly just set up to fit into my game lol Quote
R!der Posted March 17, 2007 Author Posted March 17, 2007 Re: ****FREE Mining mod**** im gonna use this, but re-do the entire thing, users shouldn't find something each time they mine.. Thay dont get much as it is. when i was testing it i used about 10k power and ended up getting about 2k crystals Quote
Damien Posted March 17, 2007 Posted March 17, 2007 Re: ****FREE Mining mod**** I'll introduce this into my game, but i'll add an extra benefit, like: You get access to the donator only mine (better rewards), and your power increases a lot more, and your power bar in bigger. Quote
sfekt` Posted March 17, 2007 Posted March 17, 2007 Re: ****FREE Mining mod**** Check out the mining mod on mine @ www.urban-riot.com :) I modified it a lot Quote
Jake Posted March 17, 2007 Posted March 17, 2007 Re: ****FREE Mining mod**** Has anyone got any ideas as to other names i could call this instead of mining. As mining doesn't really fit into my game. My Game is about escaping from a PoW camp in another country, any ideas? Quote
Vorlen Posted March 17, 2007 Posted March 17, 2007 Re: ****FREE Mining mod**** You might want to consider the idea of it being a task of breaking into official's cabins and safe's for their loot lol 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.