Tracking Users NEED HELP ASAP

View: New views
6 Messages — Rating Filter:   Alert me  

Tracking Users NEED HELP ASAP

by PHUGpuba :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Can anyone out there help me with the following issues???

We are currently building a red5 communications tool (and advanced chat system) built on the oflaDemo. We have currently coded majority of it in AS3 using the flash IDE. I have made a few adjustments to the Application.java file in order to delete/disconnect users from the so.

How the chat tool works:

Users are anonymously logged in and a random user id is created and dumped into an array stored within the so. Users are randomly thrown into dynamic rooms generated in AS3 and stored in the so.
 

The issues:
1. The delete/disconnect function I added to the application.java does not update all users
2.We can’t seem to track all users/clients that are connected to red5
3. It seems that the user array and room array are specific to the so in the flash player instead of globally across all rooms and users

Is there a way in AS3 to create a global user array and room array so we can track how many users are logged on across all rooms? We need to be able to determine a max user count per room and when this limit is reached randomly put users into another room. We also need to display an accurate user population for all connected users. We also need to know if and how we can display multiple so’s within the same window in order to give the user different view options?

I am open to all suggestions, I would prefer to be able to solve this in AS3 but I am willing to do some java as well if needed.

Thanks in advance!

-Brendan

Re: Tracking Users NEED HELP ASAP

by Steven Zimmer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In which classes do you create your arrays?
PHUGpuba wrote:

> Can anyone out there help me with the following issues???
>
> We are currently building a red5 communications tool (and advanced chat
> system) built on the oflaDemo. We have currently coded majority of it in AS3
> using the flash IDE. I have made a few adjustments to the Application.java
> file in order to delete/disconnect users from the so.
>
> How the chat tool works:
>
> Users are anonymously logged in and a random user id is created and dumped
> into an array stored within the so. Users are randomly thrown into dynamic
> rooms generated in AS3 and stored in the so.
>  
>
> The issues:
> 1. The delete/disconnect function I added to the application.java does not
> update all users
> 2.We can’t seem to track all users/clients that are connected to red5
> 3. It seems that the user array and room array are specific to the so in the
> flash player instead of globally across all rooms and users
>
> Is there a way in AS3 to create a global user array and room array so we can
> track how many users are logged on across all rooms? We need to be able to
> determine a max user count per room and when this limit is reached randomly
> put users into another room. We also need to display an accurate user
> population for all connected users. We also need to know if and how we can
> display multiple so’s within the same window in order to give the user
> different view options?
>
> I am open to all suggestions, I would prefer to be able to solve this in AS3
> but I am willing to do some java as well if needed.
>
> Thanks in advance!
>
> -Brendan
>
>  


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: Tracking Users NEED HELP ASAP

by PHUGpuba :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Steven, Not quite clear on the question.

I think this is what you are asking for:

function loginUser():void {
        if (remote_so.data.userArray == undefined) {
                userArray = new Array();
        } else {
                userArray=remote_so.data.userArray;
        }
        userArray.push({name:userName});

        remote_so.setProperty("userArray", userArray);
        remote_so.setProperty("chatText", chatInputWin.chatInput.text);
        remote_so.setDirty("userArray");
       
        checkRoom();
        createUserList();

        login.visible = false;
       
}

Steven Zimmer wrote:
In which classes do you create your arrays?
PHUGpuba wrote:
> Can anyone out there help me with the following issues???
>
> We are currently building a red5 communications tool (and advanced chat
> system) built on the oflaDemo. We have currently coded majority of it in AS3
> using the flash IDE. I have made a few adjustments to the Application.java
> file in order to delete/disconnect users from the so.
>
> How the chat tool works:
>
> Users are anonymously logged in and a random user id is created and dumped
> into an array stored within the so. Users are randomly thrown into dynamic
> rooms generated in AS3 and stored in the so.
>  
>
> The issues:
> 1. The delete/disconnect function I added to the application.java does not
> update all users
> 2.We can’t seem to track all users/clients that are connected to red5
> 3. It seems that the user array and room array are specific to the so in the
> flash player instead of globally across all rooms and users
>
> Is there a way in AS3 to create a global user array and room array so we can
> track how many users are logged on across all rooms? We need to be able to
> determine a max user count per room and when this limit is reached randomly
> put users into another room. We also need to display an accurate user
> population for all connected users. We also need to know if and how we can
> display multiple so’s within the same window in order to give the user
> different view options?
>
> I am open to all suggestions, I would prefer to be able to solve this in AS3
> but I am willing to do some java as well if needed.
>
> Thanks in advance!
>
> -Brendan
>
>  


