Skip to content
Snippets Groups Projects
  1. Mar 10, 2021
    • Deucе's avatar
      Save time in player.lastsaved every time. · 27f0aa87
      Deucе authored
      This allows timing out the battle bit.  If the game/BBS crashes
      while you're in battle, you should now only need to wait two times
      the idle timeout (ie: 2 * 5 minutes) before you can get back in.
      27f0aa87
    • Deucе's avatar
      51177af4
    • Deucе's avatar
      Disconnect Commit #2 · c27dd09f
      Deucе authored
      - In dorkit, start the timer if keyboard is invoked and
        dk.connection.active is false.
      - In LORD2, check for a CONNECTION_CLOSED key after getkey() where
        appropriate.
      - Also in LORD2, allow the busy flag to suspend pending timeouts.
      c27dd09f
  2. Mar 09, 2021
    • Deucе's avatar
      Deal with dorkit hangup issues... commit #1 · 9a89f8c9
      Deucе authored
      1) Ciolib CIO_KEY_QUIT and CIO_KEY_MOUSE conflicted with ALT_7 and ALT_6
         respectively, change these to use \xE0 prefixes.
      2) Add a new dorkit key "CONNECTION_CLOSED" which is returned by getkey()
         after the connection is closed.
      3) Have the various connection back-ends send a CONNECTION_CLOSED key to
         the keyboard buffer when the connection is closed.
      4) Have the local console send a CONNECTION_CLOSED key when the window
         is closed.
      5) Disable auto_terminate in dorkit.
      6) Introduce dk.connection.disconnect_timeout variable (defaults to 30
         seconds).  After a CONNECTION_CLOSED key is received, dorkit will
         immediately set js.terminated, then after disconnect_timeout seconds,
         will enable js.auto_terminate.
      7) After a CONNECTION_CLOSED key, waitkey() always returns true, getkey()
         always returns a CONNECTION_CLOSED key, and getbyte() always returns
         undefined.
      8) To prevent a poorly written door from hogging 100% CPU for the whole
         30 seconds, put an mswait(1) in the connection check when the
         inactivity timer is running.
      9a89f8c9
    • Deucе's avatar
      getkey() can return undefined. · 168f54f3
      Deucе authored
      168f54f3
    • Deucе's avatar
      Remove 'y' · 7441b003
      Deucе authored
      7441b003
    • Deucе's avatar
      Allow comments at end of @if ... then do lines · 02d0bd8f
      Deucе authored
      This likely breaks things nobody does.
      02d0bd8f
    • Deucе's avatar
      More CNW related fixes... · deb14008
      Deucе authored
      - 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
      deb14008
    • Deucе's avatar
      Fix inifinite loop when there's no auctions · 4e076a23
      Deucе authored
      4e076a23
    • Deucе's avatar
      Fix variable editors, they had an off-by-one. · f70687b6
      Deucе authored
      f70687b6
    • Rob Swindell's avatar
      Make it very obvious when a timed event has been disabled · 8ed54713
      Rob Swindell authored
      By displaying "<DISABLED>" instead of the command-line in the event list.
      8ed54713
    • Deucе's avatar
    • Deucе's avatar
      @if still needs the old getsvar() behaviour. · 1d472da3
      Deucе authored
      1d472da3
    • Deucе's avatar
      Fix @NUMRETURN · 64edca8b
      Deucе authored
      It appears this was written for RTWall to detect BBS numbers with.
      64edca8b
    • Deucе's avatar
      Fixes required for RTWall · 005d7bf4
      Deucе authored
      - Have getsvar() join arguments with spaces for strings
      - Fix fg/bg in @readstring/@readnum
      - Special-case NIL in readstring (this is where it's documented)
      005d7bf4
    • Deucе's avatar
      Various engine fixes/updates · 1a83d97e
      Deucе authored
      - Set default values for world.dat so it can be created with new()
      - Add `r0 to start of the default more string
      - Create the world file if it doesn't exist (for globals)
      - Fix stupid error in @do trim
      - Support all the different @clear commands
      - Support the different @key commands properly
      - Support @name command
      - Only @say is still required for the NPC "stuff" that nothing uses
      - Fix blank line skip looking for @begin after @if...then do
        Was looking for comments starting with ; only
      - Add try/catch around maint call in case it doesn't exist
      - Don't load rules.ref if there's a REF passed on command-line
      1a83d97e
    • Deucе's avatar
      Fix @rank section argument usage. · f2ec12aa
      Deucе authored
      f2ec12aa
    • Deucе's avatar
      More Pooh's Honey Cave fixes. · f74de213
      Deucе authored
      f74de213
  3. Mar 08, 2021
  4. Mar 07, 2021
Loading