• xtrn/lord/lordsrv.js

    From deuce@1:103/705 to CVS commit on Fri Aug 30 00:38:28 2019
    xtrn/lord lordsrv.js NONE 1.1
    Update of /cvsroot/sbbs/xtrn/lord
    In directory cvs:/tmp/cvs-serv23421

    Added Files:
    lordsrv.js
    Log Message:
    Start of data server for JS LORD.

    This doesn't currently run in jsdoor since jsdoor doesn't have a system password, or a place to store certs (yet).

    This is the initial work, and just has player file access. Mail, logs, and update rather than full put/get are still TODO, as is the ability to update players owned by other systems.



    --- SBBSecho 3.09-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Fri Aug 30 11:16:13 2019
    xtrn/lord lordsrv.js 1.1 1.2
    Update of /cvsroot/sbbs/xtrn/lord
    In directory cvs:/tmp/cvs-serv18220

    Modified Files:
    lordsrv.js
    Log Message:
    Add support for mail.



    --- SBBSecho 3.09-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Fri Aug 30 13:34:50 2019
    xtrn/lord lordsrv.js 1.3 1.4
    Update of /cvsroot/sbbs/xtrn/lord
    In directory cvs:/tmp/cvs-serv6176

    Modified Files:
    lordsrv.js
    Log Message:
    Move body of script into main() function so I don't have globals that are
    only used in the main body.



    --- SBBSecho 3.09-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Sat Aug 31 12:08:23 2019
    xtrn/lord lordsrv.js 1.4 1.5
    Update of /cvsroot/sbbs/xtrn/lord
    In directory cvs:/tmp/cvs-serv29027

    Modified Files:
    lordsrv.js
    Log Message:
    Fix state whitelist.



    --- SBBSecho 3.09-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Sat Aug 31 14:28:25 2019
    xtrn/lord lordsrv.js 1.5 1.6
    Update of /cvsroot/sbbs/xtrn/lord
    In directory cvs:/tmp/cvs-serv19657

    Modified Files:
    lordsrv.js
    Log Message:
    Add support for conversations (bar, darkbar, garden, dirt)



    --- SBBSecho 3.09-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Sat Aug 31 14:37:09 2019
    xtrn/lord lordsrv.js 1.6 1.7
    Update of /cvsroot/sbbs/xtrn/lord
    In directory cvs:/tmp/cvs-serv20991

    Modified Files:
    lordsrv.js
    Log Message:
    Fix closed connection detection.



    --- SBBSecho 3.09-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Sat Aug 31 22:27:46 2019
    xtrn/lord lordsrv.js 1.7 1.8
    Update of /cvsroot/sbbs/xtrn/lord
    In directory cvs:/tmp/cvs-serv12707

    Modified Files:
    lordsrv.js
    Log Message:
    Add state modifying stuff.



    --- SBBSecho 3.09-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Sun Sep 1 00:55:15 2019
    xtrn/lord lordsrv.js 1.8 1.9
    Update of /cvsroot/sbbs/xtrn/lord
    In directory cvs:/tmp/cvs-serv4579

    Modified Files:
    lordsrv.js
    Log Message:
    Add IGM/battle/marry/divorce stuff.

    Only feature remaining is the online battle stuff.
    Whee!



    --- SBBSecho 3.09-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to deuce on Sun Sep 1 13:57:57 2019
    Re: xtrn/lord/lordsrv.js
    By: deuce to CVS commit on Sun Sep 01 2019 12:55 am

    lordsrv.js

    I'm wondering if this can (or should) be run locally on BBSes by any sysop? I think it's still in an incomplete testing stage right now? I'm not quite sure if it can be run directly.. There's a comment near the top of lordsrv.js saying it's a LORD data server, and I don't see a .js script that a BBS can run
    to run this JS LORD. Does this JS LORD have a client/server model, or can it be run locally?

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Nightfox on Sun Sep 1 14:36:32 2019
    Re: xtrn/lord/lordsrv.js
    By: Nightfox to deuce on Sun Sep 01 2019 01:57 pm

    Re: xtrn/lord/lordsrv.js
    By: deuce to CVS commit on Sun Sep 01 2019 12:55 am

    lordsrv.js

    I'm wondering if this can (or should) be run locally on BBSes by any sysop? I think it's still in an incomplete testing stage right now? I'm not quite sure if it can be run directly.. There's a comment near the top of lordsrv.js saying it's a LORD data server, and I don't see a .js script that a BBS can run to run this JS LORD. Does this JS LORD have a client/server model, or can it be run locally?

    The main .js file hasn't been committed (by Deuce) yet.

    Those are all great questions for the author (Deuce), but he doesn't frequent these message areas lately. You can find him at irc.synchro.net usually/lately.

    digital man

    Synchronet/BBS Terminology Definition #68:
    SSJS = Server-side JavaScript
    Norco, CA WX: 93.2°F, 38.0% humidity, 13 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.09-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From MRO@1:103/705 to Digital Man on Mon Sep 2 18:39:43 2019
    Re: xtrn/lord/lordsrv.js
    By: Digital Man to Nightfox on Sun Sep 01 2019 02:36 pm

    Those are all great questions for the author (Deuce), but he doesn't frequen these message areas lately. You can find him at irc.synchro.net usually/late

    AND he doesnt reply to me when i report bugs. so i dont know if he fixed them already and i'm seeing old dumps in the news file or if he doesnt know. or whatever else.
    ---
    ■ Synchronet ■ ::: BBSES.info - free BBS services :::
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Mon Sep 2 17:40:57 2019
    xtrn/lord lordsrv.js 1.9 1.10
    Update of /cvsroot/sbbs/xtrn/lord
    In directory cvs:/tmp/cvs-serv6362

    Modified Files:
    lordsrv.js
    Log Message:
    Add online battle stuff. This is the last feature that was needed, only
    some clean-up items left...

    1) Deleted player slots aren't re-used.
    2) The in-memory log is never trimmed.
    3) Useful auth things and a signup thing.



    --- SBBSecho 3.09-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Mon Sep 2 17:49:29 2019
    xtrn/lord lordsrv.js 1.10 1.11
    Update of /cvsroot/sbbs/xtrn/lord
    In directory cvs:/tmp/cvs-serv8632

    Modified Files:
    lordsrv.js
    Log Message:
    Do log trimming.



    --- SBBSecho 3.09-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Mon Sep 2 18:46:23 2019
    xtrn/lord lordsrv.js 1.12 1.13
    Update of /cvsroot/sbbs/xtrn/lord
    In directory cvs:/tmp/cvs-serv23492

    Modified Files:
    lordsrv.js
    Log Message:
    Do the same rename in the server.



    --- SBBSecho 3.09-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Sep 3 20:34:05 2019
    xtrn/lord lordsrv.js 1.15 1.16
    Update of /cvsroot/sbbs/xtrn/lord
    In directory cvs:/tmp/cvs-serv4612

    Modified Files:
    lordsrv.js
    Log Message:
    Use the new select() form.



    --- SBBSecho 3.09-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Sep 3 21:03:25 2019
    xtrn/lord lordsrv.js 1.16 1.17
    Update of /cvsroot/sbbs/xtrn/lord
    In directory cvs:/tmp/cvs-serv9531

    Modified Files:
    lordsrv.js
    Log Message:
    Fix Yours property population in GetPlayer response.



    --- SBBSecho 3.09-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Thu Sep 5 13:12:39 2019
    xtrn/lord lordsrv.js 1.17 1.18
    Update of /cvsroot/sbbs/xtrn/lord
    In directory cvs:/tmp/cvs-serv31622

    Modified Files:
    lordsrv.js
    Log Message:
    Fix in_battle test.



    --- SBBSecho 3.09-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Thu Sep 5 21:25:32 2019
    xtrn/lord lordsrv.js 1.18 1.19
    Update of /cvsroot/sbbs/xtrn/lord
    In directory cvs:/tmp/cvs-serv10289

    Modified Files:
    lordsrv.js
    Log Message:
    Add required CRLF after mail file length.



    --- SBBSecho 3.09-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Thu Sep 5 21:28:52 2019
    xtrn/lord lordsrv.js 1.19 1.20
    Update of /cvsroot/sbbs/xtrn/lord
    In directory cvs:/tmp/cvs-serv10765

    Modified Files:
    lordsrv.js
    Log Message:
    Check yourself before your rigitty wreck yourself.



    --- SBBSecho 3.09-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Thu Sep 5 21:44:21 2019
    xtrn/lord lordsrv.js 1.20 1.21
    Update of /cvsroot/sbbs/xtrn/lord
    In directory cvs:/tmp/cvs-serv13228

    Modified Files:
    lordsrv.js
    Log Message:
    writeln(), not write()... no CRLF needed
    *sigh*



    --- SBBSecho 3.09-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Thu Sep 5 21:49:03 2019
    xtrn/lord lordsrv.js 1.21 1.22
    Update of /cvsroot/sbbs/xtrn/lord
    In directory cvs:/tmp/cvs-serv13960

    Modified Files:
    lordsrv.js
    Log Message:
    Have sendfile send the length, not precalculated since line endings aren't known.



    --- SBBSecho 3.09-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Fri Sep 6 15:19:21 2019
    xtrn/lord lordsrv.js 1.22 1.23
    Update of /cvsroot/sbbs/xtrn/lord
    In directory cvs:/tmp/cvs-serv26308

    Modified Files:
    lordsrv.js
    Log Message:
    Don't bother doing multple recv()s on readable sockets.
    Fix typo in GetForestGold.



    --- SBBSecho 3.09-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Mon Sep 16 22:02:58 2019
    xtrn/lord lordsrv.js 1.23 1.24
    Update of /cvsroot/sbbs/xtrn/lord
    In directory cvs:/tmp/cvs-serv25217

    Modified Files:
    lordsrv.js
    Log Message:
    Don't TX or RX on unconncted sockets. recv() on an unconnected socket
    crashes jsexec (for now).



    --- SBBSecho 3.09-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Sep 24 11:57:23 2019
    xtrn/lord lordsrv.js 1.24 1.25
    Update of /cvsroot/sbbs/xtrn/lord
    In directory cvs:/tmp/cvs-serv8436

    Modified Files:
    lordsrv.js
    Log Message:
    Fix AddForestGold to reply OK.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)