View Single Post
  #264  
Old 05-23-2013, 03:53 AM
fefe78 fefe78 is offline
Junior Member
 
Join Date: Dec 2012
Posts: 8
fefe78 is on a distinguished road
Default

Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)


Quote:
Originally Posted by elgero View Post
Does anybody know how to find out if a girl is online or not?

Currently I'm connecting to one of the chat servers, sending the 'hello fcserver' packet. Then I use the 'guest name' and 'fileno' sent by the server to connect to /mfc2/php/mobj.php?f=*_*&s=chat*. It returns a list of the online girls in json.

It works fine, but I'm sure there must be an easier way to check if one girl is online or not.
very easy way.. I use it to check model status..

get profile page http://profiles.myfreecams.com/<model_name> using wget for example

look at html code and search for "g_nProfileState" variable;

these are the values, extracted from my script code:

Code:
                case $status in
                        "0")
                        status_text="Online"
                        ;;
                        "2")
                        status_text="Away"
                        ;;
                        "12")
                        status_text="In Private"
                        ;;
                        "13")
                        status_text="In Group Show"
                        ;;
                        "90")
                        status_text="Online"
                        ;;
                        "91")
                        status_text="In Private"
                        ;;
                        "127")
                        status_text="Offline"
                        ;;
hope this helps..
Reply With Quote