User Tag List

Results 1 to 8 of 8

Thread: [CODE]Master Server List Example PHP/MMF

  1. #1
    No Products Registered

    Join Date
    Jan 2010
    Location
    France
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [CODE]Master Server List Example PHP/MMF

    I post here my little master server list in PHP/MySQL and MMF
    Hope you enjoy :P

    You'll need DialogBox, GetObject, LacewingServer (#14)

    PHP : master_server.rar

    MMF : ServerEx.mmf
    Attached files Attached files

  2. #2
    No Products Registered

    Join Date
    Jan 2010
    Location
    France
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [CODE]Master Server List Example PHP/MMF

    And now the client part, when you try to get the server list :

    Attached files Attached files

  3. #3
    No Products Registered

    Join Date
    Oct 2006
    Posts
    68
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [CODE]Master Server List Example PHP/MMF

    this looks really useful, but how does it work exactly ?
    I don't know how to install the scripts.

  4. #4
    No Products Registered

    Join Date
    Jan 2010
    Location
    France
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [CODE]Master Server List Example PHP/MMF

    It's a bit complicated, do you know PHP/MySQL ?

  5. #5
    No Products Registered

    Join Date
    Oct 2006
    Posts
    68
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [CODE]Master Server List Example PHP/MMF

    Well yes, the basic.

  6. #6
    No Products Registered

    Join Date
    Jan 2010
    Location
    France
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [CODE]Master Server List Example PHP/MMF

    How does it works :
    -Simply when the server runs, he sends a heartbeat to MySQL through PHP and so applications can retrieve server list using Get Object (using String parsing)

    The code is commented, take a look

  7. #7
    No Products Registered

    Join Date
    Jan 2010
    Location
    France
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [CODE]Master Server List Example PHP/MMF

    Oup, i forget the table :/


    CREATE TABLE IF NOT EXISTS `server_list` (
    `id` int(11) NOT NULL auto_increment,
    `server_name` varchar(111) collate latin1_general_ci NOT NULL,
    `server_ip` varchar(111) collate latin1_general_ci NOT NULL,
    `server_port` int(111) NOT NULL,
    `server_key` int(11) NOT NULL,
    `server_last_ping` timestamp NOT NULL default '0000-00-00 00:00:00' on update CURRENT_TIMESTAMP,
    `is_hamachi` int(1) NOT NULL,
    `hamachi_channel` varchar(50) collate latin1_general_ci NOT NULL,
    `hamachi_password` varchar(50) collate latin1_general_ci NOT NULL,
    PRIMARY KEY (`id`),
    UNIQUE KEY `server_key` (`server_key`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=1 ;

  8. #8
    No Products Registered

    Join Date
    Oct 2006
    Posts
    68
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [CODE]Master Server List Example PHP/MMF

    Hey thanks for the explanation that wasn't really what I wanted to know.

    What I wanted to know is how to make it work exactly ?
    How to install the scripts ?

    Thanks for the help so far.

Similar Threads

  1. List of Code commands and what they do?
    By alxmrg in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 22nd February 2010, 01:43 PM
  2. Making master server, but can't get ip adress?
    By NeoMonkey in forum Lacewing
    Replies: 9
    Last Post: 22nd January 2010, 05:23 PM
  3. How would you create a Server-List?
    By Jonathan5 in forum Lacewing
    Replies: 4
    Last Post: 20th March 2009, 01:53 AM
  4. First Server List
    By Jonathan5 in forum File Archive
    Replies: 0
    Last Post: 20th March 2009, 01:51 AM
  5. Server List
    By MechatheSlag in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 5th July 2007, 01:00 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
  •