_______________________________________________
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: Tracking Users NEED HELP ASAP

by Andy Shaules :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You can try to add an html event handler in the code, which calls javaScript
to your swf, which triggers a function to remove its name from the array,
however, not %100 reliable.

Java is really the easiest and most robust way to support all of that.

Am for hire, and Am cheap.
Andy

----- Original Message -----
From: "PHUGpuba" <brotherbrendan@...>
To: <Red5@...>
Sent: Tuesday, July 22, 2008 8:14 AM
Subject: Re: [Red5] Tracking Users NEED HELP ASAP


>
> Steven, Not quite clear on the question.
>
> I think this is what you are asking for:
>
> function loginUser():void {
> if (remote_so.data.userArray == undefined) {
> userArray = new Array();
> } else {
> userArray=remote_so.data.userArray;
> }
> userArray.push({name:userName});
>
> remote_so.setProperty("userArray", userArray);
> remote_so.setProperty("chatText", chatInputWin.chatInput.text);
> remote_so.setDirty("userArray");
>
> checkRoom();
> createUserList();
>
> login.visible = false;
>
> }
>
>
> Steven Zimmer wrote:
>>
>> In which classes do you create your arrays?
>> PHUGpuba wrote:
>>> Can anyone out there help me with the following issues???
>>>
>>> We are currently building a red5 communications tool (and advanced chat
>>> system) built on the oflaDemo. We have currently coded majority of it in
>>> AS3
>>> using the flash IDE. I have made a few adjustments to the
>>> Application.java
>>> file in order to delete/disconnect users from the so.
>>>
>>> How the chat tool works:
>>>
>>> Users are anonymously logged in and a random user id is created and
>>> dumped
>>> into an array stored within the so. Users are randomly thrown into
>>> dynamic
>>> rooms generated in AS3 and stored in the so.
>>>
>>>
>>> The issues:
>>> 1. The delete/disconnect function I added to the application.java does
>>> not
>>> update all users
>>> 2.We can’t seem to track all users/clients that are connected to red5
>>> 3. It seems that the user array and room array are specific to the so in
>>> the
>>> flash player instead of globally across all rooms and users
>>>
>>> Is there a way in AS3 to create a global user array and room array so we
>>> can
>>> track how many users are logged on across all rooms? We need to be able
>>> to
>>> determine a max user count per room and when this limit is reached
>>> randomly
>>> put users into another room. We also need to display an accurate user
>>> population for all connected users. We also need to know if and how we
>>> can
>>> display multiple so’s within the same window in order to give the user
>>> different view options?
>>>
>>> I am open to all suggestions, I would prefer to be able to solve this in
>>> AS3
>>> but I am willing to do some java as well if needed.
>>>
>>> Thanks in advance!
>>>
>>> -Brendan
>>>
>>>
>>
>>
>> _______________________________________________
>> Red5 mailing list
>> Red5@...
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/Tracking-Users-NEED-HELP-ASAP-tp18589168p18591504.html
> Sent from the Red5 - English mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Red5 mailing list
> Red5@...
> http://osflash.org/mailman/listinfo/red5_osflash.org
>


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: Tracking Users NEED HELP ASAP

by Andy Shaules :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

SOLUTION : Complete java and as3.lib to power it

Hello,

While they have not paid me yet, it was brought to my attention that the
'clients' have made the entire source code available of my work plus their
own fla GUI file.

"zos Comm Killer Comm. Tool application for ZOS site!"
http://204.10.243.222:5080/demos/

Including the docs I sent them.

http://204.10.243.222:5080/demos/zos/zosdoc/thebitstream/randomchat/RandomChat.html

Frankly I was suprised to find it available like this. Actually I dont think
I am going to get paid so Im making sure this thread terminated with a
working solution and benifit at least the community at large. Its a common
isssue.

There are also pure flex samples I built to show them how to use the tool.
If interested ,contact me and Ill dig for them. In particular, the
'controller.swf' flex file is available, which shows the list of rooms, and
enables user creation of a room. As a bonus, it has graphical representation
of room population.

 java, fla's and an GUI-independant as3 library to power it.

Andy

P.S.
'Random chat'
Features of the API.

1. Room size limit set on server.

2. Create new rooms automatically when full.

2. Number of visible users set in flex and choosen at random.
    a  You can shuffle the visible users from the room population.
    b. You can stick users to your chat and not loose them during shuffle.
    c. You can add permanaent friends which are always made sticky when they
join the room.
    d. Friends ordered by index, and knock out other users first, or lower
friends when they arrive.

3. List of all rooms at single depth scope.

4. List of all users in a room.

