Code Updates as of 10/08/2011

by Lyseri on October 8, 2011

in Code Updates

The completed list of code updates and fixes as of October 8, 2011. If something is missing a helpfile or its helpfile is incorrect, please notify us here.

The list of updates and some questions you may have (HELP FAQ):

1) Why did my skills change?
We’re starting out class revamps so classes are a bit more balanced. All classes were adjusted to work with resistance and armor class code. If you gained a skill you shouldn’t have or did not gain a skill you should have, tell us so we can fix this. Some of your skills came at 74% because we moved the points over from other skills that were removed, while those that were added with nothing removed come at 1%. If you have no more practices or trains for any skills at 1%, tell us and we’ll set it up to 74% for you. If you were leveling, we will gladly help you fix your practice table. Please note that these changes are not final.

2) Do I get more practices to practice my skills?
We’re considering it fair for you to practice any new skills you gained as you likely had close to the same number of practice sessions as any other class that has more skills than you. If you are completely out of practices or trains, you can ask one of us to set your new skill to 74%. You may also choose to try watching someone so you can gain a skill from 1%.

3) My permslot got removed. What do I do?
You can go to any guildmaster and use “exchange permforget” to get your experience back.

4) What new commands are in?
There are lots of new commands in, and we’re slowly working to update helpfiles. Refer to the forum. A few of note: FINTRO, =, RESIST, CLANPOWER, HOBBLE, WILD, UPPERSLASH. Some spells: CELESTIAL THUNDER, SILVERTONGUE, ENSORCEL, MIASMA, ARCANA.

5) Why do my items give no resistances?
There’s so many of them and we need to set them manually! Be patient and
soon enough your items will be powerful again.

6) Why is my AC so bad?
Whatever your AC was before, it didn’t do anything unless your opponent had 10 hitroll. The update now makes AC reduce physical damage. AC is on a standard from about -100 to +100. +100 is naked, and anything less than that is reducing physical damage (slash/bash/pierce). Mages should be at around 0-40 and metal wearers will range from -100 to -50. If you had anything reinforced, you should have it done again since reinforce was updated. Your armor condition will also affect your AC, so have your things fixed if they are broken.

7) Why is my armor damaged again?
It was damaged previously, but damage from 91% to 99% wasn’t showing up. Since armor condition affects your AC, we’ve changed it now so that anything under 100% shows up as damaged so you know to get it fixed.

8 ) Is this supposed to happen?
If you think something strange happened, report it so we can fix it if it is a bug.

Please report any bugs.

New Features
-renamed NEGATIVE, LIGHTNING, COLD, and HOLY to ABYSSAL, AIR, ICE, and DIVINE
-converted all resistances and vulnerabilities into numerical values, accessible with the RESIST or SHOW RESIST (in score) commands. Resistances diminish in effect the higher they are stacked and only affect magical damage.
-modified AC to reduce physical damage
-added = command to put a command at the front of the input queue
-allowed flexible introductions with FINTRO
-added NORACIAL to turn off racial tail/claw/biting
-added PERMFORGET exchange option
-added function to handle affect wearoff effects
-added ‘dual switch’ to swap dual’d weapons
-allowed DRAW to draw a weapon into the primary wield slot
-added calculation of favor by a god and modified communes to deal damage or heal based on how much the target is favored, regardless of whether the target has a religion or not.

Clan System Changes
-updated clans to take TRUERANK, which allows for a tiered instead of linear hierarchy
-separated all clan powers into flags and modified all clan commands to check for presence of clan flag
-added CLANPOWER command to list clan flags and grant clan powers
-allowed LEADER to exercise power in any area with a clan
-allowed top three tiers of ranks to show up to all clan members on wholist regardless of ROSTER
-allowed top three tiers of ranks to have CTITLE
-added territory change message when moving in/out of clan-owned land
-set gate/portal spells to inform of clan territory change
-added prompt option (%C) to show ownership of current area

