mirror of
https://github.com/tbamud/tbamud.git
synced 2025-09-22 05:50:48 +02:00
- Removed the extra space when you have no title (thanks Rhade).
- Added "Top of File" to the do_file command (thanks Rhade). - Removed socials from wizhelp. - Changed zlist with no arg to list zones. - Wiznet can now be seen while in OLC, again (thanks Fizban). - Updated socials, help, changelog, world, and news. --Rumble
This commit is contained in:
parent
916281ecb0
commit
787c392e0a
11 changed files with 1637 additions and 1596 deletions
26
ChangeLog
26
ChangeLog
|
@ -2,9 +2,29 @@ tbaMUD is currently being developed by The Builder Academy. If you need any
|
||||||
help or find any bugs please stop by: builderacademy.net 9091
|
help or find any bugs please stop by: builderacademy.net 9091
|
||||||
|
|
||||||
tbaMUD 3.51
|
tbaMUD 3.51
|
||||||
|
- Removed the extra space when you have no title (thanks Rhade).
|
||||||
|
- Added "Top of File" to the do_file command (thanks Rhade).
|
||||||
|
- Removed socials from wizhelp.
|
||||||
|
- Changed zlist with no arg to list zones.
|
||||||
|
- Wiznet can now be seen while in OLC, again (thanks Fizban).
|
||||||
|
- Removed MOBprograms.
|
||||||
|
- Added ALL_PERMISSIONS so anyone with OLC can have access to the entire World.
|
||||||
|
Included set <player> olc all. (thanks Rhade).
|
||||||
|
- Fixed color bleeding from listing consecutive mobs (yellow) and objs(green)
|
||||||
|
in room or vice versa (thanks Rhade).
|
||||||
|
- Removed trg/index double entries (thanks Fizban).
|
||||||
|
- Cleaned up search_help and do_helpcheck. Now using player level instead of
|
||||||
|
the entire char structure (thanks Rhade).
|
||||||
|
- Fixed do_sstat_room so stat can display more than just the room you are
|
||||||
|
standing in (thanks Rhade).
|
||||||
|
- Fixed crash if you try to boot the game without a shop (thanks Rhade).
|
||||||
|
- Added online mail notification, "You have mail." as soon as mudmail is sent
|
||||||
|
(thanks JamDog) and when coming back from afk (thanks Rhade).
|
||||||
|
- Removed strip_string function; strip_cr does the same thing (thanks Rhade).
|
||||||
|
- Released tbaMUD3.51rc.
|
||||||
- Limited trigedit numeric arg to 0-100.
|
- Limited trigedit numeric arg to 0-100.
|
||||||
- Removed the magic numbers for setting DRUNK, HUNGER, THIRST. Renamed FULL to
|
- Removed the magic numbers for setting DRUNK, HUNGER, THIRST.
|
||||||
HUNGER.
|
- Renamed FULL to HUNGER.
|
||||||
- Changed page to level 1.
|
- Changed page to level 1.
|
||||||
- Snooping log message is now only visible by higher imms.
|
- Snooping log message is now only visible by higher imms.
|
||||||
- Moved nohassle, holylight, showvnums, color, compact, syslog, poofin,
|
- Moved nohassle, holylight, showvnums, color, compact, syslog, poofin,
|
||||||
|
@ -57,7 +77,7 @@ tbaMUD 3.51
|
||||||
- Spellchecked stock.hlp.
|
- Spellchecked stock.hlp.
|
||||||
- Updated fixes from 3.1 CVS snapshot.
|
- Updated fixes from 3.1 CVS snapshot.
|
||||||
- Fixed permissions on numerous files.
|
- Fixed permissions on numerous files.
|
||||||
- Renamed shit, no really in zmalloc.c unsigned char * shit;
|
- Renamed shit. No really; in zmalloc.c unsigned char * shit;
|
||||||
- Spellchecked help.hlp.
|
- Spellchecked help.hlp.
|
||||||
- Updated /doc/README.Cygwin.
|
- Updated /doc/README.Cygwin.
|
||||||
- Updated /doc/syserr.txt (much more to do though, along with all /doc,
|
- Updated /doc/syserr.txt (much more to do though, along with all /doc,
|
||||||
|
|
|
@ -2128,6 +2128,21 @@ $n looks at your $t and contemplates grabbing it.
|
||||||
You look at $p and contemplates grabbing it.
|
You look at $p and contemplates grabbing it.
|
||||||
$n looks at $p and contemplates grabbing it.
|
$n looks at $p and contemplates grabbing it.
|
||||||
|
|
||||||
|
~facepalm facepalm 0 8 8 0
|
||||||
|
You plant your face in the palm of your hand with disbelief.
|
||||||
|
$n plants $s face into the palm of $s hand, full of disbelief.
|
||||||
|
You plant your face in the palm of your hand, mumbling something about $N's ways.
|
||||||
|
$n plants $s face into the palm of $s hand, mumbling something about $N's ways.
|
||||||
|
$n plants $s face into the palm of $s hand, mumbling something about your ways.
|
||||||
|
They're not around, bub.
|
||||||
|
You plant your face in the palm of your hand, not quite sure where you went wrong.
|
||||||
|
$n plants $s face into the palm of $s hand at $s own mistake.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#
|
||||||
|
You plant your face in the palm of your hand, cursing the day $p was ever conceived.
|
||||||
|
$n plants $s face into the palm of $s hand, cursing the day $p was ever conceived.
|
||||||
|
|
||||||
~fade fade 0 5 0 0
|
~fade fade 0 5 0 0
|
||||||
You disappear into the void.
|
You disappear into the void.
|
||||||
$n slowly fades out of existence.
|
$n slowly fades out of existence.
|
||||||
|
@ -2897,8 +2912,8 @@ $n loads object 15400 and dons it.
|
||||||
You raise your hand - me me me!
|
You raise your hand - me me me!
|
||||||
$n raises $s hand - me me me!
|
$n raises $s hand - me me me!
|
||||||
You raise your hand, trying to get $N's attention?
|
You raise your hand, trying to get $N's attention?
|
||||||
$n raises his hand in response to $N.
|
$n raises $s hand in response to $N.
|
||||||
$n raises his hand in response to you.
|
$n raises $s hand in response to you.
|
||||||
If you raise your hand in an empty room, does anyone see?
|
If you raise your hand in an empty room, does anyone see?
|
||||||
You raise your hand... at least thats one of you.
|
You raise your hand... at least thats one of you.
|
||||||
$n raises $s hand to $mself... that makes one.
|
$n raises $s hand to $mself... that makes one.
|
||||||
|
@ -5377,9 +5392,9 @@ $n wiggles $s fingers, holds $s hands near $s holsters, and sizes you up.
|
||||||
That there person ain't here.
|
That there person ain't here.
|
||||||
You can't have a shootout with yourself, pardner.
|
You can't have a shootout with yourself, pardner.
|
||||||
$n seems to think about having a shoot out with $mself. $e decides against it.
|
$n seems to think about having a shoot out with $mself. $e decides against it.
|
||||||
You look at $N's $t and get ready to draw.
|
You look at $N's $t and get ready to draw.
|
||||||
$n looks at your $t and gets ready to draw $s guns.
|
$n looks at $N's $t and gets ready to draw $s guns.
|
||||||
$n looks at $N's $t and gets ready to draw $s guns.
|
$n looks at your $t and gets ready to draw $s guns.
|
||||||
You look over $p and get ready to draw.
|
You look over $p and get ready to draw.
|
||||||
$n looks over $p and gets ready to draw $s guns.
|
$n looks over $p and gets ready to draw $s guns.
|
||||||
|
|
||||||
|
@ -6158,7 +6173,7 @@ Who do you want to tell to suckit-up?
|
||||||
You tell yourself to suckit-up.
|
You tell yourself to suckit-up.
|
||||||
$n gets $mself a can of suckit-up.
|
$n gets $mself a can of suckit-up.
|
||||||
You give $S $t a can of suckit-up.
|
You give $S $t a can of suckit-up.
|
||||||
You give $S $t a can of suckit-up.
|
$n gives $N's $t a can of suckit-up.
|
||||||
$n gives your $t a can of suckit-up.
|
$n gives your $t a can of suckit-up.
|
||||||
You give $p a can of suckit-up.
|
You give $p a can of suckit-up.
|
||||||
$n gives $p a can of suckit-up.
|
$n gives $p a can of suckit-up.
|
||||||
|
@ -6637,9 +6652,9 @@ $n pulls out a pocket dragon and toasts you. You are no more! Ow...
|
||||||
POOF! Maybe your victim disintegrated... Then again, maybe it was just a figment of your imagination.
|
POOF! Maybe your victim disintegrated... Then again, maybe it was just a figment of your imagination.
|
||||||
You toast yourself. You are no more! Ow...
|
You toast yourself. You are no more! Ow...
|
||||||
$n toasts $mself. $n is no more. $n is ashes, ashes and only ashes, and the ashes blow away in the wind. Buhbye $n.
|
$n toasts $mself. $n is no more. $n is ashes, ashes and only ashes, and the ashes blow away in the wind. Buhbye $n.
|
||||||
You pull out a pocket dragon and squeeze it at your $t. $t is no more. $t is ashes, ashes and only ashes, and the ashes blow away in the wind. Buhbye $t.
|
#
|
||||||
$n pulls out a pocket dragon and squeezes it at $N's $t. $N's $t is no more. $N's $t is ashes, ashes and only ashes, and the ashes blow away in the wind. Buhbye $N's $t.
|
#
|
||||||
$n pulls out a pocket dragon and squeezes it at your $t. Your $t is no more. Your $t is ashes, ashes and only ashes, and the ashes blow away in the wind. Buhbye $t.
|
#
|
||||||
You pull out a pocket dragon and squeeze it at $p. $p bursts in flame. $p is toast. Poor $p.
|
You pull out a pocket dragon and squeeze it at $p. $p bursts in flame. $p is toast. Poor $p.
|
||||||
$n pulls out a pocket dragon and squeezes it at $p. $p bursts in flame. $p is toast. Poor $p.
|
$n pulls out a pocket dragon and squeezes it at $p. $p bursts in flame. $p is toast. Poor $p.
|
||||||
|
|
||||||
|
@ -6667,9 +6682,9 @@ For some reason, $n has just touched you.
|
||||||
You can't touch that person, they don't exist.
|
You can't touch that person, they don't exist.
|
||||||
You touch yourself, eww!
|
You touch yourself, eww!
|
||||||
$n does something a little discusting.
|
$n does something a little discusting.
|
||||||
You curiously touch $S $i.
|
You curiously touch $S $t.
|
||||||
$n curiously touches $N's $i.
|
$n curiously touches $N's $t.
|
||||||
$n curiously touches your $i.
|
$n curiously touches your $t.
|
||||||
You curiously touch $p.
|
You curiously touch $p.
|
||||||
$n curiously touches $p.
|
$n curiously touches $p.
|
||||||
|
|
||||||
|
|
|
@ -2750,24 +2750,19 @@ See also: BAN
|
||||||
#31
|
#31
|
||||||
WIZNET ; WIZTALK WIZTELL WIZCHAT WIZLINE
|
WIZNET ; WIZTALK WIZTELL WIZCHAT WIZLINE
|
||||||
|
|
||||||
The immortal communication channel. It is visible while in OLC.
|
The immortal communication channel which is the only channel visible in OLC.
|
||||||
This channel should only be used for building related communications. If you
|
|
||||||
wish to chat and gossip please feel free to use the gossip channel. The gossip
|
|
||||||
channel can be turned off through the NOGOS toggle and may be if the spam
|
|
||||||
becomes too much for you to handle. It is not recommended that you go NOWIZ.
|
|
||||||
|
|
||||||
Usage: wiznet [ '@@' | '+' | '-' | '#' ] [<text>]
|
Usage: wiznet [ #<level> ] [ <text> | *<emotetext> | @@ ]
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
>; <text> - just sends text
|
>wiznet <text> - just sends text.
|
||||||
>; @@ - shows all gods that are on and visible to you
|
>; <text> - ; is short for wiznet.
|
||||||
- also shows if the gods who are visible to you are writing
|
>; @@ - shows all gods that are on and visible to you.
|
||||||
|
- also shows if the gods who are visible to you are writing.
|
||||||
>;#<level> <text> - sends text to everyone <level> and above.
|
>;#<level> <text> - sends text to everyone <level> and above.
|
||||||
- ;#32 only level 32 and above will see this.
|
- ;#32 only level 32 and above will see this.
|
||||||
|
|
||||||
This code was provided by Gnort.
|
|
||||||
|
|
||||||
See also: NOWIZ
|
See also: NOWIZ
|
||||||
#31
|
#31
|
||||||
ZRESETS RESETS ZONE-RESETS ZONERESETS POPS REPOPS SPAWN RE-POPS ZONEREBOOTS REFRESH ZONE-LOADS ZEDIT_RESET ZONE_RESET LOAD-ZONE LOADZONE LOAD_ZONE
|
ZRESETS RESETS ZONE-RESETS ZONERESETS POPS REPOPS SPAWN RE-POPS ZONEREBOOTS REFRESH ZONE-LOADS ZEDIT_RESET ZONE_RESET LOAD-ZONE LOADZONE LOAD_ZONE
|
||||||
|
@ -3329,18 +3324,18 @@ mhunt <victim>
|
||||||
|
|
||||||
The mobile will begin to hunt for victim, and engage in combat upon finding
|
The mobile will begin to hunt for victim, and engage in combat upon finding
|
||||||
them. Only Mobiles may use this command. Hunting mobs will walk through NOMOB
|
them. Only Mobiles may use this command. Hunting mobs will walk through NOMOB
|
||||||
rooms.
|
rooms. %kill% may be used for mobs attacking mobs.
|
||||||
|
|
||||||
Examples: @RTSTAT 19596, 19595@n
|
Examples: @RTSTAT 19596, 19595@n
|
||||||
|
|
||||||
See also: TRIGEDIT-MOB-BRIBE
|
See also: TRIGEDIT-MOB-BRIBE
|
||||||
#31
|
#31
|
||||||
%KILL% WKILL OKILL MKILL
|
MKILL WKILL OKILL %KILL%
|
||||||
|
|
||||||
mkill <victim>
|
mkill <victim>
|
||||||
|
|
||||||
mkill causes the mob to hit the victim. It is the same as kill, except mkill
|
Mkill will force the mob to attack the victim. It is the same as kill,
|
||||||
works for low level mobs attacking PCs, where kill might not.
|
except mkill works for low level mobs attacking PCs, where kill might not.
|
||||||
|
|
||||||
Examples: @RTSTAT 23613@n
|
Examples: @RTSTAT 23613@n
|
||||||
#31
|
#31
|
||||||
|
@ -7728,9 +7723,8 @@ ALIAS-EXAMPLES
|
||||||
alias poofin set self poofin $*
|
alias poofin set self poofin $*
|
||||||
alias poofout set self poofout $*
|
alias poofout set self poofout $*
|
||||||
alias poofs score
|
alias poofs score
|
||||||
alias syslog toggle syslog $*
|
|
||||||
alias color toggle color $*
|
|
||||||
alias cheat return
|
alias cheat return
|
||||||
|
alias mail at postmaster mail $*
|
||||||
|
|
||||||
See also: ALIASES
|
See also: ALIASES
|
||||||
#31
|
#31
|
||||||
|
@ -10956,7 +10950,8 @@ AFK
|
||||||
Usage : afk
|
Usage : afk
|
||||||
|
|
||||||
Lets other players know you will be away from the keyboard. The (AFK) flag will
|
Lets other players know you will be away from the keyboard. The (AFK) flag will
|
||||||
be displayed in who after your name and title.
|
be displayed in your prompt and under who after your name and title. When you
|
||||||
|
come back from AFK you will be notified if you have mail waiting.
|
||||||
|
|
||||||
See also: TOGGLE, WHO
|
See also: TOGGLE, WHO
|
||||||
#0
|
#0
|
||||||
|
|
|
@ -2,11 +2,18 @@
|
||||||
|
|
||||||
THE tbaMUD HERALD
|
THE tbaMUD HERALD
|
||||||
"We addict players for their own enjoyment."
|
"We addict players for their own enjoyment."
|
||||||
January, 2007
|
February, 2007
|
||||||
|
|
||||||
|
|
||||||
NEW COMMANDS AND NEW MUD BEHAVIOR:
|
NEW COMMANDS AND NEW MUD BEHAVIOR:
|
||||||
---------------------------------
|
---------------------------------
|
||||||
|
** Over 100 new socials, check them out and feel free to suggest new ones.
|
||||||
|
|
||||||
|
** You will now be notified when you have new mail.
|
||||||
|
|
||||||
|
** New toggles: autoloot, autogold, autosplit, autosac, and autoassist.
|
||||||
|
|
||||||
|
** Improved toggle command allowing more options.
|
||||||
|
|
||||||
** You can now use the history command to see the last 100 communications
|
** You can now use the history command to see the last 100 communications
|
||||||
from all the channels. It clears upon viewing or log off.
|
from all the channels. It clears upon viewing or log off.
|
||||||
|
|
|
@ -2030,7 +2030,7 @@ if %actor.is_pc%
|
||||||
say Be sure to do everything the room descriptions tell you to do. You should read and comprehend everything contained within these walls.
|
say Be sure to do everything the room descriptions tell you to do. You should read and comprehend everything contained within these walls.
|
||||||
set TBA_greeting 1
|
set TBA_greeting 1
|
||||||
remote TBA_greeting %actor.id%
|
remote TBA_greeting %actor.id%
|
||||||
if !%actor.has_item(1233)%
|
if !%actor.has_item(1332)%
|
||||||
%load% obj 1332 %actor% inv
|
%load% obj 1332 %actor% inv
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -2042,7 +2042,7 @@ Rumble's Stayalive bracelet - 88~
|
||||||
~
|
~
|
||||||
eval actor %self.worn_by%
|
eval actor %self.worn_by%
|
||||||
if %actor%
|
if %actor%
|
||||||
%echo% @n
|
%send% %actor% @n
|
||||||
end
|
end
|
||||||
~
|
~
|
||||||
#196
|
#196
|
||||||
|
@ -2093,7 +2093,7 @@ if %actor.is_pc% && %actor.level% == 1
|
||||||
say Please fill out the application at: geocities.com/buildersacademy/
|
say Please fill out the application at: geocities.com/buildersacademy/
|
||||||
set TBA_mortal_greeting 1
|
set TBA_mortal_greeting 1
|
||||||
remote TBA_mortal_greeting %actor.id%
|
remote TBA_mortal_greeting %actor.id%
|
||||||
if !%actor.has_item(1233)%
|
if !%actor.has_item(1332)%
|
||||||
%load% obj 1332 %actor% inv
|
%load% obj 1332 %actor% inv
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -995,10 +995,10 @@ S
|
||||||
#347
|
#347
|
||||||
The Tower of the Magi~
|
The Tower of the Magi~
|
||||||
Everything is made from black stone, which at first glance appears to be
|
Everything is made from black stone, which at first glance appears to be
|
||||||
marble, but upon closer examination you can't see any grain within it. Looking
|
marble, but upon closer examination has no grain within it. Looking into the
|
||||||
into the stone you seem to lose yourself. Peering further and further into the
|
wood causes one to lose themselves as they peer further and further into the
|
||||||
blackness, you cannot tell whether it is a trick of the eye or some strange
|
blackness. It is impossible to tell if this is caused by magic or just a simple
|
||||||
magic at work here. To the east is the center of the Magis' Quarters.
|
trick of the eye. To the east is the center of the Magis' Quarters.
|
||||||
~
|
~
|
||||||
3 0 1
|
3 0 1
|
||||||
D0
|
D0
|
||||||
|
@ -1020,10 +1020,9 @@ D3
|
||||||
S
|
S
|
||||||
#348
|
#348
|
||||||
The Magis Quarter~
|
The Magis Quarter~
|
||||||
You stand within the heart of the Magi's Quarter. To the east you may enter
|
This is the heart of the Magis' Quarters. The Magis' Mansion where they can
|
||||||
the Magi's Mansion where the Master Magi can be found when they are not
|
be found when they are not guarding the orb is to the east. The pure black
|
||||||
guarding the Orb. To the west the pure black Tower of the Magi houses the
|
Tower of the Magi which houses the sacred orb that protects the city.
|
||||||
sacred Orb that protects the city.
|
|
||||||
~
|
~
|
||||||
3 0 1
|
3 0 1
|
||||||
D0
|
D0
|
||||||
|
@ -1046,9 +1045,9 @@ S
|
||||||
#349
|
#349
|
||||||
The Magi Mansion~
|
The Magi Mansion~
|
||||||
The walls are adorned in fancy draperies and expensive tapestries of every
|
The walls are adorned in fancy draperies and expensive tapestries of every
|
||||||
style and design imagineable. The Magi believe in a life of service to their
|
style and design imaginable. The Magi believe in a life of service to their
|
||||||
discipline, but they also believe that they should be able to live in comfort.
|
discipline, but they also believe that they should be able to live in comfort.
|
||||||
This building is one of the most elaborate within the entire city.
|
This building is one of the most elaborate within the entire city.
|
||||||
~
|
~
|
||||||
3 d 1
|
3 d 1
|
||||||
D0
|
D0
|
||||||
|
@ -1068,7 +1067,7 @@ S
|
||||||
A Study~
|
A Study~
|
||||||
Three low hanging lanterns positioned over the rooms large tables illuminate
|
Three low hanging lanterns positioned over the rooms large tables illuminate
|
||||||
the book-lined walls. There are several chairs at each table so as to allow
|
the book-lined walls. There are several chairs at each table so as to allow
|
||||||
those who wish to studey the fine art of magic to rest comfortably. Several
|
those who wish to study the fine art of magic to rest comfortably. Several
|
||||||
books lay open upon the tables. Occasional trickles of smoke waft in from under
|
books lay open upon the tables. Occasional trickles of smoke waft in from under
|
||||||
the doorway to the east.
|
the doorway to the east.
|
||||||
~
|
~
|
||||||
|
@ -1362,14 +1361,14 @@ starless sky tear savagely at your fragile body.
|
||||||
~
|
~
|
||||||
3 dj 0
|
3 dj 0
|
||||||
E
|
E
|
||||||
sky winds~
|
|
||||||
Cold winds plunge ceaselessly at you from the dark, cloudless sky.
|
|
||||||
~
|
|
||||||
E
|
|
||||||
floor~
|
floor~
|
||||||
The stone floor is the same shade of grey as the sky and is completely plain
|
The stone floor is the same shade of grey as the sky and is completely plain
|
||||||
and unscratched. It is probably too hard for anything to leave as much as a
|
and unscratched. It is probably too hard for anything to leave as much as a
|
||||||
scratch on it.
|
scratch on it.
|
||||||
~
|
~
|
||||||
|
E
|
||||||
|
sky winds~
|
||||||
|
Cold winds plunge ceaselessly at you from the dark, cloudless sky.
|
||||||
|
~
|
||||||
S
|
S
|
||||||
$~
|
$~
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -2095,6 +2095,9 @@ ACMD(do_commands)
|
||||||
if (!wizhelp && socials != (complete_cmd_info[i].command_pointer == do_action || complete_cmd_info[i].command_pointer == do_insult))
|
if (!wizhelp && socials != (complete_cmd_info[i].command_pointer == do_action || complete_cmd_info[i].command_pointer == do_insult))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (wizhelp && complete_cmd_info[i].command_pointer == do_action)
|
||||||
|
continue;
|
||||||
|
|
||||||
send_to_char(ch, "%-11s%s", complete_cmd_info[i].command, no++ % 7 == 0 ? "\r\n" : "");
|
send_to_char(ch, "%-11s%s", complete_cmd_info[i].command, no++ % 7 == 0 ? "\r\n" : "");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -344,7 +344,7 @@ ACMD(do_title)
|
||||||
send_to_char(ch, "Sorry, titles can't be longer than %d characters.\r\n", MAX_TITLE_LENGTH);
|
send_to_char(ch, "Sorry, titles can't be longer than %d characters.\r\n", MAX_TITLE_LENGTH);
|
||||||
else {
|
else {
|
||||||
set_title(ch, argument);
|
set_title(ch, argument);
|
||||||
send_to_char(ch, "Okay, you're now %s %s.\r\n", GET_NAME(ch), GET_TITLE(ch));
|
send_to_char(ch, "Okay, you're now %s%s%s.\r\n", GET_NAME(ch), *GET_TITLE(ch) ? " " : "", GET_TITLE(ch));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1010,6 +1010,8 @@ ACMD(do_file)
|
||||||
|
|
||||||
len = snprintf(buf, sizeof(buf), "Last %d lines of %s:\r\n", req_lines, fields[l].file);
|
len = snprintf(buf, sizeof(buf), "Last %d lines of %s:\r\n", req_lines, fields[l].file);
|
||||||
|
|
||||||
|
if (req_lines == num_lines)
|
||||||
|
len += snprintf(buf + len, sizeof(buf) - len, "Top of file.\r\n");
|
||||||
get_line(req_file,line);
|
get_line(req_file,line);
|
||||||
while (!feof(req_file)) {
|
while (!feof(req_file)) {
|
||||||
cur_line++;
|
cur_line++;
|
||||||
|
|
|
@ -2221,12 +2221,12 @@ ACMD(do_wiznet)
|
||||||
}
|
}
|
||||||
|
|
||||||
for (d = descriptor_list; d; d = d->next) {
|
for (d = descriptor_list; d; d = d->next) {
|
||||||
if ((STATE(d) == CON_PLAYING) && (GET_LEVEL(d->character) >= level) &&
|
if (IS_PLAYING(d) && (GET_LEVEL(d->character) >= level) &&
|
||||||
(!PRF_FLAGGED(d->character, PRF_NOWIZ))
|
(!PRF_FLAGGED(d->character, PRF_NOWIZ))
|
||||||
&& (d != ch->desc || !(PRF_FLAGGED(d->character, PRF_NOREPEAT)))) {
|
&& (d != ch->desc || !(PRF_FLAGGED(d->character, PRF_NOREPEAT)))) {
|
||||||
send_to_char(d->character, "%s", CCCYN(d->character, C_NRM));
|
send_to_char(d->character, "%s", CCCYN(d->character, C_NRM));
|
||||||
send_to_char(d->character, "%s", buf1);
|
send_to_char(d->character, "%s", buf1);
|
||||||
new_hist_messg(d, buf1);
|
new_hist_messg(d, buf1);
|
||||||
send_to_char(d->character, "%s", CCNRM(d->character, C_NRM));
|
send_to_char(d->character, "%s", CCNRM(d->character, C_NRM));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2744,7 +2744,7 @@ void act(const char *str, int hide_invisible, struct char_data *ch,
|
||||||
|
|
||||||
/* this is a hack as well - DG_NO_TRIG is 256 -- Welcor */
|
/* this is a hack as well - DG_NO_TRIG is 256 -- Welcor */
|
||||||
/* If the bit is set, unset dg_act_check, thus the ! below */
|
/* If the bit is set, unset dg_act_check, thus the ! below */
|
||||||
if ((dg_act_check = !IS_SET(type, DG_NO_TRIG)))
|
if (!(dg_act_check = !IS_SET(type, DG_NO_TRIG)))
|
||||||
REMOVE_BIT(type, DG_NO_TRIG);
|
REMOVE_BIT(type, DG_NO_TRIG);
|
||||||
|
|
||||||
/* And this too.. */
|
/* And this too.. */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue