Skip to content
Snippets Groups Projects
  1. Mar 04, 2021
  2. Mar 03, 2021
  3. Mar 02, 2021
    • Deucе's avatar
      Start work on l2cfg clone · abe923fc
      Deucе authored
      Beginnings of the map editor created, common functions from lord2.js
      moved into l2lib.js for sharing.
      abe923fc
  4. Mar 01, 2021
  5. Feb 28, 2021
    • Deucе's avatar
      Fix issues exposed by Runion Keep · df4d30e0
      Deucе authored
      - When a player number is passed in an IF, subtract one to get the index
      - Normalize @begin handling for all @if lines.
      df4d30e0
    • Rob Swindell's avatar
      Turn on ctrl-key passthrough for Ctrl-K/T/O/P/Z/U · fc1d0007
      Rob Swindell authored
      This is a full-screen game, so don't let this ctrl-key handlers mess up the
      game/map display.
      fc1d0007
    • Deucе's avatar
      Yet more CNW fixes... this appears to be good all the way to Greentree now. · b83d652d
      Deucе authored
      - saybar needs to leave cursor at 78,20 for BETTER.REF and
        TALQUIZ.REF
      - buymanager and sellmanager start on the current line, not a
        hard-coded one
      - buymanager and sellmanager need to clean their area on return
      - handle do handlers in if before checking for begin (assuming do).
        Fixes issue in GIVE.REF where "then goto begin" was interpreted
        as "then do begin".
      - "Fix" more prompt in @key to not center and always display
        "  <MORE>" as the prompt.  A number of things use @key after @saybar
      b83d652d
    • Deucе's avatar
      More CNW fixes/cleanups · 85521706
      Deucе authored
      - 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)
      85521706
    • Deucе's avatar
      Keep track of last player drawn location, and erase there when needed. · 5772cf34
      Deucе authored
      Fixes the new issue where you would see the player move when x and y
      are changed, but should still leave the smackrod happy.
      5772cf34
    • Deucе's avatar
      Item activation does *not* clear the menu space. · b8879692
      Deucе authored
      Fixes CNW "Vehicles & People" some more.
      b8879692
    • Deucе's avatar
      Allow variables in both left and right sides of a conditional @choice · f80efb09
      Deucе authored
      Fixes CNW "Vehicles & People" people list.
      f80efb09
    • Deucе's avatar
      Fix @LABEL · da10b451
      Deucе authored
      da10b451
    • Deucе's avatar
      Add HOME/END support where cursor keys are supported. · 1fd56693
      Deucе authored
      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!
      1fd56693
    • Deucе's avatar
      Fix chooseplayer() function · 85647747
      Deucе authored
      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.
      85647747
  6. Feb 27, 2021
  7. Feb 26, 2021
    • Deucе's avatar
      More draw_map() cleanup... · a2dd7a60
      Deucе authored
      - 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.
      a2dd7a60
    • Deucе's avatar
      Fix "Sell how many?" prompt. · 3df2aadc
      Deucе authored
      Call update_update() as well as update() when we receive UPDATE.
      3df2aadc
Loading