Foodbabs! (Open alpha)

Forum
Last Post
Threads / Messages

Dinocanid

Member
Member
Joined
Aug 30, 2016
Messages
520
Points
18
Age
23
Location
Maryland, USA
Mysidian Dollar
43,334
(As a side note, I don't know if this belongs in the sites showcase since it doesn't seem done enough for it? This can be moved if it has to.)

-Introduction-
Foodbabs! My very first try at doing anything involving adoptables. They're adorable, lovable food animal hybrids.

SF.png
14ceba6c13befcefc9382b960f308dce.png
63b165420b6c438cc0810051f59f61b0.png

A few of the available starters

All of the editing and art is currently being done by me, so progress isn't exactly fast, but my goal for the site is to be charming and memorable; and a bit unique.

-Features-
  • Seasonal adopts that can only be obtained through the event shop.
  • Pet shows and contests (Not yet implemented)
  • Luck and karma system (Partially implemented)
  • Integrated forum
  • Breeding oriented. A few starter breeds are available, but a majority will only be obtainable through breeding. Collect 'em all!
  • Rarities and variants (Not yet implemented)
  • User-friendly interface

-Extra Info-
Not a lot of features are on the site yet, but without a team I wanted to get feedback and suggestions from the userbase, so it's currently open alpha. All I ask from users that sign up is that they let me know of any bugs they find so I can fix them! It's very bland looking now, but I plan to change the layout later. Currently, the site is only compatible with computers.

Link to website
 
Last edited:
I started to work on the festival grounds so seasonal adopts can become available, and I don't have much further to go. Meet Slyther the candy corn snake! He likes to get into the holiday spirit.

685aedf7ef92bc1687e48bff2396d4cf-dajr3ws.png

(Normal image)

20e1d5752c707d2e661b44d49e6c5940-dajrcx7.png

(Slyther in his halloween outfit)
"Welcome to the Fessstival Groundss mortal. I am a scary dragon! I hope my costume iss not too sssspooky for you..."
 
Last edited:
It looks very nice! If you want someone to...color-in your site appearance....then i'm here.
 
If you could help with the site appearance that would be nice! I've been to busy with the technical stuff and adoptables to get to it.

