• xtrn/lord2/l2lib.js

    From Deuc╨╡ to Git commit to main/sbbs/master on Wed Mar 3 00:47:48 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/7e86457022db4bf293eac9d7
    Modified Files:
    xtrn/lord2/l2lib.js
    Log Message:
    Fix pretty_int() commas for negative values.
  • From Deuc╨╡ to Git commit to main/sbbs/master on Thu Mar 4 11:58:37 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/6f6a4ff26ac4d5ad15ededd5
    Modified Files:
    xtrn/lord2/l2lib.js
    Log Message:
    Don't strip $.

    I think I was intending to strip & and prevent those variables,
    but it looks like the original doesn't.

    However, it also looks like the original doesn't *always* replace
    string variables... will need to look into that harder in the future.
  • From Deuc╨╡ to Git commit to main/sbbs/master on Thu Mar 4 16:25:01 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/02cf8cb94c9310b59a5172bc
    Modified Files:
    xtrn/lord2/l2lib.js
    Log Message:
    Update lastmap if map is updated via the REF variable.
  • From Deuc╨╡ to Git commit to main/sbbs/master on Tue Mar 9 15:27:03 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/168f54f37b898b12d62a24c0
    Modified Files:
    xtrn/lord2/l2lib.js
    Log Message:
    getkey() can return undefined.
  • From Deuc╨╡ to Git commit to main/sbbs/master on Fri Mar 26 14:11:43 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/d0a094b28b34c9a3acd69f73
    Modified Files:
    xtrn/lord2/l2lib.js
    Log Message:
    Initialize v variables to zero when creating a new world record.

    This should never actually be done though since the map would be
    completely empty.
  • From Deuc╨╡ to Git commit to main/sbbs/master on Fri Mar 26 14:39:05 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/646107d2a5403e8db17707e7
    Modified Files:
    xtrn/lord2/l2lib.js
    Log Message:
    Fix a (harmless) user creation error

    When a players map is set, it automatically triggers a player record
    write. When a new player is being created, the map is set before
    the player is added via @addchar.

    This attempted to write record number undefined in the player file,
    which threw an exception. Since exceptions are being caught, logged,
    and ignored, this did not cause a problem, but did log an error when
    it wasn't necessary.