Killer api ready to roll!

thebitstream.com- Your 'one stop rtmp application and widget shop'

;)






----- Original Message -----
From: "Andy Shaules" <bowljoman@...>
To: <red5@...>
Sent: Tuesday, July 22, 2008 9:18 AM
Subject: Re: [Red5] Tracking Users NEED HELP ASAP


> You can try to add an html event handler in the code, which calls
> javaScript
> to your swf, which triggers a function to remove its name from the array,
> however, not %100 reliable.
>
> Java is really the easiest and most robust way to support all of that.
>
> Am for hire, and Am cheap.
> Andy
>
> ----- Original Message -----
> From: "PHUGpuba" <brotherbrendan@...>
> To: <Red5@...>
> Sent: Tuesday, July 22, 2008 8:14 AM
> Subject: Re: [Red5] Tracking Users NEED HELP ASAP
>
>
>>
>> Steven, Not quite clear on the question.
>>
>> I think this is what you are asking for:
>>
>> function loginUser():void {
>> if (remote_so.data.userArray == undefined) {
>> userArray = new Array();
>> } else {
>> userArray=remote_so.data.userArray;
>> }
>> userArray.push({name:userName});
>>
>> remote_so.setProperty("userArray", userArray);
>> remote_so.setProperty("chatText", chatInputWin.chatInput.text);
>> remote_so.setDirty("userArray");
>>
>> checkRoom();
>> createUserList();
>>
>> login.visible = false;
>>
>> }
>>
>>
>> Steven Zimmer wrote:
>>>
>>> In which classes do you create your arrays?
>>> PHUGpuba wrote:
>>>> Can anyone out there help me with the following issues???
>>>>
>>>> We are currently building a red5 communications tool (and advanced chat
>>>> system) built on the oflaDemo. We have currently coded majority of it
>>>> in
>>>> AS3
>>>> using the flash IDE. I have made a few adjustments to the
>>>> Application.java
>>>> file in order to delete/disconnect users from the so.
>>>>
>>>> How the chat tool works:
>>>>
>>>> Users are anonymously logged in and a random user id is created and
>>>> dumped
>>>> into an array stored within the so. Users are randomly thrown into
>>>> dynamic
>>>> rooms generated in AS3 and stored in the so.
>>>>
>>>>
>>>> The issues:
>>>> 1. The delete/disconnect function I added to the application.java does
>>>> not
>>>> update all users
>>>> 2.We can’t seem to track all users/clients that are connected to red5
>>>> 3. It seems that the user array and room array are specific to the so
>>>> in
>>>> the
>>>> flash player instead of globally across all rooms and users
>>>>
>>>> Is there a way in AS3 to create a global user array and room array so
>>>> we
>>>> can
>>>> track how many users are logged on across all rooms? We need to be able
>>>> to
>>>> determine a max user count per room and when this limit is reached
>>>> randomly
>>>> put users into another room. We also need to display an accurate user
>>>> population for all connected users. We also need to know if and how we
>>>> can
>>>> display multiple so’s within the same window in order to give the user
>>>> different view options?
>>>>
>>>> I am open to all suggestions, I would prefer to be able to solve this
>>>> in
>>>> AS3
>>>> but I am willing to do some java as well if needed.
>>>>
>>>> Thanks in advance!
>>>>
>>>> -Brendan
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> Red5 mailing list
>>> Red5@...
>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Tracking-Users-NEED-HELP-ASAP-tp18589168p18591504.html
>> Sent from the Red5 - English mailing list archive at Nabble.com.
>>
>>
>> _______________________________________________
>> Red5 mailing list
>> Red5@...
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>
>
> _______________________________________________
> Red5 mailing list
> Red5@...
> http://osflash.org/mailman/listinfo/red5_osflash.org
>


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: Tracking Users NEED HELP ASAP

by Charles Palen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Your contribution is appreciated Andy :)
 
Charles

On Wed, Aug 27, 2008 at 6:51 PM, Andy Shaules <bowljoman@...> wrote:
SOLUTION : Complete java and as3.lib to power it

Hello,

While they have not paid me yet, it was brought to my attention that the
'clients' have made the entire source code available of my work plus their
own fla GUI file.

"zos Comm Killer Comm. Tool application for ZOS site!"
http://204.10.243.222:5080/demos/

Including the docs I sent them.

http://204.10.243.222:5080/demos/zos/zosdoc/thebitstream/randomchat/RandomChat.html

Frankly I was suprised to find it available like this. Actually I dont think
I am going to get paid so Im making sure this thread terminated with a
working solution and benifit at least the community at large. Its a common
isssue.

