CityVilleBot (Project DEVIL)
Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Try LilyCity HD, it's a real cityville clone
Mon Apr 20, 2015 1:52 pm by ertyanna

» expansions cityville hack new 12/12/15
Sat Feb 14, 2015 9:52 pm by nico

» Biohazard Problem Expansion
Sat Nov 08, 2014 3:12 pm by CV FO LIFE

» CAN SOMEONE HELP ME?
Sat Nov 08, 2014 3:09 pm by CV FO LIFE

» hello friends i have new update of cv bot project devil 1.10 update (2.01)
Sat Nov 01, 2014 12:59 pm by Blue Angel

» [Resolved] codebase-php Error
Sun Oct 12, 2014 7:22 am by nico

» -_- Which bot is now working ????
Thu Oct 09, 2014 7:06 pm by lobobpf6

» bot 1.2 does nt work
Sun Aug 10, 2014 1:00 am by nathaliafariass

» COMO FUNCIONA
Sun Aug 10, 2014 12:38 am by nathaliafariass

Affiliates
free forum


Fatal Error

View previous topic View next topic Go down

Fatal Error

Post  tHc on Wed May 16, 2012 5:50 am

Weird Fatal Error, Only just seen it today, every cycle

[You must be registered and logged in to see this image.]

EDIT: and now on Main too

[You must be registered and logged in to see this image.]


Last edited by tHc on Mon May 21, 2012 1:17 pm; edited 1 time in total

tHc

Posts : 161
Points : 165
Join date : 2012-04-14

Back to top Go down

Re: Fatal Error

Post  farach on Wed May 16, 2012 6:16 pm

tHc wrote:Weird Fatal Error, Only just seen it today, every cycle

[You must be registered and logged in to see this image.]

You must have copied you folder to any other folder...
Your plugin running twice for residence ?
Otherwise ... try to delete all files from /temp and /profiles

farach

Posts : 58
Points : 58
Join date : 2012-03-10

Back to top Go down

Re: Fatal Error

Post  Little Todd on Wed May 16, 2012 6:27 pm

tHc wrote:Weird Fatal Error, Only just seen it today, every cycle

[You must be registered and logged in to see this image.]

Can you show us what's on line 325?

Little Todd

Posts : 409
Points : 425
Join date : 2012-02-23

Back to top Go down

Re: Fatal Error

Post  tHc on Thu May 17, 2012 8:12 am

Here is code

Code:
            $currentpopulation = 0;
            $popmax = 0;
            $currentpopulation = $obj['currentPopulation'];
            $popmax = $bot->xmlsOb->GetResidencesMaxPopulation($obj['itemName']);
            if (is_array($obj['mechanicData']['slots']))
            {
               foreach($obj['mechanicData']['slots'] as $j=>$floor)
               {
                  if (!empty($floor))
                  {
                     $popmax += $bot->xmlsOb->GetResidencesMaxPopulation($floor);
                  }
               }
            }

Line 325 is
Code:
            if (is_array($obj['mechanicData']['slots']))

tHc

Posts : 161
Points : 165
Join date : 2012-04-14

Back to top Go down

Re: Fatal Error

Post  tHc on Mon May 21, 2012 1:18 pm

and from main buildings hooks

Code:
              if (($obj["className"] == "Residence") &&
                  ($obj["state"] == "grown") &&
                  ($popdiff > 0 || $data->rentvacant != 1) &&
                  ($obj["isConnectedToRoad"]))
              {
                $bot->SendMsg('[BUILDINGS-Residences] '.$obj["itemName"]." ($id) : ".$pop." / ".$popmax.'');
                $bot->ObjectAction($obj, "harvest", "Residence");


Line 270 being
Code:
                $bot->ObjectAction($obj, "harvest", "Residence");

I dont see any new additions or non residential residences so not sure whats doing it

tHc

Posts : 161
Points : 165
Join date : 2012-04-14

Back to top Go down

Re: Fatal Error

Post  theclarets1969 on Mon May 21, 2012 1:40 pm

BOT IS STOPED.
PHP Fatal error: Class 'wallMaintainance' not found in C:\Program Files\CVBot - Project DEVIL\Plugins\Wall2\class\wallDB.php on line 45
PHP Fatal e
PHP Warning: Invalid argument supplied for foreach() in C:\Program Files\CVBot - Project DEVIL\Plugins\Buildings-DownTown\Hooks.php on line 1173
PHP Warning: Invalid argument supplied for foreach() in C:\Program Files\CVBot - Project DEVIL\Plugins\Buildings-DownTown\Hooks.php on line 440
PHP Warning: Invalid argument supplied for foreach() in C:\Program Files\CVBot - Project DEVIL\Plugins\Buildings-DownTown\Hooks.php on line 374
PHP Warning: Invalid argument supplied for foreach() in C:\Program Files\CVBot - Project DEVIL\Plugins\Buildings-DownTown\Hooks.php on line 297
PHP Warning: Invalid argument supplied for foreach() in C:\Program Files\CVBot - Project DEVIL\Plugins\Buildings-DownTown\Hooks.php on line 98
PHP Warning: Invalid argument supplied for foreach() in C:\Program Files\CVBot - Project DEVIL\Plugins\Buildings-DownTown\Hooks.php on line 66
PHP Warning: Invalid argument supplied for foreach() in C:\Program Files\CVBot - Project DEVIL\Plugins\Buildings-DownTown\Hooks.php on line 29
Fatal error: Class 'wallMaintainance' not found in C:\Program Files\CVBot - Project DEVIL\Plugins\Wall2\class\wallDB.php on line 45
Wall2: Started for: 20230656834

theclarets1969

Posts : 501
Points : 805
Join date : 2011-10-14
Location : planet earth

Back to top Go down

Re: Fatal Error

Post  tHc on Tue May 22, 2012 2:44 am

wallmaintainance does that first run, the other errors not sure about, all those warnings are mainly pointing too
Code:
foreach($Objects as $obj1)

tHc

Posts : 161
Points : 165
Join date : 2012-04-14

Back to top Go down

Re: Fatal Error

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum