Commit graph

162 commits

Author SHA1 Message Date
kinther
5dcc018fcd Say and talk update 2025-12-15 19:53:08 -08:00
kinther
5591664de5 Hidden emote update 2025-12-15 14:52:15 -08:00
kinther
219d59787f Scan/hide update 2025-12-15 13:39:03 -08:00
kinther
cba4a5b0aa Stat output update 2025-12-15 12:32:41 -08:00
kinther
9f95400f08 NPC class update 2025-12-14 15:38:01 -08:00
kinther
ff5f254fce Fix saving throw bonus logic 2025-12-14 14:56:09 -08:00
kinther
4f2e68a369 Background addition 2025-12-14 14:26:09 -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
88adbfb8d9 Minor changes to stat command 2025-10-25 16:02:12 -07:00
kinther
cc342ef45c Remove bare hand damage in favor of unarmed skill proficiency 2025-10-18 06:38:15 -07:00
kinther
0e44eaf319 Remove str_add since we are using 5e-like stats 2025-10-11 08:44:45 -07:00
kinther
d0708b4472 Rename thief class to rogue 2025-10-11 08:26:27 -07:00
kinther
7c9e1ea2fd Migrate to 5e saving throws 2025-10-03 19:38:42 -07:00
kinther
19682f5b58 Remove app_type bonuses in favor of ability mod bonus 2025-10-03 14:51:34 -07:00
kinther
c4f99fb2de Patch rsave to save rooms in zone correctly 2025-10-03 13:21:47 -07:00
kinther
0ebf1cb02f Increase vnum capabilities 2025-10-02 15:30:14 -07:00
kinther
32fcaed835 Update zreset to load rsaved objects and mobs 2025-10-02 09:53:18 -07:00
kinther
05a2dfce9f Rename classes 2025-09-30 07:39:45 -07:00
kinther
cb59bf0315 Remove hitroll/damroll 2025-09-30 07:00:54 -07:00
kinther
2703cbcf25 Add rsave command 2025-09-25 09:35:23 -07:00
kinther
b9acbbba9f Fix syserror messages on start related to msave 2025-09-25 09:13:24 -07:00
kinther
648085d41f Rename action_desc to main_desc 2025-09-07 16:11:05 -07:00
kinther
542b01d71d Add mob equipment save function 2025-08-31 15:55:00 -07:00
kinther
448adc6cba Add WORN_BACK location 2025-08-31 10:56:33 -07:00
kinther
7a188a7cdb Fix outstanding tbamud compile errors 2025-08-31 06:38:31 -07:00
kinther
0815cd6a96 More oedit updates and new objects 2025-08-25 15:27:42 -07:00
kinther
2159ca06f0 Update shield use skill, add durability to armor, update oedit, and increase object values 2025-08-23 17:48:42 -07:00
kinther
75316a6702 Convert system to "5e-like" 2025-08-20 15:27:14 -07:00
kinther
41742a168a Fix emoting system 2025-08-20 09:24:27 -07:00
kinther
16cd1fac05 Add four new classes 2025-08-19 10:54:28 -07:00
kinther
5aec076135 Emoting system 2025-08-19 07:10:24 -07:00
kinther
a045045eec Updated set skill command to account for multi-word skills 2025-08-17 11:05:35 -07:00
kinther
993a94634e Add set skill command 2025-08-17 09:32:59 -07:00
kinther
5a19b015e3 Remove practice command, add skills command, remove guild special room assignment 2025-08-17 09:12:48 -07:00
Thomas Arp
eb650c2811
GitHub issues 78 79 81 num aff flags off by one (#82)
* Make sure all followers are free'd before freeing the character list

Otherwise, the followers structs will point to free'd memory and
the stop_follower call will attempt to dereference a free'd
characters' followers list.

* https://github.com/tbamud/tbamud/issues/79 typo

* https://github.com/tbamud/tbamud/issues/81 nullpointer crash on syntax check run

* NUM_AFF_FLAGS fix.

Now, consistently, the NUM_AFF_FLAGS is used in the same way as other
NUM_* variables. Specifically, the the number is consistent with
how others are defined - 1 above the highest in the list.

I would like to have removed the need to start from 1 instead of 0
as well, but the loading mechanism, and thus potentially a lot of
existing object files, use 0 as a marker for "no flags set", and
we can't easily fix that. So, the places we loop through the list,
we still need to make sure we're stying within the [1;NUM_AFF_FLAGS) interval.

Simultaneously, I've checked over the other flags, and it seems like
the usage is pretty consistent there.

Fixes https://github.com/tbamud/tbamud/issues/78
2020-02-25 18:39:29 -05:00
Kevin Fischer
3cb8e52043 Fix error in "last all" command and several -Wunused-result compiler errors (#55)
* Add build generated files to .gitignore

* Fix error in "last all" output and resolve Wunused-result warnings

- Check return value of several standard library calls that could
return error states.
- Fix issue with "last all" command (it sent tabs for alignment
that were reinterpreted as colors).

* Fix buffer overflow in do_export_zone command
2018-07-21 19:37:18 -04:00
Kevin Fischer
14855c273a Fix string truncation warnings (Wstringop-truncation) (#53) 2018-07-15 17:23:26 -04:00
wyld-sw
bf941bc9b2 Removed dead stores. 2018-07-15 10:33:06 -04:00
Kevin Fischer
f9903c05b3 Fix several misleading indentation warnings on GCC 8.1.1 (#50) 2018-07-14 12:31:20 -04:00
Paul Clarke
41da68bdb0 DG Scripts bug fixes (#44)
* Increase ID space

DG Scripts uses tiny idspace that results in wacky bugs when the mud is
running too long.

* Overhaul script ids

All references to GET_ID(ch/obj) were removed and replaced by
char_script_id() and obj_script_id(), which don’t assign ids until they
are needed. The ch->id and obj->id variable names were changed to
script_id to prevent accidental errors for future programmers. This
change greatly increases how long the mud can run before it runs out of
ID space.

* Fix extraction count

This prevents an error log where it has over-counted the extractions
pending. It now behaves correctly when the same mob is %purge%’d or
extract_char()’d twice.
2018-02-15 14:06:35 -05: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
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
mcclure
fc4c64c782 Addressed several compiler warnings. 2017-10-09 13:03:48 -04:00
wyld-sw
4590ba16d6 Addressed warnings from -Weverything subset:
-Wconditional-uninitialized
-Wshadow
-Wswitch-enum
-Wunreachable-code-break
-Wunused-macros
2017-01-20 15:59:11 -05: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
898e041431 Addressed bugs:
# 71: whirlwind now does not function in peaceful rooms.
 #108: basic functionality of 'last' is now not limited by level.
2015-08-10 16:41:58 -04:00
wyld-sw
258faf2fa4 Standardized pronoun usage for some commands. 2015-06-19 14:25:08 -04:00
Rumble
027eec89fc Updated world and files for release. 2015-01-18 20:55:01 -06:00