- Mar 07, 2021
-
-
Rob Swindell authored
-
Rob Swindell authored
e.g. ANSI.SYS doesn't appear to support it
-
Rob Swindell authored
-
Rob Swindell authored
I'm not sure how long this has been like this, but the last_msg of a sub-board can be a super high number (e.g. in the billions), so using that value as the highest message offset would cause tons of message index read failures and just cause this loop to interate unneccessarily through tons of non-existent messages. Also, this code is utter crap.
-
Rob Swindell authored
SBBS v3.19 introduces a built-in FileBase class. To resolve this conflict, rename the soon-to-be-deprecated FileBase object to OldFileBase.
-
Deucе authored
This option fixes the fact that the following two lines sometimes place the variables in different scopes at the top-level of included scripts: var x = 1; y = 2; I plan to use this to experiment on if this is what's causing much of the remaining scope chain weirdness... it certain explains some things we've been seeing (and possibly even things like the METHODJIT issues DigitalMan saw yesterday). Enabling in sbbs/jsexec is a much bigger lift, but this change may end up being all upside... the docs have suggested this option always be set since it was originally introduced, and now that I understand scopes better, it's pretty clear why that is.
-
Deucе authored
May fix an issue when dead players enter the game?
-
Rob Swindell authored
METHODJIT (JägerMonkey) is doing weird stuff with xtrn_sec.js when enabled, so don't introduce that noise.
-
Deucе authored
-
Deucе authored
-
Deucе authored
This was the bit that irritated me the most about CNW, so I fixed it.
-
Deucе authored
You can copy this whole thing over your LORD2 install, or copy/symlink the JS files in here and run it here. Complete New World is a massively expanded LORD2 world, but it has not been nearly as well-tested with the JS implementation.
-
Deucе authored
-
Deucе authored
-
Deucе authored
-
Deucе authored
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.
-
Rob Swindell authored
This allows the services thread to terminate correctly.
-
Rob Swindell authored
-
Rob Swindell authored
- Default gender of ' ' (instead of '') - Don't write the gender to the user's birthdate
-
echicken authored
-
echicken authored
Maybe fixes this report from ragnarok: Node 1 !JavaScript /sbbs/exec/load/menu-commands.js line 59: TypeError: Commands.User.Find is undefined
-
echicken authored
make it look a bit more almost okay. No functional change - unless I broke something, then there's a HUGE functional change.
-
echicken authored
tonight without cringing myself to death. "echicken authored 6 years ago" ... yikes, I can practically smell the whisky coming off of this file.
-
echicken authored
Wrap calls to bbs methods in a function, use that as property. Formatting changes so that if I ever work on this again in the future it will look slightly less horrible. Changes were made for ragnarok; if you're not him, you probably shouldn't use this.
-
echicken authored
Exit immediately if client attempting redirect to arbitrary external site. (This won't work for them anyway, but no need to run the rest of the script.) Use js.exec() for components instead of load(). Use <? ... ?> instead of <?xjs ... ?> for XJS one-liners.
-
echicken authored
-
echicken authored
-
echicken authored
-
echicken authored
-
echicken authored
-
echicken authored
-
echicken authored
-
echicken authored
-
echicken authored
-
echicken authored
-
echicken authored
-
echicken authored
-
echicken authored
-
echicken authored
listSubs doesn't need to return that much detail. New stuff will be exported as part of 'forum' object, for use with require().
-
echicken authored
-