Commit graph

516 commits

Author SHA1 Message Date
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
d7a50664ea Just a warning fix (#43)
* 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.

* npcflag fix

Just fixing a warning.
2018-02-15 11:09:51 -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
34b7f5b00c Mostly Trigedit Changes (#41)
* 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()%
2018-02-12 20:11:08 -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
fe8f93a6b2 Bugfixes (#38)
* 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
2018-01-19 18:53:04 -05:00
Nauzhror
770285c464 Fixed add_to_lookup_table (#37)
* 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
2018-01-18 11:59:25 -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
Nauzhror
023348b0a0 Added %log% command, and made capitalization up to the builders discretion in various trigedit messages. (#35)
* Added %log%, and made %send%, %echo%, etc. not force capitalization.

* Fixed Previous Commit

* Really fixed this time.
2018-01-15 15:37:42 -05:00
Rumble
512fd64d65 Removed empty quest file 2018-01-15 01:37:03 +01:00
Rumble
70aef3841c Removed empty quest file 2018-01-15 01:34:26 +01:00
Rumble
deeb862cde Final update for 2018 release, thanks Fizban for updating shady triggers and WhiskyTest for bug fix 2018-01-15 01:15:10 +01:00
Rumble
544afc796b Update for 2018 release 2018-01-10 02:56:13 +01:00
WhiskyTest
0bb51e2bc2 MSDP Newline Fix (#34)
* MSDP Newline Fix

MSDP is sending additional new lines still. Added missing fix from KaVir's plugin

* MSDP Newline Fix

MSDP is sending additional new lines still. Added missing fix from KaVir's plugin
2018-01-09 06:36:40 -05:00
Rumble
51fa6bc2af Update for 2018 release 2018-01-08 02:28:56 +01:00
srhuston
045e7fa515 Don't tell a followed person that an invisible immortal stopped following (#33) 2017-11-15 18:36:53 -05:00
srhuston
38cdaf535d Fixed a few typos (some cosmetic, some functional) (#32) 2017-11-05 22:06:58 -05:00
wyld-sw
08f5eb8947 Restores shop item values after previous precision change. 2017-11-03 07:44:22 -04:00
gbrunett
954d5f2639 added regroup sub-command to do_group to allow players to easily shuffle group order. (#10) 2017-10-20 23:30:43 -04:00
gbrunett
27a2f4bdc8 new bandage command to enable fighting classes to help incapacitated players (#11) 2017-10-20 23:29:07 -04:00
gbrunett
dec0c5af1f follow command with no arguments reports leader (when already following) (#7) 2017-10-20 21:43:37 -04:00
gbrunett
75d8b58029 new unfollow command available for all players (#6)
* new unfollow command available for all players

* new unfollow command available for all players (fix redundant check)

* new unfollow command available for all players (fix redundant check)
2017-10-20 21:32:58 -04:00
mcclure
324cfdd415 Restored retval docs. 2017-10-20 13:53:43 -04:00
mcclure
fc4c64c782 Addressed several compiler warnings. 2017-10-09 13:03:48 -04:00
Rumble
08374524d0 Fixed empty liquid container bug (thanks WhiskyTest) 2017-03-20 11:58:48 +01:00
Rumble
702612ba53 Merge remote branch 'origin/master' 2017-02-08 01:06:42 +01:00
Rumble
ef17530ed8 Update for 3.68 release 2017-02-08 01:03:16 +01:00
wyld-sw
dafa4491e4 Removed imm/wizlist content. 2017-02-05 09:26:22 -05:00
Rumble
71baf9bf00 Updated World files for release and merged conflicts 2017-02-04 19:05:59 +01:00
Rumble
819afdf3d2 Update World for release 2017-02-04 18:10:07 +01:00
wyld-sw
d62f0193af Added plrvars and house directories. 2017-01-21 12:56:25 -05:00
wyld-sw
905b5e440e Corrected typo in cedit. 2017-01-21 12:52:24 -05:00
wyld-sw
d85f6ba42e Addressed issue preventing group recall from working with non-lead casters. 2017-01-21 12:48:35 -05: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
821cb709c0 Applied K&R style to previous commit. 2017-01-20 15:19:13 -05:00
WhiskyTest
82f821733d Get/Take Extra Description Message
Changes the message from 'You don't see that' to 'You cant take <xyz>'
when a player tries to take something in a room extra description
2017-01-20 15:19:13 -05:00
Thomas Arp
b5ac9f1dfb Fix of potential array-index-out-of-bounds when vict->in_room is NOWHERE. See http://www.tbamud.com/forum/4-development/4148-skill-stun-wierd-problem#6321 2017-01-20 15:19:13 -05:00
Thomas Arp
d6ef378e4f Added -Wno-unused-but-set-variable to MYFLAGS in configure.
This will prevent new users of the codebase from receiving a lot of noise on first run
2017-01-20 15:19:13 -05:00
Thomas Arp
bc786ae015 Fixed off-by-one bug in loop, illogical negation. - thanks for the bug report, Halenbane. 2017-01-20 15:19:13 -05:00
wyld-sw
ebfc7ce54b Removed ideas/typos/bugs when they are aborted. 2017-01-20 15:19:13 -05:00
wyld-sw
30e0ad1041 Implemented "[idea|bug|typo] list" with paging. 2017-01-20 15:19:13 -05:00
wyld-sw
629ce06e34 Added DG Scripts Code Syntax Highlighting improvement. 2017-01-20 15:19:13 -05:00
wyld-sw
2ed922cdb8 Constrained medit/oedit/qedit/redit/sedit/trigedit to the IDXTYPE range. 2017-01-20 15:19:13 -05:00
wyld-sw
d0e08785f5 Addressed compiler warnings:
address of array '...' will always evaluate to 'true' [-Wpointer-bool-conversion]
2017-01-20 15:19:13 -05:00
tb4m11d
3782fc221c Added trigedit %actor.wait% variable (thanks WhiskyTest) 2017-01-20 15:19:12 -05:00
tb4m11d
acfc90566d World update 2 2017-01-20 15:19:12 -05:00
tb4m11d
266a4bf210 World update 2017-01-20 15:19:12 -05:00
tb4m11d
367165f9f8 Update for 3.67 Release 2017-01-20 15:19:12 -05:00
tb4m11d
772fa3ecad Fixing permissions and adding God Complex extension (thanks Whiteknight) 2017-01-20 15:19:12 -05:00