Commit graph

149 commits

Author SHA1 Message Date
kinther
3344074ea2 Add age and time played functionality 2025-12-29 18:08:53 -08:00
kinther
be79603e8f Change ldesc update 2025-12-29 10:55:09 -08:00
kinther
9443bab159 Look directional output 2025-12-29 08:37:45 -08:00
kinther
d4a7ccea5d Rename move to stamina 2025-12-29 08:20:07 -08:00
kinther
1efb08dafd Cap skill levels, fix imm combat, remove plr_killer and plr_thief flags 2025-12-28 15:11:37 -08:00
kinther
d4bda3ad4a Coins as items update 2 2025-12-24 11:06:57 -08:00
kinther
972d290126 Coins as items update 1 2025-12-24 10:34:28 -08:00
kinther
4ea7abca56 WORN items update 2025-12-17 12:23:20 -08:00
kinther
b883a72bb9 Table update 2 2025-12-15 19:16:38 -08:00
kinther
391149134f Tables update 2025-12-15 18:48:00 -08:00
kinther
06d581b011 Stealth skill update 2025-12-15 14:34:45 -08:00
kinther
219d59787f Scan/hide update 2025-12-15 13:39:03 -08:00
kinther
2e1d7816f6 Sdesc update 2025-12-12 07:14:11 -08:00
kinther
8904005169 Remove title code 2025-10-31 11:39:36 -07:00
kinther
654593a542 Allow NPC's to use score/skills commands 2025-10-25 14:46:24 -07:00
kinther
d0708b4472 Rename thief class to rogue 2025-10-11 08:26:27 -07:00
kinther
ccf81bc3a4 Update to furniture items 2025-09-15 16:34:06 -07:00
kinther
648085d41f Rename action_desc to main_desc 2025-09-07 16:11:05 -07:00
kinther
21c66a16ae Add in quit flag and fix quit logic 2025-09-06 15:39:42 -07:00
kinther
e40f236867 Fix unit tests and update some function names 2025-08-22 15:21:06 -07:00
kinther
75316a6702 Convert system to "5e-like" 2025-08-20 15:27:14 -07:00
kinther
603b82fc0f Remove auction, grats, gossip 2025-08-20 08:04:01 -07:00
kinther
ff7d3efcf2 Update score command output 2025-08-14 12:43:13 -07:00
kinther
9ce2340f7d Remove happy hour 2025-08-13 15:41:29 -07:00
Thomas Arp
f1794521cf
Feature/issue 141 immort where (#142)
* perform_immort_where and print_object_location rewritten to handle paging.

Fixes #141

* A little more info in immort where now we have more space for output.

Fixes #141

* Added PRF_VERBOSE for toggling long output in where command.

Fixes #141

* Also toggle headers in `where x` depending on verbose-pref.

Fixes #141
2025-07-02 22:21:14 +02:00
Thomas Arp
be8de64cf8
fix buffer overrun act.informative.c (#146)
Ref https://www.tbamud.com/kunena/4-development/5636-bug-in-do-toggle-in-act-informative-c#10540

Thanks to Ironfist for the fix
2025-02-19 21:18:39 +01:00
Thomas Arp
317286d051
Ignore project files on commit, and fix the automap bug showing two (#133)
descriptions
2024-06-20 19:31:20 +02:00
Serge
498b652546
fixed small bug in toggle showvnum (#125)
Thanks, @prool
2023-01-07 15:43:06 +01:00
tjr1974
e9c9808a24
Update act.informative.c (#119)
Fixed formatting for readability.
Indentations should be correct.
Tested on fresh install. 
It does compile. 
Room descriptions display properly.
2022-11-16 23:08:33 +01:00
tjr1974
34aca229df
Update act.informative.c
Used code formatter to correct indentations and align all {} in lACMD(do_exits)
Checked for unmactched braces and found none.
My code editor shows all {} are matched.
2022-10-24 17:07:54 -05:00
tjr1974
041765438a
Update act.informative.c
Used code formatter to correct indentations and align all {} in the look_at_room()
Checked for unmactched braces and found none.
My code editor shows all {} are matched.
2022-10-24 16:38:11 -05:00
tjr1974
97bd28ffd3
Update act.informative.c
Fixes unguarded blocks of code in ACMD(do_exits) that could cause the server to report scripted trigger events (mob movements, exit links to rooms being reassigned, and doors being opened or closed) as script errors. Particularly, if this code is copy and pasted into the do_auto_exits().
2022-10-23 15:29:43 -05:00
tjr1974
7039f9c402
Update act.informative.c
Fixes unguarded else clauses due to inconsistent use of {} in look_at_room().
2022-10-23 15:12:57 -05:00
Fiztba
0a9cab1109 Zonereset Fix (#60)
* Fixed Zoneresets Confirmation Message

* Quick fix for Zonereset Toggle
2019-11-05 08:15:09 -05:00
Kevin Fischer
b27003e881 Make some string ops bounded and fix bug in editor toggle command (#54)
* Replace a few strcat/sprintf instances with bounded variants

Also cleaned up the whitespace in the parse_edit_action function as it was
not consistent.

Fix bug in editor format command introduced in earlier commit

* Fix bug in editor toggle command when an escaped @ is in the buffer

Previously, toggling between @ and \t would always try to convert
@ to \t, even if already toggled, iff an escaped @ was present in the
buffer (i.e. '@@').
2018-07-16 05:17:45 -04:00
wyld-sw
bf941bc9b2 Removed dead stores. 2018-07-15 10:33:06 -04:00
Kevin Fischer
5cca63a01c Resolve Wrestrict warnings on GCC 8.1.1 (#51)
* Fix several misleading indentation warnings on GCC 8.1.1

* Fix reliance on undefined strcpy/sprintf behavior (-Wrestrict warnings)

The standard states that strcpy results in undefined behavior when the source
and destination buffers overlap. I resolved this with a combination of memmove
and strlen. Note that the resulting code is slightly less efficient.

Similarly, sprintf's behavior is undefined when copying takes place between
objects that overlap. I replaced most of these with a simple strcat, though
one required a temp buffer.

* Fix format in improved-edit.c to match surrounding code
2018-07-14 14:11:47 -04:00
Kevin Fischer
f9903c05b3 Fix several misleading indentation warnings on GCC 8.1.1 (#50) 2018-07-14 12:31:20 -04:00
Nauzhror
79e7ab10ea Mostly Mudlog (#42)
* Added %log%, and made %send%, %echo%, etc. not force capitalization.

* Fixed Previous Commit

* Really fixed this time.

* Fixed look 2.mail

Also reverted CMMAND_TERMS, was increased in previous commit when it didn't need to be due to the removed of marena.

* Fixed add_to_lookup_table

Fixed as per  Welcor https://www.tbamud.com/forum/2-general/4307-crash-bug-need-assistance-with-gdb?start=20#7390

* Fixed two crash bugs

Fixed tw crash bugs Welcor found here https://www.tbamud.com/forum/4-development/4300-simple-list-forced-to-reset-itself

* wizhelp changes

Cleared buf in columns_list that was getting garbage data in it. Removed wizhelp subcommand from do_commands, and removed buf and sprintf line that were never sent to anyone and replaced it with a send_to_char. Removed arg capability from do_commands as it's no longer useful without the wizhelp subcommand. Replaced wizhelp subcommand with separate do_wizhelp command that sorts commands by their level and shows all imms all imm commands regardless of their level.

* Fix

Fixed previous commit

* Trigedit Mostly

Changed attributes to persist across logout when changed in trigedit. Made strength now loer for GRGOD and above when wearing equipment. Added npcflag field to trigedit. Fixed %actor.vnum()%

* Log Files

Fixed Farbled Data in Logfiles. Fix from Prool on forums.

* Mudlog, Trigedit, New Pref Toggle

Skimmed every call of mudlog for missing GET_INVIS_LEV and other obvious inconsistencies. Added affect_total() cals to dg_variables so stats adjust properly. Added zoneresets toggle to prefedit because syslog complete is super spammy as a result of zone resets so tey're now separate from other syslog options.
2018-02-15 10:55:18 -05:00
Nauzhror
c8895b57d1 do_commands fix (#40)
* Added %log%, and made %send%, %echo%, etc. not force capitalization.

* Fixed Previous Commit

* Really fixed this time.

* Fixed look 2.mail

Also reverted CMMAND_TERMS, was increased in previous commit when it didn't need to be due to the removed of marena.

* Fixed add_to_lookup_table

Fixed as per  Welcor https://www.tbamud.com/forum/2-general/4307-crash-bug-need-assistance-with-gdb?start=20#7390

* Fixed two crash bugs

Fixed tw crash bugs Welcor found here https://www.tbamud.com/forum/4-development/4300-simple-list-forced-to-reset-itself

* wizhelp changes

Cleared buf in columns_list that was getting garbage data in it. Removed wizhelp subcommand from do_commands, and removed buf and sprintf line that were never sent to anyone and replaced it with a send_to_char. Removed arg capability from do_commands as it's no longer useful without the wizhelp subcommand. Replaced wizhelp subcommand with separate do_wizhelp command that sorts commands by their level and shows all imms all imm commands regardless of their level.

* Fix

Fixed previous commit
2018-01-28 10:49:00 -05:00
Nauzhror
2a62eb3f4d Wizhelp (#39)
* Added %log%, and made %send%, %echo%, etc. not force capitalization.

* Fixed Previous Commit

* Really fixed this time.

* Fixed look 2.mail

Also reverted CMMAND_TERMS, was increased in previous commit when it didn't need to be due to the removed of marena.

* Fixed add_to_lookup_table

Fixed as per  Welcor https://www.tbamud.com/forum/2-general/4307-crash-bug-need-assistance-with-gdb?start=20#7390

* Fixed two crash bugs

Fixed tw crash bugs Welcor found here https://www.tbamud.com/forum/4-development/4300-simple-list-forced-to-reset-itself

* wizhelp changes

Cleared buf in columns_list that was getting garbage data in it. Removed wizhelp subcommand from do_commands, and removed buf and sprintf line that were never sent to anyone and replaced it with a send_to_char. Removed arg capability from do_commands as it's no longer useful without the wizhelp subcommand. Replaced wizhelp subcommand with separate do_wizhelp command that sorts commands by their level and shows all imms all imm commands regardless of their level.
2018-01-24 21:22:23 -05:00
Nauzhror
25e8daa43e Look at 2.Mail (#36)
* Added %log%, and made %send%, %echo%, etc. not force capitalization.

* Fixed Previous Commit

* Really fixed this time.

* Fixed look 2.mail

Also reverted CMMAND_TERMS, was increased in previous commit when it didn't need to be due to the removed of marena.
2018-01-15 17:30:40 -05:00
Rumble
544afc796b Update for 2018 release 2018-01-10 02:56:13 +01:00
mcclure
fc4c64c782 Addressed several compiler warnings. 2017-10-09 13:03:48 -04:00
wyld-sw
cacd2c2dd2 Addressed warnings from -Wall. 2017-01-20 15:13:37 -05:00
wyld-sw
5119361f15 Migrated away from using asctime() and ctime() - in favor of strftime().
Added year to several datestamps. Unbounded dates are locale-specific.
- Minor re-formatting was needed for STAT PLAYER and SHOW PLAYER.
The 'slay' feature of do_kill now requires a GRGOD or higher.
'last *' and 'last all' are now synonyms.
2015-09-18 09:16:04 -04:00
wyld-sw
258faf2fa4 Standardized pronoun usage for some commands. 2015-06-19 14:25:08 -04:00
WyldTBA
68fcdb73bf Prevent compiler warnings and potential OLC setting string truncation.
- Prevented compiler warnings when using
’-Wtautological-pointer-compare’ on development system (Darwin)
- Prevented possible string truncation when adding a newline to an OLC
setting string.
2015-04-23 08:49:48 -04:00
Rumble
a61c2c6c60 Update act.informative.c 2014-09-11 20:00:20 -07:00
Rumble
2d69e438ec Update act.informative.c 2014-09-11 19:46:52 -07:00