ScryMUD Changelog
- 2007-07-21 03:33 eroper
- [r960] mud/MakeInclude.bh Updated version to 2.1.13
- 2007-06-29 02:24 eroper
- [r959] mud/grrmud/server/Makefile, mud/grrmud/server/daemonize.cc, mud/grrmud/server/daemonize.h, mud/grrmud/server/grrmud.cc The daemonizing code has been removed from grrmud.cc and has been broken off
into a daemonize() function in daemonize.cc/.h.
The original implementation did not properly ensure that file descriptors were
closed, nor did it reopen stdin, stdout and stderr as /dev/null. Failure in
doing so could have resulted in erroneous output to wherever those
file-descriptors ended up pointing. There are assumptions made in many libc
implementations about descriptors 0,1 and 2.
The new implementation also includes a second fork, after the call to
setsid(). This should ensure that opening a terminal-device at a later time
(not something I'd expect to happen anyway) will not cause ScryMUD to
reacquire a new controlling tty. This behavior is present in SysV
implementations.
Additionally daemonize() will attach to syslog services with the prefix
"gmud".
- 2007-06-28 07:46 eroper
- [r958] mud/grrmud/server/battle.cc, mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h Battle alignment changes now happen through the newly added
short critter::adjAlignment(short adjAmount) which caps at +/- 1000 and
returns the value of the modification which was actually applied to the stat.
i.e. if the critter is already -999 and is adjAlignment() is passed -10, the
critters alignment will be set to -1000 and -1 will be returned.
critter::getAlignment() now returns a short, consistent with the actual
storage data-type.
- 2007-06-24 23:26 eroper
- [r957] mud/grrmud/server/const.cc Removed the little blurb about passwords echoing during login and
new-character creation. If the players client/terminal supports telnet echo
negotiation, it will not echo. If the players client doesn't support this,
they most likely already know it.
- 2007-06-24 23:22 eroper
- [r956] mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h critter::getAlignment() now caps +/- 1000
- 2007-06-24 23:04 eroper
- [r955] mud/grrmud/server/battle.cc Divine retribution will now deal a maximum of 40% damage received.
- 2007-06-23 11:04 eroper
- [r954] mud/grrmud/server/misc.cc At level 40 necromancer regen code was causing a divide by zero.
breakeven-1000 == 0.
- 2007-06-17 21:45 eroper
- [r953] mud/grrmud/World/SKILLS_SPELLS, mud/grrmud/World/SS_DESCS, mud/grrmud/server/Makefile, mud/grrmud/server/SkillSpell.cc, mud/grrmud/server/SkillSpell.h, mud/grrmud/server/battle.cc, mud/grrmud/server/cleric.cc, mud/grrmud/server/cleric.h, mud/grrmud/server/commands.cc, mud/grrmud/server/const.h, mud/grrmud/server/grrmud.cc, mud/grrmud/server/spells.cc Added Dys's "divine retribution" with a few changes.
* Spell messages now refer to a crackling aura rather than a dark light.
* The effect fires, regardless of whether the aggressor has the same effect.
* The damage calculations have been redone. (examples follow)
- At 100% learned, +/- 1000 alignment, 100% of the aggressors damage is
returned.
- At 100% learned, +/- 500 alignment, 50% of the agressors damage is
returned.
- At 50% learned, +/- 1000 alignment, 50% of the agressors damage is
returned.
* The damage dealt is electric damage, rather than normal melee damage.
TODO: Should probably add combat messages so that folks know the thing is
doing something.
- 2007-06-17 19:36 gingon
- [r952] mud/grrmud/server/social2.cc bug fix for curl. %s != %S
- 2007-06-17 19:20 eroper
- [r951] mud/grrmud/server/battle.cc, mud/grrmud/server/command5.cc, mud/grrmud/server/critter.cc critter::getWeapRange() no longer adds in critter::getDAM() twice.
This commit includes several patches as submitted by Dys. The wiki page about
them is located at:
http://wiki.scrymud.net/Dys%27s_Patches_and_Things%22_--_Modifications_to_existing_Server_Code
Notes from these patches follow:
Patch: Alignment fix. (If you are wielding an item that adjusts your alignment
past the +/- bounds, the patch will not reset your alignment to the +/- 1000
(eq included).
command5.cc: do_shoot(). Modifications to archery.
1) uses getWeapDam, instead of calculating the damage in the do_shoot
function. Bow skill now applies (didn't before).
2) makes a check vs your camouflage skill %, if succeeds, doesn't show your
name in the 'You've been shot by...' message to the vict.
3) Arrows that hit the vict are now inserted into their inventory, making
retrieval of arrows possible.
- 2007-06-16 18:34 gingon
- [r950] mud/grrmud/server/gen_cmds.spec, mud/grrmud/server/social2.cc, mud/grrmud/server/social2.h New socials: curl, gasp, snuggle and zombie
- 2007-06-12 03:22 eroper
- [r949] mud/grrmud/World/SKILLS_SPELLS, mud/grrmud/World/SS_DESCS, mud/grrmud/server/SkillSpell.cc, mud/grrmud/server/battle.cc, mud/grrmud/server/command2.cc, mud/grrmud/server/commands.cc, mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h, mud/grrmud/server/necromancer.cc, mud/grrmud/server/necromancer.h, mud/grrmud/server/spells.cc, mud/grrmud/server/spells2.cc critter::getDamGivMod() was added.
critter::getDamRecMod() and critter::getDamGivMod() now take an
include_modifiers bool. It is important to note that unlike other similar
functions, these default to true rather than false. The reasoning behind this
is that the others were in use prior to them considering things for return
value modification and getDamRecMod() was used only in very few locations,
making it easy to verify the safety of the change.
I haven't decided whether or not to invert the logic of the others, or simply
to not have a default.
The spell "ritual of power" has been added.
- 2007-06-11 06:01 eroper
- [r948] mud/grrmud/server/pfile_maint.cc gmud --resave-pfiles is a bit more verbose, easier to read, and only teaches
tammuz to those that don't already know it now.
- 2007-06-11 05:32 eroper
- [r947] mud/grrmud/server/necromancer.cc, mud/grrmud/server/pfile_maint.cc Fixed a spell message typo.
A while back the "tammuz" spell got set to skill #0 on the production port.
Turns out that a lot of ScryMUD code isn't happy with this (though some of it
doesn't care). As a result it, among other things, broke a lot of skill/spell
help. The pfile maintenance will now check and see if players know skill #0,
removing it if they do. It will then retrain any remorts with the new,
appropriate skill #.
- 2007-06-11 05:14 eroper
- [r946] mud/grrmud/World/SKILLS_SPELLS Lots of code really didn't like the fact that tammuz was skill #0
- 2007-06-11 05:14 eroper
- [r945] mud/grrmud/World/SS_DESCS Fixed some formatting errors that were breaking the parser.
- 2007-06-11 04:33 eroper
- [r944] mud/grrmud/World/SKILLS_SPELLS, mud/grrmud/World/SS_DESCS, mud/grrmud/server/SkillSpell.cc, mud/grrmud/server/command2.cc, mud/grrmud/server/command3.cc, mud/grrmud/server/commands.cc, mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h, mud/grrmud/server/login.cc, mud/grrmud/server/misc.cc, mud/grrmud/server/necromancer.cc, mud/grrmud/server/necromancer.h, mud/grrmud/server/spells.cc, mud/lib/containers/rb_tree.cc, mud/lib/containers/rb_tree.h Added critter::[getManaRegen(), getHealthRegen(), getMovRegen()]
Added spells: blood ritual, spirit ritual, stamina ritual
- 2007-06-11 02:12 eroper
- [r943] mud/grrmud/server/Makefile, mud/grrmud/server/batl_prc.cc, mud/grrmud/server/battle.cc, mud/grrmud/server/command2.cc, mud/grrmud/server/command3.cc, mud/grrmud/server/command4.cc, mud/grrmud/server/commands.cc, mud/grrmud/server/const.h, mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h, mud/grrmud/server/ez_spll.cc, mud/grrmud/server/grrmud.cc, mud/grrmud/server/login.cc, mud/grrmud/server/misc.cc, mud/grrmud/server/necromancer.cc, mud/grrmud/server/necromancer.h, mud/grrmud/server/olc2.cc, mud/grrmud/server/pet_spll.cc, mud/grrmud/server/pet_spll.h, mud/grrmud/server/spec_prc.cc, mud/grrmud/server/spells.cc, mud/grrmud/server/spells.h, mud/grrmud/server/spells2.cc, mud/grrmud/server/spells2.h, mud/grrmud/server/trv_spll.cc Removed the #define's for HP_MAX, MA_MAX, MV_MAX. {get,set,adj}MovMax(),
{get,set,adj}HP_MAX() and {get,set,adj}ManaMax() are now called instead.
Split several necromancer skills off into their own files: necromancer.{cc,h}
setHP, adjHP, setMana, adjMana, setMov, adjMov, setHP_MAX, adjHP_MAX,
setManaMax, adjManaMax, setMovMax, adjMovMax now return the new value that was
set. (this is because you can request a change that gets capped)
Added critter::lost_concentration(int spell_num)
Added rituals, blood ritual, spirit ritual, stamina ritual, and ritual of
power to the skills enum. These are currently being implemented. I've started
on cast_blood_ritual but I got sidetracked making all the other changes. I'm
committing now as much been touched.
get_mana_cost now treats the supplied critter as const.
- 2007-06-10 22:15 eroper
- [r942] mud/grrmud/server/grrmud.cc Added a missing paren around the contact information displayed when the MUD
runs.
- 2007-06-10 21:48 eroper
- [r941] mud/grrmud/help_filter/idx_bldr.C Fixed a bug where (depending on position in the list) many commands were not
showing up in topics_1 and IMM_wizhelp_1. Increased column width to 18 so as
to accommodate some of the longer command names.
- 2007-06-10 21:32 eroper
- [r940] mud/grrmud/Help/IMM_verifydoors_1 Added help for the "verifydoors" command.
- 2007-06-10 21:06 eroper
- [r939] mud/grrmud/motd Added a sample MOTD file so that folks know that the functionality exists.
- 2007-06-10 20:49 eroper
- [r938] mud/grrmud/startup Updated the startup-wrapper-script to be easier to configure.
- 2007-06-10 18:56 eroper
- [r937] mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h The critter::canSee() family has been declared const.
- 2007-06-10 13:46 gingon
- [r936] mud/grrmud/server/command2.cc, mud/grrmud/server/command5.cc, mud/grrmud/server/commands.cc, mud/grrmud/server/critter.cc, mud/grrmud/server/misc.cc, mud/grrmud/server/misc2.cc, mud/grrmud/server/misc2.h, mud/grrmud/server/weather.cc, mud/grrmud/server/weather.h Last of the major weather changes. weights updated. Added small chance of lights being blown out by wind on weather change and movement. The camping skill now reduces the negative regen effects of weather. High temperatures will cause you to become thirsty faster. Extremely high winds may blow flying creatures off course. Blizzards and sandstorms affect visibility. Disabled light snow, heavy snow and blizzard from being set via setweather command for safety reasons.
- 2007-06-10 09:58 eroper
- [r935] mud/grrmud/server/BugEntry.cc, mud/grrmud/server/BugEntry.h, mud/grrmud/server/BuildInfo.h, mud/grrmud/server/Filters.cc, mud/grrmud/server/Filters.h, mud/grrmud/server/MudStats.cc, mud/grrmud/server/MudStats.h, mud/grrmud/server/SkillSpell.cc, mud/grrmud/server/SkillSpell.h, mud/grrmud/server/ar_skll.cc, mud/grrmud/server/ar_skll.h, mud/grrmud/server/audit.cc, mud/grrmud/server/audit.h, mud/grrmud/server/batl_prc.cc, mud/grrmud/server/batl_prc.h, mud/grrmud/server/battle.cc, mud/grrmud/server/battle.h, mud/grrmud/server/classes.cc, mud/grrmud/server/classes.h, mud/grrmud/server/code_gen.cc, mud/grrmud/server/code_gen.h, mud/grrmud/server/command2.cc, mud/grrmud/server/command2.h, mud/grrmud/server/command3.cc, mud/grrmud/server/command3.h, mud/grrmud/server/command4.cc, mud/grrmud/server/command4.h, mud/grrmud/server/command5.cc, mud/grrmud/server/command5.h, mud/grrmud/server/commands.cc, mud/grrmud/server/commands.h, mud/grrmud/server/const.cc, mud/grrmud/server/const.h, mud/grrmud/server/cr_skll.cc, mud/grrmud/server/cr_skll.h, mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h, mud/grrmud/server/dam_skll.cc, mud/grrmud/server/dam_skll.h, mud/grrmud/server/dam_spll.cc, mud/grrmud/server/dam_spll.h, mud/grrmud/server/door.cc, mud/grrmud/server/door.h, mud/grrmud/server/ez_skll.cc, mud/grrmud/server/ez_skll.h, mud/grrmud/server/ez_spll.cc, mud/grrmud/server/ez_spll.h, mud/grrmud/server/grrmud.cc, mud/grrmud/server/grrmud.h, mud/grrmud/server/load_wld.cc, mud/grrmud/server/load_wld.h, mud/grrmud/server/login.cc, mud/grrmud/server/login.h, mud/grrmud/server/misc.cc, mud/grrmud/server/misc.h, mud/grrmud/server/misc2.cc, mud/grrmud/server/misc2.h, mud/grrmud/server/obj_cmds.cc, mud/grrmud/server/obj_cmds.h, mud/grrmud/server/obj_parse.cc, mud/grrmud/server/obj_parse.h, mud/grrmud/server/object.cc, mud/grrmud/server/object.h, mud/grrmud/server/olc.cc, mud/grrmud/server/olc.h, mud/grrmud/server/olc2.cc, mud/grrmud/server/olc2.h, mud/grrmud/server/parse.cc, mud/grrmud/server/parse.h, mud/grrmud/server/pet_spll.cc, mud/grrmud/server/pet_spll.h, mud/grrmud/server/rm_cmds.cc, mud/grrmud/server/rm_cmds.h, mud/grrmud/server/rm_parse.cc, mud/grrmud/server/rm_parse.h, mud/grrmud/server/rm_spll.cc, mud/grrmud/server/rm_spll.h, mud/grrmud/server/room.cc, mud/grrmud/server/room.h, mud/grrmud/server/script.cc, mud/grrmud/server/script.h, mud/grrmud/server/skills.cc, mud/grrmud/server/skills.h, mud/grrmud/server/social2.cc, mud/grrmud/server/social2.h, mud/grrmud/server/socials.cc, mud/grrmud/server/socials.h, mud/grrmud/server/spec_prc.cc, mud/grrmud/server/spec_prc.h, mud/grrmud/server/spells.cc, mud/grrmud/server/spells.h, mud/grrmud/server/spells2.cc, mud/grrmud/server/spells2.h, mud/grrmud/server/tmp_socials.cc, mud/grrmud/server/trv_spll.cc, mud/grrmud/server/trv_spll.h, mud/grrmud/server/vehicle.cc, mud/grrmud/server/vehicle.h, mud/grrmud/server/wep_skll.cc, mud/grrmud/server/wep_skll.h, mud/grrmud/server/zone.cc, mud/grrmud/server/zone.h, mud/lib/bitfield/bitfield.cc, mud/lib/bitfield/bitfield.h, mud/lib/bitfield/btester.cc, mud/lib/containers/Heap.h, mud/lib/containers/KVPair.h, mud/lib/containers/ProtectedList.h, mud/lib/containers/PtrArray.cc, mud/lib/containers/PtrArray.h, mud/lib/containers/list2.h, mud/lib/containers/rb_tree.cc, mud/lib/containers/rb_tree.h, mud/lib/containers/tree2.h, mud/lib/log/LogStream.h, mud/lib/log/test1.cc, mud/lib/string2/string2.cc, mud/lib/string2/string2.h, mud/lib/string2/tester.cc Contact information in the source headers is now up-to-date.
- 2007-06-10 09:33 eroper
- [r934] mud/grrmud/World/SKILLS_SPELLS Not really sure what has changed here, but this copy matches what we're
running on the production port.
- 2007-06-10 09:18 eroper
- [r933] mud/MakeInclude.bh As I am notoriously bad at remembering to update the version number when
making releases, I have done so now (to reflect 2.1.12).
- 2007-06-10 09:10 eroper
- [r932] mud/grrmud/server/critter.cc Eep, please be careful and don't change the default behavior of things without
making sure it won't break things. (in ref. to critter::getDEX() changing from
default of not including modifiers)
- 2007-06-10 09:06 eroper
- [r931] tools/python/html_help.py, tools/python/html_help_includes/foot.html, tools/python/html_help_includes/head.html Header/Footer updated to reflect the currect state-of-the-website. Paths
updated to use absolute (vs. relative) paths where necessary to prevent broken
links.
- 2007-06-10 08:00 gingon
- [r930] mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h, mud/grrmud/server/misc2.h, mud/grrmud/server/spells2.cc, mud/grrmud/server/weather.cc, mud/grrmud/server/weather.h more bugs fixes and adjusted weights
- 2007-06-10 07:40 eroper
- [r929] mud/grrmud/server/gen_cmds.spec, mud/grrmud/server/grrmud.cc, mud/grrmud/server/misc2.cc, mud/grrmud/server/object.cc Fixed a typo that accidently made it into grrmud.cc. Updated gen_cmds.spec to
include return values for the new weather commands. This is necessary in order
to keep the compiler quiet about functions that claim to return values, but
don't. Explict downcasting from double->int and float->int in order to make it
explicit that this is intentional, and silence compiler warnings.
- 2007-06-09 17:24 gingon
- [r928] mud/grrmud/server/weather.cc Added messages indicating weather change on tick. added day/night temperature weights. Adjusted weather weights. Fixed weather event messages.
- 2007-06-09 05:15 gingon
- [r927] mud/grrmud/server/weather.cc added additional weights for temperature. fixed bugs in temperature code. formatted weight tables to be easier to read.
- 2007-06-08 18:52 gingon
- [r926] mud/grrmud/server/Makefile, mud/grrmud/server/command5.cc, mud/grrmud/server/command5.h, mud/grrmud/server/commands.cc, mud/grrmud/server/const.cc, mud/grrmud/server/const.h, mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h, mud/grrmud/server/gen_cmds.spec, mud/grrmud/server/grrmud.cc, mud/grrmud/server/misc.cc, mud/grrmud/server/misc.h, mud/grrmud/server/misc2.cc, mud/grrmud/server/misc2.h, mud/grrmud/server/object.cc, mud/grrmud/server/object.h, mud/grrmud/server/room.cc, mud/grrmud/server/room.h, mud/grrmud/server/weather.cc, mud/grrmud/server/weather.h Support for weather added. includes 13 weather types, 8 temperatures, 5 wind speeds and 9 climate types! Chance of stuff happening under certain weather conditions. Uses roomflags 38 for setting weather on, and flags 39-46 for setting climates.special thanks to Ed and Loki for spending hours pouring over strange code with me with this.
- 2007-06-07 15:45 kaj
- [r924] mud/grrmud/Help/IMM_add_rem_names_1 Changed add_mname help to refer to clear_mname, not rem_mname (which doesn't exist/isn't available)
- 2007-06-07 05:46 eroper
- [r923] mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h Remorting someone into a Darkling will now turn on their passive infravision.
- 2007-06-06 06:21 eroper
- [r922] mud/grrmud/server/battle.cc, mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h, mud/grrmud/server/misc2.cc, mud/grrmud/server/misc2.h, mud/grrmud/server/skills.cc, mud/grrmud/server/spells.cc * Marked some accessors in critters as const.
* The logic skill no longer reduces charisma, and instead raises
intelligence.
* Modified several uses of raw stats to call the appropriate accessors with
the modifiers flag. One very noticeable result will be that max weight will
increase from skill granted strength bonuses.
- 2007-05-16 18:39 eroper
- [r918] mud/grrmud/server/login.cc Dys caught the fact that during character creation, you can type in a class
"name" as opposed to its index number. "thief" resulted in rolling a cleric
instead of a thief. Interestingly enough, this code doesn't look as though it
has been maintained in a while as there isn't even a "cleric" comparison.
Thanks Dys!
- 2007-03-07 00:23 eroper
- [r917] mud/grrmud/server/Makefile, mud/grrmud/server/ServerConfig.cc, mud/grrmud/server/ServerConfig.h, mud/grrmud/server/classes.cc, mud/grrmud/server/grrmud.cc, mud/grrmud/server/pfile_maint.cc, mud/grrmud/server/pfile_maint.h Added a "--resave-pfiles" command line option to gmud. This will cause the
server to load all Pfiles, update them to the current Pfile version and write
them back to disk. It will also perform any sanitization as defined in
pfile_maint.cc (such as resetting bhd). After completing this operation, the
server exits. This will allow us to remove the functionality currently
embedded in login.cc. This should be run whenever a version upgrade occurs,
and should be safe to run even when no upgrade has occured.
- 2007-03-06 04:52 eroper
- [r916] mud/grrmud/server/battle.cc Removed some debugging code that was accidently left in place.
- 2007-03-05 00:28 eroper
- [r915] mud/grrmud/server/misc2.cc Added a missing ";"
- 2007-03-05 00:06 eroper
- [r914] mud/grrmud/server/battle.cc, mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h, mud/grrmud/server/misc2.cc Added critter::isUsingShield(), which should be quite self-explanatory.
Added critter::combatBonusVal()
Historically, combat went something like this.
1. The agressor rolled to hit, and maybe missed.
2. The defender rolled to dodge.
3. The defender rolled to parry/block.
This not only over-complicated things, but it meant that an agressor had to
roll against 3 saving rolls in order to hit something.
Dexterity was by and large the largest determining factor in all of these
rolls.
Today it's more like this:
Both the agressor and defender have bonuses returned from
critter::combatBonusVal(). This method takes into account passive skills that
are applied, some to the defender, some to the attacker, and some are commonly
applied to both. Additionally the critters levels, dexterity, and position are
taken into account by this method.
At present the list of modifying skills is as follows:
Common: Quickfoot, Martial Arts,
Aggressor: Weapon Mastery, Fencing (if it's a sword), Sword, Dagger, Mace,
Whip, Bow,
Defender: Dodge, Block, Parry
Block is now being treated as a shield skill. It is not considered if the
defender is not wearing a shield. Additionally, defenders who are both
dual-wielding and wearing a shield lose any off-hand parry bonus they may have
had. They still retain a parry bonus from their main-handed weapon (if they
have one)
The aggressors +HIT value and the defenders AC are taken into account in
battle.cc, not currently in critter::combatBonusVal(). They are both applied
once, when combatBonusBal() is called.
At this point a single roll is done.
If d(1,50+aggr_bonuses) > d(1,50+vict_bonuses) the aggressor has sucessfully
struck the defender.
If the defender suceeds in defending a weighted random roll (based on skill
%'s) determines which method was used to defend and the corresponding combat
messages are issued. This isn't terribly simulation-like, but it does make
things easier to keep track of, simplifies calculations and to be honest the
players can't really tell what's going on behind the scenes anyway.
This system should prevent players from seeing messages claiming they dodged
when they don't know the dodge skill.
Barehanded damage is now calculated with critter::getWeapDAM() just as weapon
damage is. This method takes into account player skills, +DAM bonuses and
penalizes the off-hand based on the callers dual wield proficiency.
Victim positional damage modifiers have reduced from 1.0, 1.5, 2.0, 3.0 and
4.0 to 1.0, 1.25, 1.50, 1.75 and 2.0 respectively.
battle.cc's exact_raw_damage no longer applies the aggressors Earthmeld skill
to the victim. The victims earthmeld skill is no properly consulted.
Additionally, dual wield will now fire every combat round. Off-hand damage is
severely reduced and can be increased (though not to 100% damage) by improving
ones knowledge of the "Dual wield" skill. The best you'll get is 70% of normal
damage with your off-hand.
Previously when get_percent_lrnd() was called on a MOB, 70 + the MOB's level
was returned. Since we have MOBs in the game > level 30, I've changed this to
return 2.5 * the MOB's level. I didn't bother _really_ fixing this (capping
it) as I've been working on allowing builders to "train" MOB's, allowing them
to custom design the MOB's proficiency levels.
- 2007-03-04 09:08 eroper
- [r913] mud/grrmud/server/command2.cc Added the players alignment to the output of "score".
- 2007-03-04 03:14 eroper
- [r912] mud/grrmud/server/pet_spll.cc Fixes: MUD-331
Casting create greater golem was erroneously using the mana cost of create
golem for the mana check.
- 2007-03-04 02:42 eroper
- [r911] mud/grrmud/server/command2.cc Fixed a problem where the score command was not properly displaying the names
of those you were fighting/following/etc.
- 2007-03-04 02:15 eroper
- [r910] mud/grrmud/server/commands.cc Traveling no longer increments the PC's pause counter by the door distances
traveled. While the original intent (I assume) was to simulate the relative
distance traveled, it is perceived to be random network/server lag by players.
The players movement points are still deducted appropriately.
- 2007-03-04 00:37 eroper
- [r909] mud/grrmud/server/command2.cc, mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h Reorganized the "score" output a bit, trying to condense it some. Added
main-hand and off-hand damage ranges to the output.
Added critter::getWeapRange() to facilitate the minimum and maximum damage
ranges, taking into account +DAM, weapon skill, etc.
- 2007-03-03 22:11 eroper
- [r908] mud/grrmud/server/command2.cc, mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h The "score" command has been completely gutted. No longer will it assault the
viewer with a rainbow assortment of colors. The score now includes the players
stats (dex,str,con...)
Added: critter::getCON() and critter::getINT()
- 2007-03-03 07:51 eroper
- [r907] mud/grrmud/Help/classes_1, mud/grrmud/Help/prompt_1 Fixes MUD-405, MUD-265 (helpfile typos)
- 2007-03-03 07:23 eroper
- [r906] mud/grrmud/server/telnet_handler.cc Added "delete" backspace handling in normal text mode. Previously it was
erroneously only implemented while handling the semi-colon state.
We now handle lone '\n' characters in TEXT mode as Hegemon sends these solo
(w/o a preceeding \r) and not doing this prevents Hegemon users from logging
in.
- 2007-03-03 06:58 eroper
- [r905] mud/grrmud/server/command2.cc In response to: MUD-406
Both IMMs, and Players detecting hidden, will now see hidden exits listed in
their auto-exit list.
In addition, closed exits are no longer postfixed with (closed) as that was a
bit verbose. The exit name is now simply enclosed in parens.
Hidden exits are prefixed with a * which is located inside the parens of a
closed and hidden exit.
For example: (*W) E N NW
Where west is both hidden and closed.
Note: I have not yet changed the "exits" command (the much more verbose, and
non-automatic version of auto-exits) to behave this way.
- 2007-03-03 04:11 eroper
- [r904] mud/grrmud/server/telnet_handler.cc Removed some "smarts" from TelnetHandler::set_echo() as we were trying to be
too smart and it wasn't working very well with client auto-login scripts. This
should resolve the issue of players using login scripts getting stuck without
local echo.
- 2007-03-02 08:04 eroper
- [r903] mud/grrmud/server/telnet_handler.cc, mud/grrmud/server/telnet_handler.h Small functional changes to the telnet handler.
Null bytes received in text streams (not telnet options / negotiations are now
ignored.
Added a ST_CR state; used when we receive a carriage-return in a text stream.
The rfc says we may get CR-NULL or CR-LF. CR-LF is to be treated as a single
unit (we now do so) and CR-NULL (for us) means the same thing. At least Linux
telnet uses CR-NULL's by default when SGA (suppress go ahead) is negotiated.
0x7F (delete) and 0x08 (backspace) are both treated as backspace now.
Added support for the following telnet commands:
NOP: do nothing / no operation
EC: erase character (untested)
EL: erase line (untested)
Most of this is being done so that we can support non-linemode based
functionality in the future. (single-key menu options, etc)
- 2007-02-27 10:19 eroper
- [r902] mud/grrmud/server/command2.cc, mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h, mud/grrmud/server/hegemon_handler.h, mud/grrmud/server/misc.cc, mud/grrmud/server/protocol_handler.h, mud/grrmud/server/telnet_handler.cc, mud/grrmud/server/telnet_handler.h, mud/grrmud/server/translation2.spec Added the player toggle "keepalives" which when set will currently send IAC
NOP packets to telnet clients every 4 ticks (~5 minutes). Hegemon will not
currently receive any keepalive packets.
- 2007-02-27 08:08 eroper
- [r901] mud/grrmud/server/login.cc I'm pretty sure I've managed to find safe placements for re-enabling
client-side echo after the password prompt. In particular link-death
reconnects weren't always receiving the WONT ECHO from the server.
- 2007-02-27 03:56 eroper
- [r900] mud/grrmud/server/login.cc Slight modifications to where echoing is disabled (asking the client to echo).
Commented the top of the login switch statement for easier quick reference.
- 2007-02-26 22:00 eroper
- [r899] mud/grrmud/server/hegemon_handler.cc, mud/grrmud/server/hegemon_handler.h, mud/grrmud/server/login.cc, mud/grrmud/server/telnet_handler.cc, mud/grrmud/server/telnet_handler.h Fixed an order-of-operations issue in login.cc which was causing runaway
HegemonHandler's.
Destructor definitions for {Hegemon,Telnet}Handler are now in their
respective .cc files.
We now properly say no when confronted with telnet linemode (rfc-1184) which
is not the same thing as kludge-linemode.
"There is an understanding known as kludge line mode which means that if
either "suppress go ahead" or "echo" is enabled but not both then telnet
operates in line at a time mode meaning that complete lines are assembled at
each end and transmitted in one "go"."
Reference:
"The Telnet Protocol" - Peter Burden
http://www.scit.wlv.ac.uk/~jphb/comms/telnet.html (02/26/2007)
- 2007-02-26 00:37 eroper
- [r898] mud/grrmud/server/command5.cc gecho now appropriately adds '\n' when displayed to immortals.
- 2007-02-25 21:41 eroper
- [r897] mud/grrmud/server/hegemon_handler.cc Semi-colons are now handled properly by HegemonHandlers.
- 2007-02-25 20:31 eroper
- [r896] mud/grrmud/server/telnet_handler.cc, mud/grrmud/server/telnet_handler.h Upon receiving an IAC DO EOR (do send end of record markers) we now send out
an IAC EOR immediately. This is because we often haven't gotten approval to
send these before issuing the initial login prompt. This helps avoid having
some clients hide the "Enter thy name:" prompt
Renamed: my_want_states[] -> my_offer_states[] for clarity. These are options
that we have offered to enable but haven't received a response for the client
yet.
Added: my_request_states[]. This is an array of options that we have requested
our client to enable/provide but haven't had confirmed/rejected yet.
Added a protected member to TelnetHandler: std::string terminal_type. This
gets populated with the ASCII name of the terminal type provided by clients
which support telnet TTYPE negotiation.
Added TelnetHandler::send(const char*)
This is a shortcut to append arbitrary data to my_critter->pc->output
Added TelnetHandler::process_naws()
This functionality was previously inside TelnetHandler::process_subopt()
Added TelnetHandler::process_ttype()
This handles terminal-type negotiation payloads.
Added more logging in TelnetHandler and wrapped it in conditionals requiring
log level DBG.
TelnetHandler::rcv_will() now deals with with offers/responses.
TelnetHandler::rcv_wont() now deals with refusals.
- 2007-02-25 09:03 eroper
- [r895] mud/Credits Updated the credits, in particular to make it more evident who to contact.
(Sorry I didn't do this sooner Ben!)
- 2007-02-25 08:33 eroper
- [r894] mud/grrmud/server/telnet_handler.cc Wait for a response between offering to send end-of-record markers and turning
them on. This is kinder to clients that aren't able to ask us not to send what
they interpret as garbage at the end of prompts.
- 2007-02-25 08:06 eroper
- [r893] mud/grrmud/server/command4.cc, mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h, mud/grrmud/server/grrmud.cc, mud/grrmud/server/login.cc, mud/grrmud/server/misc.cc, mud/grrmud/server/parse.cc, mud/grrmud/server/telnet_handler.cc Logging off during login will no longer issue you another prompt prior to
letting you go.
Telnet Handlers now default to not echoing, thus asking clients to do it
initially. We turn it on for password prompts and then off again. It's worth
noting that not all MUD clients support telnet echo. (the good ones do ;)
Changed a prefix incrementor in decrease_timed_affecting_pcs in order to
prevent potential short-circuiting with some optimizing compilers. The
increment was previously being done in a complex conditional evaluation.
Linkdead players should be detected immediately in the event they abruptly
close their (well-behaved) client. We should no longer have to wait until the
next write() failure to discover them.
Linkdead players are now disconnected after 2 ticks as opposed to 30 ticks
before. Previously this left linkdead players vulnerable to aoe spells and
attacks, even when the aggressor had no the link-dead victim was present. It
is intentional that they should remain somewhat vulnerable to prevent
abrupt-disconnects from allowing players to escape impending doom.
Linkdead players were previously (eventually) transistioned into
MODE_QUIT_ME_PLEASE by log_out(). They will now be transistioned to
MODE_LOG_OFF_LINKDEAD_PLEASE by the same mechanism.
ticks_till_freedom will no longer decrease indefinitely.
decrementTicksTillFreedom() conditionally decrements down to 0 now.
Moved some socket error handling out of grrmud.cc and added
pc_data::SocketProblem() which will properly transistion the various pc_data
states and log odd socket errors which occur when they shouldn't.
Yet again repositioned the delete calls for ProtocolHandler's. I've tested
several hundred times with combinations of login-process-logouts, full on
logouts, link deaths, link death reconnections, live reconnection /
replacements, etc. I have failed to cause any further segfaults. According to
"dsys" we aren't leaking any *Handlers anymore either.
You may now log in as "who" in order to see who's online. Immediately
following the current player list, you will be disconnected.
- 2007-02-25 03:01 eroper
- [r892] mud/grrmud/server/grrmud.cc, mud/grrmud/server/login.cc, mud/grrmud/server/parse.cc Send end_of_record at all login prompts.
Better handling of *Handler's to prevent double delete()'s and dangling
handlers.
- 2007-02-25 01:28 eroper
- [r891] mud/grrmud/server/protocol_handler.cc Forgot this file in the last commit.
- 2007-02-25 01:21 eroper
- [r890] mud/grrmud/server/Makefile, mud/grrmud/server/command5.cc, mud/grrmud/server/const.cc, mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h, mud/grrmud/server/grrmud.cc, mud/grrmud/server/hegemon_handler.cc, mud/grrmud/server/hegemon_handler.h, mud/grrmud/server/login.cc, mud/grrmud/server/parse.cc, mud/grrmud/server/protocol_handler.h, mud/grrmud/server/telnet_handler.cc, mud/grrmud/server/telnet_handler.h We are now using HegemonHandler's and TelnetHandler's.
- 2007-02-24 09:41 eroper
- [r889] mud/grrmud/server/hegemon_handler.cc, mud/grrmud/server/hegemon_handler.h, mud/grrmud/server/protocol_handler.h, mud/grrmud/server/telnet_handler.cc, mud/grrmud/server/telnet_handler.h More work on the protocol stuff.
- 2007-02-23 09:27 eroper
- [r888] mud/grrmud/server/hegemon_handler.h, mud/grrmud/server/protocol_handler.h, mud/grrmud/server/telnet_handler.cc, mud/grrmud/server/telnet_handler.h Start of work on a generalized ProtocolHandler interface.
- 2007-02-21 05:48 eroper
- [r887] mud/grrmud/server/commands.cc When placing objects into containers, the weight of the new object is now
considered after applying the target containers percentage_weight.
This is because items that should have been allowed in containers were not
under certain circumstances, such as the container being too full to hold them
prior to applying this modifier. Emptying the container and placing heavy
items into it first was being used as a workaround.
- 2007-02-20 09:52 eroper
- [r886] mud/grrmud/server/gen_cmds.spec, mud/grrmud/server/script.cc, mud/grrmud/server/script.h This is for MUD-386
Though the syntax is different, room_has_critter is a command to be used in
script conditionals with the following syntax:
if room_has_critter <rnum/-1> <critter_name>
It will return true if rnum has any critters whose names match critter_name.
If rnum is passed as -1 the current room is used instead.
- 2007-02-20 08:57 eroper
- [r885] mud/grrmud/server/command2.cc, mud/grrmud/server/critter.h mstat now diplays the owners name for player-owned-shopkeepers
- 2007-02-19 06:24 eroper
- [r884] mud/grrmud/server/grrmud.cc Removed the unused variable "init" from game_loop() and fixed an instance
of gettimeofday() being passed a timezone struct. That shouldn't ever
happen.
- 2007-02-18 22:13 eroper
- [r883] mud/grrmud/server/commands.cc, mud/grrmud/server/object.cc Bag percentage weights are now properly calculated with floats.
- 2007-02-18 01:11 eroper
- [r882] mud/grrmud/server/BugEntry.h, mud/grrmud/server/grrmud.cc, mud/grrmud/server/zone.cc, mud/grrmud/server/zone.h Fixed a couple of destructors and the game-exit cleanup.
- 2007-02-14 12:29 eroper
- [r880] mud/grrmud/server/misc.cc Removed debugging output accidently left in the previous commit.
- 2007-02-14 12:28 eroper
- [r879] mud/grrmud/server/misc.cc This is the silver bullet, stake in the heart, etc. for: MUD-403
(aka the corpse crashes)
A brief description of the root-cause for this follows:
1. A corpse is placed inside a player owned sack (i.e. the Altar)
2. This action causes the sack to be saved to disk.
3. The corpse disolves.
4. Due to the current implementation of contained objects tracking their
containers this does not cause the sack to be saved to disk.
5. The zone updates.
6. This re-adds the corpse to the sack.
7. This does not set the corpses "in_list" pointer.
8. The corpse disolves.
9. Roll the dice on what just happened to your heap.
10. Rinse and repeat.
11. Eventually crash and/or something worse.
- 2007-02-13 09:19 eroper
- [r878] mud/grrmud/server/spells.cc, mud/grrmud/server/spells.h Fixed a problem with a duplicated default argument.
- 2007-02-13 09:01 eroper
- [r877] mud/grrmud/server/command2.cc, mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h, mud/grrmud/server/login.cc, mud/grrmud/server/misc.cc, mud/grrmud/server/spells.cc, mud/grrmud/server/spells.h, mud/grrmud/server/spells2.cc Weaken now reduces the players strength by 10%, which depending on the player
can be more or less than the previous effect. In addition, the duration of
weaken has been reduced substantially.
mstat will now show the values and durations remaining in the "Affected by"
lists.
added critter::getSTR() which currently takes into account the Strength
Conditioning skill.
The contents of the file "motd" will now be sent to players after they login.
Reverted the change from the previous patch to misc.cc (<= is back to ==). It
occured to me that "-1" as a value may be of some significance and the problem
turned out to be something different.
- 2007-02-13 07:25 eroper
- [r876] mud/grrmud/server/misc.cc Canned versions of certain spells (like weaken) are being called with a
duration of 0. The check to remove them was checking for exactly 0 and was
preceeded by a decrement, thus the effects were never being removed.
- 2007-02-13 06:58 eroper
- [r875] mud/grrmud/server/command3.cc "who" output is now nicely columnized.
- 2007-02-12 07:32 eroper
- [r874] mud/grrmud/server/battle.cc, mud/grrmud/server/commands.cc A bit more cleanup.
- 2007-02-12 07:11 eroper
- [r873] mud/grrmud/server/battle.cc, mud/grrmud/server/commands.cc, mud/grrmud/server/const.cc, mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h, mud/grrmud/server/skills.cc Some general cleanup. Including more conversions from show(..,pc)
- 2007-02-12 04:06 eroper
- [r872] mud/grrmud/server/command3.cc, mud/grrmud/server/command5.cc, mud/grrmud/server/commands.cc, mud/grrmud/server/dam_skll.cc, mud/grrmud/server/dam_spll.cc, mud/grrmud/server/ez_skll.cc, mud/grrmud/server/ez_spll.cc, mud/grrmud/server/misc.cc, mud/grrmud/server/misc2.cc, mud/grrmud/server/pet_spll.cc, mud/grrmud/server/rm_spll.cc, mud/grrmud/server/skills.cc, mud/grrmud/server/spells.cc, mud/grrmud/server/spells2.cc, mud/grrmud/server/trv_spll.cc, mud/grrmud/server/wep_skll.cc In a world without battle-stun.... Part 1
- 2007-02-11 23:23 eroper
- [r871] mud/grrmud/server/command4.cc, mud/grrmud/server/commands.cc, mud/grrmud/server/critter.cc, mud/grrmud/server/grrmud.cc, mud/grrmud/server/mapper.cc, mud/grrmud/server/misc.cc, mud/grrmud/server/pet_spll.cc, mud/grrmud/server/room.cc, mud/grrmud/server/skills.cc This commit adds initialization for some variables that could have potentially
(through conditionals) been referenced prior to assignment. In addition, this
catches a few locations where pointers were being dereferenced prior to
initialization (guaranteed to happen in some cases).
- 2007-02-11 22:27 eroper
- [r870] mud/grrmud/server/misc.cc Another attempt to fix: MUD-403
This tested out okay, with much more extensive testing than the last patch
(which also tested okay initially).
- 2007-02-11 09:19 eroper
- [r869] mud/grrmud/server/misc.cc, mud/grrmud/server/misc.h FIXES: MUD-403
Dissolving objects (corpses) placed inside any container which could present a
sorted and categorized inventory listing to places were causing memory
corruption and on occasion segfaults after they dissolved.
This appears to have been caused by the out_inv() routine doing bad things
that were invalidating the corpse-objects "in_list" pointers.
This was not affecting rooms (which are containers of sorts) as they did not
utilize the out_inv() function.
As a future project, objects which dissolve in player owned boxes (like the
altar and donation bin) should cause the box to be saved. This is not
currently the case.
- 2007-02-10 22:19 eroper
- [r868] mud/grrmud/server/grrmud.cc, mud/lib/string2/string2.h ctype.h has been replaced with cctype
- 2007-02-09 22:24 eroper
- [r867] mud/grrmud/server/command5.cc "visible" should have set vis_bit to 1024, not 0.
- 2007-02-09 04:35 eroper
- [r866] mud/configure, mud/lib/containers/list2.h Two changes courtesy of "Huz" from the forums.
1. The configure script checks for gcc major version >= 3 with "$ver[0] == 3".
Patch to configure attached.
2. The first attempt to build fell over horribly, the core of the complaint
being that assert() was being used without having been declared. Patch to
list2.h attached.
- 2007-02-08 19:18 eroper
- [r865] mud/MakeInclude.bh, mud/grrmud/server/ServerConfig.h, mud/grrmud/server/SkillSpell.h, mud/grrmud/server/audit.cc, mud/grrmud/server/battle.cc, mud/grrmud/server/code_gen.cc, mud/grrmud/server/code_gen.h, mud/grrmud/server/command4.cc, mud/grrmud/server/command5.cc, mud/grrmud/server/commands.cc, mud/grrmud/server/grrmud.cc, mud/grrmud/server/load_wld.cc, mud/grrmud/server/misc.cc, mud/grrmud/server/obj_parse.cc, mud/grrmud/server/parse.cc, mud/grrmud/server/rm_parse.cc, mud/grrmud/server/room.cc, mud/grrmud/server/script.cc, mud/lib/bitfield/bitfield.cc, mud/lib/bitfield/bitfield.h, mud/lib/containers/rb_tree.cc, mud/lib/log/LogStream.h, mud/lib/log/Makefile, mud/lib/string2/string2.h Removed -wno-warn-deprecated from the build and removed deprecated headers.
- 2007-02-08 09:25 eroper
- [r864] mud/grrmud/server/critter.cc, mud/grrmud/server/spec_prc.cc Implements: MUD-393
Charmed mobs will no longer execute their scripts or loot corpses after
killing their targets.
- 2007-02-08 08:47 eroper
- [r863] mud/grrmud/server/commands.cc Meditate shouldn't fail as often at high %learned.
- 2007-02-08 07:05 eroper
- [r862] mud/grrmud/server/battle.cc Combat damage messages are now based on the damage as a percentage of the
victims remaining hitpoints rather than on arbitrary static damage boundaries.
- 2007-02-08 06:22 eroper
- [r861] mud/grrmud/server/misc2.cc Spelling: chic => chick
- 2007-02-06 04:03 eroper
- [r860] mud/grrmud/server/command5.cc Fixed some output spacing when using bows/thrown weapons.
- 2007-02-05 21:08 eroper
- [r859] mud/grrmud/server/Makefile Force update of Subversion-Revision
- 2007-02-05 08:05 eroper
- [r858] mud/grrmud/server/gen_cmds.spec, mud/grrmud/server/misc.cc, mud/grrmud/server/misc.h Partially addresses MUD-388
Adds two new Immortal commands: mia_objects, mia_mobs
These commands report defined mobs/objects with a cur_in_game count of 0.
- 2007-02-03 23:39 eroper
- [r857] mud/grrmud/server/misc2.cc Fixes: MUD-372
ostat now displays the snum for spells.
- 2007-02-03 23:23 eroper
- [r856] mud/grrmud/server/command5.cc Fixes: MUD-377
You must now be a zone owner to add_perm_inv and rem_perm_inv
- 2007-02-03 13:18 eroper
- [r855] mud/grrmud/server Added the following svn:ignore property values for ther server/ directory:
*.P
BuildInfo.cc
code_gen
lang_strings.cc
lang_strings.h
grrmud
audit
Subversion-Revision
parse_gen.cc
parse_gen.h
- 2007-02-03 13:16 eroper
- [r854] mud/Makefile, mud/grrmud/server/Makefile, mud/grrmud/server/gen_cmds.spec, mud/include/README, mud/lib/Makefile, mud/lib/bitfield/Makefile, mud/lib/containers/Makefile, mud/lib/log/Makefile, mud/lib/string2/Makefile Did quite a bit of cleaning on the Makefiles. The top level Makefile in
particular still needs some work, as does the grrmud/server/Makefile library
dependancy.
In general it should be safe to edit away and do another make without cleaning
first (yay!). There is also no need (or support) for an explicit "make depend"
These changes do make us heavily dependant on both GNU Make and GCC, though I'm
pretty sure we already had that dependancy.
Fixed a return() omission in gen_cmds.spec that was causing a compile time
warning.
Fixed a misspelled word in include/README.
- 2007-01-30 02:16 kaj
- [r853] mud/grrmud/server/socials.cc Added position checking for 'jump' social
- 2007-01-30 02:07 kaj
- [r852] mud/grrmud/server/socials.cc You can now 'smile' at someone while resting
- 2006-07-28 20:30 justin
- [r851] mud/grrmud/server/misc.cc Changed int literal to float literal to resolve ambiguous use of std::map
- 2006-07-28 20:27 justin
- [r850] mud/lib/containers/list2.h #include <assert.h> missing
- 2006-07-21 18:53 eroper
- [r849] mud/grrmud/server/socials.cc You may now "greet" someone while resting.
- 2006-07-13 19:28 eroper
- [r848] mud/grrmud/server/misc.cc According to Loki (Justin) re-seeding the RNG is a bad idea. It could be
contributing to the "Streaky"ness, etc. of the RNG we've been experiencing.
- 2006-07-12 00:24 eroper
- [r847] tools/python/html_help_includes/head.html Added a link to the Skill/Spell graph.
- 2006-07-11 11:13 eroper
- [r846] mud/grrmud/Help/IMM_area_mset_1, mud/grrmud/server/command4.cc, mud/grrmud/server/command4.h, mud/grrmud/server/gen_cmds.spec Added an IMM command: "area_mset".
This command allows a level IMM-10 to mset a small set of attributes across an
entire zone at once. Teachers and player-owned-shopkeepers are left untouched.
Currently the attributes include: ac, dam_rcv_mod, *_resis
- 2006-07-11 05:12 eroper
- [r845] tools/python/html_help.py Fixed a missed lowercasing in html_help.py
- 2006-07-11 05:00 eroper
- [r844] tools/python/html_help.py, tools/python/html_help_includes/foot.html Added Jira logo to footer template and lowercased alpha-index in help.
- 2006-07-11 04:42 eroper
- [r843] tools/python/html_help_includes/head.html, tools/python/html_ss.py, tools/python/html_util.py, tools/python/scrymud/skills_spells.py, tools/python/scrymud/util.py Added html_ss.py to produce skill/spell html documentation.
- 2006-07-10 21:36 eroper
- [r842] mud/grrmud/server/room.cc MOBs will no longer trigger their own scripts. This was a problem with
"say" triggers on non priority-0 scripts. I've tested a few in-game mob
scripts, but we need to test a few more before we can be certain that this
doesn't come with unintended consequences.
- 2006-07-10 01:10 eroper
- [r841] mud/grrmud/server/command5.cc, mud/grrmud/server/const.cc, mud/grrmud/server/skills.cc, mud/grrmud/server/social2.cc, mud/grrmud/server/socials.cc, mud/grrmud/server/translations.spec Fixes: MUD-323 MUD-324 MUD-325 MUD-332 MUD-338
------------------------------------------------------------------------------
* Lowered construction pause to 2 miniticks (from 4)
* Sages are now significantly less likely to fail constructing and brewing.
When they do fail, they don't lose the parts.
* Fixed a missing newline on the IMM's version of recho.
* Blink, trout social no longer have an extra newline
* Standing, sitting, resting, meditating no longer produce excessive newlines.
* No longer required to stand before nodding or waving.
* No longer an excessive newline on the "... can't seem to remember..."
messages.
- 2006-07-09 10:54 eroper
- [r840] mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h, mud/grrmud/server/dam_spll.cc, mud/grrmud/server/ez_spll.cc, mud/grrmud/server/pet_spll.cc, mud/grrmud/server/skills.cc, mud/grrmud/server/spells.cc, mud/grrmud/server/spells2.cc Fixed quite a few spells that were reversing the aggressor and the victim in
the did_spell_hit() checks. This was actually making it harder to hit lower
level critters than higher level ones with some spells.
Resists & AC are now longer used to calculate did_spell_hit(). (resists are
still used in exact_raw_damage()
Critters that can't move due to position or running out of move points can no
longer dodge spells. ( added critter::canMove() )
Old target was 25% chance to miss on same-level victims
Current target is 15% chance to miss on same-level victims
11% chance to miss on -5 level victims
22% chance to miss on +5 level victims
~11% is the best we get 90% is the worst we'll get.
This may need to be tuned, I'll be keeping an eye on it.
Fixed some of the new OO spells that were being called with is_canned set to
true all the time. I'm now passing this->is_canned instead.
Removed unused variable "p_lrnd" from critter::getBHDC()
- 2006-07-06 00:28 eroper
- [r839] tools/python/feedJira.py, tools/python/html_help.py, tools/python/jellyWriter.py, tools/python/scrymud/__init__.py, tools/python/scrymud/bugs.py, tools/python/scrymud/help.py, tools/python/scrymud/util.py Added keywords properties and 'scrymud/bugs.py' which should have come
with my last commit.
- 2006-07-06 00:22 eroper
- [r838] tools/python/feedJira.py, tools/python/jellyWriter.py, tools/python/scrymud/util.py Additions:
jellyWriter.py: Used to perform an initial import of BC_BUGS/BC_IDEAS data
in to the Jira issue-tracking software.
feedJira.py : After the initial import this script can be used to add
new bugs/ideas into Jira using the SOAP interface. This
importer is not designed to handle states other than open.
Added scrymud.utils.termedRead() to handle '~' terminated fields in various
ScryMUD files.
- 2006-07-01 07:33 eroper
- [r837] tools/python/html_help.py, tools/python/html_help_includes/foot.html, tools/python/html_help_includes/head.html, tools/python/scrymud/help.py See Also: references from non-imm -> imm help pages now link properly.
Fixed some relative links that didn't work in the head/foot templates.
- 2006-07-01 06:40 eroper
- [r836] tools/python, tools/python/html_help.py, tools/python/html_help_includes, tools/python/html_help_includes/foot.html, tools/python/html_help_includes/head.html, tools/python/scrymud, tools/python/scrymud/__init__.py, tools/python/scrymud/help.py, tools/python/scrymud/util.py html_help.py creates css tagged html from ScryMUD user/imm docs.
- 2006-06-25 08:59 eroper
- [r835] mud/grrmud/server/regex.cc This fixes MUD-1
The server will no longer crash with regex searches (oldsearch, etc.)
that start with ".*".
- 2006-06-24 21:34 eroper
- [r832] mud/MakeInclude.bh Bumped version to 2.1.10
- 2006-06-24 20:44 eroper
- [r831] mud/grrmud/server/Filters.h, mud/grrmud/server/code_gen.cc, mud/grrmud/server/command4.cc, mud/grrmud/server/spells.h, mud/lib/containers/PtrArray.h Added virtual destructors to classes the compiler was complaining about.
The code now builds and runs.
- 2006-06-22 01:46 eroper
- [r830] mud/grrmud/server/ar_skll.cc, mud/grrmud/server/batl_prc.cc, mud/grrmud/server/battle.cc, mud/grrmud/server/command2.cc, mud/grrmud/server/command3.cc, mud/grrmud/server/command4.cc, mud/grrmud/server/command5.cc, mud/grrmud/server/commands.cc, mud/grrmud/server/critter.cc, mud/grrmud/server/dam_skll.cc, mud/grrmud/server/dam_spll.cc, mud/grrmud/server/door.cc, mud/grrmud/server/ez_skll.cc, mud/grrmud/server/ez_spll.cc, mud/grrmud/server/login.cc, mud/grrmud/server/misc.cc, mud/grrmud/server/misc2.cc, mud/grrmud/server/olc.cc, mud/grrmud/server/olc2.cc, mud/grrmud/server/pet_spll.cc, mud/grrmud/server/rm_spll.cc, mud/grrmud/server/room.cc, mud/grrmud/server/skills.cc, mud/grrmud/server/socials.cc, mud/grrmud/server/spec_prc.cc, mud/grrmud/server/spells.cc, mud/grrmud/server/spells2.cc, mud/grrmud/server/tmp_socials.cc, mud/grrmud/server/trv_spll.cc, mud/grrmud/server/vehicle.cc, mud/grrmud/server/wep_skll.cc, mud/grrmud/server/zone.cc, mud/lib/containers/PtrArray.cc, mud/lib/containers/PtrArray.h, mud/lib/containers/list2.h ** WARNING ** This commit will ** NOT ** build.
This is the beginning of a series of code changes necessary to make gcc >= 3.4
happy with the code.
Ed
- 2005-02-14 17:15 kaj
- [r829] mud/grrmud/Help/detection_1 Hmmm. Added detection_1 for real, not sure what I did with the revision # in the other files... Let me know if I messed something up.
- 2005-02-14 17:11 kaj
- [r828] mud/configure, mud/grrmud/Help/IMM_add_mname_1, mud/grrmud/Help/Makefile, mud/grrmud/World/Makefile, mud/grrmud/help_filter/Makefile, mud/grrmud/server/BugEntry.cc, mud/grrmud/server/BugEntry.h, mud/grrmud/server/BuildInfo.h, mud/grrmud/server/Filters.cc, mud/grrmud/server/Filters.h, mud/grrmud/server/MudStats.cc, mud/grrmud/server/MudStats.h, mud/grrmud/server/SkillSpell.cc, mud/grrmud/server/SkillSpell.h, mud/grrmud/server/ar_skll.cc, mud/grrmud/server/ar_skll.h, mud/grrmud/server/audit.cc, mud/grrmud/server/audit.h, mud/grrmud/server/batl_prc.cc, mud/grrmud/server/batl_prc.h, mud/grrmud/server/battle.cc, mud/grrmud/server/battle.h, mud/grrmud/server/classes.cc, mud/grrmud/server/classes.h, mud/grrmud/server/code_gen.cc, mud/grrmud/server/code_gen.h, mud/grrmud/server/command2.cc, mud/grrmud/server/command2.h, mud/grrmud/server/command3.cc, mud/grrmud/server/command3.h, mud/grrmud/server/command4.cc, mud/grrmud/server/command4.h, mud/grrmud/server/command5.cc, mud/grrmud/server/command5.h, mud/grrmud/server/commands.cc, mud/grrmud/server/commands.h, mud/grrmud/server/const.cc, mud/grrmud/server/const.h, mud/grrmud/server/cr_skll.cc, mud/grrmud/server/cr_skll.h, mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h, mud/grrmud/server/dam_skll.cc, mud/grrmud/server/dam_skll.h, mud/grrmud/server/dam_spll.cc, mud/grrmud/server/dam_spll.h, mud/grrmud/server/door.cc, mud/grrmud/server/door.h, mud/grrmud/server/ez_skll.cc, mud/grrmud/server/ez_skll.h, mud/grrmud/server/ez_spll.cc, mud/grrmud/server/ez_spll.h, mud/grrmud/server/grrmud.cc, mud/grrmud/server/grrmud.h, mud/grrmud/server/load_wld.cc, mud/grrmud/server/load_wld.h, mud/grrmud/server/login.cc, mud/grrmud/server/login.h, mud/grrmud/server/misc.cc, mud/grrmud/server/misc.h, mud/grrmud/server/misc2.cc, mud/grrmud/server/misc2.h, mud/grrmud/server/obj_cmds.cc, mud/grrmud/server/obj_cmds.h, mud/grrmud/server/obj_parse.cc, mud/grrmud/server/obj_parse.h, mud/grrmud/server/object.cc, mud/grrmud/server/object.h, mud/grrmud/server/olc.cc, mud/grrmud/server/olc.h, mud/grrmud/server/olc2.cc, mud/grrmud/server/olc2.h, mud/grrmud/server/parse.cc, mud/grrmud/server/parse.h, mud/grrmud/server/pet_spll.cc, mud/grrmud/server/pet_spll.h, mud/grrmud/server/regex.cc, mud/grrmud/server/regex.h, mud/grrmud/server/rm_cmds.cc, mud/grrmud/server/rm_cmds.h, mud/grrmud/server/rm_parse.cc, mud/grrmud/server/rm_parse.h, mud/grrmud/server/rm_spll.cc, mud/grrmud/server/rm_spll.h, mud/grrmud/server/room.cc, mud/grrmud/server/room.h, mud/grrmud/server/script.cc, mud/grrmud/server/script.h, mud/grrmud/server/skills.cc, mud/grrmud/server/skills.h, mud/grrmud/server/social2.cc, mud/grrmud/server/social2.h, mud/grrmud/server/socials.cc, mud/grrmud/server/socials.h, mud/grrmud/server/spec_prc.cc, mud/grrmud/server/spec_prc.h, mud/grrmud/server/spells.cc, mud/grrmud/server/spells.h, mud/grrmud/server/spells2.cc, mud/grrmud/server/spells2.h, mud/grrmud/server/tmp_socials.cc, mud/grrmud/server/translation4.spec, mud/grrmud/server/translation_battle.spec, mud/grrmud/server/translation_olc.spec, mud/grrmud/server/translation_skill.spec, mud/grrmud/server/translation_spell.spec, mud/grrmud/server/translations_classes.spec, mud/grrmud/server/trv_spll.cc, mud/grrmud/server/trv_spll.h, mud/grrmud/server/vehicle.cc, mud/grrmud/server/vehicle.h, mud/grrmud/server/wep_skll.cc, mud/grrmud/server/wep_skll.h, mud/grrmud/server/zone.cc, mud/grrmud/server/zone.h Added detection_1 to help.
- 2005-01-08 04:30 eroper
- [r827] mud/grrmud/server/command3.cc, mud/grrmud/server/command4.cc, mud/grrmud/server/mapper.cc, mud/grrmud/server/mapper.h, mud/grrmud/server/regex.cc, mud/grrmud/server/regex.h Unmaking a container with inventory should be safe now.
Added a comment to special handling of bulletin boards in "do_junk"
Updated some Copyright headers.
- 2005-01-08 03:22 eroper
- [r826] mud/grrmud/server/command4.cc, mud/grrmud/server/zone.cc automapper will no longer mark all paths as "stretched".
toggling obj_flag 54 (container) will now actually make the object a bag or
unmake a bag and clear the objects inventory.
This should prevent issues like the accidental purging of all objects from
Koth (whistles an innocent tune), caused by corruption of the World/ database.
Ben, if you read this can you let me know if obj_ptr->inv.clearAndDestroy() is
safe, or do I need to walk and and call lose() on every object in the
inventory? (see: command4.cc:3096
Thanks,
Ed
- 2005-01-02 03:40 eroper
- [r825] mud/grrmud/server/misc.cc The absorb blows regen change, initially to prevent you from losing your mana
converted to hp during combat is now not necessary as regen doesn't happen
while you're fighting. Unfortunately the change I'd made previously had the
side effect of removing all HP caps from players during normal regen cycles.
MiniShamu says, 'I feel compelled to inform you of a bug..'
MiniShamu says, 'Although it's a really nice one....'
MiniShamu giggles crazily!
MiniShamu says, 'That I wish to keep exploiting'
MiniShamu whistles a tune.
You grin widely!
MiniShamu says, 'When you have absorb blows cast, apparently it removes any
cap on max HP, and keeps going up'
You laugh loudly. Hahahahaha!
MiniShamu has 26000+ HP right now.
Thanks Mini!
Ed
- 2004-12-29 19:50 eroper
- [r822] mud/grrmud/server/command4.cc mset now allows you to set race to avian (maxval is 18 now)
- 2004-12-29 19:16 eroper
- [r821] mud/grrmud/server/code_gen.cc, mud/grrmud/server/code_gen.h French added to code_gen.*
- 2004-12-29 19:05 eroper
- [r820] mud/grrmud/server/battle.cc, mud/grrmud/server/command3.cc, mud/grrmud/server/const.h Fixed some ugly tabbing, getting ready to test Avian and see how she flies. No
I haven't made any changes... want to see how she works first.
- 2004-12-27 04:05 eroper
- [r819] mud/Makefile Removed Hegemon portions from Makefile.
- 2004-12-26 22:39 eroper
- [r818] mud/Hegemon, mud/hegemon Hegemon now has it's own repository:
https://www.wanfear.com/svn/hegemon
http://www.wanfear.com/svn/hegemon
I will need to tweak the Makefile, etc. to get ScryMUD make's clean again.
- 2004-12-26 20:49 kaj
- [r817] mud/Hegemon/HegemonDisplay.java, mud/Hegemon/HegemonScroll.java, mud/Hegemon/HegemonScrollCanvas.java, mud/Hegemon/ScrollComponentText.java Some changes to the text display components, mostly. Some explanatory
commenting was added, too.
Jaeger
- 2004-12-25 04:56 eroper
- [r816] tools/vehicle_path.pl Given a speedwalk list: e;n;n;n;se;se;e;e;e
This script will spit out all the commands necessary to create a ScryMUD
vehicle path. It will reverse the speedwalk commands given to automatically
create the return path. This isn't always necessarily what you want. This
script will automatically mark the starting and ending (after the path) rooms
as destinations. You will manually have to mark any other destinations you
desire. This script is fairly lazy, but it's much easier than
entering/generating the necessary commands by hand.
- 2004-12-25 04:48 kaj
- [r815] mud/Hegemon/ActionManager.java, mud/Hegemon/AliasManager.java Forgot to do a propset on newly added files.
- 2004-12-25 04:46 kaj
- [r814] mud/grrmud/Help/credits_1, mud/grrmud/Help/socials_1, mud/grrmud/Help/zones_1 Made some minor help changes.
- 2004-12-25 04:44 kaj
- [r813] mud/Hegemon/ActionDialog.java, mud/Hegemon/ActionFrame.java, mud/Hegemon/ActionManager.java, mud/Hegemon/AliasDialog.java, mud/Hegemon/AliasFrame.java, mud/Hegemon/AliasManager.java, mud/Hegemon/ClientDisplay.java, mud/Hegemon/HegemonDisplay.java, mud/Hegemon/HegemonInputFilter.java, mud/Hegemon/HegemonManager.java, mud/Hegemon/HegemonScroll.java, mud/Hegemon/InputArea.java, mud/Hegemon/ScrollComponent.java, mud/Hegemon/ScrollComponentText.java Made huge changes to Hegemon that I want to file for safe keeping. Most
notably, just about everything in the main GUI (and a few dialog boxes/
frames) has been moved to Swing. I tried to leave logic intact and just
convert to swing, but ActionEvents are going to be handled with cleaner
code so that's the bulk of the actual edits.
Known problem: The complicated scrolling component of the main window
(i.e. telnet output) is heavyweight and is thus rendered on top of
menus. In the ClientDisplay.java, adding that component is commented
out so that menus are visible. So in other words, it's not a functioning
revision atm.
Jaeger
- 2004-12-25 04:31 kaj
- [r812] mud/grrmud/server/Makefile, mud/grrmud/server/translation2.spec, mud/grrmud/server/translation5.spec, mud/grrmud/server/translations.spec Added the first of the french translations. Mostly simple stuff, with
more to come later.
- 2004-12-25 04:23 eroper
- [r811] mud/grrmud/server/misc.cc Fixed a crash bug with room vehicle display code. We weren't checking to make
sure that doors actually led to valid rooms before trying to do things with
those rooms.
- 2004-12-23 02:09 eroper
- [r808] mud/grrmud/server/login.cc added a newline to multiplayer output.
- 2004-12-22 06:18 eroper
- [r807] tools/retire_pfiles.pl Added retire_pfiles.pl:
This script can be used to archive away pfiles for inactive players.
- 2004-12-21 12:46 eroper
- [r806] mud/grrmud/server/misc.cc Added overlooked space padding in vehicles_out()
- 2004-12-21 12:36 eroper
- [r805] mud/grrmud/server/misc2.cc Corrected a stray }
- 2004-12-21 12:32 eroper
- [r804] mud/grrmud/server/commands.cc, mud/grrmud/server/const.cc, mud/grrmud/server/misc.cc, mud/grrmud/server/misc.h, mud/grrmud/server/misc2.cc, mud/grrmud/server/olc.cc, mud/grrmud/server/room.cc, mud/grrmud/server/room.h, mud/grrmud/server/vehicle.cc, mud/grrmud/server/vehicle.h Added: vehicle data version tagging to db files, ticks_at_stops, in room
moving and in room stopped descriptions for vehicles.
These are currently supported in OLC but are not available for modification
with one-shot commands. I plan on adding a vset command (or something to that
effect) in the near future.
I'm betting that vehicle creation with Hegemon is now officially broken.
(good thing Jaeger is working on Hegemon)
Vehicles are now visible (if they have in-room descriptions) when they are
present in the same room as a player.
I'm experimenting with the auto-exit listing. Rather than listing (??) for
non-directional exits it will list something to the effect of (portal),
(coach), etc. I think this will be a little less confusing than:
(??) N NE S SE (??) (??)
TODO:
A "destinations" or "stops" command that will tell players where a vehicle is
headed. I have yet to decide whether this will be a static text field set by
the builder or something the game figures out by itself using the vehicles
pathing information.
Start looking into player-controlled vehicles.
- 2004-12-21 07:23 eroper
- [r803] mud/grrmud/server/command2.cc, mud/grrmud/server/misc2.cc Vehicle door names now list in auto_exit if the vehicles door isn't a generic
direction. I haven't yet fixed it from the inside looking out though.
- 2004-12-21 06:04 eroper
- [r802] mud/grrmud/server/spells2.cc Merged 715:717 from version-2-1 branch (strength fix)
- 2004-12-21 03:42 kaj
- [r801] mud/Hegemon/Action.java, mud/Hegemon/AliasDialog.java, mud/Hegemon/AliasFrame.java, mud/Hegemon/BuildInfo.java, mud/Hegemon/ColorChoicesFrame.java, mud/Hegemon/ColorNameException.java, mud/Hegemon/ColorUtils.java, mud/Hegemon/CommandHistory.java, mud/Hegemon/ConnectionManager.java, mud/Hegemon/Context.java, mud/Hegemon/ContextColorPair.java, mud/Hegemon/HegStack.java, mud/Hegemon/HegemonDisplayProperties.java, mud/Hegemon/HegemonInputFilter.java, mud/Hegemon/HegemonManager.java, mud/Hegemon/HegemonScrollCanvas.java, mud/Hegemon/HelpFrame.java, mud/Hegemon/HelpIndex.java, mud/Hegemon/HostAddr.java, mud/Hegemon/HostDialog.java, mud/Hegemon/InputArea.java, mud/Hegemon/LabeledCheckBoxGlob.java, mud/Hegemon/LabeledChoice.java, mud/Hegemon/LabeledTextArea.java, mud/Hegemon/LabeledTextBoxGlob.java, mud/Hegemon/LabeledTextField.java, mud/Hegemon/Log.java, mud/Hegemon/LogFrame.java, mud/Hegemon/MessageDialog.java, mud/Hegemon/MobScriptEditor.java, mud/Hegemon/NumCheckbox.java, mud/Hegemon/NumTextBox.java, mud/Hegemon/OLCDoor.java, mud/Hegemon/OLCMob.java, mud/Hegemon/OLCObject.java, mud/Hegemon/OLCRoom.java, mud/Hegemon/OlEditor.java, mud/Hegemon/OlcStore.java, mud/Hegemon/PathCellEditor.java, mud/Hegemon/Queue.java, mud/Hegemon/ScrollComponent.java, mud/Hegemon/ScrollComponentCollection.java, mud/Hegemon/ScrollComponentGraph.java, mud/Hegemon/ScrollComponentNewline.java, mud/Hegemon/ScrollComponentQueue.java, mud/Hegemon/ScrollComponentText.java, mud/Hegemon/ScrollComponentVector.java, mud/Hegemon/SocketManager.java, mud/Hegemon/SocketReader.java, mud/Hegemon/SocketWriter.java, mud/Hegemon/StringUtils.java, mud/Hegemon/TagCommand.java, mud/Hegemon/hegemon.java, mud/hegemon/data/hosts.def Added (cursory) clarifying comments to Hegemon. Moving towards javadoc for Hegemon, eventually.
- 2004-12-20 12:18 eroper
- [r800] mud/grrmud/Help/color_1 Fixed a typo.
- 2004-12-20 12:14 eroper
- [r799] mud/grrmud/Help/color_1 Updated color help to reflect the new system.
- 2004-12-20 12:05 eroper
- [r798] mud/grrmud/server/social2.cc replaced "them" with him/her in tap.
- 2004-12-20 11:47 eroper
- [r797] mud/grrmud/Help/socials_1 updated to reflect "tap"
- 2004-12-20 11:46 eroper
- [r796] mud/grrmud/Help/IMM_mldsearch_1, mud/grrmud/Help/IMM_msdsearch_1, mud/grrmud/Help/IMM_oldsearch_1, mud/grrmud/Help/IMM_osdsearch_1 Added help for some of the new IMM search commands.
- 2004-12-20 11:33 eroper
- [r795] mud/grrmud/server/gen_cmds.spec, mud/grrmud/server/grrmud.cc, mud/grrmud/server/misc2.cc, mud/grrmud/server/social2.cc, mud/grrmud/server/social2.h removed unused hostname variable from grrmud.cc
fixed a few more int!=unsigned int warnings
added "tap" social. (StienFeastNine)
- 2004-12-20 10:57 eroper
- [r794] mud/grrmud/server/battle.cc, mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h Weapon mastery (sword, mace...) can now add up to a maximum 2 dice count + 3
dice sides to the damage of a weapon.
i.e. a 3d4 sword with sword at 100% becomes a 5d6 sword.
- 2004-12-20 10:27 eroper
- [r793] mud/grrmud/server/battle.cc, mud/grrmud/server/command2.cc, mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h, mud/grrmud/server/object.h sword, dagger, mace, bow, martial arts now affect hit modifier.
mstat now shows skill modified hit val and val w/o skill mods in ()'s.
- 2004-12-20 03:52 eroper
- [r790] mud/grrmud/server/command2.cc, mud/grrmud/server/command3.cc, mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h track player remort counts now.
- 2004-12-20 02:59 eroper
- [r789] mud/grrmud/server/critter.cc Reduced bhd benefit of martial arts
- 2004-12-19 21:12 eroper
- [r788] mud/grrmud/server/command5.cc, mud/grrmud/server/regex.cc, mud/grrmud/server/regex.h added: bool regex::operator==(const char* match_str)
color command takes color [^,&] color codes now.
- 2004-12-19 11:42 eroper
- [r787] mud/grrmud/server/command2.cc, mud/grrmud/server/login.cc BHD correction regardless of where players are at...
Some people were massively negatively nerfed
- 2004-12-19 10:48 eroper
- [r786] mud/grrmud/server/command2.cc, mud/grrmud/server/login.cc mstat shows both real and affected bhd info
compiles now
- 2004-12-19 10:32 eroper
- [r785] mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h, mud/grrmud/server/login.cc Changed some critter method args from char to bool.
Bare Handed Damage is now smacked down at login. This code is temporary during
conversion. Eventually I'll pick an expiration date on old Pfiles that haven't
been touch in years and toast them. Once everyone is converted I can do away
with this code.
- 2004-12-19 08:49 eroper
- [r784] mud/grrmud/server/const.h, mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h, mud/grrmud/server/misc2.cc Skills/Spells are no longer stored in pc_data:: but rather in critter::.
This allows us to teach mobs things (although the interface for doing so isn't
done yet.) Other uses include only letting teachers teach skills/spells they
know, and only to the %lrnd that they themselves possess.
I didn't bother bumping file versions for this change (although it does
rearrange critter_* and Pfiles/*, etc. I haven't started using any of the new
formats yet. If for whatever reason you are using the trunk code (after
implementation of file versions) I broke it for you. If you haven't yet, but
you're planning on it... wait a few more days until I roll this code out into
production ;) I promise I won't break it after that.
Old files are read fine. (If you haven't already converted).
I'm sure this will consume a bit more memory as well.
As a side effect of this pc_data:: version information is now written to and
read from any files that store pc_data::
- 2004-12-19 05:24 eroper
- [r782] mud/grrmud/server/script.cc Merged -r745:766 from version-2-1 branch.
This reversed the previous script-prompt fix Loki committed and fixed the
prompt in exact_... etc.
- 2004-12-19 05:12 eroper
- [r781] mud/grrmud/server/Makefile, mud/grrmud/server/object.cc, mud/grrmud/server/object.h, mud/grrmud/server/script.cc, mud/grrmud/server/zone.cc Object structures (in files) are now version marked. The new skill/spell
affect field is therefore in use now.
The Makefile is slightly less gabby and has a list of current dependencies.
Once I get a handle on it I'll have it auto-generate the dependencies. "make
depend" apparently did that at one point.
Fixed a couple int!=unsigned int compiler warnings.
- 2004-12-18 22:50 eroper
- [r780] mud/MakeInclude.bh, mud/grrmud/server/Makefile, mud/grrmud/server/regex.cc We'll successfully link now.
- 2004-12-18 20:50 eroper
- [r779] mud/grrmud/server/command4.cc, mud/grrmud/server/command4.h, mud/grrmud/server/gen_cmds.spec, mud/grrmud/server/regex.cc, mud/grrmud/server/regex.h Added regex.[h/cc] (we now require linking to libpcre)
Added osdsearch (object short description search)
Added oldsearch (object long description search)
Added msdsearch (mob short description search)
Added mldsearch (mob long description search)
Fixed unsigned!=signed compilation warning with poofin/poofout
Notes on regex: options that would normally come after the Perl // syntax i.e.
/cat/i (for a case insensitive match on cat) can be accomplished like this:
osdsearch '(?i)cat'. In otherwords put the options in a (? ) container within
the pattern. For specifics on this, please see the pcrepattern manpage.
< 1032H 567M 511V > oldsearch '(?i)is\s+also\s+covered\s+in\s+acid'
425 the Sword of Sorrows
Bad regex patterns are reported to the user i.e.:
< 1032H 567M 511V > oldsearch '(?
REGEX compilation failed at 2: unrecognized character after (?
- 2004-12-18 06:43 eroper
- [r777] mud/grrmud/server/Makefile, mud/grrmud/server/commands.cc, mud/grrmud/server/commands.h, mud/grrmud/server/gen_cmds.spec, mud/grrmud/server/grrmud.cc, mud/grrmud/server/mapper.cc, mud/grrmud/server/mapper.h, mud/grrmud/server/misc.cc, mud/grrmud/server/zone.cc, mud/grrmud/server/zone.h, tools, tools/scrymapper.pl Merged 750:776 from the people/eroper/automapper branch.
Though not entirely where I'd like it to be, the current incarnation produces
maps useful for builders. Any further improvements are unlikely to cause any
major disruption to the codebase.
Commented out the automatic generation of maps at server startup from
grrmud.cc
- 2004-12-11 11:11 gingon
- [r747] mud/grrmud/server/classes.h, mud/grrmud/server/command3.cc, mud/grrmud/server/const.cc, mud/grrmud/server/const.h, mud/grrmud/server/misc2.cc, mud/grrmud/server/misc2.h Added seasons, displayed by date.
- 2004-12-11 08:36 gingon
- [r746] mud/grrmud/server/misc2.cc, mud/grrmud/server/misc2.h added a simple distributed probability matrix class,
only supports single dimension probabilities.
- 2004-12-11 02:50 eroper
- [r744] mud/grrmud/server/load_wld.cc recursive_init_loads(&object) has been fixed. We were incrementing the depth
counter for every item in a container (vs. every nested container depth).
current_in_game counts should now be accurate.
--Khaav
- 2004-12-10 12:59 eroper
- [r743] mud/grrmud/server/critter.cc, mud/grrmud/server/critter.h, mud/grrmud/server/login.cc critter format version information now stored in any file a critter is stored
in.
- 2004-12-10 09:19 eroper
- [r742] mud/grrmud/server/login.cc EQ effects are now regained at login.
- 2004-12-10 08:21 eroper
- [r741] mud/grrmud/server/object.h Fixed a compilation killer I missed with the previous commit. (forgot make
clean)
--Khaav
- 2004-12-10 08:12 eroper
- [r740] mud/grrmud/opening, mud/grrmud/server/Makefile, mud/grrmud/server/ServerConfig.cc, mud/grrmud/server/ServerConfig.h, mud/grrmud/server/command2.cc, mud/grrmud/server/commands.cc, mud/grrmud/server/critter.h, mud/grrmud/server/door.h, mud/grrmud/server/ez_skll.cc, mud/grrmud/server/ez_skll.h, mud/grrmud/server/gen_cmds.spec, mud/grrmud/server/grrmud.cc, mud/grrmud/server/misc.cc, mud/grrmud/server/misc.h, mud/grrmud/server/object.h, mud/grrmud/server/room.h, mud/grrmud/server/script.cc, mud/grrmud/server/spec_prc.cc, mud/grrmud/server/vehicle.cc Ported (merged) 717:739 from the version-2-1 branch.
--Khaav
- 2004-11-28 04:43 eroper
- [r716] mud/grrmud/server/BuildInfo.h, mud/grrmud/server/Makefile, mud/grrmud/server/classes.cc, mud/grrmud/server/command5.cc, mud/grrmud/server/grrmud.cc ported 713:715 from the version-2-1 branch.
- 2004-11-27 19:22 eroper
- [r714] mud/grrmud/server/tmp_socials.cc ported 711:713 from the 2.1 branch.
"ACKS at spits at" fixed.
--Khaav
- 2004-11-25 03:51 eroper
- [r712] mud/grrmud/startup Merged 710:711 from branches/version-2-1.
This fixes the invocation of "tail"
--Khaav
- 2004-11-23 05:45 eroper
- [r707] mud/grrmud/server/BugEntry.cc ported r705:706 from version-2-1 branch.
--Khaav
- 2004-