CityVilleBot (Project DEVIL)


Join the forum, it's quick and easy

CityVilleBot (Project DEVIL)
CityVilleBot (Project DEVIL)
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
 
 

Display results as :
 


Rechercher Advanced Search

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

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

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

» CAN SOMEONE HELP ME?
wikia information EmptySat 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)
wikia information EmptySat Nov 01, 2014 12:59 pm by Blue Angel

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

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

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

» COMO FUNCIONA
wikia information EmptySun Aug 10, 2014 12:38 am by nathaliafariass

Affiliates
free forum


wikia information

2 posters

Go down

wikia information Empty wikia information

Post  asproef Fri Jan 13, 2012 8:06 am

HI

Is it possible to add information in wikia plug in?
I think it will be fine to can read the time need to collect residence. It s important to choose because for somme mission we need to collect lots of time residence to have spécifics object. Personnaly, i use specifics neigborhoods to put in 5 min house collecting.

asproef

Posts : 164
Points : 262
Join date : 2011-10-14

Back to top Go down

wikia information Empty Re: wikia information

Post  Kazu Fri Jan 13, 2012 11:32 am

I modify for your request.
If you want to find 5min, search 0.0833333 hours by CTRL-F.

Plugins/wikia/Class/wikia.php
line about 100
Code:

      //  Load Etc tag value
      $i = 0;
      foreach($item as $tag => $value)
      {
        $s_tag = strval($tag);
        if ($s_tag == "keyword")
        {
          $this->item[$name]->tag->keyword[$i] = strval($value);
          $i++;
        } else {
          $this->item[$name]->tag->$s_tag = strval($value);
        }
      }

      //  Load Random Modifier Tables

line about 200. delete comment out.
Code:

              $this->PushForm('<span class="Inf">');
              $this->showAttr($value->attr);
              $this->PushForm('</span>');

              $this->PushForm('<span class="Inf">');
              $this->showTag($value->tag,$type);
              $this->PushForm('</span>');
 
              $this->showRMT($value->RMT);

modify function showTag line about 230
Code:

  function showTag($obj,$type)
  {
    switch($type)
    {
      case 'business':
   break;
      case 'decoration':
   break;
      case 'landmark':
   break;
      case 'residence':
        if (isset($obj->cost)) $this->PushForm(sprintf('Coin  : %s',$obj->cost).'<br/>');
        if (isset($obj->cash)) $this->PushForm(sprintf('Cash  : %s',$obj->cash).'<br/>');
   $this->PushForm(sprintf('Size  : %dx%d',$obj->sizeX,$obj->sizeY).' <br/>');
   $this->PushForm(sprintf('Grow  : %g',$obj->growTime/1.043478261*24).' hours <br/>');
        $this->PushForm(sprintf('Population : %d0 / %d0',$obj->populationBase,$obj->populationMax).'<br/>');
   foreach ((array)$obj->keyword as $key)
        {
          $this->PushForm(sprintf('Keyword : %s',$key).'<br/>');
   }
   break;
    }
  /*
            $this->PushForm(sprintf('Buy  : %s x %s',$obj->name).'<br/>');
            $this->PushForm(sprintf('Sell : %s',$obj->code).'<br/>');
            $this->PushForm(sprintf('Size : %s',$obj->giftable).'<br/>');
            $this->PushForm(sprintf('Buy  : %s',$obj->buyable).'<br/>');
            $this->PushForm(sprintf('Place : %s',$obj->placeable).'<br/>');
  */
  }

Kazu

Posts : 10
Points : 8
Join date : 2011-10-23

Back to top Go down

wikia information Empty Re: wikia information

Post  asproef Fri Jan 13, 2012 1:48 pm

thanks

asproef

Posts : 164
Points : 262
Join date : 2011-10-14

Back to top Go down

wikia information Empty Re: wikia information

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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