User Tag List

Page 1 of 8 1 2 3 ... LastLast
Results 1 to 10 of 76

Thread: Ferret.Net

  1. #1
    No Products Registered

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

    Ferret.Net

    I've been working on this high-level networking object for a while now. The idea is to keep it simple and minimize overhead data.

    At this moment there are no channels or sub-channels like in moox. The reason is I haven't really had any use for them, but if people find it useful I'll add them (although they would add some overhead).

    Compared to moo there's some new features:
    * Global properties - The server can make properties (alterable string) readable/writeable to clients.
    * Connection properties - Just like global properties, but related to each connection.
    * Functions - You can do client->server, client->client and server->client function calls.

    There's no docs atm, but check the included example.

    I'm also testing this together with Spike and his team who are making an online game (vortex2 one of them?).

    EDIT: A console window is shown when you run an app with Ferret.Net in it. It's for debug purposes. Also, this version expires December 1st.
    Attached files Attached files

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

    Re: Ferret.Net

    Excellent news!

    I will see if I am smart enough to figure it out.
    I have a couple old MOO games I could convert.

    Channels and subchannels were kinda handy in MOO but I don't know if I really need them. I just need a stable multi-user system that can be kept up to date <img src="/center/images/graemlins/smile.gif" alt="" />

  3. #3
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, ┼rhus
    Posts
    3,455
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Ferret.Net

    Very nice, I love the functions you can do.
    But one thing that I think is odd in most high-level networking objects for MMF is that there is no way to simply send values. Currently we have to send them formatted as strings which gives a big overhead. Would it be possible to send byte-short-long parameters as well?

    One thing I noticed, if you press F2 to restart the application, it doesn't seem to reconnect properly. It just adds 'Client connected' to the debuggin console but not doing anything in the fram itself.

  4. #4
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, ┼rhus
    Posts
    3,455
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Ferret.Net

    Jeff, I think the functions you can do with Ferret.NET will eliminate the use of subchannels <img src="/center/images/graemlins/smile.gif" alt="" />

    The smart part of it is that you can send a function like:
    "MovePlayer" with the parameters "234", "345", "23" (X,Y,Speed) where you on MooClick just would send that data over different subchannels. You can do it all, just in a different way.

  5. #5
    No Products Registered

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

    Re: Ferret.Net

    []But one thing that I think is odd in most high-level networking objects for MMF is that there is no way to simply send values. Currently we have to send them formatted as strings which gives a big overhead. Would it be possible to send byte-short-long parameters as well?[/]
    Do you mean as a parameter in a function? Or do you mean like "Send value %" and then the recipient would trigger a "On receive value"?

    []One thing I noticed, if you press F2 to restart the application, it doesn't seem to reconnect properly. It just adds 'Client connected' to the debuggin console but not doing anything in the fram itself.[/]
    I noticed DestroyRunObject doesn't close open connections so it should be fixed now.

  6. #6
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, ┼rhus
    Posts
    3,455
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Ferret.Net

    []Do you mean as a parameter in a function? Or do you mean like "Send value %" and then the recipient would trigger a "On receive value"?[/]
    In parameters mostly I think.
    It would be nice to be able to send functions like i demonstrated in the earlier post.
    For example being able to send function "Move" with different value parameters such as UserID, TargetX, TargetY and Speed parameters witout sending alot of text.

    The action 'Send value' would be nice as well but I don't see many uses for it if it isn't used with any other type of communication. Unless you just want to make a server that constantly sends value data to the client of opposite.

    I also really like the 'Send binary' action to send from memory address with length, but what about an action for sending a file in part or whole? Or if you add those value parameters, maybe there would be room for a 'binary' parameter.

    I actually also started a Project like this a while ago that should be called "NetFunction". It can add all sorts of parameters: byte,short,long and string/binary and send it over a socket to the server that then prints it out in the console. I don't know how far I will get with this project now that this Ferret.NET object looks like it can do a whole lot of what I planned and even more.

  7. #7
    No Products Registered

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

    Re: Ferret.Net

    I see what you mean, that would be useful.
    []but what about an action for sending a file in part or whole? Or if you add those value parameters, maybe there would be room for a 'binary' parameter.[/]
    Sending a file would be nice. I guess there should be conditions like "On file start", "On file part" and "On file done". Binary parameters would work aswell.

    []I actually also started a Project like this a while ago that should be called "NetFunction". It can add all sorts of parameters: byte,short,long and string/binary and send it over a socket to the server that then prints it out in the console. I don't know how far I will get with this project now that this Ferret.NET object looks like it can do a whole lot of what I planned and even more.[/]
    I remember talking about that earlier. The simplicity of such an extension would be useful I think, for a user who doesn't need the other features.

  8. #8
    No Products Registered

    Join Date
    Jun 2006
    Location
    Texas
    Posts
    1,002
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ferret.Net

    Sounds good. Yeah my time is limited, but I am helping out Spike and his team a small bit with their game.

  9. #9
    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,515
    Mentioned
    3 Post(s)
    Tagged
    1 Thread(s)

    Re: Ferret.Net

    Looks cool (and I like the icon). Is there any chance that there will be a Jamagic, C++ or Java version for servers?

    BTW: It is nice that you are making use of the debugger.
    .:::.Joshtek.:::.

  10. #10
    No Products Registered

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

    Re: Ferret.Net

    []Looks cool (and I like the icon). Is there any chance that there will be a Jamagic, C++ or Java version for servers?
    [/]
    A C++ server would be easy and I guess there's no harm in releasing the protocol for others to make Jamagic/Java servers?
    []
    BTW: It is nice that you are making use of the debugger. [/]
    Yeah, it's the first object I've had any use for it really.

Page 1 of 8 1 2 3 ... 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
  •