New Skills/Spells
-added deluge spell
-added functions to handle deluge’s flood effect
-added radiance spell
-added celestial thunder spell
-added fortify spell
-added warding eye spell
-added steadfast spell
-added subzero spell
-added miasma spell
-added covenant of ice spell
-added covenant of fire spell
-added clairvoyance spell
-added searing/freezing blade spells
-added ice shield spell
-added flurry spell
-added scald spell
-added infuse spell
-added cinder spark spell
-added toxic haze spell
-added fortune spell
-added wanderlust spell
-added silvertongue spell
-added roulette spell
-added arcana spell
-added hobble skill
-added upperslash skill
-added whipmastery, staffmastery, spearmastery, polearmmastery, flailmastery
-added blacklight spell
-added transmute spell
-added ensorcel spell
-added sprite spell
-added ethereal prism spell
-added new enchant spell to replace enchant weapon/armor. Enchanting on armor can add resistances based on the spell scribed on a held scroll. Success depends on int/wis, skill %, how enchanted the item is already. Fading can damage AC or weapon dice. The enchantedness of an item can be estimated by casting “identify” on the object.
-added hustle skill, usable only in ranger sectors. Induces winded when it wears off or when entering non-ranger areas
-added pinning shot
-added solar flare spell
-added lunar glow spell
-added invocation of the wilds spell
-added thunder clap spell
-added inebriation skill
-added wild swing skill
-added arcane ward spell
-added force barrier spell

Class Changes
-changed HP gain from levelup to be based on con and class
-changed mana gain from levelup to be based on int/wis and class
-changed move gain from levelup to be based on str/dex and class
-set everyone to earn 4 pracs per level regardless of wis
-modified class and stat tables for hp/mana/move gain per level
-gave hand to hand to cleric in exchange for daggermastery
-gave cleric staff in exchange for dagger
-removed cleric slitthroat, shield
-gave cleric fortify for resist poison/disease
-gave cleric warding eye for knock
-gave cleric celestial thunder in exchange for dispel good
-gave knight celestial thunder in exchange for detect good
-gave clerics deluge in exchange for mass bless
-gave knight and cleric radiance in exchange for dispel evil
-exchanged knight join for upperslash
-gave knight steadfast for cloak of light
-replaced battlemage’s acid arrow with chill touch
-replaced battlemage’s ephers ball with parry
-replaced battlemage’s immolate with searing blade
-replace battlemage acid blast with freezing blade
-exchanged battlemage’s shocking grasp for ice shield
-gave battlemage flurry in exchange for lightning bolt
-gave battlemage scald, swordmastery
-gave shifters clairvoyance spell in exchange for heat metal
-returned disguise to thieves, allowing only sentient biped victims
-gave shaman infuse, toxic haze, covenant of fire
-gave shaman cinder spark spell in exchange for dispel evil
-gave shaman lightning bolt in exchange for cause serious
-exchanged shaman lightning bolt for malevolence
-exchanged shaman’s dispel good for nocturnal shield
-lowered level of shaman chill touch
-removed shaman resist disease
-exchanged vagabond’s invis for fortune
-exchanged vagabond’s detect invis for wanderlust
-exchanged vagabond entangle for roulette
-exchanged vagabond’s dust for campfire
-exchanged vagabond remove curse for arcana
-gave vagabond silvertongue, resist poison, warding eye
-gave hobble and upperslash to warriors
-gave rangers hustle and pinning shot
-allowed rangers to move in underbrush with camo and sneak at greater cost of movement
-gave necromancers curse, resist disease
-gave necromancers blacklight spell in exchange for join
-granted necromancers miasma in exchange for gale
-exchanged necromancer cloak of night for covenant of ice
-lowered level of hand to hand for druids
-gave druid solar flare for detect evil
-gave druid lunar glow in exchange for silence
-gave druid thunder clap in exchange for acid blast
-gave druid invocation of wilds for shield
-gave barbarian inebriation and wild swing
-exchanged enchanter’s detect evil for ensorcel
-exchanged enchanter’s detect good for deflection
-exchanged enchanter’s mist walk for elemental blast
-gave enchanters transmute for acid blast
-gave enchanter sprite for lightning bolt
-gave enchanter enchant for enchant weapon/armor, set its skill to be average of the two
-swapped enchanter and vagabond attract other for charm

