|
| Author |
Message |
mat007 Almost An Agent

Joined: 12 Jan 2004 Posts: 1375
   votes: 2
|
Posted: Sat Dec 18, 2004 12:57 pm Post subject: |
|
|
Yes i doubt most of you area'nt intrested in habbo but some are, This service returns how many habbos are in the hotel.
Access the service at: http://plazmabot.com/cgi-bin/service.cgi?service=habbo
Hope you like  |
|
| Back to top |
|
 |
purcelly God Like

Joined: 10 Jun 2004 Posts: 560 Location: North West, England
    
|
Posted: Sat Dec 18, 2004 2:58 pm Post subject: |
|
|
Not into habbo but nice for habbo fan sites bots!
+1 for nice services
EDIT: ill give you the plus when i can  |
|
| Back to top |
|
 |
Silvere Young One

Joined: 01 Apr 2004 Posts: 73
   
|
Posted: Tue Dec 21, 2004 5:48 pm Post subject: |
|
|
Nice Service Mat, But which Hotel exactly does it show the number of Habbos For?
(Being a former habbo'er, I know theres more than one hotel) Perhaps your could make one for each hotel to make it more user-effiecient?
Anyways, Nice Service.
(P.S. Don't forget to re-register your account on AiChaos and and I'll link you to the AiChaos staf page ) |
|
| Back to top |
|
 |
mat007 Almost An Agent

Joined: 12 Jan 2004 Posts: 1375
   votes: 2
|
Posted: Tue Dec 21, 2004 5:54 pm Post subject: |
|
|
| I could make it add up every habbo in all hotels. |
|
| Back to top |
|
 |
itprotj Newbie

Joined: 18 Nov 2005 Posts: 1
     
|
Posted: Fri Nov 18, 2005 11:51 pm Post subject: Heya Need Help! |
|
|
Hi,
Could You Possibaly make me a script that i can put in my website that tells you How many habbos are in the Hotel on AU?
I tryed clicking that link but it said the page did not exist.
If you could make the script it would be greatly appreciated
Thanks,
Tj |
|
| Back to top |
|
 |
darkmonkey The Merovingian

Joined: 18 Apr 2004 Posts: 2557 Location: London, England
     votes: 7
|
Posted: Sat Nov 19, 2005 12:16 pm Post subject: |
|
|
| Code: | #!usr/bin/perl -w
use strict;
use LWP::Simple;
my $html = get('http://www.habbohotel.com.au');
my ($habbos) = $html =~ m[b>Habbos in the hotel:<br> <span class="white">(.*?)</span></b></td>];
print "Content-Type: text/html\n\n";
print "There are currently <b>$habbos</b> in the hotel";
|
That's untested, but should work unless Habbo Hotel requires a browser-type, in which case the script will have to be re-made. _________________ ~ Josh
[ Need bot hosting on a dedicated server? PM me. ] |
|
| Back to top |
|
 |
mat007 Almost An Agent

Joined: 12 Jan 2004 Posts: 1375
   votes: 2
|
Posted: Sun Nov 20, 2005 7:28 pm Post subject: |
|
|
| Learn to cache as your wasting: Yours and habbos bandwidth.. Your also just aking things go slow.. |
|
| Back to top |
|
 |
darkmonkey The Merovingian

Joined: 18 Apr 2004 Posts: 2557 Location: London, England
     votes: 7
|
Posted: Sun Nov 20, 2005 7:31 pm Post subject: |
|
|
This is a simple example for someone who obviously does not know the insides-out of a programming language. _________________ ~ Josh
[ Need bot hosting on a dedicated server? PM me. ] |
|
| Back to top |
|
 |
|