The files that u'll need to edit is at ..\CityVilleBot\codebase-php\ directory.
1. BotClass.php (at function ReloadConfig())
2. LocalDataClass.php (at function SaveProfile2db(&$bot))
find the below code (probably at line 326+ something for BotClass.php and line 370+ for LocalDataClass.php file)
replace the above code (or comment it out) with
1. BotClass.php (at function ReloadConfig())
2. LocalDataClass.php (at function SaveProfile2db(&$bot))
find the below code (probably at line 326+ something for BotClass.php and line 370+ for LocalDataClass.php file)
- CODE: SELECT ALL
if($fobj['itemName'] == "storage_barn") {$totalStorageGoods = $totalStorageGoods + 415;}
if($fobj['itemName'] == "storage_silo") {$totalStorageGoods = $totalStorageGoods + 100;}
if($fobj['itemName'] == "storage_outskirtsfarm") {$totalStorageGoods = $totalStorageGoods + 485;}
if($fobj['itemName'] == "storage_shack") {$totalStorageGoods = $totalStorageGoods + 1000;}
if($fobj['itemName'] == "goods_pier") {$totalStorageGoods = $totalStorageGoods + 420;}
replace the above code (or comment it out) with
- CODE: SELECT ALL
$cv_storage_type = array(
'storage_barn'=> 415,
'storage_silo'=> 100,
'storage_outskirtsfarm'=> 485,
'storage_shack'=> 1000,
'goods_pier'=> 420,
'storage_grain_elevator' => 700, // Zynga update on March 2011 @Cybuster
'storage_grainsilo' => 150 // Zynga update on March 2011 @Cybuster
);
foreach($cv_storage_type as $sname =>$sval){
if ( $fobj['itemName'] == $sname ) {
$totalStorageGoods = $totalStorageGoods + $sval;
}
}
As requested, here's the file. Make sure u make some backup first.
update: storage_grain_elevator & storage_grainsilo
update: storage_grain_elevator & storage_grainsilo
Donwload here
0 komentar:
:a: :b: :c: :d: :e: :f: :g: :h: :i: :j: :k: :l:
Posting Komentar
Please leave a comment about this article