Race Changes
-increased weight that can be held based on str
-updated all racial resists and vulns
-halved racial res/vuln on disease and poison
-updated all racial max stats
-updated all racial max roll stats

General Old Skill and Command Fixes/Changes
-halved duration of plague/blindness
-removed mana/move draining of plague update
-set a delay to administer to prevent superhealing affects
-blocked administer, aid, and herbs on fighting targets
-set create scroll to create to inventory
-increased hex’s benefit on total fail
-set cloak of light and cloak of night to be exclusive
-changed SHOW to allow SHOW AFFECTS and SHOW RESIST in score
-removed QUIET mode
-removed all blanket weapon and magic resists
-upped minor magical barrier’s protection to -5
-changed nightmare mantle from resist light to resist holy
-changed wear so that only shield or hold may be used, not both at once
-set locate object/seance to fail to find objects in nogate areas/rooms
-allowed recognize to get NPC names
-made recognize force user visibility, give away user name, and forget names names for use on PCs
-changed concentrate to pick up shorts as based on how victim sees self instead of instant name and face.
-changed mana manipulation for psionic surge
-changed mind flay to only work outside of combat
-changed amnesia to reduce a chosen skill of the target to 0%
-changed up some stuff in amnesia to cause fighting and to be usable in fights
-changed nourish to not require hungry/thirsty to use
-prevented butchering PC corpses with items in them
-standardized costs of cure and group healing spells. Made group heals cost more mana with more people healed, but with lower cost for each additional person.
-made healing spells dependent on skill % of previous spells
-set group heals to not heal the healer, promoting use of self-cure skills
-modified cleric sanctuary damage reduction to be more consistent
-allowed diagnose to estimate mana/movement of target
-expanded protection of spiritual quilt
-changed backstab to only check for victim can’t see
-reduced the damage from animorph to better fit in with revised magic damages
-modified values in animorph since AC is now for damage reduction
-reduced HP bonuses of animorph
-removed haste from animorph wolf and gave it to hawk
-changed climb to be unusable by animorphed hawk/wolf
-disabled gather, treat, and herb for animorphed
-allowed snuffing of campfires while animorphed
-changed reinforce to now work multiple times for better armor types and require certain skill amounts
-allowed reinforce failure to damage/destroy items
-changed summon demon horde/band to be usable together, 1-2 demons each
-reduced level of casting of scourge
-fiddled with the calculation for modifier in possession/demonspirit
-changed rot weapon to diminish enemy weapon condition and damage but not destroy
-tweaked practice percent amounts and added some variability
-set practice to show current percentage after practicing
-changed all reward messages to give percent and skill rewarded
-modified all skills to have a difficulty of practicing that is different from difficulty of improving
-made adjustments to all AC granting spells to handle AC to different slots
-changed flash spell to reveal hidden
-removed failure of commune/project/infest/layhands so they act like cast
-changed dispel evil/good to be unusable by neutral
-removed holy word’s hp/move penalties and allowed it to hit opposite align but not followers of the god
-reduced AC debuff of faerie fire to conform to new armor standard
-changed spell damage from 3 int and 1 wis to equal int/wis dependency
-modified spell damage to only check int/wis if it’s an int/wis prime attribute spell
-modified spells to be affected by skill %, by doing more damage or increasing effects
-allowed sneak, backtrack, hide, and camo to be watched if in same group
-capped drain, enervation, and energy drain for recovery effects
-made disguise only show mob long desc pose if char is in same default position
-added some wait timers to disguising
-changed hide wearing off to add a tick of revealed
-set blackjack to cap chance to between 0 and 100
-allowed estimate to give rough blackjack success estimation for thieves
-changed timer on blood elemental to coincide with infuse timer
-changed up cleave to deal one hit per axe wielded in combat and to damage shields
-modified charge so that it has an actual fail chance
-modified charge to knock people down to sitting, reduced time, added fall damage based on size
-added chance for failing charge to result in a trip if victim can trip
-modified charge to induce extended winded on victim and user
-allowed charge on any target regardless of HP so long as user is not winded
-modified the time lag on trip
-reduced movement use on bodyslam
-updated energize to add a fixed amount of mana to any object regardless of object level
-updated drain to recover 2x obj level of mana or the energized mana amount
-updated all item creation spells to set a mana amount equal to spell cost
-reduced cost of berserk and fixed timer issue, adjusted AC debuff
-added skill % effects to hobble, berserk, and charge affects
-changed freedom to have a failure rate and adjusted wait time on casting
-added ‘energize’ effect to enchanting and magical repair
-revamped release spell to be cast on victim, have a failure rate, have new messages, and grant disillusioned
-modified lightning bolt to depend on rain in sector
-added a small delay after autoraise of low levels
-reduced some of the bonuses from Ring of Celeste and renamed spell to mystical ring
-recalculated deflection rate so that fewer people in room means less chance of bouncing and hitting someone
-changed deflection to weaken each time it deflects
-renamed charm person to charm and changed it to cast with duration depending on skill
-set ungrouping a mob/player attracted with charm to release them from charm
-modified all equipping to attempt to remove whatever is interfering (shield, hold, weapon)
-swapped raise spells to check raiser wis instead of int
-added spell type to all spells
-set identify to give a hint as to how enchanted/ensorcelled an item is for enchantable items
-allowed murder while imprisoned
-allowed attacking imprisoned char to break them free of their chains
-modified ephers blocking rate.
-modified concealing objects on head/body to only conceal skin if both are present
-allowed mobs that were hidden in any way to go back into hiding if left alone
-fixed AC value for tailored gear so as not to be super high
-updated NPC healer costs
-updated how NPC healers cast spells
-added dispel magic to NPC healers
-fixed NPC mana heal for targets other than self
-made it so all damage to equipment is visible
-fixed NPC stats to cap out at racial stats if they exist
-decreased default NPC stat setting so they don’t all have 25 stats at level 55
-changed mob spell % calculation to cap out at level 55
-set mobs to load up according to new AC standards
-allowed both cleric and mage mobs to load up with more mana
-set paralyzed characters to show status in their poses
-allowed memorization of up to 6 permslots

Combat Changes
-changed damage function to modify damage received based on value of resistances
-modified combat messages to show absolute damage, amount of res/vuln, and relative damage to target
-changed claw, tail, and biting to scale with level rather than work the same at level 1 as level 50
-modified resists to contribute when checking for saving
-removed saves damage reduction and standardized magic damage for many spells
-removed all strange damage types like light or drowning and swapped in current ones
-made mobs not hunt misted chars and shortened mist walk’s timer
-more combat hacking, added new apply types, and locations for combat attribute modifications.
-set aggressive, non-hunting mobs to have a lower aggression rate on things they can’t see and a message upon accidental attack
-increased mana regen of melee classes
-reduced damage to weapons/armor from fighting
-made it possible to disarm bound weapons, just harder
-made dirt kick and species claw/tail/biting no longer continue fighting if stunned
-allowed more slots to be damaged
-attempted to stop groups fighting single target after stun

Building Changes
-added exit flags, music, and pelt type tables to oedit help
-cleaned up some OLC field descriptions
-disabled some put flags on furniture
-disabled many flags in OLC that shouldn’t be added on obj/mobs
-set inside and underground sector to default to room_indoors flag
-modified affect adding/removing to handle value-based resistances in both OLC and ADDAPPLY
-modified OLC to handle adding values to resistances/vulns
-edited OLC to automatically set AC values for armor
-added command KEYFIND to allow builders to find rooms using a certain key
-fixed many instances where pets/mounts/summons did not have COMM flags set properly
-modified exit setting in OLC to intelligently set doors or remove flags like trap
-updated all necessary tables for resistances
-removed equipment armor type check for mobs
-put in new OLC standards (neglecting affects and other things)
-set attack, defense, critical values settable for OLC
-changed prog resist check to work with new resist system
-set up new standards for all armor types
-set area object index loading to automatically update to new standards
-set pfile object loading to automatically update old reinforce to new reinforce at lowest level
-increased cost of mail to Seria since Seria ~ all
-changed OLC to no longer show exotic ac for armor types
-added ac_bash, ac_pierce, and ac_slash apply types to modify eq or character AC
-changed some weapon damtypes to get rid of all that DAM_ACID
-changed gale to dam_bash
-changed wrath damage to mental type
-modified religion save/load and olc for new favor system
-added ability to clear several flag fields in olc
-added ROOM_NOWHERE block on several random transportation spells
-modified mob long desc to only show up if sentinel mob is in room it loaded in or stay area mob is in original area
-edited mob long descs to ignore location if they’re from imm areas
-exempted pets/mounts from long desc hiding
-set object lore to start off as a string “(null)” instead of NULL
-set oedit_copy to check for NULL before copying lore
-changed mob offensive backstab to circlestab
-fixed mob offensive circlestab, dodge, and dirt kick
-exempted mobs with restrung long descs from long desc hiding if they are lost
-added ‘shot’ keyword to several shotglasses
-added prog_delapply to remove all affects from obj/char or a named one
-added table for rain/sun amount per sector
-changed mobs to automatically adjust AC based on weapon res/vuln flags
-changed ROOM_NOWHERE flag to block random entry
-changed skill resetting to be any skill at LEVEL_IMMORAL
-modified addapply and prog addapply to have the option of taking a name for affect
-set mob races to automatically set based on race data
-added line into loading players and loading mob index so null race defaults to human
-added functions to adjust AC when mob loads up based on act flags and res/vuln
-added ACT_ANIMAL flag
-set OLC to adjust mob and armor AC if level is tweaked
-changed spec_cleric to be more like current clerics
-initialized values for material constructor
-set closed portals to allow people to enter if they have mist walk/passdoor and the door isn’t nopass
-set infuriating on portals and objects to make picking harder
-made prog_goto add aggressions if mob is fleeing
-allowed prog_vforce to work on fighting mobs
-added CHK_ENCHANTED affect
-allowed shields to have more AC by standards
-modified scale/ringed/chain to have same standards
-reduced points allowed for doubled slots

