Commit graph

88 commits

Author SHA1 Message Date
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
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
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
gbrunett
27a2f4bdc8 new bandage command to enable fighting classes to help incapacitated players (#11) 2017-10-20 23:29:07 -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
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
WyldTBA
4f5c220759 Altered previous truncation fix and added OLC setting for the HUH message. 2015-04-26 12:33:28 -04:00
Zach Langley
0ded4cf7e2 Fix more warnings and some style. 2014-11-07 21:19:32 -08:00
Rumble
70713e2535 cleanup 2014-08-28 23:10:44 -05:00
Rumble
43d7f71c10 Merge branch 'master' of https://github.com/welcor/tbamud
Conflicts:
	src/interpreter.c
2014-08-28 22:50:03 -05:00
Rumble
cf9902bafe Update interpreter.c 2014-08-28 20:52:56 -07:00
Rumble
8bbcde427d clean-up 2014-08-28 22:34:54 -05:00
Rumble
238a6d18c6 One last update to remove TBA specific code (do_cheat, helpfiles level check, advance). --Rumble 2013-03-02 21:29:48 +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
09b37d07f5 Bug: Supplied fix for dupe_check function 2013-01-16 00:39:22 +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
4572a874b4 Minor fix on the fix... porting issue 2012-05-29 13:34:01 +00:00
Vatiken
d9c5365b26 Fixed a major duping issue caused by incorrect rent codes 2012-05-29 04:35:32 +00:00
Vatiken
5847a57d7f Allocated Lists merged into one functions for extra expandability 2012-04-09 17:53:13 +00:00
Vatiken
fa8a1e23b7 Fixed a bug that caused tabs to be skipped by skip_spaces() 2012-04-08 05:53:59 +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
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
2939a3d507 The basis for 'oset' 2012-03-03 00:10:32 +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
47f7ad955f Minor adjustments, and small 10 Dir bug fix 2012-02-20 20:25:24 +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
Fizban
4b1ea25b58 Added various protocols. 2011-08-12 02:02:32 +00:00
Thomas Arp
6c2252ce89 Subtle bug with indexes on two different arrays caused strange recommendations for non-admins. 2011-01-17 21:47:27 +00:00
JamDog
e068bfd5c0 New mail system, with inbox OLC, index rebuilder and initial mail 2010-12-06 18:40:28 +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
7bff0f37ad Bug Fix: cured Mirad's multiple char creation crash bug 2010-11-26 19:11:02 +00:00
JamDog
a95ac76ef7 Added admin levels to who list, and minor bug fixes 2010-11-25 20:34:26 +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
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
Fizban
b55af08002 Lowered level of helpcheck to 32 from 34. 2010-06-20 03:12:52 +00:00
Rumble
7af7f1d8fa [Feb 08 2010] - Rumble
Added another define for Windows MSVC users to hide useless warnings. (thanks
Kyle)
  Added CIRCLE_WINDOWS check for tell m-w usage of getpid(). (thanks Kyle)
  Changed zcheck to ignore object type TRASH when checking for a cost of 0.
  Changed teleport level to LVL_BUILDER.
2010-02-08 00:51:45 +00:00
Rumble
577d67041f [Dec 22 2009] - Rumble
Made copyover save loadroom so players stay in the same room during copyover.
  Added scan command.
2009-12-22 20:44:12 +00:00
Rumble
2b74ef23ad [Dec 21 2009] - Rumble
Added identify command to shops.
  moved identify to an active spell. Cleric 11, Mage 20.
2009-12-22 18:08:07 +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
f9f356823f Fixed MEDIT_SEX, typos, socials, and added char_from_furniture check --Rumble 2009-07-26 21:16:20 +00:00