Directory trunk/crossfire/lib/help/

Directory Created:
1999-04-02 14:10
Directory Deleted:
2006-09-19 02:24
Total Files:
Deleted Files:
Lines of Code:


Lines of Code

trunk/crossfire/lib/help/ Lines of Code


Author Changes Lines of Code Lines per Change
Totals 93 (100.0%) 163 (100.0%) 1.7
mwedel 47 (50.5%) 44 (27.0%) 0.9
uid39786 2 (2.2%) 36 (22.1%) 18.0
cvs 2 (2.2%) 31 (19.0%) 15.5
tchize 1 (1.1%) 15 (9.2%) 15.0
ryo_saeba 2 (2.2%) 12 (7.4%) 6.0
temitchell 6 (6.5%) 8 (4.9%) 1.3
cavesomething 2 (2.2%) 8 (4.9%) 4.0
akirschbaum 5 (5.4%) 6 (3.7%) 1.2
qal21 1 (1.1%) 2 (1.2%) 2.0
uid200 25 (26.9%) 1 (0.6%) 0.0

Most Recent Commits

mwedel 2006-09-19 02:24 Rev.: 4942

make branche directories, delete old trunk.

0 lines of code changed in 44 files:

  • trunk/crossfire/lib/help: apply (del), applymode (del), bind (del), bowmode (del), brace (del), cast (del), drop (del), dropall (del), golem (del), invoke (del), keys (del), killpets (del), listen (del), mark (del), melee (del), mode (del), motd (del), mouse (del), move (del), name (del), news (del), output (del), output-count (del), output-sync (del), party (del), peaceful (del), petmode (del), pickup (del), quests (del), quit (del), range (del), rename (del), rules (del), save (del), shout (del), showpets (del), sort_inventory (del), spells (del), statistics (del), take (del), traps (del), unbind (del), usekeys (del), whereabouts (del)
akirschbaum 2006-08-12 04:15 Rev.: 4776

Fix typo.

1 lines of code changed in 1 file:

  • trunk/crossfire/lib/help: unbind (+1 -1)
akirschbaum 2006-06-06 16:38 Rev.: 4636

Add commands rules and news to display the rules/news files.

3 lines of code changed in 3 files:

  • trunk/crossfire/lib/help: motd (new 1), news (new 1), rules (new 1)
cavesomething 2005-08-11 17:23 Rev.: 3535

Add help for showpets, and update help for killpets

8 lines of code changed in 2 files:

  • trunk/crossfire/lib/help: killpets (+5), showpets (new 3)
qal21 2005-07-28 02:23 Rev.: 3506

Fix bugs in arena petmode and clean up most of it's logic into it's own function. Document the arena petmode in the "help petmode" output.

2 lines of code changed in 1 file:

  • trunk/crossfire/lib/help: petmode (+2)
akirschbaum 2005-07-20 03:18 Rev.: 3486

lib/, lib/, lib/help/whereabouts: Add help for
whereabouts command.

2 lines of code changed in 1 file:

  • trunk/crossfire/lib/help: whereabouts (new 2)
ryo_saeba 2005-07-14 11:21 Rev.: 3428

Quest handling

8 lines of code changed in 1 file:

  • trunk/crossfire/lib/help: quests (new 8)
temitchell 2005-01-24 00:00 Rev.: 3052

Add in some help files for a few newer features. The 'mode' file
isn't explaining a command per/se but should have brief info on the
different player 'modes', prompting more detailed help requests on them.

0 lines of code changed in 4 files:

  • trunk/crossfire/lib/help: bowmode (new), listen (new), mode (new), petmode (new)
ryo_saeba 2004-09-12 07:53 Rev.: 2910

Various fixes for Win32, apply some tracker patches

4 lines of code changed in 1 file:

  • trunk/crossfire/lib/help: cast (+4)
tchize 2003-09-03 08:42 Rev.: 2301

Allow renaming items for users. Thanks to Nicolas Weeger (Ryo)

15 lines of code changed in 1 file:

  • trunk/crossfire/lib/help: rename (new 15)
temitchell 2003-08-26 19:00 Rev.: 2287

Added friendly_fire to attack.c, called from hit_player.

Will put a cap on maxdam that is a percentage (1-100%)
of damage (min 1)based on SET_FRIENDLY_FIRE value (in settings)when
players attack other players in peaceful mode. Changed who, statistics
commands to show this setting better and added a help file for peaceful.

It would be nice to have a indicator (even a toggle button?)in the
client for this as well.

8 lines of code changed in 1 file:

  • trunk/crossfire/lib/help: peaceful (new 8)
temitchell 2003-07-23 23:53 Rev.: 2268

- forgot to add these help files for shouting

0 lines of code changed in 1 file:

  • trunk/crossfire/lib/help: shout (new)
mwedel 2002-09-07 16:41 Rev.: 1704

include/sproto.h: rebuilt
lib/help/killpets: New file
lib/ Add help/killpets file.
server/c_misc.c: Add command_kill_pets().
server/commands.c: add killpets command which kills your pets.
server/monster.c: Add some code in check_enemy so that the enemy
has to be a monster/generator/player to be considered valid -
I was seeing things like arrows ending up as target enemies.
MSW 2002-09-07

6 lines of code changed in 1 file:

  • trunk/crossfire/lib/help: killpets (new 6)
mwedel 2002-07-14 23:57 Rev.: 1658

-- Start body commit notes --
Major commit. This adds body locations which is used for equipping items.
Equipment has information which body part it gets equipped to, and monsters
have information on how which body locations they can have.

As part of this work, I also did a lot of code cleanup.

To use this, you must use up to date archetypes - the ones included
in this commit are fine - just make sure you install them. If
you don't, players will not be able to equip items.