Bug Fixes
-fixed a bug in is_hunting and swapped room danger to use it
-fix to mob flying positions when they’re left alone
-fixed a bug in mob progs that would expect a door when checking exits
-fixed bug in locate object/seance that would return no message if the only found object could not be seen
-fixed aggression to add all previous fighting targets if mob chases a fleer
-fixed bug in skill table for zero wait time on psychic wave
-fixed iedit no do_fun name crashing the mud when you reenter to try and edit it.
-changed MIL to MSL in owhere to prevent crashing on huge short descs
-fixed a flag bug in calm
-added aggression fix to distract
-set tame to allow only one charmie
-fixed bitvector tables in OLC for affect2 and affect3
-fixed a bug in guiding that allowed ghosts to help others improve
-fixed weather so that night/day transition isn’t missed
-fixed bug in appraise that allowed improvement on worthless items
-fixed bug that prevented obj damage from affecting AC
-fixed a bug in resets that could push limited items overmax
-changed check in charm/attract other to limit user to one magically charmed creature
-set boundary conditions on a bunch of CEDIT commands to prevent crashing
-fixed bug preventing non-backup mob pets from entering portals
-fixed bug causing mana to go to negative with reinforce
-fixed bug causing inclusion of OOC group to remove mail costs
-fixed bug that prevented extra weapon effects from landing on non-targeted victims
-fixed stun to knock people off of mounts if they were mounted
-added a line to flee to hopefully let you flee so long as you’re attacked
-fixed bug in estimate that capped out weight estimation at 17.5 pounds
-quick fix to get_skill so mobs aren’t having 100% skill at level 20-30
-fixed bug in mob long desc with multiple resets
-fixed bug in all transportation spells that caused typo to crash the game
-fixed null paf in lightning bolt
-fixed memory bug in distract and aggression
-fixed charm so successful charming while in a group doesn’t make enemy attack
-fixed bug in animorph talking
-fixed logging for non-command commands
-set mail copy to free intermediate string

General Message Changes
-changed messages for possession/demonspirit wearing off
-fixed message in spiritual quilt
-fixed some names in create food
-added wear off message for temporal quake
-fixed some messages in compare and psionic surge
-changed dead person OOC message to be same as deaf
-fixed an extra space in melee attack without a damage type
-fixed a period in chargen ethos
-changed message for fear
-changed message for rattle bones
-changed messages for spirit vision/speak
-fixed up a lot of messages for disguise
-removed spam for wilderness/street fighting
-fixed typo in initiate
-fixed typo in burnt corpses
-fixed capitalization error in look by adding capitalize_only method
-fixed typo in haunt
-fixed typo in resist disease
-changed summon messages wearing off to be unique
-fixed a message error in item damaging
-set identify to give weight in 10ths of pounds and cost in silver
-tweaked messages in identify
-fixed a message error in moving into closed doors with two word keywords
-made “You feel somewhat different” only appear for affects/affect2/affect3
-changed message for maenor’s succeeding
-fixed a message in murder
-changed message for bless wearing off
-made bless’s message visible only to can-see
-cleaned up wearoff messages for major/minor barriers
-attempted a fix so sleeping returns false for can_see methods.

General Code Clean Up
-cleaned up some stuff in CHANNELS
-cleaned up class default tables
-cleaned up get_random_room procedure
-formatted some stuff in language.c
-changed up some formatting in LANGUAGE
-fixed up some poor ordering in recite
-handled no spell on brandish/zap/recite
-added CHAR_DATA pointer in PCdata to help locate character
-cleaned up a lot of pointer variables
-cleaned up some trace flags in skill improvement
-removed a bunch of leftover old_hit stuff that wasn’t cleaned up before
-cleaned up age of ancients
-cleaned up adding to aggression
-alphabetized some tables
-formatted race table
-cleaned up removal of flying/invis/sleep/paralyze to be generally attached to flags
-edited out lots of NOCHANNEL use since the flag does nothing

Immortal Commands and Enforcement
-set spells to show name to imms regardless of class
-fixed the same bugs in immput that were in put
-fixed proper long display in mstat
-added messages for SWITCH and RETURN for imms
-removed extra NOHAUNT from NOTELL
-set question to send up a message on wiznet
-added WIZ_RP wiznet flag
-set HEREWARD, REWARD, PECHO, ECHO, and ZECHO to send messages to imms with WIZ_RP
-modified who clan to show appropriate clan members based on roster
-added ethos limits in RaEdit
-set astrip, restore, delapply to handle affect wearoff effects too
-modified religions to take favored and enemy races, alignments, classes, ethos, and gods
-modified sacrifice to send sacrificed object to a designated room
-modified PKtimer to not decrement if character is disconnected
-modified ip display for connecting sites

For the Future
– luck variable added, partially stubbed out new combat functions, need to fill them out and make them active

r626

Leave a Comment

Previous post:

Next post: