Commit graph

123 commits

Author SHA1 Message Date
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
Rumble
dc3b8d23c1 Update act.informative.c
Fix do_score to show quest name instead of number (thanks WhiskyTest)
2014-09-11 19:37:56 -07:00
Rumble
10f84a7eae Fixed typo 2013-08-22 18:00:31 -04: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
82da0e8063 Minor changes and a test commit --Rumble 2013-02-03 21:46:12 +00:00
Vatiken
60d5836959 Message Editor, Debugger Toggle, Hedit Fix, Code Cleanup, MUD Colour Adjustment 2012-07-07 04:43:10 +00:00
Vatiken
58ec913b46 Just some cosmetic code cleanup 2012-06-19 21:11:14 +00:00
Vatiken
95e80969d3 Fixed a typo in do_scan 2012-06-03 18:18:35 +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
6a342723ed Updated whois to detail the 'victims' protocol information 2012-03-22 05:35:49 +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
70d7785fea Couple adjustments to the tab handling, added MXP here and there, and added a toggler '\t' to the improved editor to grant access to tabs. 2012-02-27 01:04:09 +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
650be85257 Immortals now have their lvl hidden on the who list like other gods 2012-02-13 01:17:36 +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
Rhade
d74b07d8f5 fixed bug in do_score due to add_commas editing a global var 2011-03-06 03:15:31 +00:00
Rhade
c16166a555 fixed bug in do_levels 2011-03-06 01:24:31 +00:00
JamDog
d2b4faf1c9 olist expanded, happyhour script vars and buildwalk update 2010-12-08 01:35:41 +00:00
JamDog
b06cf00639 Bug fixes for new house system and levels command 2010-12-07 15:44:21 +00:00
JamDog
e068bfd5c0 New mail system, with inbox OLC, index rebuilder and initial mail 2010-12-06 18:40:28 +00:00
JamDog
d257dc0c75 Converted areas command to use page_string 2010-12-05 18:32:10 +00:00
JamDog
143364cbc9 zlist update and a few bug fixes 2010-12-05 16:28:00 +00:00
JamDog
3fa8ebe048 New house system, ASCII hcontrol file and hsedit house OLC 2010-12-01 18:40:34 +00:00
JamDog
86f83bcc57 Cured who list bug where mortals didn't show 2010-11-26 22:47:45 +00:00