There are also pure flex samples I built to show them how to use the tool.
If interested ,contact me and Ill dig for them. In particular, the
'controller.swf' flex file is available, which shows the list of rooms, and
enables user creation of a room. As a bonus, it has graphical representation
of room population.

 java, fla's and an GUI-independant as3 library to power it.

Andy

P.S.
'Random chat'
Features of the API.

1. Room size limit set on server.

2. Create new rooms automatically when full.

2. Number of visible users set in flex and choosen at random.
   a  You can shuffle the visible users from the room population.
   b. You can stick users to your chat and not loose them during shuffle.
   c. You can add permanaent friends which are always made sticky when they
join the room.
   d. Friends ordered by index, and knock out other users first, or lower
friends when they arrive.

3. List of all rooms at single depth scope.

4. List of all users in a room.

Killer api ready to roll!

thebitstream.com- Your 'one stop rtmp application and widget shop'

;)






----- Original Message -----
From: "Andy Shaules" <bowljoman@...>
To: <red5@...>
Sent: Tuesday, July 22, 2008 9:18 AM
Subject: Re: [Red5] Tracking Users NEED HELP ASAP


> You can try to add an html event handler in the code, which calls
> javaScript
> to your swf, which triggers a function to remove its name from the array,
> however, not %100 reliable.
>
> Java is really the easiest and most robust way to support all of that.
>
> Am for hire, and Am cheap.
> Andy
>
> ----- Original Message -----
> From: "PHUGpuba" <brotherbrendan@...>
> To: <Red5@...>
> Sent: Tuesday, July 22, 2008 8:14 AM
> Subject: Re: [Red5] Tracking Users NEED HELP ASAP
>
>
>>
>> Steven, Not quite clear on the question.
>>
>> I think this is what you are asking for:
>>
>> function loginUser():void {
>> if (remote_so.data.userArray == undefined) {
>> userArray = new Array();
>> } else {
>> userArray=remote_so.data.userArray;
>> }
>> userArray.push({name:userName});
>>
>> remote_so.setProperty("userArray", userArray);
>> remote_so.setProperty("chatText", chatInputWin.chatInput.text);
>> remote_so.setDirty("userArray");
>>

>> checkRoom();
>> createUserList();
>>
>> login.visible = false;
>>
>> }
>>
>>
>> Steven Zimmer wrote:
>>>
>>> In which classes do you create your arrays?
>>> PHUGpuba wrote:
>>>> Can anyone out there help me with the following issues???
>>>>
>>>> We are currently building a red5 communications tool (and advanced chat
>>>> system) built on the oflaDemo. We have currently coded majority of it
>>>> in
>>>> AS3
>>>> using the flash IDE. I have made a few adjustments to the
>>>> Application.java
>>>> file in order to delete/disconnect users from the so.
>>>>
>>>> How the chat tool works:
>>>>
>>>> Users are anonymously logged in and a random user id is created and
>>>> dumped
>>>> into an array stored within the so. Users are randomly thrown into
>>>> dynamic
>>>> rooms generated in AS3 and stored in the so.
>>>>
>>>>
>>>> The issues:
>>>> 1. The delete/disconnect function I added to the application.java does
>>>> not
>>>> update all users
>>>> 2.We can't seem to track all users/clients that are connected to red5
>>>> 3. It seems that the user array and room array are specific to the so
>>>> in
>>>> the
>>>> flash player instead of globally across all rooms and users
>>>>
>>>> Is there a way in AS3 to create a global user array and room array so
>>>> we
>>>> can
>>>> track how many users are logged on across all rooms? We need to be able
>>>> to
>>>> determine a max user count per room and when this limit is reached
>>>> randomly
>>>> put users into another room. We also need to display an accurate user
>>>> population for all connected users. We also need to know if and how we
>>>> can
>>>> display multiple so's within the same window in order to give the user
>>>> different view options?
>>>>
>>>> I am open to all suggestions, I would prefer to be able to solve this
>>>> in
>>>> AS3
>>>> but I am willing to do some java as well if needed.
>>>>
>>>> Thanks in advance!
>>>>
>>>> -Brendan
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> Red5 mailing list
>>> Red5@...
>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Tracking-Users-NEED-HELP-ASAP-tp18589168p18591504.html
>> Sent from the Red5 - English mailing list archive at Nabble.com.
>>
>>
>> _______________________________________________
>> Red5 mailing list
>> Red5@...
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>
>
> _______________________________________________
> Red5 mailing list
> Red5@...
> http://osflash.org/mailman/listinfo/red5_osflash.org
>


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org
LightInTheBox - Buy quality products at wholesale price