common/arch.c: Initialize body_used to be same as body_info for
archetypes - this way when monsters are created, they can
start equipping items right away.
common/exp.c: update new_exp() - some flags it checked for before no longer
exist or have new names.
common/info.c: describe_item() now takes second parameter - update
dump_abilities to use new calling convention.
common/item.c: Add table that describes the body_info locations and
their names. Add functions that calculate item power for objects
that don't have it set. Update display functions to show
item_power in items. Update describe_monster() - use_horn/wand/rod
merged into just use_range. Modify describe_item() to take second
paramater - who the item is being described for. Show item_power
in describe_item.
common/living.c: Pull out MAXLEVEL from being defined in this file -
define in in define.h, since other files use it. Add NUM_STATS
define - replace hard coded values of having just 7 stats with it.
Update change_abil to not display that the player has a new
attacktype when equipping a bow that has it - fix_player() ignores
the attacktype of the bow, so it was incorrect information.
fix_player(): Initialize player ranges structure to null -
will get filled in by code in function, updated to deal with
updating the body_used data from body_info in the objects.
Replace instances of last_heal with gen_sp_armour. Rearrange
some code to make function more readable.
common/loader.c, common/loader.l: Remove the variable_const information - no
longer needed and confusing for new people when adding in new object
elements. Add set_body_info() - parses the string from the load file and
sets the appropriate array element. Add check_loaded_object() - does
sanity checking for an object after finished loading - replaces need for
long processing directive in the actual rules by having seperate function.
Remove unused flags from load directives (apply_once, no_pretext,
can_apply), add some new ones (item_power, gen_sp_armour), update others
to can_use_range. Replace flag_links with simple array that contains the
name for each corresponding flag. Update get_ob_diff to not use the V_
values and just include the actual string name - all recent changes have
done this, just updated for old stuff. Update get_ob_diff to save new
values that have been added.
common/object.c: clear_object: Modify to use memset to clear
the structure to zero - this is less error prone than listing
all the specific values, and probably faster. Also, makes it
easier to add new elements - no need to update object.c in most
common/player.c: Remove get_player_ob routine - this is now merged
in with get_player_ob in server/player.c. Remove generate_ext_title -
not used.
common/readable.c: Update to pass second argument to describe_item.
common/treasure.c: Update to calculate item_power of generated items.
Clean up a lot of code formatting. Update add_abilities
to use gen_sp_armour values, not last heal (note, it appears
the last_heal values weren't being used before). Update
calls to describe item to take second parameter.
doc/Developers/objects: Update will_apply notes, add note about
item_power, body location.
include/define.h: Comment out unused flags (flag_apply_once, flag_paralyzed,
flag_no_pretext, flag_ready_rod, flag_read_horn). Add flag_use_shield.
rename flag_use_wand to flag_use_range. rename flag_ready_wand to
flag_ready_range. Add flag_ready_scroll. Update ARMOUR_SPELLS access
macro. Add AP_PRINT flag to apply flags. Add CAN_APPLY_.. return types
for can_apply_object function.
include/includes.h: add strftime, mktime checks to this file.
include/libproto.h: rebuilt.
include/living.h: Add NUM_STATS define, update extern declarations
to use it for sizing.
include/loader.h: remove the V_.. info and xbm_.. externs that were not
include/newserver.h: Remove ext_tile information.
include/object.h: Add Body_Locations structure, NUM_BODY_LOCATIONS define.
Add definitions for WILL_APPLY values. Clean up object structure -
formatting is now consistent, ordering of values groups values
together more logically. Update all types to use the int8/int16/int32
types. Several unused fields removed.
include/player.h: Update rangetype enum. Add unapplymode enum.
Clean up player structure - type updates, unused fields removed,
formatting fixed up.
include/spells.h: remove range_name extern. Update SpellTypeFrom
field to combine wand/rod/horn into spellMisc - none of the
spell casting code was differentiating these.
include/sproto.h: rebuilt.
lib/ Add new help files (applymode, bind, brace)
lib/archetypes: rebuilt for body_info, gen_sp_armour, item_power,
can_use_shield information.
lib/artifacts: updated for item_poer and gen_sp_armour changes.
lib/treasures: remove unused _force for player treasure.
plugin/plugin_python.c: Change FLAG_USE_WAND to FLAG_USE_RANGE.
server/apply.c: Move stftime, mktime to include/includes.h. Remove
draw_find() - one line function can just as easly be in the
code itself. Update calls to long_desc to pass second parameter.
move gravestone_text() to player.c file. Add direction parameter to
apply_scroll() - in this way monsters can use it properly.
Remove dead code. Update apply_special function. Add
unapply_special(), get_item_from_body_location(), unapply_for_ob(),
and can_apply_object() functions.
server/attack.c: Remove SET_FLAG(op, FLAG_PARALYZED) line - no code
was ever checking status of FLAG_PARALYZED.
server/c_misc.c: add command_body() which dumps body information for
player. Update who as idle element in player structure removed -
was not being used by anything. Add command_applymode() to
set players prefered unapply method. Remove calls to unlock_player()
in various functions - unlock_player() has not done anything
meaningful for a while.
server/c_object.c: Modify long_desc to take a second parameter
which is who is examing the object. this is needed so that we
can pass it down to some of the lower level functions.
Update calls to describe_item to pass this second parameter.
remove FLAG_NO_PRETEXT code - no archetyps were using it. When
examining objects, also tell player where to put them on.
server/c_range.c: Update legal_range() - we now store the object that
is responsible for a range in the player object, so code is
much simpler. Update change_spell() to not destroy golem
just by readying another spell - we now let players regain control
of golems after switching to another range. Update change_spell
to use item name of object for range description.
server/c_wiz.c: remove reference to count_left from player object -
field removed from structure.
server/commands.c: add new commands (applymode, body) to command dispatch
server/login.c: Remove unlock_player() and lock_player() and calls to it -
current checking of names at login should be sufficient to
prevent duplicates. Remove dead code from check_name. Update
load/save code for unapply mode value. Add set_flag(op,
FLAG_USE_SHIELD) if player is allowed to use armor - needed since
flag_use_shield is really a class feature and so is not automatically
updated for old player files.
server/main.c: Remove references to count_left. memset marker object to
NULL - seems to increase stability on metalforge server.
server/monster.c: Many updates related to the body info - monsters follow some
rules as players. Add monster_should_cast_spell function - monsters will
use this for all spellcasting related actions (abilities, scrolls, wands,
etc). Update for merged rod/horn/wand ranges. Update bow use by monsters
- they don't actually need to equip it to fire - this way we don't need to
constantly swap the monsters weapons between the bow and melee item. Use
fire_bow from player.c for most of the work. Modify scroll usage -
monster will use it when player is near, not when it first picks it up.
Add FLAG_READY_SCROLL to denote the monster has a scroll to use. Also,
monster now casts it in appropriate direciton. Merge the
monster_use_wand/rod/horn into monster_use_range. Modify
check_good_weapon and check_good_armour to just look at the stats of the
two items without needing the monster to apply it first.
server/player.c: Print motd in green so it is more noticable. Update
get_player function to do work it did before as well as that of
get_player_ob. Have get_player take a parameter which is the object of
the player if he has one. Modify to use memset to clear the player
structure - more sure fire than explicitly listing values to initialize.
Remove calls to unlock_player. Modify fire_bow so that monsters can also
use the function. Add fire_misc_object() to fire_wand/rod/horn - removes
code from fire(). Add gravesetone_text() to this file.
server/shop.c: Update to pass second parameter to describe_item().
server/skill_util.c: Update check_skill_to_fire since there are fewer
rangetypes now. change range_scroll name to range_golem, as that is
a bit more accurate for what it actually does. Modify show_skills()
to show player his item power and total of items he has equipped.
server/skills.c: Add second paramater to long_desc, remove references to
server/spell_effect.c: Add second paramater to long_desc, remove references to
count_left. Update range_scroll to range_golem
server/spell_util.c: remove references to count_left. Update messages
if player trying to cast where he can't with new range names.
socket/info.c: Update range information and how we display what it is -
we will use the object name of the range if available. Remove
reference last_known_spell, last_shoot, last_spell, last_value
player structure fields.
socket/init.c: Remove ext_title information.
socket/request.c: Add element for life_stealing in the resistance array.
Remove references to idle, count_left in player structure. remove
ext2 title information.
MSW 2002-07-14
-- End body commit notes --

38 lines of code changed in 2 files:

  • trunk/crossfire/lib/help: applymode (new 28), brace (new 10)
uid39786 2002-07-05 17:22 Rev.: 1646

common/arch.c: Add 'unlocked' match for item_matched_string.
lib/help/drop, lib/help/dropall: Help files for these commands.
lib/ Update to include help commands above.
server/spell_effect.c: Fix formatting of summon_pet() function. Modified so
that it no longers sucks player spellpoints when casting it via scroll -
scrolls should not cast the player spellpoints. No idea why that code was
there - in fact, casting off a scroll used more sp than casting from
memory. Modify cast_cause_disease() function so that if the passed
direction is 0, we refer to the facing and cast in that direction - this
means spells of cause disease now work. Also perform some minor formatting
changes in the function.
TODO: Add not about inscription.
MSW 2002-07-05

36 lines of code changed in 2 files:

  • trunk/crossfire/lib/help: drop (new 21), dropall (new 15)
cvs 2000-04-22 02:13 Rev.: 229

Update formatting to look better on standard width display - MSW 4/21/2000

10 lines of code changed in 1 file:

  • trunk/crossfire/lib/help: usekeys (+10 -9)
cvs 2000-04-22 01:06 Rev.: 226

Add help/usekeys to distribution and to get used.
Mark Wedel 4/21/2000

21 lines of code changed in 1 file:

  • trunk/crossfire/lib/help: usekeys (new 21)
uid200 1999-04-02 14:10 Rev.: 5

Initial revision

1 lines of code changed in 25 files:

  • trunk/crossfire/lib/help: apply (new), bind (new), cast (new), golem (new), invoke (new), keys (new), mark (new), melee (new), mouse (new), move (new), name (new), output (new), output-count (new), output-sync (new), party (new), pickup (new), quit (new), range (new), save (new), sort_inventory (new), spells (new), statistics (new), take (new), traps (new), unbind (new 1)
Generated by StatSVN 0.7.0