The site's going to look a bit wonky for a while since I'm trying to make a theme. So if you go to the site and there are odd colors and tables everywhere, that's why :veeee:
In addition to that, there are two new fall adoptables available:
2e1d3073ae5f085bdc0f0a2d4e8bd71f.png
Pumpkat (The namesake actually comes from the cat, which is pumpkin flavored. Not the pumpkin on it's head.)
BFD.png
Black Forest Dog (Has cherry filling and fluffy wool. Actually pretty snappy and is happiest when they are the center of attention.)
 
As an update, there have been a few completed in the recent weeks:
4678032814243840.png

The first one is a hunger/thirst system. They don't deplete yet, but it should be fully implemented soon. The second one is backgrounds! The only background so far is a simple cardboard box, since the art for the others are being worked on. (The background is not currently available in the shops yet)

5803932721086464.png

Next we have the sidebar! Active pets will now say things from time to time and find currency for you. Later on, they'll be required in order to do certain activities such as exploring. Below that, there is a counter of how many species are available on the site so you can keep track of your collection.

4505146489044992.png

4680033195261952.png


The Festival Grounds now has a link to the event shop for the current month(s).

5302323020824576.png

Karma is now on the site as well. It is gained by clicking adoptables and lost by eating them. It doesn't serve a purpose yet, but it will later be used to join associations and get exclusive items and babs from boxes.

The guidebook on the site has been updated. There is currently an "adoptable ID 0" bug on the profiles of users who haven't assigned a fav pet. If you get this error, just PM me and I'll fix it for you. I'm working on a permanent solution, but I haven't found one yet.
 
Signed up! Your idea for the site is awesome. Who doesn't love pets based on foods! :usedusedused:
 
Thanks! ^^
Right now I'm working on "shelf space" so you can only have a max of 10 adoptables unless you upgrade your shelves. It's not done yet, but it does work for the adoption center so far.
 
Nice work! I've noticed you also changed the theme of the site as well.
Bug/Issue: Whenever I try to view my profile it gives me the following error: Adoptable ID 0 does not exist or does not belong to the owner specified...

Actually it gives this error for some members and others I can view.

Another issue is that the "go to my account" (link in the sidebar) is giving me a blank page...

edit: pm's are off to the far right
 
Last edited:
Fixed them!
The adoptable ID 0 thing is an ongoing issue that I can't seem to find a fix for. It happens because new users don't automatically have a favpet when they sign up. I'm working on it though.
 
Last edited:
I finished the adult stages of the cranberry tufted deer:
fctd_by_hoafan-dapo8wc.png
mctd_by_hoafan-dapo8wa.png

It'll be the first adoptable to have different male and female images.
 
Oh my gosh they are so lovely! When and where will these available?
 
I plan on finishing all the baby and egg stages today since I have a bunch of free time. They'll be available in a regular pet/adopt shop.
 
Fixed them!
The adoptable ID 0 thing is an ongoing issue that I can't seem to find a fix for. It happens because new users don't automatically have a favpet when they sign up. I'm working on it though.

I'm not sure in what context you are having the error, but as I heavily rely on favpets for my site I have codes in place (thanks to various Mysidia users <3):
Example of an explore page (you need a companion to explore):
PHP:
if ((int)$profile->getFavpetID() == 0) { 
			$document->addLangVar('It seems you do not yet have not assigned a companion! Assign one and then come back.'); 
		return; 
		}

Example of my sidebar:
PHP:
if ($profile->getFavpetID() == "0"){
            $this->FavPetSB = new Paragraph; 
            $this->FavPetSB->add(new Comment("<center><b>No Companion</b><br><a href='http://inekel.mysidiahost.com/account/profile'>Choose one!</a></center>"));
        }

I hope this helps?
 
I'm getting it on the profiles of users who don't have a favorite pet. It looks like there's a code in class_userprofile to prevent the adoptable ID 0 error, but it either isn't working or I'm not reading it correctly and it actually doesn't help at all:
PHP:
$this->favpet = ($this->favpet == 0)?new Comment("None Selected"):new Link("levelup/click/{$this->favpet}", new Image($favimg), TRUE);

This is my full code:
PHP:
<?php

use Resource\Collection\LinkedList;

class UserProfile extends Model{
  // The user profile class, it has dependency over class Member and cannot exist on its own
  public $uid;
  public $username;
  protected $avatar;
  protected $bio;
  protected $color;
  protected $about;
  protected $favpet;
  protected $gender;
  protected $nickname;
  protected $alignment;
  
  public function __construct($uid){
	  // Fetch the basic profile params for users
	  
	  $mysidia = Registry::get("mysidia");	
	  $row = $mysidia->db->select("users_profile", array(), "uid ='{$uid}'")->fetchObject();
	  // loop through the anonymous object created to assign properties
      foreach($row as $key => $val){
	     $this->$key = $val;		 
      }
      // Successfully instantiate user profile object	  
  }  
  
  public function formatusername(){
      $ccstats = cancp($this->usergroup);
	  $this->username = ($ccstat == "yes")?"<img src='templates/icons/star.gif' /> {$this->username}":$this->username; 
	  return $this;
  }
  
  public function getAvatar(){
      return $this->avatar;
  }
  
  public function getBio(){
      return $this->bio;
  }
  
  public function getColor(){
      return $this->color;
  }
    public function getAlignment(){
      return $this->alignment;
  }
  
  public function getFavpetID(){
      return $this->favpet;
  }
  
  public function getFavpetInfo(){
      return $this->about;
  }
     
  public function getFavpet(){ 
      if(is_numeric($this->favpet)){ 
          $adopt = new OwnedAdoptable($this->favpet); 
          $favimg = $adopt->getImage(); 
          $this->favpet = ($this->favpet == 0)?new Comment("None Selected"):new Link("levelup/click/{$this->favpet}", new Image($favimg), TRUE); 
      } 
      return $this->favpet;	  
  }
  
  public function getGender(){
      return $this->gender;
  }
  
  public function getNickname(){
      return $this->nickname;
  }
  
  public function display($action = "", $data = ""){
      switch($action){
	     case "vmessages":
		    $this->vmessages();
		    break;
         case "aboutme":
            $this->aboutme();
            break;
         case "adopts":
            $this->showalladopts();
            break;
         case "friends":
            $this->getfriends($data);
            break;
         case "contactinfo":
            $this->contactinfo($data);
            break;
         default:
            throw new Exception("Invalid profile tab...");		 
	  }
  }
  
  private function vmessages(){
      $mysidia = Registry::get("mysidia");	
	  $document = $mysidia->frame->getDocument();
	  $stmt = $mysidia->db->select("visitor_messages", array(), "touser = '{$mysidia->input->get("user")}' ORDER BY vid DESC LIMIT 0, 15");
	  if($stmt->rowCount() == 0){          
          return;
      }
      $vmList = new TableBuilder("vmessages", 800, FALSE);
      $vmList->setHelper(new MessageTableHelper);
	  while($vmessage = $stmt->fetchObject()){
		 $sender = $mysidia->db->join("users_profile", "users_profile.uid = users.uid")
				               ->select("users", array(), constant("PREFIX")."users.username = '{$vmessage->fromuser}'")
				               ->fetchObject(); 
		 $cells = new LinkedList;
         $cells->add(new TCell($vmList->getHelper()->getAvatarImage($sender->avatar)));
         $cells->add(new TCell($vmList->getHelper()->getVisitorMessage($vmessage)));
         if(($mysidia->user instanceof Admin) or ($mysidia->user->username == $vmessage->fromuser)){
             $cells->add(new TCell($vmList->getHelper()->getManageActions($vmessage->vid)));
         }
         $vmList->buildRow($cells);         				   
	  }
	  $document->add($vmList);
  }
  
  private function aboutme(){
      $mysidia = Registry::get("mysidia");	
	  $document = $mysidia->frame->getDocument();
      $title = new Comment($mysidia->lang->basic.$mysidia->input->get("user"));
      $title->setBold(TRUE);
      $title->setUnderlined(TRUE);
      $membersince = $mysidia->db->select("users", array("membersince"), "username = '{$mysidia->input->get("user")}'")->fetchColumn();     
      $alignment =  $mysidia->db->select("users", array("alignment"), "username = '{$mysidia->input->get("user")}'")->fetchColumn();
      $basicinfo = "<br><strong>Member Since:</strong> {$membersince}<br>
                                    Association: {$alignment}<br>
				    Gender: {$this->gender}<br>
				    Favorite Color: {$this->color}<br>
				    Nickname: {$this->nickname}<br>
				    Bio: {$this->bio}";
	  
      $document->add($title);
      $document->add(new Image($this->avatar, "avatar", 100));
      $document->add(new Comment($basicinfo));					
  }
  
  private function showalladopts(){
      $mysidia = Registry::get("mysidia");	
	  $document = $mysidia->frame->getDocument();
      $spotlight = new Comment("-Favorite Pet-");
      $spotlight->setHeading(2);       

      $document->add($spotlight);
      $document->add($this->favpet);
      $document->add(new Comment($this->about));

      $title = new Comment("{$mysidia->input->get("user")}'s Pets:");
      $title->setBold(TRUE);
      $title->setUnderlined(TRUE);
      $title->setHeading(2);
      $document->add($title);

      $stmt = $mysidia->db->select("owned_adoptables", array("aid"), "owner = '{$mysidia->input->get("user")}'");
      while($id = $stmt->fetchColumn()){
	      $adopt = new OwnedAdoptable($id);
          $document->add(new Link("levelup/click/{$adopt->getAdoptID()}", $adopt->getImage("gui"))); 
	  }
  }
  
  private function getfriends($user){
      $mysidia = Registry::get("mysidia");	
	  $document = $mysidia->frame->getDocument();
	  $friendlist = new Friendlist($user);
	  $document->add(new Comment("{$user->username} currently have {$friendlist->gettotal()} friends."));
	  $friendlist->display();  
  }
  
  private function contactinfo($contacts){
      $mysidia = Registry::get("mysidia");	
	  $document = $mysidia->frame->getDocument();	
	  $member = new Member($mysidia->input->get("user"));
	  $document->add(new Image("templates/icons/web.gif", "web"));
	  $document->add(new Comment($contacts->website));
	  $document->add(new Image("templates/icons/facebook.gif", "facebook"));
	  $document->add(new Comment($contacts->facebook));
	  $document->add(new Image("templates/icons/twitter.gif", "twitter"));
	  $document->add(new Comment($contacts->twitter));
	  $document->add(new Image("templates/icons/aim.gif", "aim"));
	  $document->add(new Comment($contacts->aim));
	  $document->add(new Image("templates/icons/msn.gif", "msn"));
	  $document->add(new Comment($contacts->msn));
	  $document->add(new Image("templates/icons/yahoo.gif", "yahoo"));
	  $document->add(new Comment($contacts->yim));
	  $document->add(new Image("templates/icons/skype.gif", "skype"));
	  $document->add(new Comment($contacts->skype));
	  $document->add(new Image("templates/icons/title.gif", "Write a PM"));
	  $document->add(new Link("messages/newpm/{$mysidia->input->get("user")}", "Send {$mysidia->input->get("user")} a Private Message", TRUE));
	  $document->add(new Image("templates/icons/fr.gif", "Send a Friend Request"));
	  $document->add(new Link("friends/request/{$member->uid}", "Send {$mysidia->input->get("user")} a Friend Request", TRUE));
	  $document->add(new Image("templates/icons/trade.gif", "Make a Trade Offer"));
	  $document->add(new Link("trade/offer/user/{$member->uid}", "Make {$mysidia->input->get("user")} a Trade Offer"));  
  }

  protected function save($field, $value){

  }   
}
?>
 
Last edited:
I compared my file to yours and the only major difference I can find is in the $this->favpet line...here is what mine looks like:
PHP:
  public function getFavpet(){
      if(is_numeric($this->favpet)){
          $this->favpet = ($this->favpet == 0)?new Comment("None Selected"):new Link("levelup/click/{$this->favpet}", new Image("levelup/siggy/{$this->favpet}"), TRUE); 
      } 
      return $this->favpet;	  
  }

The only difference being the new Image section. Might try changing it just to be sure that's not the issue?
 
Awesome! I'm glad!

Have I mentioned that I love the concept, and the pets? So cute!
 
The adult stages for the Blue Raspberry and Black Licorice dragons:
fGfRYTc.png
fahjcoh.png


The Cranberry Tufted Deer was fully completed, but it's on hold since I having issues getting the adult male image to appear:
e2g0WC1.png
vNdKIbS.png
rH17DvJ.png
28j9Pts.png
 
Last edited:
Ahhh, I love the dragons so much!!!
The baby deer is so cute. ouo
 
These are the updates that will be added over the weekend:
  • Alpha rewards! They will be given to the most active alpha users. Once the beta stage comes, active beta users will be given exclusive rewards as well.
  • Backgrounds! They will be available in a decor shop on the market page.
  • Associations! Users can join either the GGBA or the GEBA to have access to exclusive shops for items, adoptables, and decor. You cannot be in both associations at once and each require a certain amount of karma. You must have at least 100 karma to join the GGBA and -100 karma to join the GEBA.
  • Less money. Yes, sadly your bab will no longer be able to find $500 for you, but it will be able to find you $25 at max! Clicking adoptables will also reward between 0-2 in currency.
  • Interaction and trust! Babs are actually quite small, no bigger than a hand. Wouldn't you be weary of such a giant when you're so edible? You will no longer be able to add a favorite pet to your sidebar unless their trust is at least 50%. How do you gain trust? Through interaction! Random events will appear on your pet's page. If you pick the right choice you gain some trust. Picking the wrong choice won't cause you to lose any, but this may change. The choices will also cause you to gain or lose karma.
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,277
Messages
33,118
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Top