Code Updates

From The Legendary Times
Revision as of 20:51, 23 April 2020 by Lamia (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Code Updates for 2020 are listed below. The full list of 2020 Updates can be found at 2020 Articles.

January 2020

  • Memory leak(s) in accounts fixed.
    • This should allow us to not have to reboot weekly any more. Ancient memory leaks revealed by the 'you're always your own friend' code have been squashed.
  • Group Display
    • In group display, @n will always display the name of a character. It will not display descriptions, pretitles or post-titles
    • In group display and group commands, name will always be displayed without respect to visibility status
  • The end-of-line coloring issue has been fixed with the 'what skills can you now get' code
  • A target marked with Mark Target will skip their juggle check 30% of the time
  • Some score displays will now have more information.
    • A previous field indicator was not pulling data properly.
    • Are these used in current score displays? good question, but fixing bugs that might not be bugs is one of my scientific specialties.
  • Builders have some increased control over how mobs can set their armor and hitroll values. No one's using these yet.
  • Legend now compiles cleanly under both clang and gcc. Squee!
  • Builders now have more control over how many attacks a mob has, and can even set a mob to have 0 attacks! Also no one is using this yet.
  • Builders have the ability to inherit mob stats in real time.
    • This means that they can adapt mobs to specific levels after the mob has been loaded without a massive slew of commands.
    • Also no one is using this yet. But expect it to be used in instances eventually for difficulty scaling.
  • Much churning has happened trying to get code to compile in a more optimized fashion and still... what's the word for it... work. That's it.
    • I'm not entirely sure how we ended up breaking code compiling with optimizations turned on, but there's an effort to fix it.
  • Tons and tons of warnings identified by a new code analysis tool have been fixed.

February 2020

  • HP, Mana, & Move Gain
  • Previously, in the dark and dim past (like, a week ago), as you level, you gained 2-4 hit points, mana and move, randomly.
    • You will now get 4 hp/mana/mv per level as your base hit points.
    • The hit points for constitution, mana for mind, etc will all remain unchanged.
    • This means that unless you were supremely lucky, you'll be getting some additional hit points, mana and/or move. This upgrade takes into account quests that improve your maximum hit points or mana and this number is recalculated every time you log in. (This means that if we decide to change the formula, the effects will be immediate for you.)
    • Starting move has changed from 100 to 150.

March 2020

WATCH Command

  • Syntax WATCH
  • Syntax WATCH clear [hp|mana|move|all]
  • Syntax WATCH <group member> [hp|mana|move|all]
    • The WATCH command allows you to display the current hit points, mana or move in your prompt from 3 different targets. The targets must be in your group to display the actual numbers.
    • Omitting the [hp|mana|move|all] from 'clear' or 'watch' will assume that you want to set all of the watch targets to the same person (or to no one).
    • WATCH by itself will show you who you are watching.

Associated Prompt Codes

@WH "<person> (hp) " @Wh ... Their hit points

@WM "<person> (mana) " @Wm ... their mana

@WV "<person> (move) " @Wv ... their move

See also PROMPT, PROMPT CODES

Help File Shortcut

  • -h, -H and -? at the end of any normal command will give you the help
    • example, kill -h
    • -h argument must be 2 characters and must be H h or ?

Code Updates

  • The confirmation prompt displays the name of the Character you are remorting
  • Mitigation stat can be negative
  • Penalty for withdrawing from auction is a straight 1000gp