Commit graph

84 commits

Author SHA1 Message Date
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
9c801f9ab6 inc size of name, max length names crash on addrecent due to buffer overflow 2022-03-24 22:46:43 +01: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
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
Rumble
544afc796b Update for 2018 release 2018-01-10 02:56:13 +01:00
Rumble
51fa6bc2af Update for 2018 release 2018-01-08 02:28:56 +01:00
Rumble
ef17530ed8 Update for 3.68 release 2017-02-08 01:03:16 +01:00
tb4m11d
2845907c0d Update for 3.67 Release 2016-01-26 17:43:48 +01:00
WyldTBA
4f5c220759 Altered previous truncation fix and added OLC setting for the HUH message. 2015-04-26 12:33:28 -04:00
Rumble
027eec89fc Updated world and files for release. 2015-01-18 20:55:01 -06:00
Rumble
20a88c09b9 Updated World and files for 3.65 release. --Rumble 2014-02-27 18:47:00 -06:00
Vatiken
f0d34e6cd6 Object Events and some formatting corrections. 2013-02-26 06:01:26 +00:00
Rumble
36f35cdf55 Updated World and files for 3.64RC release. --Rumble 2013-02-18 23:24:08 +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
Vatiken
60d5836959 Message Editor, Debugger Toggle, Hedit Fix, Code Cleanup, MUD Colour Adjustment 2012-07-07 04:43:10 +00:00
Vatiken
2c0cca1f50 Cedit Toggle for enabling colour codes in the comm channels 2012-06-10 19:44:44 +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
Fizban
2aed18ba52 Raised the size of MAX_RAW_INPUT_LENGTH so larger amounts of text can be pasted into editors at once 2012-03-01 01:56:47 +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
6240083445 Comment fixes, clarification, and warning cleanup. (thanks Kyle) --Rumble 2011-08-25 02:35:28 +00:00
Fizban
4b1ea25b58 Added various protocols. 2011-08-12 02:02:32 +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
JamDog
ba83b532b1 Minor bug fixes and ZONE_WORLDMAP flag 2010-12-16 00:32:58 +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
3fa8ebe048 New house system, ASCII hcontrol file and hsedit house OLC 2010-12-01 18:40:34 +00:00
JamDog
4892b22a51 Added increase_gold/bank funcs to prevent cash overflow 2010-11-26 14:08:54 +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
2b30509371 Fixed bug where imms don't show on who list when editing IBTs 2010-11-06 22:48:12 +00:00
JamDog
6139c43c16 Added recent command 2010-11-06 20:56:27 +00:00
JamDog
88fb85b126 Added happyhour feature and game_info function 2010-11-06 18:14:07 +00:00
JamDog
2743ff82ec Remove conf.h from SVN and some bug fixes 2010-11-04 10:52:01 +00:00
Rumble
505d8f1236 Updated World files for 3.62 release. --Rumble 2010-09-19 02:58:36 +00:00
Rumble
ef9d61d984 Updated World (thanks Parna) and other text files for release. --Rumble 2010-01-26 23:24:49 +00:00
Rumble
1779f7a30a Changed mob flag NOBASH to NOKILL --Rumble 2009-12-25 00:31:33 +00:00
Rumble
30a82beeeb [Dec 05 2009] - Rumble
Changed zedit clear level restrictions to dump you back at main zedit menu ins
tead of in the level menu.
  Changed zone level restriction to level recommendation so players would not be
 blocked from zones.
  Changed Zcheck to level 31.
[Nov 19 2009] - Rumble
  Fixed list obj max/min from room to obj. (thanks Elervan)
[Nov 13 2009] - Rumble
  Removed con_app 2nd apply type shock that was for "resurrection?" This was not
 used in 3.1.
[Nov 12 2009] - Rumble
  Fixed overflow in prefedit.c. (thanks Xiu)
[Nov 01 2009] - Rumble
  Renamed autorun log entries from autoscript killed to terminated so it wouldn'
t go into the log/rip file.
2009-12-05 22:24:22 +00:00
JamDog
71fbf510ba Added new IBT system for Ideas, Bugs and Typos (thanks Frenze) 2009-10-24 13:34:21 +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
1786aa135d Adds prefedit OLC 2009-05-21 18:35:05 +00:00
JamDog
85ea93c818 Added autodoor and autokey toggles, and all auto toggle commands 2009-05-21 10:15:21 +00:00
Rumble
b656706cb2 Updated World and files for 3.59 release. --Rumble 2009-04-04 23:44:20 +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
6f22042712 Updated World and files for 3.58 release. --Rumble 2009-01-18 01:22:15 +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