KiX Posted March 23, 2009 Posted March 23, 2009 Re: Businesses Mod [Mccode V2] Crazy-T thanks for renforcing my statement. yep, what i am doing is not a mod. I am just adding to the mod Richard made :) k guys another fix that needs to be done. in business_manage.php find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and change it to You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
KiX Posted March 24, 2009 Posted March 24, 2009 Re: Businesses Mod [Mccode V2] Ok another update to Richard's mod. The option to change Directors of the company. I think I have added everything this time. Add this to your sql You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. open business_manage and look for You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add underneath You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. find this in the same file You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add just after that You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. find this in the same file You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add just before that You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. If you added all of my updates to Richard's mods. Then you will need this new business_crons.php file. So open your existing business_crons.php file and replace everything with this You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
KiX Posted March 24, 2009 Posted March 24, 2009 Re: Businesses Mod [Mccode V2] I also changed a bit the business_home.php file. So when u go into ur business you can see most of the information you see in the Business Listing. I also limited the log to show only the last 25 events. open business_home.php and look for You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. replace it with this code You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Bubbl3z Posted March 24, 2009 Posted March 24, 2009 Re: Businesses Mod [Mccode V2] great work richard and kix :wink: Quote
b4ugobye Posted March 24, 2009 Posted March 24, 2009 Re: Businesses Mod [Mccode V2] thanks to richard and kix for all the hard work on this script. Just one small thing I noticed when testing this out... as company owner, I'm allowed to own the company and have a normal v2 job. Thus having 2 jobs. I am assuming employees will also be able to do so. I think we need to have that where you have to quit your job before obtaining company status. Quote
Lycan Posted March 24, 2009 Posted March 24, 2009 Re: Businesses Mod [Mccode V2] dont forget to change cron file modify profits.... if you are using Richards standard cron file, you own a car dealer ship with around 5 members you will be able to get $50,000,000 a day! Quote
KiX Posted March 25, 2009 Posted March 25, 2009 Re: Businesses Mod [Mccode V2] thanks to richard and kix for all the hard work on this script. Just one small thing I noticed when testing this out... as company owner, I'm allowed to own the company and have a normal v2 job. Thus having 2 jobs. I am assuming employees will also be able to do so. I think we need to have that where you have to quit your job before obtaining company status. That is correct. I am currently letting that slide on my site until ppl get used to the businesses, but i i will soon only allow them to have either a job or business. If you want I can post it here once i finish it. Quote
KiX Posted March 25, 2009 Posted March 25, 2009 Re: Businesses Mod [Mccode V2] dont forget to change cron file modify profits.... if you are using Richards standard cron file, you own a car dealer ship with around 5 members you will be able to get $50,000,000 a day! hehe yeah, on my cron i lowered it significantly to control the economy a bit more. Quote
Bubbl3z Posted March 25, 2009 Posted March 25, 2009 Re: Businesses Mod [Mccode V2] my game doesnt have crons yet cause on wamp server but when im done with it ill cheak it out Quote
b4ugobye Posted March 25, 2009 Posted March 25, 2009 Re: Businesses Mod [Mccode V2] I agree, keep it open untill adjustment period, and all bugs worked out, but yes, would like the rest of the code when you get it complete. If you get really bored, you can even add company specials in ;p Quote
castle Posted March 26, 2009 Posted March 26, 2009 Re: Businesses Mod [Mccode V2] got this when trying to accept someone's application to the business: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. line 384 is: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
b4ugobye Posted March 26, 2009 Posted March 26, 2009 Re: Businesses Mod [Mccode V2] got this when trying to accept someone's application to the business: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. line 384 is: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. did you add the lines to global_func.php as stated in Richards original post? Quote
Bubbl3z Posted March 26, 2009 Posted March 26, 2009 Re: Businesses Mod [Mccode V2] i got no errors recheack what you did Quote
Impossible Posted March 26, 2009 Posted March 26, 2009 Re: Businesses Mod [Mccode V2] Richard & Illusions +1 Great mod, keep them coming. Quote
castle Posted March 26, 2009 Posted March 26, 2009 Re: Businesses Mod [Mccode V2] heck yes, i added it to global_func...doesn't mean I uploaded to the site though.... :oops: thanks! Quote
KiX Posted March 26, 2009 Posted March 26, 2009 Re: Businesses Mod [Mccode V2] I agree, keep it open untill adjustment period, and all bugs worked out, but yes, would like the rest of the code when you get it complete. If you get really bored, you can even add company specials in ;p I am working on company specials and also on company staff menu. They will be out soon. Finishing other stuff 1st. :) Quote
Bubbl3z Posted March 26, 2009 Posted March 26, 2009 Re: Businesses Mod [Mccode V2] nice kix another +1 coming you way :lol: Quote
Eruondo Posted March 29, 2009 Posted March 29, 2009 Re: Businesses Mod [Mccode V2] I get this message, but I've got space... :? Any ideas? "Your business cannot hold more members at this time." Quote
Eruondo Posted March 29, 2009 Posted March 29, 2009 Re: Businesses Mod [Mccode V2] I've done a little investigating. It seems that the 'busEmployees' database field does not update. It stands as 0 all the time, even when i try to upgrade member capacity. Can anyone help? And is there any special reason why we can't add businesscron to the daycron? Plus, thanks to Richard and KiX, great mod! Quote
KiX Posted March 29, 2009 Posted March 29, 2009 Re: Businesses Mod [Mccode V2] I've done a little investigating. It seems that the 'busEmployees' database field does not update. It stands as 0 all the time, even when i try to upgrade member capacity. Can anyone help? And is there any special reason why we can't add businesscron to the daycron? Plus, thanks to Richard and KiX, great mod! 1) Nope there is no reason, I presume Richard did it like that to keep it a bit more organised. 2) It is working quite well on my side. could u give us a bit more information please. Quote
jon182 Posted March 30, 2009 Posted March 30, 2009 Re: Businesses Mod [Mccode V2] ok you can't choose the director as a member so i don't know how thier supposed to get money. also when i click bankrupt business it just returns to the business section and deosn't delete the business Quote
KiX Posted March 30, 2009 Posted March 30, 2009 Re: Businesses Mod [Mccode V2] ok you can't choose the director as a member so i don't know how thier supposed to get money. also when i click bankrupt business it just returns to the business section and deosn't delete the business Well it is very simple, the director owns the business, so all the money in the vault is at his/her disposal. Hence, no need for him or her to be a member. Does the bankrupt show you any error, as it works fine on my site. Quote
jon182 Posted March 30, 2009 Posted March 30, 2009 Re: Businesses Mod [Mccode V2] well how can the director take the money out of the vualt and put it intohis pocket? also it doesn't show any error it just redirects me to the page taht shows my business. ALSO i'm testing it. i have a car dealership and i'm the only member. i put 900,000,000 into the vualt as test money. after rollover theirs 29k left. whats up with this? i slightly edited the business_cron thing. heres what it is now. $new_profit = (($new_customers + rand(-4, 8)) * ((($bs['classCost'] / 10000) * rand(2, 4)) / 50) * ($amount + 1)); Quote
Uridium Posted March 30, 2009 Posted March 30, 2009 Re: Businesses Mod [Mccode V2] well how can the director take the money out of the vualt and put it intohis pocket? also it doesn't show any error it just redirects me to the page taht shows my business. ALSO i'm testing it. i have a car dealership and i'm the only member. i put 900,000,000 into the vualt as test money. after rollover theirs 29k left. whats up with this? i slightly edited the business_cron thing. heres what it is now. $new_profit = (($new_customers + rand(-4, 8)) * ((($bs['classCost'] / 10000) * rand(2, 4)) / 50) * ($amount + 1)); Dont you just love those that complain. Any mod that deals with cash on large basis which im sure this one does is bound to have a few snags. So it would be a decent gesture to explain the problem rather than making it a public spectacle.... 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.