error on line 301 will start showing up after a few runs
+6
Sapphire
albertos
colinpritham
lastbytescout
nipunb
robotprom
10 posters
Page 1 of 1
error on line 301 will start showing up after a few runs
If I quit the bot and restart it, it'll run fine for a few runs. Then, it'll start throwing these error codes.
If I then quit and restart the bot, it'll be ok for a three or four cycles.
I've tried uninstalling, then CCleaner followed by a reinstall, and that didn't help.
Any ideas on how to fix this?
If I then quit and restart the bot, it'll be ok for a three or four cycles.
I've tried uninstalling, then CCleaner followed by a reinstall, and that didn't help.
Any ideas on how to fix this?
- Code:
BOT IS STOPED.
PHP Warning: Invalid argument supplied for foreach() in C:\CVBot - Project DEVIL 1.10\Plugins\Buildings\Hooks.php on line 301
Images are up to date. (77196)
# End saving user profile to local db file
# Begin saving user profile to local db file
Coins: Goods: 0/300/0 Energy:
ERROR: Internal Server Error
Loading configuration...
Coins: Goods: 0/300/0 Energy:
ERROR: Internal Server Error
Loading configuration...
Checking Inventory to send Items to others.
Send gift: Error log disabled.
Multi help starting
Wish List: currently 0 items on the wish list.
Updating Wish List
Multi trade-in collections Not enabled.
Coins: Goods: 0/300/0 Energy:
ERROR: Internal Server Error
Loading configuration...
Factory is not activated #1.
Coins: Goods: 0/300/0 Energy:
ERROR: Internal Server Error
Loading configuration...
èStarting Plugin: NEIGHBORS
Warning: Invalid argument supplied for foreach() in C:\CVBot - Project DEVIL 1.10\Plugins\Buildings\Hooks.php on line 301
èStarting Plugin: BUILDINGS
èStarting Plugin: CROPS
# -------------------------------
# Getting NeighborList done.
# Getting NeighborList Phase #2
# Getting NeighborList Phase #1
# -------------------------------
# no pending requests found in your Inbox.
# Getting Inbox Requests
# Begin saving user inventory to local db file
Coins: Goods: 0/300/0 Energy:
ERROR: Internal Server Error
Loading configuration...
DoWork
# =======================================
# Doggie Lovers: None
# Doggie Queue: None
# Doggie Captured =
# =======================================
# Patrolling Police: None
# Bandit Queue: None
# Bandit Captured =
# =======================================
# x_flash_version = 10,3,183,10
# Host = web-zc1.cityville.Z*.com
# flashRevision = 77196
# GoodsMax = 300
# Goods = 0
# EnergyMax =
# Energy =
# Coins =
# Cash =
# Social Level =
# XP =
# Level =
# World Name =
# Name = Corey
# Z* id =
èBot Init [Phase 2]
Coins: Goods: 0/300/0 Energy:
ERROR: Internal Server Error
Loading configuration...
UpdateXML
èBot Init [Phase 1]
_
BOT IS RUNNING.
robotprom- Posts : 3
Points : 5
Join date : 2011-10-23
Re: error on line 301 will start showing up after a few runs
same error here..... I think slowly this bot is being patched by Z*...
nipunb- Posts : 362
Points : 374
Join date : 2011-10-08
Re: error on line 301 will start showing up after a few runs
Copy that. The bot succesfully runs once after startup, then the "Internal Server Error" starts appearing on every new cycle.
Looks like it's time for a makeover.
Looks like it's time for a makeover.
lastbytescout- Posts : 11
Points : 12
Join date : 2011-10-23
Re: error on line 301 will start showing up after a few runs
uncheck supply to power station...................
colinpritham- Posts : 46
Points : 48
Join date : 2011-09-29
Re: error on line 301 will start showing up after a few runs
I unchecked supply power station, and now I'm getting this. It'll do the same, if I restart the bot it'll be fine for a few runs, and then errors start popping up.
- Code:
BOT IS STOPED.
PHP Warning: Invalid argument supplied for foreach() in C:\CVBot - Project DEVIL 1.10\Plugins\Buildings\Hooks.php on line 839
PHP Warning: Invalid argument supplied for foreach() in C:\CVBot - Project DEVIL 1.10\Plugins\Buildings\Hooks.php on line 301
TrainSend = 1
Images are up to date. (77196)
# End saving user profile to local db file
# Begin saving user profile to local db file
Coins: Goods: 0/300/0 Energy:
ERROR: Internal Server Error
Loading configuration...
Coins: Goods: 0/300/0 Energy:
ERROR: Internal Server Error
Loading configuration...
Checking Inventory to send Items to others.
Send gift: Error log disabled.
Multi help starting
Wish List: currently 0 items on the wish list.
Updating Wish List
Multi trade-in collections Not enabled.
Coins: Goods: 0/300/0 Energy:
ERROR: Internal Server Error
Loading configuration...
Factory is not activated #1.
Coins: Goods: 0/300/0 Energy:
ERROR: Internal Server Error
Loading configuration...
èStarting Plugin: NEIGHBORS
[BUILDINGS-Ships] Action done.
[BUILDINGS-Ships] No energy to unload the Ships
[Energy] No energy found in you inventory.
[Energy] Checking the inventory for Energy
[BUILDINGS-Ships] Ship incomings started...
=====================================
ERROR: Internal Server Error
ERROR: Internal Server Error
[BUILDINGS-Train] Sending train on new mission. (schedule_5minA_buy)
[BUILDINGS-Train] Train has not departed from station.
Warning: Invalid argument supplied for foreach() in C:\CVBot - Project DEVIL 1.10\Plugins\Buildings\Hooks.php on line 839
Warning: Invalid argument supplied for foreach() in C:\CVBot - Project DEVIL 1.10\
[BUILDINGS-Train] Receiving started...
=====================================
[BUILDINGS-Business] Supplying done.
[BUILDINGS-Business] Supplying all business buildings (with goods)...
=====================================
[BUILDINGS-Business] Supplying done.
=====================================
[BUILDINGS-Business] Action done.
[BUILDINGS-Business] No energy to collect.
*** You did not select any business in buildings.
[BUILDINGS-Business] Action started...
=====================================
Warning: Invalid argument supplied for foreach() in C:\CVBot - Project DEVIL 1.10\Plugins\Buildings\Hooks.php on line 301
[BUILDINGS-Residences] Action done.
[BUILDINGS-Residences] No energy to collect.
[BUILDINGS-Residences] You need to select at least one building to collect.
[BUILDINGS-Residences] Action started...
=====================================
èStarting Plugin: BUILDINGS
èStarting Plugin: CROPS
# -------------------------------
# Getting NeighborList done.
# Getting NeighborList Phase #2
# Getting NeighborList Phase #1
# -------------------------------
# no pending requests found in your Inbox.
# Getting Inbox Requests
# Begin saving user inventory to local db file
Coins: Goods: 0/300/0 Energy:
ERROR: Internal Server Error
Loading configuration...
DoWork
# =======================================
# Doggie Lovers: None
# Doggie Queue: None
# Doggie Captured =
# =======================================
# Patrolling Police: None
# Bandit Queue: None
# Bandit Captured =
# =======================================
# x_flash_version = 10,3,183,10
# Host = web-zc1.cityville.Z*.com
# flashRevision = 77196
# GoodsMax = 300
# Goods = 0
# EnergyMax =
# Energy =
# Coins =
# Cash =
# Social Level =
# XP =
# Level =
# World Name =
# Name = Corey
# Z* id =
èBot Init [Phase 2]
Coins: Goods: 0/300/0 Energy:
ERROR: Internal Server Error
Loading configuration...
UpdateXML
èBot Init [Phase 1]
_
robotprom- Posts : 3
Points : 5
Join date : 2011-10-23
albertos- Posts : 32
Points : 42
Join date : 2011-09-25
Re: error on line 301 will start showing up after a few runs
Same is happening to mine also, it's cos of Z* changing the server, so we need bot to be changed also..I've tried with both bot's same problem (bot 2.02 on allbots) Still the same..and no one in sight to fix it..
Sapphire- Posts : 1
Points : -1
Join date : 2011-10-14
Re: error on line 301 will start showing up after a few runs
still same thing even with the repacked version...
albertos- Posts : 32
Points : 42
Join date : 2011-09-25
Still getting the 301 code...
//==========================================================================
// Neighbourhoods - by dada79
//==========================================================================
$todo = array();
$Objects = $bot->ld->GetObjects();
$i = 0;
foreach($Objects as $obj1)
{
if($obj1['className'] == "Neighborhood")
{
$hoodsid = "hood_" . $i;
$hoodsID = "hood_" . $i . "ID";
if(isset($data->$hoodsid) && ($data->$hoodsid))
{
$todo[] = $bot->ld->GetObjectById($data->$hoodsID);
}
$i++;
// Neighbourhoods - by dada79
//==========================================================================
$todo = array();
$Objects = $bot->ld->GetObjects();
$i = 0;
foreach($Objects as $obj1)
{
if($obj1['className'] == "Neighborhood")
{
$hoodsid = "hood_" . $i;
$hoodsID = "hood_" . $i . "ID";
if(isset($data->$hoodsid) && ($data->$hoodsid))
{
$todo[] = $bot->ld->GetObjectById($data->$hoodsID);
}
$i++;
turnkey60- Posts : 1
Points : 1
Join date : 2011-09-29
workaround...
this is a workaround.. hope someone will fix this properly.
i noticed that the bot works fine for some rounds and then fails with "interal server error".
so go to your BotClass.php, line 1974, and complete with the following code.
i tested over 24h and works fine..
i noticed that the bot works fine for some rounds and then fails with "interal server error".
so go to your BotClass.php, line 1974, and complete with the following code.
- Code:
if(strripos($answer, '500 Internal Server Error') !== false)
{
$this->SendMsg("ERROR: Internal Server Error");
$this->Disconnect();
global $headers_file, $amfbin_file;
if(file_exists($headers_file))
unlink($headers_file);//remove the reader if exists
if(file_exists($amfbin_file))
unlink($amfbin_file);//remove AMF data if exists
if(file_exists('tmp_dir\CurrentRevision.txt'))
unlink('tmp_dir\CurrentRevision.txt');
$this->RestartBot();
return;
}
i tested over 24h and works fine..
albertos- Posts : 32
Points : 42
Join date : 2011-09-25
Re: error on line 301 will start showing up after a few runs
could you post the file? I inserted the code at 1974 and still had troubles.
robotprom- Posts : 3
Points : 5
Join date : 2011-10-23
Re: error on line 301 will start showing up after a few runs
[You must be registered and logged in to see this link.]
check that on, little update, and a couple fixes
check that on, little update, and a couple fixes
KennyH- Posts : 9
Points : 11
Join date : 2011-09-30
Re: error on line 301 will start showing up after a few runs
Thanks i have apply your update, now bot run, but it doesn't work for me:
as you can see it start correctly but then don't made any work. I try with a fresh install too and i have the same problem.
Someone have the same problem, or is a my fault?
- Code:
[11.06.39]BOT IS STOPED.
[11.06.38]Images up to date.
[11.06.38]0 new and 3208 existing items in database
[11.04.48]Checking images started. for version: 79025
[11.04.48]# End saving user profile to local db file
[11.04.47]# Begin saving user profile to local db file
[11.04.47] Coins: 69205114 Goods: 34202/41690/0 Energy: 41
[11.04.35]Loading configuration...
[11.04.35]# -------------------------------
[11.04.35]# Getting NeighborList done.
[11.04.34]# Getting NeighborList Phase #2
[11.04.34]# Getting NeighborList Phase #1
[11.04.34]# -------------------------------
[11.04.33]# Getting Inbox Requests
[11.04.33]# Creating plugin-settings on local db file
[11.04.32]# Begin saving user inventory to local db file
[11.04.32] Coins: 69205114 Goods: 34202/41690/0 Energy: 41
[11.04.22]Loading configuration...
[11.04.22]DoWork
[11.04.22]# =======================================
[11.04.22]# Doggie Lovers: lover(0) lover(1) lover(2) lover(3) lover(4) lover(5)
[11.04.22]# Doggie Queue: [dog2] [dog1]
[11.04.22]# Doggie Captured = 196
[11.04.22]# =======================================
[11.04.22]# Patrolling Police: cop(0) cop(1) cop(2) cop(3) cop(4) cop(5) cop(6)
[11.04.21]# Bandit Queue: [bandit17] [bandit12]
[11.04.21]# Bandit Captured = 257
[11.04.21]# =======================================
[11.04.21]# x_flash_version = 10,3,183,10
[11.04.21]# Host = web-zc1.cityville.Z*.com
[11.04.21]# flashRevision = 79025
[11.04.21]# GoodsMax = 41690
[11.04.21]# Goods = 34202
[11.04.21]# EnergyMax = 30
[11.04.21]# Energy = 41
[11.04.21]# Coins = 69205114
[11.04.21]# Cash = 0
[11.04.21]# Social Level = 46
[11.04.21]# XP = 59232
[11.04.21]# Level = 78
[11.04.21]# World Name = PincoPallino
[11.04.21]# Name = PincoPallino
[11.04.21]# Z* id = ***********
[11.04.21]Deleting old BIN files
[11.04.21]èBot Init [Phase 2]
[11.04.21] Coins: 69205114 Goods: 34202/41690/0 Energy: 41
[11.04.10]Loading configuration...
[11.04.08]> Download done.
[11.04.08]# Downloading effectsConfig.xml
[11.04.08]> Decompressing done.
[11.04.08]> Download done.
[11.04.07]# Downloading en_US.xml.z
[11.04.07]> Decompressing done.
[11.04.07]> Download done.
[11.04.07]> Downloaded 1 MB
[11.04.06]# Downloading gameSettings.xml.z
[11.04.06]UpdateXML
[11.04.06]èBot Init [Phase 1]
[11.04.06]_
[11.04.06]BOT IS RUNNING.
[11.04.04]AMF Data Saved
[11.04.03]Headers Saved.
[11.04.03]BUILDING AMF DATA
[11.03.54]WAITING AMF DATA.
[11.03.53]ERROR: Internal Server Error
[11.03.53]Loading configuration...
[11.03.51]UpdateXML
[11.03.51]èBot Init [Phase 1]
[11.03.51]_
[11.03.51]BOT IS RUNNING.
[8.16.14]BOT IS STOPED.
[8.16.14]Images up to date.
[8.16.14]0 new and 3208 existing items in database
[8.14.19]Checking images started. for version: 79025
[8.14.19]# End saving user profile to local db file
[8.14.18]# Begin saving user profile to local db file
[8.14.18] Coins: 69205014 Goods: 34177/41690/0 Energy: 41
[8.14.07]Loading configuration...
[8.14.07]# -------------------------------
[8.14.07]# Getting NeighborList done.
[8.14.05]# Getting NeighborList Phase #2
[8.14.05]# Getting NeighborList Phase #1
[8.14.05]# -------------------------------
[8.14.05]# Getting Inbox Requests
[8.14.05]# Creating plugin-settings on local db file
[8.14.04]# Begin saving user inventory to local db file
[8.14.04] Coins: 69205014 Goods: 34177/41690/0 Energy: 41
[8.13.54]Loading configuration...
[8.13.53]DoWork
[8.13.53]# =======================================
[8.13.53]# Doggie Lovers: lover(0) lover(1) lover(2) lover(3) lover(4) lover(5)
[8.13.53]# Doggie Queue: [dog5] [dog1]
[8.13.53]# Doggie Captured = 196
[8.13.53]# =======================================
[8.13.53]# Patrolling Police: cop(0) cop(1) cop(2) cop(3) cop(4) cop(5) cop(6)
[8.13.53]# Bandit Queue: [bandit17] [bandit12]
[8.13.53]# Bandit Captured = 257
[8.13.53]# =======================================
[8.13.53]# x_flash_version = 10,3,183,10
[8.13.53]# Host = web-zc1.cityville.Z*.com
[8.13.53]# flashRevision = 79025
[8.13.53]# GoodsMax = 41690
[8.13.53]# Goods = 34177
[8.13.53]# EnergyMax = 30
[8.13.53]# Energy = 41
[8.13.53]# Coins = 69205014
[8.13.53]# Cash = 0
[8.13.53]# Social Level = 46
[8.13.53]# XP = 59232
[8.13.53]# Level = 78
[8.13.53]# World Name = PincoPallino
[8.13.53]# Name = PincoPallino
[8.13.53]# Z* id = ***********
[8.13.53]Deleting old BIN files
[8.13.53]èBot Init [Phase 2]
[8.13.53] Coins: 69205014 Goods: 34177/41690/0 Energy: 41
[8.13.41]Loading configuration...
[8.13.40]> Download done.
[8.13.40]# Downloading effectsConfig.xml
[8.13.39]> Decompressing done.
[8.13.39]> Download done.
[8.13.39]# Downloading en_US.xml.z
[8.13.39]> Decompressing done.
[8.13.39]> Download done.
[8.13.39]> Downloaded 1 MB
[8.13.37]# Downloading gameSettings.xml.z
[8.13.37]UpdateXML
[8.13.37]èBot Init [Phase 1]
[8.13.37]_
[8.13.37]BOT IS RUNNING.
[8.13.35]AMF Data Saved
[8.13.35]Headers Saved.
[8.13.34]BUILDING AMF DATA
[8.13.24]WAITING AMF DATA.
[8.13.24]ERROR: Internal Server Error
[8.13.24]Loading configuration...
[8.13.22]UpdateXML
[8.13.22]èBot Init [Phase 1]
[8.13.22]_
[8.13.22]BOT IS RUNNING.
[5.07.27]BOT IS STOPED.
[5.07.26]Images up to date.
[5.07.26]0 new and 3208 existing items in database
[5.05.37]Checking images started. for version: 79025
[5.05.37]# End saving user profile to local db file
[5.05.36]# Begin saving user profile to local db file
[5.05.36] Coins: 69205014 Goods: 34177/41690/0 Energy: 38
[5.05.26]Loading configuration...
[5.05.26]# -------------------------------
[5.05.26]# Getting NeighborList done.
[5.05.24]# Getting NeighborList Phase #2
[5.05.24]# Getting NeighborList Phase #1
[5.05.24]# -------------------------------
[5.05.23]# Getting Inbox Requests
[5.05.23]# Creating plugin-settings on local db file
[5.05.23]# Begin saving user inventory to local db file
[5.05.23] Coins: 69205014 Goods: 34177/41690/0 Energy: 38
[5.05.11]Loading configuration...
[5.05.11]DoWork
[5.05.11]# =======================================
[5.05.11]# Doggie Lovers: lover(0) lover(1) lover(2) lover(3) lover(4) lover(5)
[5.05.11]# Doggie Queue: [dog5] [dog1]
[5.05.11]# Doggie Captured = 196
[5.05.11]# =======================================
[5.05.11]# Patrolling Police: cop(0) cop(1) cop(2) cop(3) cop(4) cop(5) cop(6)
[5.05.11]# Bandit Queue: [bandit17] [bandit12]
[5.05.11]# Bandit Captured = 257
[5.05.11]# =======================================
[5.05.11]# x_flash_version = 10,3,183,10
[5.05.11]# Host = web-zc1.cityville.Z*.com
[5.05.11]# flashRevision = 79025
[5.05.11]# GoodsMax = 41690
[5.05.11]# Goods = 34177
[5.05.11]# EnergyMax = 30
[5.05.11]# Energy = 38
[5.05.11]# Coins = 69205014
[5.05.11]# Cash = 0
[5.05.11]# Social Level = 46
[5.05.11]# XP = 59232
[5.05.11]# Level = 78
[5.05.11]# World Name = PincoPallino
[5.05.11]# Name = PincoPallino
[5.05.11]# Z* id = ***********
[5.05.11]Deleting old BIN files
[5.05.11]èBot Init [Phase 2]
[5.05.11] Coins: 69205014 Goods: 34177/41690/0 Energy: 38
[5.05.00]Loading configuration...
[5.04.58]> Download done.
[5.04.58]# Downloading effectsConfig.xml
[5.04.58]> Decompressing done.
[5.04.58]> Download done.
[5.04.58]# Downloading en_US.xml.z
[5.04.58]> Decompressing done.
[5.04.58]> Download done.
[5.04.57]> Downloaded 1 MB
[5.04.56]# Downloading gameSettings.xml.z
[5.04.56]UpdateXML
[5.04.56]èBot Init [Phase 1]
[5.04.56]_
[5.04.56]BOT IS RUNNING.
[5.04.53]AMF Data Saved
[5.04.50]Headers Saved.
[5.04.50]BUILDING AMF DATA
[5.04.44]WAITING AMF DATA.
[5.04.44]ERROR: Internal Server Error
[5.04.43]Loading configuration...
[5.04.43]UpdateXML
[5.04.43]èBot Init [Phase 1]
[5.04.41]_
[5.04.41]BOT IS RUNNING.
as you can see it start correctly but then don't made any work. I try with a fresh install too and i have the same problem.
Someone have the same problem, or is a my fault?
blabla- Posts : 32
Points : 43
Join date : 2011-09-22
Re: error on line 301 will start showing up after a few runs
that works fine, but i see he is not collect the university wikia name : "univ_library" . and the Center wikia name "city_center_1
"for the buildings.
can anyone fix this ?
"for the buildings.
can anyone fix this ?
Blondero- Posts : 49
Points : 52
Join date : 2011-09-21
Re: error on line 301 will start showing up after a few runs
KennyH wrote:[You must be registered and logged in to see this link.]
check that on, little update, and a couple fixes
The error "Test, Can't Delete" , still shows up....
nipunb- Posts : 362
Points : 374
Join date : 2011-10-08
Similar topics
» ERROR GetSettingsFromXml.php on line 38 and more
» Error / AMFBaseDeserializer.php on line 210
» richEDIT : line insertion error
» [Repack 1.2] Works don't start when bot start with timer.
» ERROR: Error calling function GameMechanicService.performNeighborMechanicAction -> Wonder::getRadius - Invalid client enqueue time res[0]
» Error / AMFBaseDeserializer.php on line 210
» richEDIT : line insertion error
» [Repack 1.2] Works don't start when bot start with timer.
» ERROR: Error calling function GameMechanicService.performNeighborMechanicAction -> Wonder::getRadius - Invalid client enqueue time res[0]
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
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