Closed Thread
Page 2 of 8 FirstFirst 1234 ... LastLast
Results 11 to 20 of 78

Thread: Sapphire Project

  1. #11
    Wirererer dnifan's Avatar
    Join Date
    Mar 2007
    Location
    Amersfoort, the Netherlands
    Posts
    330

    Default Re: Sapphire Project

    Implemented Ping Server to check whether server is up, and wrote a little PHP script to do some nice stuff. Also, I added a configuration file to setup multiple aspects of the daemon. It's close to release now.
    Attached Thumbnails Attached Thumbnails Sapphire Project-sapphire_ping.jpg  


    ^ 51mbps Fiber ftw [03:32] <ITSBOT> lua serializing function to be
    intergrated into xbox live
    [03:34] <ITSBOT> no girlfriend for a pineapple under the Channels

  2. #12
    Wire Amateur norhart's Avatar
    Join Date
    Feb 2007
    Location
    CyperSpace
    Posts
    96

    Default Re: Sapphire Project

    Playing games over the internet in a game that plays over the internet... sick...
    Denmark is the most beer drinking country in Europe....
    And I live on the most beer drinking island in Denmark

  3. #13
    Wire Amateur alfie275's Avatar
    Join Date
    Mar 2008
    Posts
    42

    Default Re: Sapphire Project

    What about free falls socket radio isn't it the same as your describing?
    Meet___
    Mr _|__|_
    pig<('@')>
    the(____)_()_
    3rd|_| |_|

    There are 10 types of people in the world: Those who understand binary and those who don't.

  4. #14
    Wirererer dnifan's Avatar
    Join Date
    Mar 2007
    Location
    Amersfoort, the Netherlands
    Posts
    330

    Default Re: Sapphire Project

    No, his 'inter-server communication' is done with sockets. This is a way to store values on a central server and retrieve them using several lua commands. Not the same, however, you can recreate the concept of the 'socket radio'. (There are more possibilities with Sapphire though)


    ^ 51mbps Fiber ftw [03:32] <ITSBOT> lua serializing function to be
    intergrated into xbox live
    [03:34] <ITSBOT> no girlfriend for a pineapple under the Channels

  5. #15
    Wire Amateur thedood's Avatar
    Join Date
    May 2007
    Posts
    79

    Default Re: Sapphire Project

    Is there a video? This sounds awesome!

  6. #16
    Wirererer Free Fall's Avatar
    Join Date
    Dec 2007
    Location
    Got digitalized and now lives in his PC's RAM
    Posts
    349

    Default Re: Sapphire Project

    Quote Originally Posted by dnifan View Post
    No, his 'inter-server communication' is done with sockets. This is a way to store values on a central server and retrieve them using several lua commands. Not the same, however, you can recreate the concept of the 'socket radio'. (There are more possibilities with Sapphire though)
    How can you receive data from a server without sockets? Is this working over http or what are you using?

    (I'm slowly getting interested in this project)
    Needz moar Lua

  7. #17
    Wirererer dnifan's Avatar
    Join Date
    Mar 2007
    Location
    Amersfoort, the Netherlands
    Posts
    330

    Default Re: Sapphire Project

    Quote Originally Posted by Free Fall View Post
    How can you receive data from a server without sockets? Is this working over http or what are you using?

    (I'm slowly getting interested in this project)
    It is using sockets, but NOT LuaSocket. I wrote a DLL and did the networking in the DLL itself and made a easy-to-use Lua interface for it


    ^ 51mbps Fiber ftw [03:32] <ITSBOT> lua serializing function to be
    intergrated into xbox live
    [03:34] <ITSBOT> no girlfriend for a pineapple under the Channels

  8. #18
    Wire Sofaking -=Fox=-'s Avatar
    Join Date
    Feb 2007
    Location
    Somewhere in my Mind...
    Posts
    1,846
    Blog Entries
    7

    Default Re: Sapphire Project

    Sounds impressive.

    The WSR is mainly a "Peer-to-Peer" system, although one can setup a system of Hubs, write some CPU/E-Gate Code and integrate the system. It can be done.

    A couple of Questions;

    1a.) Are you proposing something like a Data Server for Wire Data?
    1b.) Why only 256KBs? Why not 1 MB?

    2.) What protocols can you work with? (UDP, HTTP, Custom? etc.)

    3.) If your not using Lua Sockets AND you integrated the Networking within the DLL itself does that mean we would just have to pop in the Lua Integration file and the DLL and we'd be set to go?

    4.) Can you see a potential Performance Benefit using this over Lua Sockets?
    http://tiny.cc/OMFGWTFBBQ

    Best People On Wiremod!

    Black Phoenix, Azrael, Jat Goodwin, Magos Mechanicus, ITSBTH, Fizyk, g33v3s,tuusita, InfectiousFight, ief015

    Pointless things that are pointless, are pointlessly pointless, therefore pointlessness is pointless.
    So pointlessly pointing out the pointlessness of this pointless signature is utterly pointless.
    My IQ is 123

  9. #19
    andy1976uk
    Guest andy1976uk's Avatar

    Default Re: Sapphire Project

    Blackphoenix, Dnifan, Free-fall....examples of man as God if ever there were any.

    Ok, another 1 closer to 1K, hehehe, I'm gonna beat you Fox

  10. #20
    Wirererer dnifan's Avatar
    Join Date
    Mar 2007
    Location
    Amersfoort, the Netherlands
    Posts
    330

    Default Re: Sapphire Project

    Quote Originally Posted by -=Fox=- View Post
    Sounds impressive.

    The WSR is mainly a "Peer-to-Peer" system, although one can setup a system of Hubs, write some CPU/E-Gate Code and integrate the system. It can be done.

    A couple of Questions;

    1a.) Are you proposing something like a Data Server for Wire Data?
    Yes, that is exactly what it is!
    1b.) Why only 256KBs? Why not 1 MB?
    In fact, data is stored as 1MB, as 1 'float' (the type of data Lua uses) is 4 bytes. and 256 * 4 = 1 MB. So, what if I gave 1MB in floats; the actual disk/RAM usage would be 4 MB. Which is also disastrous for the hoster; if all 256 clients are connected at the same time, it would take up 1 GB of RAM.

    2.) What protocols can you work with? (UDP, HTTP, Custom? etc.)
    Users of Sapphire have no business with protocols, they just use sapphire.Write() and sapphire.Read(). However, the DLL uses TCP..

    3.) If your not using Lua Sockets AND you integrated the Networking within the DLL itself does that mean we would just have to pop in the Lua Integration file and the DLL and we'd be set to go?
    Yep.

    4.) Can you see a potential Performance Benefit using this over Lua Sockets?
    I think so, yes, as the server itself is hosted as a stand-alone application on a other server machine and not in Garry's Mod + Lua. SapphireServer is written in C and therefore faster than Lua.
    Also, Andy, thanks for the compliment lol!


    ^ 51mbps Fiber ftw [03:32] <ITSBOT> lua serializing function to be
    intergrated into xbox live
    [03:34] <ITSBOT> no girlfriend for a pineapple under the Channels

Closed Thread
Page 2 of 8 FirstFirst 1234 ... LastLast

Similar Threads

  1. Project Boss
    By gameguysz in forum Installation and Malfunctions Support
    Replies: 9
    Last Post: 10-14-2008, 12:29 AM
  2. First wired trap project
    By mutsop in forum Finished contraptions
    Replies: 3
    Last Post: 09-24-2008, 03:25 PM
  3. Current Big Project?
    By Eagleguy125 in forum Wiremod General Chat
    Replies: 55
    Last Post: 01-06-2008, 02:29 AM
  4. Project Overlord
    By Eagleguy125 in forum Wiremod General Chat
    Replies: 25
    Last Post: 11-11-2007, 08:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots