Welcome to the Virtual Pet List Community

Wanting to join the rest of our members? Feel free to sign up today. It is completely free and one of the most positive communities on the web! Come and join the fun!

Join VPL Today!
  1. Virtual Pets

    Welcome to the Virtual Pet list forum!

    We're a Virtual Pets and Sim Games Community. We have a lot of Virtual Pet Sites Owners and Sim Games Owners that frequently visit, along with Artists, Writers and Programmers that come here looking for work and games to work for. Our Artists sell art in our Art Marketplace and Programmers are allowed to sell scripts in the Programming Marketplace. We've been opened since 2011 and since then we've grown to well over 212k posts and almost 5k members. What are you waiting for, why don't you join today?

    Our List of Virtual Pet Sites has a lot of Sim Games listed as well. You are more than welcome to check out our directory of sites and find a new game to play. If you're still curious about a game to play, you can check out some of our Game Reviews and Interviews with Coders, Artists, Writers and Game Owners of the industry.
  2. Have you read and commented on any of our Interviews or Reviews yet?
    Are you ready for the return of Teripets?
    Paladore - Boopets - Icepets
    Virtual Pet Directory
    join mycena cave!

Selling: Old AlleyPets Scripts

Discussion in 'General Marketplace' started by Dart, Apr 12, 2011.

  1. Dart
    Offline

    Dart JRPG Fanatic VPL Supporter VPL Member

    Joined:
    Jan 23, 2011
    Messages:
    1,014
    Likes Received:
    97
    Trophy Points:
    48
    Hello everone. I have a huge set of scripts from the old version of AlleyPets that I do not need:

    http://www.puppita.com/

    The art is not included, with the exception of in-game art.

    Although the coding is messy, it is pretty secure. If you find anything that doesn't work, tell me.

    If you buy this, I will assist you in fixing up the scripts.

    I can also provide a basic admin panel.
    Last edited: Apr 12, 2011
    join misticpets, support vpl
  2. Restless
    Offline

    Restless New Member VPL Member

    Joined:
    Feb 21, 2011
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    When registering you get a whole slew of notices about a missing UserConfirmed.php page.

    I really like the flash games. :D You're awesome with flash games.
  3. Lewis
    Offline

    Lewis Moderator Moderator Programming Moderator Senior Programmer Pet Game Owner VPL Supporter

    Joined:
    Jan 21, 2011
    Messages:
    1,795
    Likes Received:
    127
    Trophy Points:
    63
    Location:
    UK
    Is the layout included and what is the error reporting level set to?
  4. Dart
    Offline

    Dart JRPG Fanatic VPL Supporter VPL Member

    Joined:
    Jan 23, 2011
    Messages:
    1,014
    Likes Received:
    97
    Trophy Points:
    48
    I suppose the layout can be included. The error reporting is set to the default, I will fix that.

    The registration glitch has been fixed.
  5. Lewis
    Offline

    Lewis Moderator Moderator Programming Moderator Senior Programmer Pet Game Owner VPL Supporter

    Joined:
    Jan 21, 2011
    Messages:
    1,795
    Likes Received:
    127
    Trophy Points:
    63
    Location:
    UK
    I'm quite interested. Would it be possible to see some of the code and have you got an idea of how much you would be looking for?
  6. tittlemouse
    Offline

    tittlemouse New Member VPL Member

    Joined:
    Feb 13, 2011
    Messages:
    445
    Likes Received:
    1
    Trophy Points:
    0
    good luck selling these :)
  7. Dart
    Offline

    Dart JRPG Fanatic VPL Supporter VPL Member

    Joined:
    Jan 23, 2011
    Messages:
    1,014
    Likes Received:
    97
    Trophy Points:
    48
    Code:
    <?php
    //reply to a thread
    class Reply {
    var $user;
    var $tid;
    var $msg;
    var $cat;
    var $output;
    
    function filter($str) {
    $needle = array("badword1", "badword2");
    $c = count($needle);
    $flag = 0;
    for($i=0; $i<$c; $i++) {
    $pos = stripos($str, $needle[$i]);
    if($pos !== false) {
    $flag = 1;
    }
    }
    if($flag == 1) {
    return false;
    } else {
    return true;
    }
    }
    function postIt($user, $tid, $msg, $cat) {
    $sql2 = sprintf("INSERT INTO `t_reps`(`tid`, `user`, `msg`) VALUES ('%d', '%s', '%s');", mysql_real_escape_string($tid), mysql_real_escape_string($user), mysql_real_escape_string($msg));
    $result2 = mysql_query($sql2);
    $tid = mysql_real_escape_string($tid);
    $time = time();
    $sql3 = mysql_query("UPDATE `threads` SET `replies`=`replies`+'1' WHERE `tid`='$tid';");
    $sqlu = mysql_query("UPDATE `threads` SET `last`='$time' WHERE `tid`='$tid';");
    if($cat == "games") {
    $inc = 0.1;
    } else if($cat == "chatcat") {
    $inc = 0.2;
    } else if($cat != "help") {
    $inc = 0.3;
    } else {
    $inc = 0.4;
    }
    $brownie = mysql_query("UPDATE usertable SET brownie=brownie+'$inc' WHERE username='$user'");
    $this->output = "Replied successfully! <a href=\"?act=fboard&cat=$cat\">Back</a>";
    }
    function getOutput() {
    return $this->output;
    }
    function Reply($user, $tid, $msg, $cat) {
    $msg2 = strip_tags($msg, "<b><i><u><strike><em><strong><br>");
    if(!($this->filter($msg2))) {
    $this->output = "Sorry, swearing is not allowed.";
    } else if(strlen($msg2)>300) {
    $this->output = "Messages cannot exceed 300 characters.";
    } else if($user == null) {
    $this->output = "You must be logged in to post messages!";
    } else {
    $this->postIt($user, $tid, $msg, $cat);
    }
    }
    }
    ?>
    <?php
    //bones.php
    include("classes/index02.php");
    $bone = strip_tags($_POST["bone"]);
    $un = $ar[0];
    $sql = mysql_query("SELECT * FROM `usertable` WHERE `username`='$un'");
    if(mysql_num_rows($sql)<=0) {
    echo "Not logged in... :(";
    } else {
    $a = mysql_fetch_array($sql);
    $lst = time()-$a["bones"];
    if($lst>21600) {
    if($bone == null) {
    ?>
    <form method="post" action="">
    <table><tr><td><div align="left"><img src="images/bone.gif"/></div></td><td<div align="left"><img src="images/bone.gif"/></div></td></tr>
    <tr><td><div align="left"><input type="radio" name="bone" value="1"/></div></td><td><div align="left"><input type="radio" name="bone" value="2"/></div></td></tr></table>
    <br/><br/>
    <button type="submit"><font face="Tahoma, Arial, Helvetica, sans-serif"><strong>Throw in the Fire</strong></font></button></form>
    <?php
    } else {
    $bone2 = rand(1, 2);
    if($bone == $bone2) {
    $b = new Bone($ar[0], "money");
    } else if($bone == 1 || $bone == 2) {
    $b = new Bone($ar[0], "heal");
    } else {
    echo "That is definitely not a bone!";
    }
    $t = time();
    mysql_query("UPDATE `usertable` SET `bones`='$t' WHERE `username`='$un'");
    }
    } else {
    echo "Sorry, but you've played in the last six hours...";
    }
    }
    ?>
    The code is partly, but not fully OOP.

    As for the price, I really cannot say until I have an offer, although I can say i am looking for something in the mid-$xxx range.
  8. Lewis
    Offline

    Lewis Moderator Moderator Programming Moderator Senior Programmer Pet Game Owner VPL Supporter

    Joined:
    Jan 21, 2011
    Messages:
    1,795
    Likes Received:
    127
    Trophy Points:
    63
    Location:
    UK
    The code looks good but is any of it indented? How are passwords stored?
  9. Dart
    Offline

    Dart JRPG Fanatic VPL Supporter VPL Member

    Joined:
    Jan 23, 2011
    Messages:
    1,014
    Likes Received:
    97
    Trophy Points:
    48
    No, it's not indented, although a pretty printer could fix that.

    The passwords are hashed / salted.
  10. Dart
    Offline

    Dart JRPG Fanatic VPL Supporter VPL Member

    Joined:
    Jan 23, 2011
    Messages:
    1,014
    Likes Received:
    97
    Trophy Points:
    48
    Note to everyone: Create a pet, get an item and click "Pet Interface." The pet interface BY ITSELF is worth at least $100.

    But I won't count it as that much :)
    Last edited: Apr 12, 2011
  11. cpvr
    Offline

    cpvr Owner and Founder Administrator

    Joined:
    Jan 20, 2011
    Messages:
    28,797
    Likes Received:
    1,244
    Trophy Points:
    113
    Location:
    Houston, Texas
    Do you have any screenshots of all the scripts?
  12. indysolo621
    Offline

    indysolo621 Member VPL Member

    Joined:
    Feb 27, 2011
    Messages:
    1,395
    Likes Received:
    59
    Trophy Points:
    48
    How much space do the files take up?
  13. Dart
    Offline

    Dart JRPG Fanatic VPL Supporter VPL Member

    Joined:
    Jan 23, 2011
    Messages:
    1,014
    Likes Received:
    97
    Trophy Points:
    48
    The .zip is about 20 megabytes.

    I will now be including the following art:

    [​IMG]
    Last edited: Apr 12, 2011
  14. MrCjTheFish
    Offline

    MrCjTheFish New Member VPL Member

    Joined:
    Jan 27, 2011
    Messages:
    928
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    USA
    How much are you asking?
    @xtmx
    Last edited by a moderator: Oct 16, 2013
  15. Lewis
    Offline

    Lewis Moderator Moderator Programming Moderator Senior Programmer Pet Game Owner VPL Supporter

    Joined:
    Jan 21, 2011
    Messages:
    1,795
    Likes Received:
    127
    Trophy Points:
    63
    Location:
    UK
    That's a good deal. Aren't the dogs being used on the current AlleyPets?
  16. Dart
    Offline

    Dart JRPG Fanatic VPL Supporter VPL Member

    Joined:
    Jan 23, 2011
    Messages:
    1,014
    Likes Received:
    97
    Trophy Points:
    48
    I don't think so, no.
  17. Dart
    Offline

    Dart JRPG Fanatic VPL Supporter VPL Member

    Joined:
    Jan 23, 2011
    Messages:
    1,014
    Likes Received:
    97
    Trophy Points:
    48
    I have posted the sale at DigitalPoint

    The minimum price is currently $300.
  18. cpvr
    Offline

    cpvr Owner and Founder Administrator

    Joined:
    Jan 20, 2011
    Messages:
    28,797
    Likes Received:
    1,244
    Trophy Points:
    113
    Location:
    Houston, Texas
    Nice way to try to sell it. DP has a huge marketplace - and Flippa is good for websites.
  19. Dart
    Offline

    Dart JRPG Fanatic VPL Supporter VPL Member

    Joined:
    Jan 23, 2011
    Messages:
    1,014
    Likes Received:
    97
    Trophy Points:
    48
    It is now an auction at DP. Go there if interested in purchasing.
  20. cpvr
    Offline

    cpvr Owner and Founder Administrator

    Joined:
    Jan 20, 2011
    Messages:
    28,797
    Likes Received:
    1,244
    Trophy Points:
    113
    Location:
    Houston, Texas
    How's the sale going on over there?
Similar Threads
Forum Title Date
General Marketplace Selling Website And Assets Feb 22, 2014
General Marketplace Selling Premium Domains Dec 3, 2013
General Marketplace Selling Html/css And Php/mysql Books! Nov 6, 2013
General Marketplace Selling 3ds, Plushies, And Toys! Nov 1, 2013
General Marketplace Selling Domain Name Friendzforever.net Oct 25, 2013
General Marketplace Selling Ds/n64/gba/3ds And More. Oct 21, 2013
General Marketplace Interested in old games? Selling tons! Aug 9, 2013
General Marketplace Selling AlacritySim items, pets, and account for USD~! Jun 15, 2013
General Marketplace Possibly selling virtual pet site Vmons.com May 16, 2013
General Marketplace Selling Smiley Pack (Yellow) May 5, 2013
General Marketplace Selling Domain - VirtuPals.com Mar 17, 2013
General Marketplace Selling old Elvonica Code. Features listed inside Feb 24, 2013
General Marketplace AUCTION - Selling Job Lot of Games & DVD's Feb 1, 2013
General Marketplace Selling Domain Name - Abimon.com for $2 Jan 22, 2013
General Marketplace Selling Site (Nice Layout & Ajax login) $30 Jan 17, 2013

Share This Page