kaine- Posted December 6, 2009 Posted December 6, 2009 hey it wont let me accept anyone into my company AlsO the business_cron do i put that so it runs each day? Quote
thedestroyer Posted December 6, 2009 Posted December 6, 2009 hey it wont let me accept anyone into my company AlsO the business_cron do i put that so it runs each day? yes you run it daily Quote
kaine- Posted December 6, 2009 Posted December 6, 2009 ok thanks also it doesnt accept anyone into my company and it says this Fatal error: Call to undefined function business_alert() in /home/tnr/public_html/business_manage.php on line 457 when i try to accept them in anyone know why?? Â also anyone got a poker script? Quote
thedestroyer Posted December 6, 2009 Posted December 6, 2009 ok thanks also it doesnt accept anyone into my company and it says this Fatal error: Call to undefined function business_alert() in /home/tnr/public_html/business_manage.php on line 457 when i try to accept them in anyone know why?? Â also anyone got a poker script? wats line 457? works fine for me ?( Quote
kaine- Posted December 6, 2009 Posted December 6, 2009 dna lmao it doesnt let me accept anyone in aswell lol. i have the codes from the 1st page if that helps lol do i need the second? Quote
Joshua Posted December 6, 2009 Author Posted December 6, 2009 Iv'e already posted the fix for this. Go back to first page, bottom of first post You have to add the global_func insert. Quote
kaine- Posted December 6, 2009 Posted December 6, 2009 whenever i go onto the businesS_home it says this Warning: include_once(/home/tnr/public_html/bbcode_parser.php) [function.include-once]: failed to open stream: No such file or directory in /home/tnr/public_html/business_home.php on line 4 Warning: include_once() [function.include]: Failed opening '/home/tnr/public_html/bbcode_parser.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tnr/public_html/business_home.php on line 4 Quote
kaine- Posted December 7, 2009 Posted December 7, 2009 whenever i go onto the businesS_home it says this Warning: include_once(/home/tnr/public_html/bbcode_parser.php) [function.include-once]: failed to open stream: No such file or directory in /home/tnr/public_html/business_home.php on line 4 Warning: include_once() [function.include]: Failed opening '/home/tnr/public_html/bbcode_parser.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tnr/public_html/business_home.php on line 4 ah its letting me accept people into the company now. but it still says the same thing. and i have got the crons on but it still not giving no money and it is midnight now lol Quote
Joshua Posted December 7, 2009 Author Posted December 7, 2009 Not trying to be rude......... However...if you read through the post you will see the fix for that as well. Quote
kaine- Posted December 7, 2009 Posted December 7, 2009 LOL IVE BEEN luckin lol but there is no more business_home.php edits. lol thats where to prob is lol Quote
Joshua Posted December 7, 2009 Author Posted December 7, 2009 It's not in the edits A few others have already told you Remove the bbcode parser from one of the scrips it's an include...near the top >,< Quote
kaine- Posted December 7, 2009 Posted December 7, 2009 thanks for the help its worked :) now only thing i need is a header and a new login page can anyone make these? also how come it says the company gets money each day at midnight and its past midnight and i still not got it any ideas? Quote
Joshua Posted December 7, 2009 Author Posted December 7, 2009 Depends on the Server time And whether or not you added the cron to Cronjobs Quote
kaine- Posted December 7, 2009 Posted December 7, 2009 yeh i added the crons to cronjobs lol and ah ok ty do you have any stock mods or anything i need a few more if u can put them on will you? Quote
jds137 Posted December 7, 2009 Posted December 7, 2009 "You cannot attempt to rob a company more than once a day!" Thats what I get trying to rob it. Did you ever think about adding an event when ever someone applies to your company? Quote
thedestroyer Posted December 7, 2009 Posted December 7, 2009 i got a problem. The company director does not recieve any stats each day ?( Quote
thedestroyer Posted December 7, 2009 Posted December 7, 2009 they also do not recieve company points :huh: Quote
kaine- Posted December 7, 2009 Posted December 7, 2009 i got this lmao Warning: session_start() [function.session-start]: open(/tmp/sess_2e9c7bb55ba18a28a33aee2fd711bb06, O_RDWR) failed: Permission denied (13) in /home/tnr/public_html/globals.php on line 6 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/tnr/public_html/globals.php:6) in /home/tnr/public_html/globals.php on line 6 Warning: Cannot modify header information - headers already sent by (output started at /home/tnr/public_html/globals.php:6) in /home/tnr/public_html/globals.php on line 21 Warning: Unknown: open(/tmp/sess_2e9c7bb55ba18a28a33aee2fd711bb06, O_RDWR) failed: Permission denied (13) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0 Quote
Joshua Posted December 7, 2009 Author Posted December 7, 2009 "You cannot attempt to rob a company more than once a day!" Thats what I get trying to rob it. Did you ever think about adding an event when ever someone applies to your company? That's because the Default for Rob is set to 0 You have to have a cron run and Update it daily to 1. When they try to rob it goes back to 0. The other problem i'll look into.. I dno what the problem is with the session start unless you're on V1.... Quote
Djkanna Posted December 7, 2009 Posted December 7, 2009 *Sticks head in to say well done* Nice job Immortalthug ;) Quote
thedestroyer Posted December 7, 2009 Posted December 7, 2009 this mod has big problems. not only does the director not recieve stats or points but neither do any of the employees =/ Quote
Joshua Posted December 7, 2009 Author Posted December 7, 2009 I know just tinkered with it REPLACE your OLD cron with this one Tested it and it's working good now. There were two problems, when I converted all the mysql_queries to $db->queries it wasnt fetching them properly and So i went back to the mysql_queries. Also fixed the comp points there were 2 calls to 1 sprint f %u so it wasnt functioning right. Stats weren't updating because it was trying to update a stat called "endurance" which no one has i beleive :P so changed that to strength. As far as I know everything is now updating as it should as It's running 100% now on my game. I've also found a "small" bug in Business manage and will be Updating the original post shortly. Sorry folks! It's not an easy mod to play with >,< You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
thedestroyer Posted December 7, 2009 Posted December 7, 2009 I know just tinkered with it REPLACE your OLD cron with this one Tested it and it's working good now. There were two problems, when I converted all the mysql_queries to $db->queries it wasnt fetching them properly and So i went back to the mysql_queries. Also fixed the comp points there were 2 calls to 1 sprint f %u so it wasnt functioning right. Stats weren't updating because it was trying to update a stat called "endurance" which no one has i beleive :P so changed that to strength. As far as I know everything is now updating as it should as It's running 100% now on my game. I've also found a "small" bug in Business manage and will be Updating the original post shortly. Sorry folks! It's not an easy mod to play with >,< You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Thanks and yeh it certainly dont look easy! Quote
Joshua Posted December 7, 2009 Author Posted December 7, 2009 **********ORIGINAL POST******************* *************UPDATED************************ So you don't have to scroll through all the pages and find this bug or that bug I will try and keep the regular post Updated to the One I run as i find any bugs. Again, if you find any post here and I'll look into it, i'm getting fairly familiar with this mod as iv'e been staring at it for 2 days >,< lol. Thank you DjKhanna :) Quote
thedestroyer Posted December 7, 2009 Posted December 7, 2009 the cron still aint working. my stats or company points do not increase 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.