Quote:
Originally Posted by mfmax
Does anybody know some way to get via browser (preferably) or script, a complete listing of MFC models that are currently connected? Their respective status - online, away, group, private, etc - and also the general data - name, id, age, ethnic, country, continent, topic, camscore, rank, tags, etc - with the possibility of saving it in a file like .csv or .xlsx (or even .txt)?
|
You could pull the information from the JSONArray like all the "mfc recorder apps" do and output it into a filetype of your choosing. I don't really know how one would do this using a browser but it's definitely possible using an app or script. Somebody with a better understanding of websockets could tell you if/how this would be doable within a browser.
The JSONArray you would get for each model is formatted like this:
["nm","sid","uid","vs","pid","lv",{"u":["camserv","chat_color","chat_font","chat_opt","cre ation","avatar","profile","photos"]},{"m":["camscore","continent","flags","new_model","rank", "rc","topic","hidecs"]}]
vs would be a numeric value representing the model's status 0=online; 2=away; 12=private; 13=group, rc is the number of current viewers and everything else is pretty much what the name suggests.
Other data would have to be pulled from the model's profile; like: age, city, etc.