Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: [PHP] WoWClass

  1. #1
    Join Date
    Jan 2007
    Location
    West Yorkshire
    Posts
    384
    Tokens
    0

    Default [PHP] WoWClass

    WoWClass is my second useful PHP class. It retrieves information from the new Armory part of the WoW site.
    It has many functions to retrieve character data.

    Heres a list of functions:
    http://www.files.uk.to/uploads/21989list.txt

    To initialise it you would use
    PHP Code:
    <?php
    include(PATH TO PHP FILE);
    $wow = new WoWClass(COUNTRYREALMNAME);
    ?>
    So it would be like this for example:
    PHP Code:
    <?php
    include('WoWClass.php');
    $wow = new WoWClass('eu''Deathwing''Tyber');
    ?>
    The country part is either eu or us

    Then to use a function you would do something like this:
    PHP Code:
     <?php
     
    include('WoWClass.php');
     
    $wow = new WoWClass('eu''Deathwing''Tyber');
    echo 
    $wow->charRace();
     
    ?>
    That would output the race of your character (Human, Troll, etc.)

    Another function is the charActive() function, it checks to see if the character is active so it can retrieve the data.

    PHP Code:
    if($wow->charActive()){
    //Do things
    }else{
    //Do things

    Here is something I made using this:
    http://www.thomas.uk.to/wow

    (NOTE: Hunteer and Tyber are not my chars, I am just using them as an example)

    If you want things added to WoWClass or if you do not understand post here please.

    Download:
    http://www.files.uk.to/uploads/11649WoWClass.zip

    “two players, two sides.
    one is light, one is dark.”
    - John Locke

  2. #2
    Join Date
    Oct 2005
    Location
    Melbourne, Australia
    Posts
    7,554
    Tokens
    0

    Latest Awards:

    Default

    that looks cool well done

  3. #3
    Join Date
    Jan 2007
    Location
    West Yorkshire
    Posts
    384
    Tokens
    0

    Default

    Thanks, I thought I would get no replies because it looks confusing.

    There is now a basic website for WoWClass

    http://wow.files.uk.to
    Last edited by ZAG; 10-03-2007 at 09:44 AM.

    “two players, two sides.
    one is light, one is dark.”
    - John Locke

  4. #4
    Join Date
    Oct 2005
    Location
    Melbourne, Australia
    Posts
    7,554
    Tokens
    0

    Latest Awards:

    Default

    it does look confusing.. but then again most php stuff looks confusing, +rep anyway

  5. #5
    Join Date
    Jan 2007
    Location
    West Yorkshire
    Posts
    384
    Tokens
    0

    Default

    Thanks, I could make signatures with this like my Habbo ones. Might do later.

    “two players, two sides.
    one is light, one is dark.”
    - John Locke

  6. #6
    Join Date
    Jan 2007
    Location
    West Yorkshire
    Posts
    384
    Tokens
    0

    Default

    I have now added talent functions to it. So you can recieve the names of your talents and the amount of points assigned to them.

    “two players, two sides.
    one is light, one is dark.”
    - John Locke

  7. #7
    Join Date
    Oct 2006
    Posts
    2,918
    Tokens
    946
    Habbo
    Verrou

    Latest Awards:

    Default

    Really inivative Tom! I love all your scripts!!
    +rep for this one
    Quote Originally Posted by Special-1k View Post
    How do you uninstall an internet? I want to uninstall my Google Chrome and
    get firefox but I never really got rid of an internet my dad usually did it for me.
    If you know how post below so I can do this.

  8. #8
    Join Date
    Jan 2007
    Location
    West Yorkshire
    Posts
    384
    Tokens
    0

    Default

    Thanks ))

    “two players, two sides.
    one is light, one is dark.”
    - John Locke

  9. #9
    Join Date
    Oct 2006
    Posts
    2,918
    Tokens
    946
    Habbo
    Verrou

    Latest Awards:

    Default

    Tom can ya pm me the source code or zip file link for tis script.
    http://iat.evenhosting.com/profile/-1.

    It is the one with no habbo fuctions, the first profile script.

    Thanx,
    Ver.
    Quote Originally Posted by Special-1k View Post
    How do you uninstall an internet? I want to uninstall my Google Chrome and
    get firefox but I never really got rid of an internet my dad usually did it for me.
    If you know how post below so I can do this.

  10. #10
    Join Date
    Jan 2007
    Location
    West Yorkshire
    Posts
    384
    Tokens
    0

    Default

    This is the only Habbo Profile link I have.
    http://thomas.uk.to/projects/habboprofile.zip

    “two players, two sides.
    one is light, one is dark.”
    - John Locke

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •