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


PHP Warning: shuffle() expects parameter 1 to be array, null given in ....

View previous topic View next topic Go down

PHP Warning: shuffle() expects parameter 1 to be array, null given in ....

Post  Picard on Tue Feb 28, 2012 10:28 pm

I get the following error after the bot has run :

PHP Warning: shuffle() expects parameter 1 to be array, null given in C:\Programme\CVBot - Project DEVIL\Plugins\Neighbors\Hooks.php on line 685

Any clue for me ??

Thanks

Picard

Posts : 7
Points : 11
Join date : 2011-09-29

Back to top Go down

ooh, something I forgot

Post  Picard on Tue Feb 28, 2012 10:31 pm

what I experience is that the bot visits every neighbor and helps fine, but after 40 or 50 neighbors I get the message

[23:13:50][NEIGHBORS] You already have visited this neighbor. No rewards

but I did not within 24 hours Crying or Very sad
The most energy I got were about 50 Evil or Very Mad

Picard

Posts : 7
Points : 11
Join date : 2011-09-29

Back to top Go down

Re: PHP Warning: shuffle() expects parameter 1 to be array, null given in ....

Post  botter on Thu Mar 08, 2012 12:54 am

Picard wrote:what I experience is that the bot visits every neighbor and helps fine, but after 40 or 50 neighbors I get the message

[23:13:50][NEIGHBORS] You already have visited this neighbor. No rewards

but I did not within 24 hours Crying or Very sad
The most energy I got were about 50 Evil or Very Mad

That is the max number of rewards you get in the game because this is the highest level of "hearts" you can get. There is nothing wrong with your account.

botter

Posts : 36
Points : 42
Join date : 2011-10-14

Back to top Go down

Re: PHP Warning: shuffle() expects parameter 1 to be array, null given in ....

Post  Mr_Hyde on Sat Apr 07, 2012 10:33 am

I have the same problem as in the first post.

[12:22:09]BOT IS STOPED.
[1:21:41]BOT IS STOPED.
[1:21:41]PHP Warning: shuffle() expects parameter 1 to be array, null given in C:\Program Files\CVBot - Project DEVIL\Plugins\Neighbors\Hooks.php on line 731
[1:21:41]PHP Warning: shuffle() expects parameter 1 to be array, null given in C:\Program Files\CVBot - Project DEVIL\Plugins\Neighbors\Hooks.php on line 731

