User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18

Thread: MMF2 + Network + PB

  1. #1
    No Products Registered

    Join Date
    Aug 2009
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    MMF2 + Network + PB

    Hi all!

    I've purchased Purebasic too and i wanna make a little online game with its client made in MMF2Dev and the server coded in purebasic...

    I have a lib called k-net for pb and pb also has its own network lib, my questions are: is it possible to connect a client made in MMF2 to this server regardless of the programming language used? What extension could i use, moo(sock, game), oinc?

    Thanks in advance.

  2. #2
    No Products Registered

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

    Re: MMF2 + Network + PB

    MooSock is the only way because it has no protocol attached to it... But MooSock isn't perfect either, and you're going to have some trouble communicating with other protocols.

    I'd say it's probably too hard. You should try pyLacewing for server side and lacewing extension

  3. #3
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 + Network + PB

    If your Purebasic has an active X for the client you can use the active X object
    Working as fast as I can on Fusion 3

  4. #4
    No Products Registered

    Join Date
    Aug 2009
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 + Network + PB

    yeah.. i think moosock is my only hope on this... :/

    but ive seen some exemples and it seems i need to 'write' the protocol myself...

    anyone who can give me some exemples at how to do this? do i need to know purebasic network format?

  5. #5
    No Products Registered

    Join Date
    Aug 2009
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 + Network + PB

    Wow! Ive finally gotten some nice results... im able to send strings using moosock and receive them on my server..

    but actually id like to send numbers, int, float, etc, as well, because maybe strings are too slow on transfers on a game that needs fast responses and stuff... is there another way to send data which lets me send numbers?

  6. #6
    Clicker Fusion 2.5 Developer

    Join Date
    Nov 2008
    Posts
    299
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 + Network + PB

    None that I know of. That's why moo is no longer used.

  7. #7
    No Products Registered

    Join Date
    Aug 2009
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 + Network + PB

    :/

    i know moogame can send numbers, but i dont know if i can, and how to deal with 'subchannels' within purebasic's network lib, thats why i dont think it would work D:

  8. #8
    Forum Moderator Multimedia Fusion 2 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    DizzyDoo's Avatar
    Join Date
    Oct 2006
    Location
    South England
    Posts
    718
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 + Network + PB

    Your best option would be to try and implement the Lacewing protocol into Purebasic. Going to be tricky, but Lacewing is the best by a long way in terms of networking for MMF2 right now.
    Cranktrain - Currently finishing a new game called The Cat Machine!
    @MattLuard on Twitter.

  9. #9
    No Products Registered

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

    Re: MMF2 + Network + PB

    If you consider implementing lacewing in purebasic, you should definitely give a look at pylacewing first.

  10. #10
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 + Network + PB

    Any reason you need to use PureBasic for a server? With Lacewing you could use Python, MMF2 or C++.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Does MMF2 (or its extensions) support network folders?
    By lh37 in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 17th August 2012, 10:08 AM
  2. MMF2 network device enumerator
    By SEELE in forum File Archive
    Replies: 0
    Last Post: 14th October 2011, 10:39 AM
  3. Retrieving Internal Network Address in MMF2
    By Gerblegod7 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 9th July 2009, 12:42 PM
  4. Network Object
    By Krush_Brother in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 15th February 2008, 12:36 AM
  5. Network and Vitalize help
    By PrincessNinjato in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 31st October 2006, 03:00 PM

Posting Permissions

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