• xtrn/lord2/lord2.js

    From Rob Swindell@VERT to Git commit to sbbs/master on Sunday, August 23, 2020 01:08:12
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/96934b468f2e569eecce2504
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Throw exception objects, not strings

    That way, the file and line number is reported correctly.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Sunday, February 21, 2021 01:33:20
    https://gitlab.synchro.net/main/sbbs/-/commit/0e82baed84711cea4a973248
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Changes required for CNW setup...

    User when not specified is 'SYSOP' not 'Local User'
    Use lower-case, not upper-case by default.
    Lower case all filenames from scripts.
    When a label is defined multiple times, the *first* instance is used.
    Labels can have spaces in them.
    Allow passing label+file.ref on command-line.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Tuesday, February 23, 2021 00:19:03
    https://gitlab.synchro.net/main/sbbs/-/commit/2bfd6109dbf6ef1630cafcf1
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Various fixins...

    - Fix @run command to lower-case section and filename, and add .ref
    - Set battle flag when @busy is called
    - Redraw map after exiting the buy/sell manager
    - Fix Sell confirmation
    - Check the CON file every time mail is checked automatically
    - Turn off the battle flag when returning from a hotspot module
    - Fix box with calculation in draw_box
    - Fix sell manager first draw colour after unsellable item
    - Clear message area when an item is used
    - Run the busy routing in gametxt.ref when battle is set
    - Actually allow doing things with items

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Tuesday, February 23, 2021 08:38:53
    https://gitlab.synchro.net/main/sbbs/-/commit/55f2c9d6c7a59d6e1f50bdea
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    More game fixes

    Define the s&he variable.
    prevent replace_vars() -> getvar() infinite loop on undefined var
    Move to end of vbar after selection
    Lower-case font path

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Tuesday, February 23, 2021 21:50:56
    https://gitlab.synchro.net/main/sbbs/-/commit/19004fcb0875d0f4d4fe4ccb
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    More fixes... the game may be beatable now.

    - Added comments for broken shit
    - Fix score.ans generation
    - Handle invalid @if <x> is <y> then do constructs the same as original
    - Handle incorrect @do <x> is random <y> <z> constructs the same
    - Fix @if <x> is/=/equals <y> variable args (length, etc)
    - Lower-case argument to @routine
    - Handle @itemexit properly
    - Use draw_box() for popup_menu()

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Tuesday, February 23, 2021 22:35:52
    https://gitlab.synchro.net/main/sbbs/-/commit/7f6db8e223920b562e0f56ea
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Fix issue with multiple fights in a single script loop.

    If the script called from winning a battle (such as in training)
    ended up having a battle (such as leveling multiple times in one
    visit), weird bits of map would be displayed.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Tuesday, February 23, 2021 22:48:39
    https://gitlab.synchro.net/main/sbbs/-/commit/e4d820c579ba8093c3b10a59
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Erase/redrw character when x/y variables are set directly

    Fixes glitch when giving the guard at the bridge an apple to get to
    Castle Coldrake.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Tuesday, February 23, 2021 22:50:18
    https://gitlab.synchro.net/main/sbbs/-/commit/ba04ec9d2b9f289a50a2a75c
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Mark todone item.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Tuesday, February 23, 2021 23:29:04
    https://gitlab.synchro.net/main/sbbs/-/commit/9dc61ffe66d615de9f96a9d8
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Fix update_space() only used by @drawpart (which in turn is only used by the smackrod)

    update_space() assumed the cursor was at the correct location, but
    it never was. This caused a visual glitch when using the smackrod.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Wednesday, February 24, 2021 10:39:13
    https://gitlab.synchro.net/main/sbbs/-/commit/feeea7bfb62d502f04c468ec
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    String IS and NOT are case-insensitive

    Fixes issue where the "Disguise" item doesn't work as advertised,
    making winning as good much more difficult.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Wednesday, February 24, 2021 11:51:10
    https://gitlab.synchro.net/main/sbbs/-/commit/16690e16f5453c177955409b
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Fix hail menu and add feature

    Mark other player as not busy anymore after hail is done, loop
    through the hail menu until you leave, and retain the currently
    selected option between hail menu choices.

    This also enforces the "no fighting" rule, which doesn't really
    need it yet since no fighting actually works currently.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Thursday, February 25, 2021 00:21:43
    https://gitlab.synchro.net/main/sbbs/-/commit/096ab774afad50b13aee6fb4
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Initial implementation of all player interactions except online battles.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Friday, February 26, 2021 00:09:38
    https://gitlab.synchro.net/main/sbbs/-/commit/abaee6bab487346348f5f6f4
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Clean up TODOs.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Friday, February 26, 2021 00:09:38
    https://gitlab.synchro.net/main/sbbs/-/commit/1c003a3f5ac5d7f2e64b2685
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Implement tested online interactions.

    These now seem work both JS <-> JS and JS <-> L2.EXE.
    The only issue seems to be that infinite lives mode with L2.EXE, if
    you're killed and come back to life, you are no longer "on line".

    This does not seem to be an issue with the JS version for some
    reason, and may need to be "fixed"(?)

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Friday, February 26, 2021 01:47:25
    https://gitlab.synchro.net/main/sbbs/-/commit/2802294569831004ad38335b
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Add a couple of extra documented in REFDoor

    Also, alphabetize the handlers.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Friday, February 26, 2021 10:35:18
    https://gitlab.synchro.net/main/sbbs/-/commit/c1254206862d8ade01bc339f
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Fix "Sell how many?" prompt.
    Call update_update() as well as update() when we receive UPDATE.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Friday, February 26, 2021 13:40:47
    https://gitlab.synchro.net/main/sbbs/-/commit/469963b86c3167b89cea7c5b
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    More draw_map() cleanup...

    - Don't clear the line until you're on column 79 and about to draw
    that last char.
    - Clear all rows after the map based on dk.console.rows.
    Clear to end of screen would still be better though.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Saturday, February 27, 2021 02:09:28
    https://gitlab.synchro.net/main/sbbs/-/commit/230f2b8a9cc652340f9c89c3
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Some fixes for CNW, and a fix for player disappearing when disk access is slow.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Saturday, February 27, 2021 02:14:55
    https://gitlab.synchro.net/main/sbbs/-/commit/3c38119b4a7b3e0976ce9cc6
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Normalize @label and @# label.

    Also, remove trailing whitespace from labels (see CNW items.ref @default)

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Saturday, February 27, 2021 02:26:25
    https://gitlab.synchro.net/main/sbbs/-/commit/68e41599a15ecb8db5700210
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Remove a blank line.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Saturday, February 27, 2021 16:41:34
    https://gitlab.synchro.net/main/sbbs/-/commit/11046a5e3c1f0515f5a847e5
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Fix chooseplayer() function

    Previously, it did a case sensitive match against names that started
    with what you typed including LORD codes.

    Now it strips codes from both and does a case-insentive substring
    match.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Saturday, February 27, 2021 16:50:29
    https://gitlab.synchro.net/main/sbbs/-/commit/da2837e4db94de56470ee114
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Add HOME/END support where cursor keys are supported.

    This provides a way to create muscle memory for random fights...
    HOME will always take you to 'Attack' and END will always take you
    to 'Run Away' now.

    Two birds with one stone, yay!

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Saturday, February 27, 2021 17:01:16
    https://gitlab.synchro.net/main/sbbs/-/commit/1313bdb51907fd10383fea11
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Fix @LABEL

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Saturday, February 27, 2021 17:10:43
    https://gitlab.synchro.net/main/sbbs/-/commit/61ce0eebb5f29f453bdde855
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Allow variables in both left and right sides of a conditional @choice

    Fixes CNW "Vehicles & People" people list.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Saturday, February 27, 2021 17:42:19
    https://gitlab.synchro.net/main/sbbs/-/commit/d5d04ae65719ed4e64213ea6
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Item activation does *not* clear the menu space.

    Fixes CNW "Vehicles & People" some more.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Saturday, February 27, 2021 17:42:19
    https://gitlab.synchro.net/main/sbbs/-/commit/850c873b99049fa8031cf695
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Keep track of last player drawn location, and erase there when needed.

    Fixes the new issue where you would see the player move when x and y
    are changed, but should still leave the smackrod happy.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Saturday, February 27, 2021 20:00:48
    https://gitlab.synchro.net/main/sbbs/-/commit/1655e7cc8f4affd6b67507ac
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    More CNW fixes/cleanups

    - Trim bar to 76 characters (triggered by MORTAL.REF)
    - If the player initial map can't be loaded, move to 0,0,0
    - draw_map() can't auto-load the players map
    (ORACLE2.REF loads a map without the player on it)
    - When we draw a new map, set last_draw to undefined
    - If you move off the edge of a map into an undefined map, simply
    don't move (triggered by GLENDALE.REF)
    - Move play on map *after* a REF is ran
    (and you're potentially moved back)

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Saturday, February 27, 2021 23:20:59
    https://gitlab.synchro.net/main/sbbs/-/commit/78a7e7ddf6b7feae1cb3305d
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Turn on ctrl-key passthrough for Ctrl-K/T/O/P/Z/U

    This is a full-screen game, so don't let this ctrl-key handlers mess up the game/map display.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Saturday, February 27, 2021 23:45:53
    https://gitlab.synchro.net/main/sbbs/-/commit/68b9b81c0b44a637a0c33766
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Fix issues exposed by Runion Keep

    - When a player number is passed in an IF, subtract one to get the index
    - Normalize @begin handling for all @if lines.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Monday, March 01, 2021 11:00:25
    https://gitlab.synchro.net/main/sbbs/-/commit/c487be341d6415f57a694a95
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Fix if <condition> then do begin handling.

    In various places (most visibly stoneb.txt pawn shop), the following
    is used:

    @if <condition> then do begin
    @begin

    The begin on the @if line must be ignored, and the @begin on the
    second line starts the block.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Monday, March 01, 2021 11:22:14
    https://gitlab.synchro.net/main/sbbs/-/commit/596ed2fc086ded346c508229
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Erase player before draying it in update().

    Fixes moveback/update duplicate character issue in REFs.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Tuesday, March 02, 2021 23:22:37
    https://gitlab.synchro.net/main/sbbs/-/commit/4d314fe23abbfefe3a74f593
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Fix @fight more... put it in move_player().

    Also, keep the cursor at the player position a bit better.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Wednesday, March 03, 2021 17:29:53
    https://gitlab.synchro.net/main/sbbs/-/commit/09e36640557fa5c9c69cbe80
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Remove 2.5 second delay at end of game (?!)

    While we're looking at the exit behaviour, use the recfile close
    method now instead of f.file.close().

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Wednesday, March 03, 2021 20:27:35
    https://gitlab.synchro.net/main/sbbs/-/commit/ab739fa3dda2227d4e6a831c
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Looks like in-process doesn't add js.exec_dir to the load path list.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Wednesday, March 03, 2021 20:28:46
    https://gitlab.synchro.net/main/sbbs/-/commit/263001acb5cb69c940806695
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Un doodly doo doo.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Wednesday, March 03, 2021 20:33:50
    https://gitlab.synchro.net/main/sbbs/-/commit/bd1ea15a35fa5d31427e759f
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Fix reversed logic in previous commit.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Wednesday, March 03, 2021 21:13:42
    https://gitlab.synchro.net/main/sbbs/-/commit/6d1a18b5ceaeb32a95370436
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Fix missing CRLF in chooseplayer.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Wednesday, March 03, 2021 21:30:54
    https://gitlab.synchro.net/main/sbbs/-/commit/b107372f8c1ff88347ca37c9
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Fix two multiplayer issues:

    1) Call update_update() more often when player data changes.
    Should hopefully solve issue with players staying red after a
    battle on other people's screens.
    2) When erasing other players, also erase ones that have moved off
    your map.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Wednesday, March 03, 2021 21:56:10
    https://gitlab.synchro.net/main/sbbs/-/commit/347c6d0e5c7eea1968a34ee5
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Fix bad argument (args, not arg)

    Arr.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Wednesday, March 03, 2021 22:16:41
    https://gitlab.synchro.net/main/sbbs/-/commit/c7b2d8d422a25d628db7be88
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Clear battle flag after running a random ref

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Wednesday, March 03, 2021 22:41:48
    https://gitlab.synchro.net/main/sbbs/-/commit/af752796044a9ce0cb60712c
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Check for @fight immediately after random REFs run as well.

    Should fix the issue with rape.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Wednesday, March 03, 2021 22:58:26
    https://gitlab.synchro.net/main/sbbs/-/commit/9b380ba9a59242e19b0750b8
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Fix an error on timeout handling and fix issue dropping quest items.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Wednesday, March 03, 2021 23:09:15
    https://gitlab.synchro.net/main/sbbs/-/commit/3dcc121a75cef330b7f30085
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Use getvar() on exist/exists arguments.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Wednesday, March 03, 2021 23:15:51
    https://gitlab.synchro.net/main/sbbs/-/commit/17ac434140a658ae7890e835
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Write player record any time battle is set.

    Should eliminate ghost "busy" status.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Thursday, March 04, 2021 00:21:14
    https://gitlab.synchro.net/main/sbbs/-/commit/0d3c8f9571707252ec2c7336
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Two Smackrod related issues

    - Fix update_space() to move to correct location every tim
    Resulted in "ghost" player character after using smackrod
    - Load the map and set lastx/lasty when loading an existing
    player record. Undefined lastx/lasty would crash the game,
    and using the smackrod on joining allowed that.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Thursday, March 04, 2021 01:14:27
    https://gitlab.synchro.net/main/sbbs/-/commit/e7624cae1a5c7a3648e9ff4b
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Add PgUp/PgDown for item menus.

    While we're here, remove the janky redraw avoidance and fix various
    other item menu issues.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Thursday, March 04, 2021 01:29:18
    https://gitlab.synchro.net/main/sbbs/-/commit/d094bea2f03f290d3411ca05
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Make the other player foreground colour 8 on background colour 7

    Prevents invsible other players. :D

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Thursday, March 04, 2021 13:27:27
    https://gitlab.synchro.net/main/sbbs/-/commit/b480bca697ef78d66112cdf3
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    "Offline" battles (against computer) don't set the battle bit.

    REF files need to set it manually if they want it.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Thursday, March 04, 2021 13:47:42
    https://gitlab.synchro.net/main/sbbs/-/commit/ef8cffbda5c350182c3d90f2
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Replace & vars in @fight strings as well.

    (More issues with rape)

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Friday, March 05, 2021 00:20:12
    https://gitlab.synchro.net/main/sbbs/-/commit/97a7278c92f3278ba9f9baac
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Call replace_svars() for @choice options as well.

    Fixes issue in healers huts.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Friday, March 05, 2021 21:35:12
    https://gitlab.synchro.net/main/sbbs/-/commit/2c51c2c2e8aaa42f9360c5c9
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    More core REF fixes...

    1) Comments do not start with a ;
    Any line that doesn't start with an @ is either a parameter to
    the last command (such as in @show), or is ignored. Further,
    "extra" arguments are also ignored. This means you can literally
    type comments almost anywhere.
    2) There is a maximum "call stack" of two "frames". If you nest
    subroutines three deep, the first one will never be returned to.
    3) Implement @routineabort.
    4) If @run is used in a subroutine, it acts as an immediate return
    The arguments are not consulted, and no error is displayed.
    5) Of course, if you call subroutines three deep and return from
    two of them, the first subroutine is now the topmost frame, so
    run behaves normally there.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Friday, March 05, 2021 22:04:27
    https://gitlab.synchro.net/main/sbbs/-/commit/58f1028f2ba6c99311d98d6c
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Remove extra return which broke pretty much everything.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Friday, March 05, 2021 22:16:29
    https://gitlab.synchro.net/main/sbbs/-/commit/e33a648eede702b0eddbd811
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Now that getlines() returns ;-prefixes, @fight needs all the indexes changed.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Friday, March 05, 2021 22:33:05
    https://gitlab.synchro.net/main/sbbs/-/commit/88676bdcad154ffe27fd9599
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Fix end of file check.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Friday, March 05, 2021 23:12:02
    https://gitlab.synchro.net/main/sbbs/-/commit/1cf3fd8d0182bc5926b65bc4
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Clean up ref return stuff.

    Get rid of routineabort stuff and use the callstack thing.
    Fixes ITEMEXIT

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Friday, March 05, 2021 23:27:54
    https://gitlab.synchro.net/main/sbbs/-/commit/528289a65f2f815e821efc51
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    time() not now()

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Friday, March 05, 2021 23:55:20
    https://gitlab.synchro.net/main/sbbs/-/commit/1c52ee5aa7ff4bd3747d3130
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Fix line clear in char... `r instead of `r

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Saturday, March 06, 2021 01:29:13
    https://gitlab.synchro.net/main/sbbs/-/commit/1629030d9d51a558c9436394
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Delete mat*.dat before renaming mail*.dat to it.

    Fixes infinite mail loop.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Saturday, March 06, 2021 01:32:15
    https://gitlab.synchro.net/main/sbbs/-/commit/2c1fe33acfc0ae545d2c6297
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    file_remoooooove()

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Saturday, March 06, 2021 01:33:48
    https://gitlab.synchro.net/main/sbbs/-/commit/42b915471e1075e5a4449edd
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    ...ooooooooOOOOOOOOOOVE()

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Sunday, March 07, 2021 02:17:23
    https://gitlab.synchro.net/main/sbbs/-/commit/797dd721696de116bc496fec
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Some CNW things try to get info about player 0

    Player 0 of course is not valid, and lord2.js would crash.
    Properly handle this for getname and deleted so Bartender at the
    Red Dragon can tell you there's no teams.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Sunday, March 07, 2021 02:17:23
    https://gitlab.synchro.net/main/sbbs/-/commit/d4f7417480462d7d8e721b98
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Set player map to 1 not zero on death

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Sunday, March 07, 2021 02:17:23
    https://gitlab.synchro.net/main/sbbs/-/commit/1ce8218ecc3aed59c9644b58
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Set map/x/y to 1 not zero on death.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Sunday, March 07, 2021 02:56:51
    https://gitlab.synchro.net/main/sbbs/-/commit/a914d2eafe0fbee02ac112e7
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Add another TODO regarding CRLFs in REF files.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Sunday, March 07, 2021 03:07:07
    https://gitlab.synchro.net/main/sbbs/-/commit/d8c73bac50957f7c4f94cc92
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Re-load the current map if map === null

    May fix an issue when dead players enter the game?

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Monday, March 08, 2021 11:58:49
    https://gitlab.synchro.net/main/sbbs/-/commit/7d7d99f4b870e99f65995184
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Log REF errors to error.log

    In general, LORD2 ignores errors and continues, but various things
    will cause exceptions to be thrown. Instead of tracking all these
    down and suppressing them, log them to error.log and continue.

    Since we're doing this, we can now throw Error()s whenever we
    detect an issue in REF files, so add some of these in.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Monday, March 08, 2021 12:20:01
    https://gitlab.synchro.net/main/sbbs/-/commit/2ccf3b5cd58e7f7023c5d902
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Support '9' for PgUp and '3' for PgDn in item lists.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Monday, March 08, 2021 15:35:45
    https://gitlab.synchro.net/main/sbbs/-/commit/2d34130d95cff61947b456ca
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    @readnum and @readstr ignore invalid fg/bg arguments (ie: comments)

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Monday, March 08, 2021 15:42:56
    https://gitlab.synchro.net/main/sbbs/-/commit/456e65aa4b5d1aca24178048
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Add date/node to error log entries.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Monday, March 08, 2021 16:19:32
    https://gitlab.synchro.net/main/sbbs/-/commit/f2ec12aab51293c2bdc2d7a4
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Fix @rank section argument usage.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Monday, March 08, 2021 22:48:45
    https://gitlab.synchro.net/main/sbbs/-/commit/64edca8bed546bfdc793ea0e
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Fix @NUMRETURN

    It appears this was written for RTWall to detect BBS numbers with.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Tuesday, March 09, 2021 02:05:38
    https://gitlab.synchro.net/main/sbbs/-/commit/deb14008b6cb84cc71145e55
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    More CNW related fixes...

    - Convert second argument to @readspecial to upper-case
    - Convert both sides to strings for equality comparisons
    - Implement @display label in file.name
    - Fix @do XXX is getname ### where ### is the current player

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Tuesday, March 09, 2021 02:23:57
    https://gitlab.synchro.net/main/sbbs/-/commit/02d0bd8f16f7aeb46b0a2e71
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Allow comments at end of @if ... then do lines

    This likely breaks things nobody does.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Tuesday, March 09, 2021 09:20:00
    https://gitlab.synchro.net/main/sbbs/-/commit/7441b003401284b40483b743
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Remove 'y'

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Wednesday, March 10, 2021 15:36:55
    https://gitlab.synchro.net/main/sbbs/-/commit/8d41b810943a2996052776b9
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Some cleanup

    Remove obsolete comments, and remove an extraneous savetime call.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wednesday, March 17, 2021 21:27:14
    https://gitlab.synchro.net/main/sbbs/-/commit/1dec0195a3efd06c89627af9
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Add filename and line number to exception catch log messages.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Friday, March 19, 2021 12:20:34
    https://gitlab.synchro.net/main/sbbs/-/commit/017e03867586479e5352f167
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Declare the 't' variable used for word-wrap.

    Hopefully fixes crash in lord when composing a message and using
    word-wrap.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Friday, March 26, 2021 13:58:51
    https://gitlab.synchro.net/main/sbbs/-/commit/7aa7ea547eab47ddf1ca07ee
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Do not attempt to list online players who are not on a valid map location

    Prevents a who's online list from aborting early when it encounters
    and invalid player record.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Friday, March 26, 2021 23:16:07
    https://gitlab.synchro.net/main/sbbs/-/commit/1513e8ac4b1060e0dfa95340
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Don't enable ctrl-keys for background threads.

    Synchronet goes boom.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Friday, January 14, 2022 13:13:20
    https://gitlab.synchro.net/main/sbbs/-/commit/d74c90ddd01b68a8fc94ba0d
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Comment-out what appears to be a typo/copy-paste error

    lord2.js line 3168: ReferenceError: bs is not defined

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Stephen Hurd@VERT to Git commit to main/sbbs/master on Tuesday, April 12, 2022 13:49:32
    https://gitlab.synchro.net/main/sbbs/-/commit/c5408b6cb374f1cc81506ae2
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Copy in missing ws and bs variables from lord.js

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tuesday, April 12, 2022 14:00:38
    https://gitlab.synchro.net/main/sbbs/-/commit/c6e83357a2f76711f2322bf1
    Modified Files:
    xtrn/lord2/lord2.js
    Log Message:
    Un-comment-out the line referencing 'bs' since it's now defined.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net