Commit graph

116 commits

Author SHA1 Message Date
kinther
c1419f6fe7 Consolidate rsave and msave into set.c 2026-01-02 06:27:54 -08:00
kinther
59a38beb3d Alignment update 1 2025-12-30 10:11:20 -08:00
kinther
3344074ea2 Add age and time played functionality 2025-12-29 18:08:53 -08:00
kinther
497218958e Species update with base hit/mana/stam 2025-12-29 09:07:21 -08:00
kinther
d4a7ccea5d Rename move to stamina 2025-12-29 08:20:07 -08:00
kinther
4f502a1801 Weight handling update and reducing coin weight 2025-12-28 21:05:26 -08:00
kinther
8018ed3fcf Species update 1 2025-12-28 16:56:57 -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
76513050cb Accounts update 1 2025-12-26 09:58:06 -08:00
kinther
9d894e208d Remove rent code and cost per day 2025-12-24 08:38:38 -08:00
kinther
0267a4c091 Forage command update 2025-12-23 09:24:09 -08:00
kinther
9b01f484f1 Fix medit issues with parsing 2025-12-18 14:04:12 -08:00
kinther
1278c31e89 Skinning update 2025-12-17 15:12:23 -08:00
kinther
219d59787f Scan/hide update 2025-12-15 13:39:03 -08:00
kinther
9f95400f08 NPC class update 2025-12-14 15:38:01 -08:00
kinther
6a743b5276 Level 1 limitation for NPC's addition 2025-12-14 14:34:26 -08:00
kinther
4f2e68a369 Background addition 2025-12-14 14:26:09 -08:00
kinther
8904005169 Remove title code 2025-10-31 11:39:36 -07:00
kinther
0f169f850f NPC name update and keyword targeting fix 2025-10-31 09:33:04 -07:00
kinther
89a1643c04 Fix stat reversion on boot 2025-10-25 14:33:56 -07:00
kinther
ed8ee4aa5f Add NPC skills, update medit menu 2025-10-25 13:48:34 -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
7c9e1ea2fd Migrate to 5e saving throws 2025-10-03 19:38:42 -07:00
kinther
0ebf1cb02f Increase vnum capabilities 2025-10-02 15:30:14 -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
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
7fafc7f6ea Only save room contents if something changed 2025-09-07 08:47:57 -07:00
kinther
9d54d7d1a6 Room save flag functions 2025-09-07 08:29:04 -07:00
kinther
542b01d71d Add mob equipment save function 2025-08-31 15:55:00 -07:00
kinther
17d6221510 Update skills for 5e system 2025-08-28 10:47:05 -07:00
kinther
dbf38a2c38 Remove holler command 2025-08-17 11:34:46 -07:00
kinther
9ce2340f7d Remove happy hour 2025-08-13 15:41:29 -07:00
Noah Cunningham
547c7ddccf
Fix for pointer in fread() db.c to fix Raspberry Pi load issue (#97)
This corrects an issue encountered when loading world information on the Raspberry Pi. Sometimes, there is a ~ stored in the memory location in front of tmp char array. The for loop will decrement below the starting memory address, making it read the ~ and think it's at the end of the room, causing an error and preventing the MUD from loading.

This change checks the memory address of tmp, ensuring it is > the starting memory address before decrementing it in the for() loop. Then, the if/else checks to ensure the carriage return and newline are properly placed to prevent duplication.
2020-11-16 12:36:04 -05:00
Thomas Arp
c0fb6f8a71
Correct log message for strange room flags (#88)
Thanks to Cunning on the tba board for the bug report
https://www.tbamud.com/forum/4-development/4548-db-c-typo-in-parse-rooms#8633
2020-04-16 20:12:34 -04:00
Thomas Arp
7f0acefcb4 Confusing code fix (#76)
* 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.

* Make sure %target% works in act triggers

* code cleanup. Remove inline block, make variable names more understandable.

Ref https://www.tbamud.com/forum/4-development/4525-confused-over-piece-of-code-in-parse-room
2020-01-26 16:19:10 -05:00
Thomas Arp
1ab51a0545 Make sure all followers are free'd before freeing the character list (#75)
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.
2020-01-19 08:44:21 -05:00
Thomas Arp
29f19f9ce5 Fixes for w-format-truncation. Also, export of zones work again on linux 2020-01-11 01:05:32 +01:00
Rumble
674fbfddf1 Updated for 2019 release 2019-01-19 23:25:38 +00: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
wyld-sw
bf941bc9b2 Removed dead stores. 2018-07-15 10:33:06 -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
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
1e8dd801e3 Resolved bug #89: Identical defines in codebase.
- GET_OBJ_PERM has been removed in favor of GET_OBJ_AFFECT.

Implemented idea #55: Mail stamp cost.
- Postmaster no longer mentions stamp price for immortals.
2015-08-05 12:48:22 -04:00
WyldTBA
4f5c220759 Altered previous truncation fix and added OLC setting for the HUH message. 2015-04-26 12:33:28 -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