War_Hero Posted September 21, 2008 Share Posted September 21, 2008 Hi all. I made this mod a while back but didn't post it. But I've decided to post on here to see what you all think. I made this mod when I was first learning PHP (I still am learning, but have improved since I made this). :) Really, this is more of a Super Bank than an investment. ;) What it does: This 'investment' mod will allow the users to invest their money for a certain amount of time: 7 days, 14 days or 31 days. But, to invest some money, they have to sign a contract with the company. The contract lasts 60 days, but can be changed. Once a contract has been signed, the user can invest some money. At first, the user is at Level 0. They can upgrade to Level 1 if they want and receive more interest than at Level 0. Once at Level 1, they can then upgrade to Level 2 and receive even more interest per day. Once the 'investment' has been started, they can't cancel it or retrieve their money. They will have to wait until it finishes. Now for installation: Step 1: Run this SQL: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Step 2: Create a file called investment.php and put this in it: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Step 3: Then put this into cron_day.php: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Step 4: Then add this link: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. into explore.php. Then you're done. :) If you find any errors, please post them here. Also, if you decide to use this, please post here. :) Hope you all like it. I'm open to all comments. :) Quote Link to comment Share on other sites More sharing options...
Dave Posted September 21, 2008 Share Posted September 21, 2008 Re: [FREE] [V2] Ian's Investments Looks good thanks. Quote Link to comment Share on other sites More sharing options...
danger boy Posted September 21, 2008 Share Posted September 21, 2008 Re: [FREE] [V2] Ian's Investments Nice mod mate keep it up. Quote Link to comment Share on other sites More sharing options...
www.mygunwars.com Posted September 22, 2008 Share Posted September 22, 2008 Re: [FREE] [V2] Ian's Investments Nice mod I add it :-D Quote Link to comment Share on other sites More sharing options...
Sethenor Posted September 22, 2008 Share Posted September 22, 2008 Re: [FREE] [V2] Ian's Investments This is tasty man which part do i edit to change the price of the upgrade? Quote Link to comment Share on other sites More sharing options...
War_Hero Posted September 22, 2008 Author Share Posted September 22, 2008 Re: [FREE] [V2] Ian's Investments This is tasty man which part do i edit to change the price of the upgrade? Thanks. :) Change this in the level_upgrade() function: $upgrade = ($ir['level'] * 3000); Change the 3000 to whatever you like. Make sure to change it in the levelupgrade_sub() function as well. Then change this in the level_upgrade2() function: $upgrade2 = ($ir['level'] * 5500); Change the 5500 to whatever you like. Make sure to change it in the levelupgrade2_sub() function as well. :) Quote Link to comment Share on other sites More sharing options...
Sethenor Posted September 22, 2008 Share Posted September 22, 2008 Re: [FREE] [V2] Ian's Investments haha i must be blind i couldnt find that before i ask the question think i will use the search haha And cheers War_Hero keep up the quality mods Quote Link to comment Share on other sites More sharing options...
Joel Posted September 22, 2008 Share Posted September 22, 2008 Re: [FREE] [V2] Ian's Investments Nice mod War_Hero :-) Quote Link to comment Share on other sites More sharing options...
Jameoo Posted September 22, 2008 Share Posted September 22, 2008 Re: [FREE] [V2] Ian's Investments Lol Why Ians Investments Quote Link to comment Share on other sites More sharing options...
War_Hero Posted September 23, 2008 Author Share Posted September 23, 2008 Re: [FREE] [V2] Ian's Investments Lol Why Ians Investments Lol. Why not? :lol: It's just a name that popped into my head. It's alliteration. It'll attract the user's attention....supposedly, according to poetry. :lol: :-D Quote Link to comment Share on other sites More sharing options...
daveaite Posted September 23, 2008 Share Posted September 23, 2008 Re: [FREE] [V2] Ian's Investments Damn, nice mod and idea, keep up the good work. Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted September 23, 2008 Share Posted September 23, 2008 Re: [FREE] [V2] Ian's Investments again another nice modification mate Keep it up maybe contact me sometime and we can do one together and make some cash Quote Link to comment Share on other sites More sharing options...
War_Hero Posted September 23, 2008 Author Share Posted September 23, 2008 Re: [FREE] [V2] Ian's Investments Thank you all for the positive comments. :) again another nice modification mate Keep it up maybe contact me sometime and we can do one together and make some cash And I'll contact you when I've developed my skills some more. ;) So, thank you very much for the offer. It'll spur me on. :-D Quote Link to comment Share on other sites More sharing options...
Haunted Dawg Posted September 23, 2008 Share Posted September 23, 2008 Re: [FREE] [V2] Ian's Investments * Killah Coughs Funny how zero affect in every other post of mine that my code is in he complain's about the tab space's. But here he want's to make a mod with you. Quote Link to comment Share on other sites More sharing options...
Miniman Posted September 23, 2008 Share Posted September 23, 2008 Re: [FREE] [V2] Ian's Investments * Killah Coughs Funny how zero affect in every other post of mine that my code is in he complain's about the tab space's. But here he want's to make a mod with you. I thought he only said it in one post? But maybe Zero only said it because your more advanced and should no this stuff? Nice mod :wink: Quote Link to comment Share on other sites More sharing options...
War_Hero Posted September 23, 2008 Author Share Posted September 23, 2008 Re: [FREE] [V2] Ian's Investments I use tabs/spaces to make my code easier to read. :) With my first mod, I didn't have any spaces or indents, so it was very hard to read. I was told that it would be easier on the eyes if the code was presentable and easy to read and edit. :) And thank you, Miniman. :) Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted September 23, 2008 Share Posted September 23, 2008 Re: [FREE] [V2] Ian's Investments naw i protest against using it but i bet eventually i will like when i said i'd never use ' lol i must admit it is easier to read but still and i asked him because he looks like a good coder that has potential Quote Link to comment Share on other sites More sharing options...
War_Hero Posted September 24, 2008 Author Share Posted September 24, 2008 Re: [FREE] [V2] Ian's Investments I understand what you're saying. :) and i asked him because he looks like a good coder that has potential And thank you very much. :) Quote Link to comment Share on other sites More sharing options...
Canjucks Posted October 16, 2008 Share Posted October 16, 2008 Re: [mccode v2] Ian's Investments I like this mod and has gone straight into my game which is working really well. cheers. Quote Link to comment Share on other sites More sharing options...
War_Hero Posted October 16, 2008 Author Share Posted October 16, 2008 Re: [mccode v2] Ian's Investments Thank you and glad you like it. :) Quote Link to comment Share on other sites More sharing options...
Faz` Posted December 31, 2008 Share Posted December 31, 2008 Re: [mccode v2] Ian's Investments Awesome mod ;) Quote Link to comment Share on other sites More sharing options...
gurpreet Posted January 1, 2009 Share Posted January 1, 2009 Re: [mccode v2] Ian's Investments +1 working perfectly. Thanks for this Quote Link to comment Share on other sites More sharing options...
velocityislands Posted January 10, 2009 Share Posted January 10, 2009 Re: [mccode v2] Ian's Investments awsomw mod and may thanks i will be useing it, and behalf of me and my users "thanks" +1 Quote Link to comment Share on other sites More sharing options...
Saha Posted January 10, 2009 Share Posted January 10, 2009 Re: [mccode v2] Ian's Investments Ahh ive seen a similar version of this modification before only it was alot different. Good work War_Hero i still dont see why you call yourself a newbie coder :P Quote Link to comment Share on other sites More sharing options...
SaMz Posted February 12, 2009 Share Posted February 12, 2009 Re: [mccode v2] Ian's Investments I thaught this was a paid modification lol great +1! 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.