It also displays a window saying: "Cannot focus a disabled or (something) window", and it just hangs until I press the stop button, as you can see from the log times. That`s pretty annoying cause it did not work all night, so no coins... Sad
Any help?

Mr_Hyde

Posts : 7
Points : 7
Join date : 2012-04-05

Back to top Go down

Warning: shuffle() expects parameter 1 to be array, null given in ...Hooks.php on line 685

Post  esserr1 on Thu Aug 09, 2012 7:12 am

Warning: shuffle() expects parameter 1 to be array, null given in ...\CVBot - Project DEVIL\Plugins\Neighbors\Hooks.php on line 685

This message appears if neighbour's city downtown has loaded.

Will there be an upcoming fix?

esserr1

Posts : 15
Points : 17
Join date : 2012-08-07

Back to top Go down

Re: PHP Warning: shuffle() expects parameter 1 to be array, null given in ....

Post  Little Todd on Thu Aug 09, 2012 7:35 am

esserr1 wrote:Warning: shuffle() expects parameter 1 to be array, null given in ...\CVBot - Project DEVIL\Plugins\Neighbors\Hooks.php on line 685

This message appears if neighbour's city downtown has loaded.

Will there be an upcoming fix?

This warning occurred when there was an error loading the neighbors city. Has nothing to do with downtown.

It was also fixed awhile ago. The [You must be registered and logged in to see this link.] and [You must be registered and logged in to see this link.] have been fixed to prevent this warning from occurring.

I suggest you update your neighbors plugin.

Little Todd

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

Back to top Go down

Re: PHP Warning: shuffle() expects parameter 1 to be array, null given in ....

Post  esserr1 on Thu Aug 09, 2012 8:18 am

Little Todd wrote:
esserr1 wrote:Warning: shuffle() expects parameter 1 to be array, null given in ...\CVBot - Project DEVIL\Plugins\Neighbors\Hooks.php on line 685

This message appears if neighbour's city downtown has loaded.

Will there be an upcoming fix?

This warning occurred when there was an error loading the neighbors city. Has nothing to do with downtown.

It was also fixed awhile ago. The [You must be registered and logged in to see this link.] and [You must be registered and logged in to see this link.] have been fixed to prevent this warning from occurring.

I suggest you update your neighbors plugin.


thx for your answer Smile

has tested with "normal visit" by browser > city has loaded. only appears by downtown. 1 neighbour always is in downtown and this message always appears caused by this neighbour.

but i will try update the neighbours plugin again


edit: plugin reinstalled - got 2 messages "exit by error" same issue: both neighbours in downtown

esserr1

Posts : 15
Points : 17
Join date : 2012-08-07

Back to top Go down

Re: PHP Warning: shuffle() expects parameter 1 to be array, null given in ....

Post  Little Todd on Thu Aug 09, 2012 9:21 am

esserr1 wrote:thx for your answer Smile

has tested with "normal visit" by browser > city has loaded. only appears by downtown. 1 neighbour always is in downtown and this message always appears caused by this neighbour.

but i will try update the neighbours plugin again


edit: plugin reinstalled - got 2 messages "exit by error" same issue: both neighbours in downtown

Can i see the log where you get the "exit by error" message, include at least 10 lines before and after.

Little Todd

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

Back to top Go down

Re: PHP Warning: shuffle() expects parameter 1 to be array, null given in ....

Post  esserr1 on Thu Aug 09, 2012 10:02 am

Little Todd wrote:Can i see the log where you get the "exit by error" message, include at least 10 lines before and after.

have started plugin again, please take a look at the link below:

www2.zippyshare.com/v/46581685/file.html
(can't post link, sorry)

(names deleted)

please look for "Tivoli Town" (cnt 79) and "susitown" (cnt 31)

esserr1

Posts : 15
Points : 17
Join date : 2012-08-07

Back to top Go down

Re: PHP Warning: shuffle() expects parameter 1 to be array, null given in ....

Post  Little Todd on Thu Aug 09, 2012 10:23 am

esserr1 wrote:
Little Todd wrote:Can i see the log where you get the "exit by error" message, include at least 10 lines before and after.

have started plugin again, please take a look at the link below:

www2.zippyshare.com/v/46581685/file.html
(can't post link, sorry)

(names deleted)

please look for "Tivoli Town" (cnt 79) and "susitown" (cnt 31)

It does look like you found a problem that causes the "exit by error" message. Which could very well could be caused by the neighbor being in their downtown.

But this has nothing to do with the shuffle warning.

This information should be posted in the neighbors plugin thread.

Little Todd

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

Back to top Go down

Re: PHP Warning: shuffle() expects parameter 1 to be array, null given in ....

Post  esserr1 on Thu Aug 09, 2012 10:53 am

Little Todd wrote:It does look like you found a problem that causes the "exit by error" message. Which could very well could be caused by the neighbor being in their downtown.

But this has nothing to do with the shuffle warning.

This information should be posted in the neighbors plugin thread.

tested with old plugin:

BOT IS STOPED.
PHP Warning: shuffle() expects parameter 1 to be array, null given in ...Hooks.php on line 685
PHP Warning: shuffle() expects parameter 1 to be array, null given in ...Hooks.php on line 685
PHP Warning: shuffle() expects parameter 1 to be array, null given in ...Hooks.php on line 685
# End saving user profile to local db file
# Begin saving user profile to local db file
Coins: 194612636 Goods: 6039/7220/254 Energy: 20
Loading configuration...
[NEIGHBORS] You already have visited this neighbor. No rewards
[NEIGHBORS] Visit:Baerlin () (1 N to go)
Warning: shuffle() expects parameter 1 to be array, null given in ...Hooks.php on line 685
[NEIGHBORS] Exit by Error
Coins: 194612636 Goods: 6039/7220/254 Energy: 20
Loading configuration...
[NEIGHBORS] Visit:susitown () (2 N to go)
Warning: shuffle() expects parameter 1 to be array, null given in ...Hooks.php on line 685
[NEIGHBORS] Exit by Error
Coins: 194612636 Goods: 6039/7220/254 Energy: 20
Loading configuration...
[NEIGHBORS] Visit:Ratneck () (3 N to go)
[NEIGHBORS] You already have visited this neighbor. No rewards
[NEIGHBORS] Visit:San Salvo () (4 N to go)
Warning: shuffle() expects parameter 1 to be array, null given in ...Hooks.php on line 685
[NEIGHBORS] Exit by Error
Coins: 194612636 Goods: 6039/7220/254 Energy: 19
Loading configuration...
[NEIGHBORS] Visit:Tivoli Town () (5 N to go)
Coins: 194612636 Goods: 6039/7220/254 Energy: 19
Loading configuration...
[NEIGHBORS-Visiting] Starting to visit your neighbors...


these 3 neighbours are being in their downtown... the shuffle message is only given there

esserr1

Posts : 15
Points : 17
Join date : 2012-08-07

Back to top Go down

Re: PHP Warning: shuffle() expects parameter 1 to be array, null given in ....

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