[PLUGIN] Buildings-DownTown v1.3 (08/05/2112)
+3
theclarets1969
rlff38
Little Todd
7 posters
Page 1 of 1
[PLUGIN] Buildings-DownTown v1.3 (08/05/2112)
This plugin performs actions in your Downtown
v1.0
-Initial Release
v1.1
-Fixed issue with Business Buildings not showing in correct listing.
v1.2
-Fixed issue with residences showing 0 population.
-Added quest footer to supply Dam, Windmill, and Electric Company. (So you get credit on your quest when bot supplies them.)
-Added option for streakbonus on Community and Landmarks. (Moved for botclass.php)
-Rewrote entire class file for faster loading.
-**Sections now only appear if you have those objects in your downtown.
-**Example: You will only see the select Landmarks box if you have a Landmark in your downtown.
v1.3
- Fixed issue with population not showing correctly on Skyscrapers, Custom Residences, and Neighborhoods.
- Fixed issue with appraisal not showing correctly on Premium Businesses.
- Rewrote hooks file for faster bot running. Less reloading of the configuration.
Requires latest full install.
CVBot - DEVIL 1.10 [Update 1.5.6] (27/04/2012)
Enjoy,
Little Todd.
v1.0
-Initial Release
v1.1
-Fixed issue with Business Buildings not showing in correct listing.
v1.2
-Fixed issue with residences showing 0 population.
-Added quest footer to supply Dam, Windmill, and Electric Company. (So you get credit on your quest when bot supplies them.)
-Added option for streakbonus on Community and Landmarks. (Moved for botclass.php)
-Rewrote entire class file for faster loading.
-**Sections now only appear if you have those objects in your downtown.
-**Example: You will only see the select Landmarks box if you have a Landmark in your downtown.
v1.3
- Fixed issue with population not showing correctly on Skyscrapers, Custom Residences, and Neighborhoods.
- Fixed issue with appraisal not showing correctly on Premium Businesses.
- Rewrote hooks file for faster bot running. Less reloading of the configuration.
Requires latest full install.
CVBot - DEVIL 1.10 [Update 1.5.6] (27/04/2012)
- Code:
http://www.mediafire.com/download.php?11mveevpvbs3cng
Enjoy,
Little Todd.
Last edited by Little Todd on Tue May 08, 2012 6:53 pm; edited 2 times in total
Little Todd- Posts : 409
Points : 425
Join date : 2012-02-23
rlff38- Posts : 120
Points : 126
Join date : 2011-12-27
Location : France
Re: [PLUGIN] Buildings-DownTown v1.3 (08/05/2112)
great work little todd appreciated
theclarets1969- Posts : 501
Points : 805
Join date : 2011-10-14
Location : planet earth
Re: [PLUGIN] Buildings-DownTown v1.3 (08/05/2112)
In v1.2
* Need a fix for Neighbourhoods:
line 772, AFTER
ADD ON A NEW LINE
* Need a fix for Neighbourhoods:
line 772, AFTER
- Code:
$pop += $house["currentPopulation"];
ADD ON A NEW LINE
- Code:
if($house["currentPopulation"]==0) {$pop += $xmlsOb->GetResidencesBasePopulation($house["itemName"]);}
rlff38- Posts : 120
Points : 126
Join date : 2011-12-27
Location : France
Re: [PLUGIN] Buildings-DownTown v1.3 (08/05/2112)
rlff38 wrote:In v1.2
* Need a fix for Neighbourhoods:
line 772, AFTER
- Code:
$pop += $house["currentPopulation"];
ADD ON A NEW LINE
- Code:
if($house["currentPopulation"]==0) {$pop += $xmlsOb->GetResidencesBasePopulation($house["itemName"]);}
Nice catch.
I imagine custom homes has the same issue.
I'll get it updated.
Thanks.
Little Todd- Posts : 409
Points : 425
Join date : 2012-02-23
Re: [PLUGIN] Buildings-DownTown v1.3 (08/05/2112)
really good work Little Todd,
the loading performance is super, it is maybe possible for the the other plugs (Buildings, Im-Export & Factory)?
the loading performance is super, it is maybe possible for the the other plugs (Buildings, Im-Export & Factory)?
<BQ>- Posts : 221
Points : 226
Join date : 2011-09-21
Re: [PLUGIN] Buildings-DownTown v1.3 (08/05/2112)
<BQ> wrote:really good work Little Todd,
the loading performance is super, it is maybe possible for the the other plugs (Buildings, Im-Export & Factory)?
Thanks.
And yes, Buildings can easily be done, since it's the same functions. Just need to change the world and plugin settings to save correctly.
I have stayed away form Im-Export, since it's your plug, but I can take a look and see what can be done. Which reminds me.... People are putting the trucking depot in the main world, and the airport in downtown, so I think it should check both worlds for these items. I think ships, cruisers, ferry and trains can only be in main world, so we're good with those not being included in Downtown.
As for the factory, I'll have to look at it, I've not used it so I have no idea at this time.
I'll let you know, and keep you updated on what I think can be done to improve performance.
Little Todd- Posts : 409
Points : 425
Join date : 2012-02-23
Re: [PLUGIN] Buildings-DownTown v1.3 (08/05/2112)
Little Todd wrote:
Thanks.
And yes, Buildings can easily be done, since it's the same functions. Just need to change the world and plugin settings to save correctly.
I have stayed away form Im-Export, since it's your plug, but I can take a look and see what can be done. Which reminds me.... People are putting the trucking depot in the main world, and the airport in downtown, so I think it should check both worlds for these items. I think ships, cruisers, ferry and trains can only be in main world, so we're good with those not being included in Downtown.
As for the factory, I'll have to look at it, I've not used it so I have no idea at this time.
I'll let you know, and keep you updated on what I think can be done to improve performance.
trucking depot in the main world, and the airport in downtown
all the 3 plugs need some time to load, so it would great
brings a rewrite from these plugs a improvement?
<BQ>- Posts : 221
Points : 226
Join date : 2011-09-21
Re: [PLUGIN] Buildings-DownTown v1.3 (08/05/2112)
there is another bug with some business which not have a "min" appraisal
Before fix :
These businesses can be built using the glass Studio.
In order to get the appraisal value, you must REPLACE the GetBusinessAppraisal function in ./codebase-php/GetSettingsFromXml.php with this one :
After fix :
Before fix :
These businesses can be built using the glass Studio.
In order to get the appraisal value, you must REPLACE the GetBusinessAppraisal function in ./codebase-php/GetSettingsFromXml.php with this one :
- Code:
function GetBusinessAppraisal($itemName){
foreach ($this->gsXML->items->item as $item)
{
if ($item['name'] == $itemName)
{
if (!isset($item->appraisal['min']))
{
if(!isset($item['derivesFrom']))
{
$res = $this->GetBusinessMaxAppraisal($itemName);
break;
}
$res = $this->GetBusinessAppraisal((string)$item['derivesFrom']);
break;
}
$res = $item->appraisal['min'];
break;
}
}
return $res;
}
After fix :
rlff38- Posts : 120
Points : 126
Join date : 2011-12-27
Location : France
Re: [PLUGIN] Buildings-DownTown v1.3 (08/05/2112)
Plugin updated.
See first post.
See first post.
Little Todd- Posts : 409
Points : 425
Join date : 2012-02-23
Re: [PLUGIN] Buildings-DownTown v1.3 (08/05/2112)
Little Todd wrote:Plugin updated.
See first post.
thank you, Little Todd
you have read my message about your ImageDL ?
demian.kinley- Posts : 323
Points : 351
Join date : 2012-02-20
Re: [PLUGIN] Buildings-DownTown v1.3 (08/05/2112)
some problems by me, after try to capture bandit in DT ...
edit: with my old hooks, i have no probs
- Code:
.
.
.
=====================================
[BUILDINGS-PremiumBus] Visiting all business buildings done.
Warning: Invalid argument supplied for foreach() in C:\Dokumente und Einstellungen\Rene\Eigene Dateien\Downloads [Project DEVIL]\CVBot - Project DEVIL 1.10 [Both Worlds]\Plugins\Buildings-DownTown\Hooks.php on line 920
[BUILDINGS-PremiumBus] Visiting all business buildings (before supply)
=====================================
[BUILDINGS-PremiumBus] LOOP #3 starting...
=====================================
[BUILDINGS-PremiumBus] Supplying done.
Warning: Invalid argument supplied for foreach() in C:\Dokumente und Einstellungen\Rene\Eigene Dateien\Downloads [Project DEVIL]\CVBot - Project DEVIL 1.10 [Both Worlds]\Plugins\Buildings-DownTown\Hooks.php on line 1105
[BUILDINGS-PremiumBus] Supplying all business buildings (with premium goods)...
=====================================
Loading Downtown World
[BUILDINGS-BanditsDT] Action done.
[BUILDINGS-BanditsDT] Error: Not enough cops, need 5
[BUILDINGS-BanditsDT] Bandit(6) requires 5 cops, you have 0
[BUILDINGS-BanditsDT] Trying to capture Bandit(6)
[BUILDINGS-BanditsDT] 4[]
[BUILDINGS-BanditsDT] Bandit(7) requires 6 cops, you have 6
[BUILDINGS-BanditsDT] Trying to capture Bandit(7)
[BUILDINGS-BanditsDT] Action started...
=====================================
edit: with my old hooks, i have no probs
<BQ>- Posts : 221
Points : 226
Join date : 2011-09-21
Re: [PLUGIN] Buildings-DownTown v1.3 (08/05/2112)
<BQ> wrote:some problems by me, after try to capture bandit in DT ...
- Code:
.
.
.
=====================================
[BUILDINGS-PremiumBus] Visiting all business buildings done.
Warning: Invalid argument supplied for foreach() in C:\Dokumente und Einstellungen\Rene\Eigene Dateien\Downloads [Project DEVIL]\CVBot - Project DEVIL 1.10 [Both Worlds]\Plugins\Buildings-DownTown\Hooks.php on line 920
[BUILDINGS-PremiumBus] Visiting all business buildings (before supply)
=====================================
[BUILDINGS-PremiumBus] LOOP #3 starting...
=====================================
[BUILDINGS-PremiumBus] Supplying done.
Warning: Invalid argument supplied for foreach() in C:\Dokumente und Einstellungen\Rene\Eigene Dateien\Downloads [Project DEVIL]\CVBot - Project DEVIL 1.10 [Both Worlds]\Plugins\Buildings-DownTown\Hooks.php on line 1105
[BUILDINGS-PremiumBus] Supplying all business buildings (with premium goods)...
=====================================
Loading Downtown World
[BUILDINGS-BanditsDT] Action done.
[BUILDINGS-BanditsDT] Error: Not enough cops, need 5
[BUILDINGS-BanditsDT] Bandit(6) requires 5 cops, you have 0
[BUILDINGS-BanditsDT] Trying to capture Bandit(6)
[BUILDINGS-BanditsDT] 4[]
[BUILDINGS-BanditsDT] Bandit(7) requires 6 cops, you have 6
[BUILDINGS-BanditsDT] Trying to capture Bandit(7)
[BUILDINGS-BanditsDT] Action started...
=====================================
I find your log output very strange....
After trying to capture bandits, it should be reloading the config, but I don't see any coins, goods, energy line.
Also, the foreach lines that show the error is $bot->dt_fobjects, which is always set....
Let me run a few tests and see if I can replicate the error.
Little Todd- Posts : 409
Points : 425
Join date : 2012-02-23
Re: [PLUGIN] Buildings-DownTown v1.3 (08/05/2112)
Dogs theater is Hotel I saw it in plugin buildings downtown but there's nothing to click is there anyway to fix it? Here is the pic : [You must be registered and logged in to see this link.] Thanks in advanced!
AQIROCK- Posts : 426
Points : 448
Join date : 2011-12-11
Age : 42
Re: [PLUGIN] Buildings-DownTown v1.3 (08/05/2112)
it showing the same also for building plugins [You must be registered and logged in to see this link.] hmm maybe cant use this plugin for that. for main town I took by bot but for downtown i do it manual just wonder why we cant name that dogs theater like others hotel thou
AQIROCK- Posts : 426
Points : 448
Join date : 2011-12-11
Age : 42
Re: [PLUGIN] Buildings-DownTown v1.3 (08/05/2112)
I have anticipated aqirock.
I was going to write the same thing.
I was going to write the same thing.
dinos- Posts : 17
Points : 19
Join date : 2012-03-02
Re: [PLUGIN] Buildings-DownTown v1.3 (08/05/2112)
dinos wrote:I have anticipated aqirock.
I was going to write the same thing.
haha can't do anything I think as we also cant click the dogs theater to invite friends but I have some tips, place a most goods business beside that hotel, collects it and it will also make your dogs theater full in few minutes as long as you supply that business
AQIROCK- Posts : 426
Points : 448
Join date : 2011-12-11
Age : 42
Re: [PLUGIN] Buildings-DownTown v1.3 (08/05/2112)
AQIROCK wrote:
haha can't do anything I think as we also cant click the dogs theater to invite friends but I have some tips, place a most goods business beside that hotel, collects it and it will also make your dogs theater full in few minutes as long as you supply that business
updates comes in some minutes
<BQ>- Posts : 221
Points : 226
Join date : 2011-09-21
Re: [PLUGIN] Buildings-DownTown v1.3 (08/05/2112)
<BQ> wrote:
updates comes in some minutes
cool but I have finish this quest im sure its giving a benefit to others thou xD
AQIROCK- Posts : 426
Points : 448
Join date : 2011-12-11
Age : 42
Similar topics
» [PLUGIN] sendTo v1.0 - Downtown Update (18/04/2112)
» buildings downtown 1.3
» error buildings downtown
» [PLUGIN] Buildings2 v2.5.1 (29/07/2112)
» [PLUGIN] BuyIt v1.1 (13/05/2112)
» buildings downtown 1.3
» error buildings downtown
» [PLUGIN] Buildings2 v2.5.1 (29/07/2112)
» [PLUGIN] BuyIt v1.1 (13/05/2112)
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