User Tag List

Page 4 of 8 FirstFirst ... 2 3 4 5 6 ... LastLast
Results 31 to 40 of 76

Thread: Ferret.Net

  1. #31
    No Products Registered

    Join Date
    Jun 2006
    Posts
    150
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ferret.Net

    How do you set the property on the server? When it receives the "GS..." message? You could use the "Server: On connect" condition and then retreive the name from there.

  2. #32
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Ferret.Net

    I believe its set on Server: On connect but I will have to upload the simple server app for you to see when I get home.

    Could be user error as its so such a dead simple server and chat client.
    Just trying to get the basics down.

  3. #33
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Ferret.Net

    Here is my super simple chat server -- Just in case you want to see it

    I noticed a few things

    - The first client that connects never gets the global properties <img src="/center/images/graemlins/frown.gif" alt="" />
    Even the "On Change" does not seem to fire in the first client

    - The clients after the first has connected work fine as far as the global properties go

    - After the server ran for a couple hours none of the clients could get the global properties-- "On Change" never would be triggered.
    I rebooted the server and computer the server runs on and then it worked again.
    Attached files Attached files

  4. #34
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Ferret.Net

    Packet note:

    While I am not using any special tools I do not see the constant packet transmission reported above. I am basing this on the built in tools in Windows showing the number of packets transmitted/received. It shows no constant transmissions.

  5. #35
    No Products Registered

    Join Date
    Jun 2006
    Posts
    150
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ferret.Net

    []Packet note:

    While I am not using any special tools I do not see the constant packet transmission reported above. I am basing this on the built in tools in Windows showing the number of packets transmitted/received. It shows no constant transmissions. [/]
    Yeah I've tried sniffing with some different apps and I can't see it either. I'm beginning to think it might be that particular app recognizing PEEK messages as RECV messages. Difference is that PEEK doesn't remove the data from the receive queue, so it is received on multiple occasions. PEEK is used at some times in Ferret.Net.

    Also, I will have a look at the properties this weekend, Jeff.

  6. #36
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Ferret.Net

    Excellent Turbo!

    I really appreciated the time you can find to work on this.

    Ferret.net seems a bit easier to understand (for me at least) then MOO
    Moo is great but with Sean and Ryan moving on we need a replacement with a bit more features and security.

    I don't know if you would be interested but I thought maybe... if you wanted,
    You could sell a version of Ferret.net with the built in encryption and give away the version without the encryption. This might generate a little money to pay you for your time or open up a bunch of non-programming work <img src="/center/images/graemlins/smile.gif" alt="" />

  7. #37
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Ferret.Net

    I wonder if.......

    Could there be a function for the client to retrieve an array from the server app that contained all the userids, name and any other connection information pertaining to each client connected.

    Goal: some way to make it easy for people to maintain a user list of clients on the server.

    Perhaps there is an easy way to do this now? I know I could build a loop on the server and send it to the client but I wish the client could request it and just go get it (similar to the global properties) Heck after typing that maybe I just need to improve how I am doing that now.


    One thing moo does -- when a client send a message to the server -- the server sends the info to all clients except the one that sent the message. It might be handy to have the ability to do that with Ferret.net "Send to all but sender"
    Then again this could break the whole system and old MOO users need to get with it and do things differently.

    Edit:
    Another good function would be to Server: Get connection name at index "X"
    Then you could feed it a number and run a loop to generate a list of user names on the server. I don't see a why to do this right now?

    Of course you might also want to get
    Get Connection ID at index "X"
    Get Connection IP at index "X"
    Get uptime of connection at index "X"
    Get ping of connection at index "X"

    If a developer could get this info then they could build a loop themselves for generating a userlist.

    Question: What is the difference between the index and the ID of a connection?

  8. #38
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Ferret.Net

    I like being able to easily send to all except sender <img src="/center/images/graemlins/smile.gif" alt="" />.
    .:::.Joshtek.:::.

  9. #39
    No Products Registered

    Join Date
    Jun 2006
    Posts
    150
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ferret.Net

    []Could there be a function for the client to retrieve an array from the server app that contained all the userids, name and any other connection information pertaining to each client connected.

    Goal: some way to make it easy for people to maintain a user list of clients on the server.

    Perhaps there is an easy way to do this now? I know I could build a loop on the server and send it to the client but I wish the client could request it and just go get it (similar to the global properties) Heck after typing that maybe I just need to improve how I am doing that now.[/]
    In fact, there is a way to do this now <img src="/center/images/graemlins/smile.gif" alt="" />
    Code:
    -Start loop "list" ClientConnectionCount("Ferret.Net") times
    
    +On loop "list"
    -Client: Select connection index LoopIndex("list")
    -Add line ClientConnectionName$("Ferret.Net")
    []One thing moo does -- when a client send a message to the server -- the server sends the info to all clients except the one that sent the message. It might be handy to have the ability to do that with Ferret.net "Send to all but sender"
    Then again this could break the whole system and old MOO users need to get with it and do things differently.[/]
    I haven't tried Client-&gt;All connections-&gt;Send string, but this is how it should work. It should send to all other connections on the server.

    []Edit:
    Another good function would be to Server: Get connection name at index "X"
    Then you could feed it a number and run a loop to generate a list of user names on the server. I don't see a why to do this right now?

    Of course you might also want to get
    Get Connection ID at index "X"
    Get Connection IP at index "X"
    Get uptime of connection at index "X"
    Get ping of connection at index "X"

    If a developer could get this info then they could build a loop themselves for generating a userlist.[/]
    This can all be done now too <img src="/center/images/graemlins/smile.gif" alt="" />
    You just have to use the "Client/Server select connection at index/id".

    []Question: What is the difference between the index and the ID of a connection?[/]
    Index is the zero-based index in the current array of connections. ID is a unique number that practically will never be used twice (in theory it could be reused if there has been over 4.294.967.296 new connections made). So you could use the ID to keep track of what objects belong to what player.

  10. #40
    No Products Registered

    Join Date
    Jun 2006
    Posts
    150
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ferret.Net

    []I don't know if you would be interested but I thought maybe... if you wanted,
    You could sell a version of Ferret.net with the built in encryption and give away the version without the encryption. This might generate a little money to pay you for your time or open up a bunch of non-programming work [/]
    That sounds like a great idea. Haven't thought about that before. I guess encryption and some more advanced features could go in a pro version.

Page 4 of 8 FirstFirst ... 2 3 4 5 6 ... LastLast

Similar Threads

  1. Ferret.Net news?
    By YAS in forum Extension Development
    Replies: 0
    Last Post: 23rd October 2006, 07:25 PM
  2. Ferret.Sock + FileStream
    By turboferret in forum Extension Developers Lobby
    Replies: 27
    Last Post: 23rd August 2006, 01:59 AM

Posting Permissions

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