Results 1 to 7 of 7

Thread: Sockets in MOHAA?

  1. #1
    Developer RyBack's Avatar
    Join Date
    Apr 2014
    Location
    In Front of the screen
    Posts
    1,603

    Default Sockets in MOHAA?

    Hi,
    As it says,
    Is it hard to implement sockets in scr through reborn ?
    ofc if it's possible it'll be a much better option, and a major change in mohaa,
    It'd allow direct serverside stats to web, mohaa tv etc
    have u guys thought about it ?

  2. #2
    Client Beta Testers Appelpitje's Avatar
    Join Date
    Jan 2012
    Location
    Belgium
    Posts
    571

    Default

    I think u better use webservices then instead of sockets.
    But yeah would be cool to read stats etc..
    Last edited by Appelpitje; February 4th, 2016 at 01:53 PM.

  3. #3
    Purple Developer Purple Elephant1au's Avatar
    Join Date
    Feb 2012
    Location
    Australia
    Posts
    1,269

    Default

    With reborn you can output stats to a separate file and just use that with the webserver, saves having to dredge through the logfiles.

    Purple's Playground
    OBJ :
    103.29.85.127:12203
    xfire: purpleelephant1au
    email: purpleelephant1au@gmail.com
    skydrive: PurpleElephantSkydrive




  4. #4
    Developer RyBack's Avatar
    Join Date
    Apr 2014
    Location
    In Front of the screen
    Posts
    1,603

    Default

    Purps,
    It'd allow direct serverside stats to web, mohaa tv etc
    That's what i meant, Instead of letting the web server sync from files stats can be transferred via sockets.(aka MORE RELIABLE)

  5. #5
    Banned
    Join Date
    May 2010
    Location
    fuck off?
    Posts
    1,145

    Default

    suggested this and file io a long time ago, we got files, not sockets. a bit harder to add anyway

    You can take what elgbot did and write a stats file for each maps. Then your server code just treats a folder like a DB and links a template to the info in a page. Easier option without sockets.

  6. #6
    Developer RyBack's Avatar
    Join Date
    Apr 2014
    Location
    In Front of the screen
    Posts
    1,603

    Default

    Quote Originally Posted by RyBack View Post
    Instead of letting the web server sync from files stats can be transferred via sockets.(aka MORE FUCKING RELIABLE)
    ­

  7. #7
    Developer Sor's Avatar
    Join Date
    Aug 2010
    Location
    The Medieval City of Bruges
    Posts
    747

    Default

    It's not more reliable, it's just easier.
    Morpheus Script (MoH) => You try to shoot yourself in the foot only to discover that MorpheusScript already shot your foot for you.

Posting Permissions

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