---- 0.56d -------------------------------------------------------------------- ---- 11/04/2016 10-04-2016, Coruja - Changed: Food level won't decrease on GM chars anymore. - [sphere_msgs.scp]: Removed messages 'npc_text_murd_*'. - [sphere_speech.scp]: Moved hardcoded speech commands 'I must consider my sins', 'I resign from my guild' and 'I resign from my town' to scripts. IMPORTANT: It's HIGHLY recommended update this script, or these speech commands will stop working. 18-04-2016, XuN - Removed TAG.OVERRIDE.MAXWEIGHT and added ModMaxWeight on it's place for Banks and Corpses. - Fixed stackable items not checking maxweight on corpses. - Removed all references to MEMORY_WAR_TARG since they are not needed anymore, targets are handled by 'Attacker' now. - Added back old HitChance formula under CombatDamageEra = 0 - Updated checks on @NotoSend trigger: it will not check anymore if ARGN1 > NOTO_INVUL, so you can create custom notoriety. 19-04-2016, Coruja - Fixed: Protection spell not working correctly if COMBAT_ELEMENTAL_ENGINE combat flag is disabled. 14-05-2016, XuN - Fixed: Pets not gaining Karma (it can be blocked through @KarmaChange trigger, no reason to stop it from the source). - Fixed: Killing pets and/or bonded pets not giving karma (same reason as above). - Fixed: Hits being canceled when going out of range and COMBAT_STAYINRANGE was enabled, it should happen when it is disabled. - Fixed: Attack delay broken when COMBAT_PREHIT is disabled because of using as SetTimeOut animDelay instead of iSwingDelay. - Fixed: Weird crash related to a change on CChar:OnTick() (Not really fixed, just reverted the code because I couldn't track what is exactly causing it and seems to happen when there are ~100 clients online, so I'm not going to mess a lot with it, it's not cool to use 100 players to do tests :) ). - Attempt to log and stop a crash related to the NetworkOutput. - Fixed: NPC_FightMagery not correctly checking if the NPC can use magic skills and creating some infinite loops under certain circumstances. 15-05-2016, XuN - Updated Fight_IsActive function with NPC's skills and one Attacker's check. - Fixed: NPCs not ending combat when their target is far away from them and calling Attacker_Delete() @CombatDelete with argn=2 (Distance) to give control over it. - Fixed: GUARD ME making pet following you instead of guarding you (Thanks Shamino). - Fixed: NPCs being dumb before they reach their target. - Updated a bit CChar::OnTick. 17-05-2016, Nolok - Fixed: speech color for NPCs on Enhanced Clients being always "yellow". Achieved this by forcing (only for EC) system (0) talkmode instead of say (3). This workaround works only if the speech packet sent by Sphere is Unicode (instead of ASCII), so you'll need to set SAY_DEF_UNICODE in sphere_msgs.scp to 1. - Added: SpeechColorOverride property (players only, R/W) to override client speech hue. This will not affect Words of Power hue, you can use spell triggers for this (WOP hue on Enhanced Client will still be set by the client, regardless of the hue sent by the server). SpeechColorOverride = 52 (or 0x34), which is the default yellow hue for player speech, disables the override. Remember: SpeechColor property is read-only for players and R/W for NPCs. For players, it contains the last speech hue sent by the client. For NPCs, its value will be used to set their speech hue. - Fixed: SpeechColor not overriding the speech hue for NPCs. SpeechColor = 946 (or 0x382), which is the default gray hue for NPC speech, disables the override. - Changed: If a hue is not specified, SAY and MSG will use SpeechColor or, if set, SpeechColorOverride. - TODO: add default npc and player speech color as a def to sphere_defs.scp 19-05-2016, Nolok - Fixed: wrong parsing when an unicode prompt response packet is received. 29-05-2016, Kaylala (Khaos) Gump Enums, New Container Defines, Misc Switches from Prop Attributes… to Flags, Added AlterItem Prop. - Added: uofiles_enums.h - New Gump Enums for several new containers, cards, and other miscellaneous assets. - Added: CContainer.cpp - definitions for the new Container Gump assets. - Updated: Tables - Removed Only as these are unused. Split the NoDropTrade back into separate flags as they also have separated CliLocs. Moved over Balanced, BattleLust, and BloodDrinker as they are now being checked as Item Attributes. These all are now stored on Items only. cItemBase_props.tbl had AlterItem added to it. - Updated: Several old Props that are checked in Can's and Attr. These got a minor update switching the checks to force any 1 set in individual props to just work with those Can's and Attr's. - Added: New Attr list from base pack reflecting EA attributes and changes from some props to a more appropriate Attr setting where no values are truly needed. This should save on some memory consumption. Note: More needs to be switched over and I am trying to get this and the Base Packs completely up to date and somewhat synchronized with the most efficient methods Xun and I can think of. 30-05-2016, XuN - Fixed CanUse not inheriting from the higher item (ie: i_boomerang_bla not inheriting CanUse from i_boomerang). - Fixed Statf_War not clearing in every situation when calling Attacker_Clear(). - Added RecipeAlchemy,RecipleBlacksmith, RecipeBowcraft, RecipeCarpentry, RecipeCartography, RecipeCooking, RecipeInscription, RecipeTailoring, RecipeTinkering (all of the current SKF_CRAFT skills). - Changed back Region Flags to dword, they do not need to store higher values yet. - Added PayGold() method to control payment values with it's own trigger: ON=@PayGold: Argn1 = Gold to pay. Argn2 = Payment type ( 0 = Train, 1 = Buy , 2 = Hire). src = The NPC receiving the money. argo(if any) = The stack of gold used to pay (ie: training) - OWNER is now RW, it can be used to set NPC's owner directly without the need of custom functions. - Added NEWSUMMON, working as NEWNPC and NEWITEM, eg: serv.newsummon=c_ogre,15 new.p=

// Will summon an ogre for 15 seconds on your position, not giving the second param will result in default timer according to your magery skill. 29-05-2016, Kaylala (Khaos) - Updated: Tables - Removed Balanced, BloodDrinker, and BattleLust from BaseBaseDef tables and CObjBase tables since they were moved. Moved Bane and SplinteringWeapon to CItem tables. - Added: Attr_SplinteringWeapon to CItem.h. - Added: SplinteringWeapon, Balanced, and Bane to Item Properties and removed them from Obj handling. All now use ATTR_*. - Added: Missing recipes: RecipeMasonry and RecipeGlassblowing. They might not have their craft skills, but they have recipes and synergy with Carpentry and Alchemy. Separated as they would on EA for others using a custom system. 30-07-2016, Nolok - Updated the README.md file with fundamental informations about this fork. - Fixed: REGIONTYPE block could not accept landtile types with index > 163. Extended this limit to 255. This also extends the maximum number of pages in a book or a dialog. - Fixed: Sphere crashing sometimes just before saying Defmessages: npc_generic_gone_1 and npc_generic_gone_2. - Changed: The redefinition of a resource will always be notified, even without DEBUGF_SCRIPTS enabled in Sphere.ini.