Commit graph

78 commits

Author SHA1 Message Date
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
Rumble
55253bdf61 Fixed several warnings and a little cleanup. 2013-10-20 19:01:57 -05:00
Rumble
9af6630ea2 Fixed new players with improper quest setting. 2013-06-08 11:44:38 -03:00
Vatiken
f0d34e6cd6 Object Events and some formatting corrections. 2013-02-26 06:01:26 +00:00
Vatiken
a2aaab144f New Group System, Room Events, and Event System Efficiency Upgrade... and a couple bug fixes. 2013-02-15 03:54:25 +00:00
Rumble
5d7226fdf3 Moved cedit load_config of no_mort_to_immort to its proper place. --Rumble 2012-08-22 22:59:57 +00:00
Vatiken
60d5836959 Message Editor, Debugger Toggle, Hedit Fix, Code Cleanup, MUD Colour Adjustment 2012-07-07 04:43:10 +00:00
Vatiken
debf92811f Fixed a client issue that was causing duplicate new lines 2012-06-27 02:14:22 +00:00
Vatiken
2c0cca1f50 Cedit Toggle for enabling colour codes in the comm channels 2012-06-10 19:44:44 +00:00
Vatiken
5847a57d7f Allocated Lists merged into one functions for extra expandability 2012-04-09 17:53:13 +00:00
Vatiken
24018d145b MAJOR: 3.63 Pre-Release: Cedit Toggle for prot system, new skill, updated documentation, and more. 2012-03-31 17:03:54 +00:00
Vatiken
5c317f6863 Some small formatting changes, and some stray @ symbols cleaned up 2012-03-24 14:41:24 +00:00
Vatiken
8852c83abf A couple small tweaks to ProtocolOutput() 2012-03-19 03:22:28 +00:00
Vatiken
f0a80caaa3 This update includes the transition to protocoloutput while maintaining backwards compatibility with all MUDs still using proc_colors 2012-03-16 01:26:00 +00:00
Vatiken
db5b776326 Couple more gcc warnings killed, fixed a bug within protocol.c, and added initial colour detections based on protocol findings. 2012-02-29 05:54:24 +00:00
Vatiken
bf26d79323 Bug Fix: Fixed major leak with the history system, as well as added a few more memory cleanups to make zmalloc happy. 2012-02-21 06:13:45 +00:00
Vatiken
ad3bb8bc64 some small additions to the event and list system, and some retractions of previously changed code. 2012-02-19 22:02:25 +00:00
Vatiken
dd280c1b58 Added protocols,lists and events, and fixed some bugs... refer to changelog. 2012-02-12 22:07:50 +00:00
Vatiken
479dbb6cbd Major: Backport to rvn 241, with the addition of all previously found bug fixes. 2012-02-06 19:13:03 +00:00
Rumble
bc95dfe20e Backfilled the changelog, several fixes. --Rumble 2011-03-31 02:09:33 +00:00
Thomas Arp
bf0539a425 cedit command for toggling autosave for bugs, typos and ideas 2011-03-10 23:09:53 +00:00
Rumble
0955ee8864 Added max_mortal_level and Admin Poison check --Rumble 2011-02-13 00:17:48 +00:00
JamDog
d2b4faf1c9 olist expanded, happyhour script vars and buildwalk update 2010-12-08 01:35:41 +00:00
JamDog
e068bfd5c0 New mail system, with inbox OLC, index rebuilder and initial mail 2010-12-06 18:40:28 +00:00
JamDog
5acbfd29eb Added diagonal directions, hidden exits flag and bug fixes 2010-11-25 16:24:53 +00:00
JamDog
dcba9d6441 MAJOR UPDATE: Admin Levels split from Mortal Levels 2010-11-24 20:07:22 +00:00
JamDog
88fb85b126 Added happyhour feature and game_info function 2010-11-06 18:14:07 +00:00
JamDog
222be04ec5 Bug Fix: Cured preceeding spaces in IBT notes 2010-11-04 16:47:09 +00:00
Rumble
4b44a1a097 Fixed unaffect and 2 memory leaks --Rumble 2010-06-20 04:43:32 +00:00
JamDog
71fbf510ba Added new IBT system for Ideas, Bugs and Typos (thanks Frenze) 2009-10-24 13:34:21 +00:00
Rumble
44722575ea [Oct 17 2009] - Rumble
Added Ultima Zone 555 and 556. Originally by Casret, rebuilt by Parna.
  Made MEDIT column menu's consistent with other OLC menu's.
  added TEDIT access to bugs, typos, and ideas file.
[Oct 09 2009] - Rumble
  Added connected_type "Preference Edit" (thanks Maoliosa)
2009-10-17 04:59:28 +00:00
Rumble
5e3caf42ff Minor code changes and updated World and files for 3.60 release. --Rumble 2009-09-18 11:17:47 +00:00
JamDog
40d89ca26b Added Zone Flags, Zone Levels Restrictions, and zlock, zunlock and areas commands 2009-03-13 21:49:38 +00:00
JamDog
ac7b71c4ca Several bug-fixes, and new medit stats submenu (with cedit option for advanced options) 2009-02-24 22:41:17 +00:00
Rumble
c9c7ed9e7a [Jan 24 2009] - Rumble
Fixed command queue cancelling "--" from cancelling the next command. (thanks Fren
ze/Ogdin)
  Fixed object timer values from not saving. (thanks Stoneheart)
  Fixed latest GCC warnings in the /utils. (thanks Jamdog)
  Fixed violent area spells so they would not harm group members. (thanks Nhilar)
  Changed usage of qm->nr to GET_MOB_VNUM(qm). (thanks Tails)
2009-01-24 19:11:02 +00:00
Rumble
3d6783a56f [Dec 28 2008] - Rumble
Fixed bad usage of num_of_saving_throws and moved define to structs.h. (thanks
 Vatiken)
  Added trigedit variables questdone and quest. (thanks Jamdog)
2008-12-28 22:08:11 +00:00
Fizban
6c963b8187 Added Player Attachable Script Code 2008-12-04 06:07:32 +00:00
Fizban
64300c6036 Fixed Warnings for new GCC 2008-12-01 19:21:36 +00:00
Rumble
107c3b2811 [Jun 12 2008] - Rumble
Fixed toggle quest to toggle correctly.
  Fixed bug in dg find_replacement to call text_processed at the beginning, regardless of whethe
r something matching the variable is found or not. (thanks Laoris)
  Fixed log error that was using rnum instead of vnum. (thanks Jamdog)
2008-06-12 01:12:46 +00:00