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. [Sphere.ini]: Added new CombatHitChanceEra setting to switch between Hit Chance formulas on physical combat. 20-04-2016, Coruja Changed: Console errors/warnings now will be colored white again (as it was on old sphere builds). Fixed: Movement checks not allowing climb some stairs/mounds. 21-04-2016, Coruja Added: New guild functions ISALLY/WEALLIANCE/THEYALLIANCE, it works exactly in the same way as ISENEMY/WEWAR/THEYWAR but used to set alliances instead wars. 29-04-2016, Coruja Fixed: COMBAT_ARCHERYCANMOVE combat feature not working correctly. Fixed: Sphere internal FastLoot prevention not working correctly. Fixed: Invisible (statf_invisible) chars not being revealed when others chars walk over him. Fixed: Vendor buy menu showing wrong char 'gold available' value. 30-04-2016, Coruja Fixed: Mounts disappearing on worldsave on some specific situations. 04-05-2016, Coruja Fixed: Wrestling using wrong attack animation when unmounted. 07-05-2016, Coruja Changed: Enhanced clients now will always have tooltips enabled (even if this feature is disabled on Sphere.ini). These clients uses tooltips instead @Click calls, so it's a must-have feature. Fixed: Spellbook gump not working correctly on enhanced clients. Fixed: Criminal notoriety incorrectly overriding guild notoriety (war/ally) on chars. 08-05-2016, Coruja Fixed: Explosion potions not working correctly. Fixed: Functions SKILLLOCK/STATLOCK not updating the lock icon on client skills/stats window. 15-05-2016, Coruja Changed: Updated internal Libev libs v4.1 to v4.22. Changed: Updated internal SQLite libs v3.8.11 to v3.12.2. 19-05-2016, Nolok Fixed #62: High value FLAGS showing wrong value when retrieved. 21-05-2016, Coruja [sphere_item_unsorted.scp]: Updated giftbox itemdefs. [sphere_map_points0/1.scp]: Fixed Hythloth entrance and updated Covetous teleports. 24-05-2016, Coruja Fixed: Tooltips not showing on disconnected chars when ALLSHOW is enabled. 28-05-2016, Coruja Fixed: Function MOVENEAR not working correctly. 29-05-2016, Coruja Fixed: Pet command 'guard me' making the pet follow the owner instead guard him. Fixed: Jailed players being teleported to the same jail region with no reason when the client login. Changed: Improved text formatting of basic console commands. 06-06-2016, Coruja Fixed: Paperdoll and character profile gump showing wrong info. [sphere_msgs.scp]: Added message 'msg_acc_age' and removed unused 'tooltip_tag_armor', 'tooltip_tag_destination', 'incognito_name_male', 'incognito_name_female'. [sphereCrypt.ini]: Added crypt key for client 7.0.50 07-06-2016, Coruja Fixed: Incognito spell considering char notoriety neutral/not-neutral on different actions. To avoid problems, now Incognito will always consider the char neutral (gray), which is the correct effect. Added: Missing features on Incognito spell -It will change char name to a random human male/female name instead always use Man/Woman. -It will change char body/hair/beard to a random color temporarily. -It won't hide guild abbreviation anymore (the player can choose hide/show it using guild menu). 13-06-2016, Coruja Fixed: Boat/ship parts resetting TYPE after use 'turn' commands. Fixed: Server crash when Injection clients connect using fake client version exploit. Changed: Renamed file Sphere.ini -> sphere.ini to avoid case-sensitive problems on Linux builds. Changed: Updated internal SQLite libs v3.12.2 to v3.13.0. 17-06-2016, Coruja Fixed: Paralyze / Paralyze Field making NPCs flood too many attack actions. Fixed: Console error when for some reason an NPC got created/moved to an invalid region. 22-06-2016, Coruja Added: Support for colored multis on target functions (only compatible with HS clients 7.0.9.0+) -Target functions can set the multi color using TARGETM [multiID, color] and TARGETFM [function, multiID, color] -Target will inherit the deed color when got triggered from an deed 27-06-2016, Coruja Fixed: Function f_onchar_delete not being called if the player char get deleted in any other way different from client Character Selecion menu. Fixed: Multi dynamic regions getting replaced by script static regions on server resync. Fixed: EF_FastWalkPrevention not working correctly. Fixed: Popup menu on players returning parsing error when send Party clilocs to unsupported clients < 6.0.0.0 28-06-2016, Coruja [sphere_item_unsorted.scp]: Fixed wrong TYPE / TDATA2 on i_fountain_life, i_chest_combination. [sphere_item_deco_carvings_statues.scp]: Fixed wrong TYPE / TDATA2 on i_statue_stone_blessed. [sphere_item_deco_furniture.scp]: Fixed wrong TDATA2 on i_chest_kings_collection. [sphere_serv_triggers.scp]: Updated 'f_onchar_delete' comments. [sphere_defs.scp]: Updated 'mount_items' and 'mem_flags' values. [sphere_skills.scp]: Reordered properties to follow the same default order on all skills (nothing was changed, just reordered). [speakhuman.scp]: Fixed 'train' command returning console error when used on guards NPCs. 29-06-2016, Coruja Fixed: Attack/Kill command on pets allowing select the pet itself as target, making it attack his owner. Fixed: WOP flood when casting spells using extremely short delays. Fixed: Containers using wrong rect area. 30-06-2016, Coruja / azmanomer [sphere_item_unsorted.scp/sphere_template.scp]: Updated more giftbox itemdefs. 08-07-2016, Coruja Changed: Some misc improvements and optimizations on combat engine. 13-07-2016, Coruja Fixed: Chars not able to climb some small mounds. Fixed: Spawns (worldgem bit) not updating DISPID when set SPAWNDEF on MORE1. 14-07-2016, Coruja Changed: Improved some NPCs interactions with players. Fixed: Spawns (worldgem bit) creating chars on stuck locations. 22-07-2016, Coruja Fixed: Security issue setting account login as chat name when newest clients try to setup the chat window for the first time and the char name is not available. Fixed: Invisible chars being incorrectly revealed by REVEALF_LOOTINGOTHERS reveal flag when picking items from the ground. Fixed: Return 0/1 on spell triggers not working correctly. Fixed: Function MOVENEAR not working correctly. 23-07-2016, Coruja Fixed: Corpses being created without MORE2 set (last attacker UID) when the char die. Changed: Updated pick/drop sound on items/containers. 01-08-2016, Coruja Added: ADD function now supports a new 2nd arg to set the obj amount (eg: 'add i_bandage 10', 'add c_gargoyle 3', ...) Fixed: Items inside trade window not firing @DropOn_Item trigger when the trade move the item to player bacpkack. PS: Using return 1 here will not cancel the trade, this must be done directly on @TradeAccepted/@CharTradeAccepted triggers. 03-08-2016, Coruja Changed: Max item capacity on containers changed from 255 to 125. This is required to make containers work properly on Enhanced Clients. 05-08-2016, Coruja Fixed: Combat swing delay not getting updated immediately when the char switch weapons on hands. 07-08-2016, Coruja Fixed: ARGN1 on char trigger @SkillPreStart not working correctly. 10-08-2016, Coruja [sphereCrypt.ini]: Added crypt keys for clients 7.0.51 and 7.0.52. [sphere_monsters.scp]: Added new TOL chardefs (Turanchula, Myrmidex Drone, Myrmidex Warrior, Myrmidex Queen, Dr. Spector, Golem Aztec). 12-08-2016, Coruja Fixed: SA+ clients showing corpses on wrong direction. Fixed: pre-SA clients showing wrong light pattern on light sources (candle, torch, etc). Fixed: Client war mode flag not being removed on death. Fixed: Multi regions not reloading correctly after server resync. 13-08-2016, Coruja Fixed: Guards not working correctly. 19-08-2016, Coruja Changed: Updated internal SQLite libs v3.13.0 to v3.14.1. 20-08-2016, Coruja Changed: Small improvements on tooltip engine. Added: Missing RESDISP/RESLEVEL 0 (pre-T2A). Default RESDISP/RESLEVEL value for new created objects is now 0 (pre-T2A) instead 1 (T2A). 21-08-2016, Coruja Fixed: Internal check to prevent drop items inside walls preventing the item drop even when the wall is on another floor. Fixed: Message "Too many items here!" not showing correctly when items are dropped on areas with too many items. 22-08-2016, Coruja Added: ISNEARTYPE function now supports an new 4th argument to only search objects on the same floor. -Syntax: ISNEARTYPE item_type, distance, check_multi, check_floor 26-08-2016, Coruja Changed: Some internal improvements on Tracking skill. [sphere_msgs.scp]: Updated messages 'tracking_*'. 27-08-2016, Coruja Changed: Small improvements on container grid engine. 31-08-2016, Coruja Changed: Some improvements to make client login proccess more reliable. 02-09-2016, Coruja Fixed: Console error when an online account got deleted. Fixed: Function f_onchar_delete not being called correctly when the account get deleted. Fixed: Players with STATF_Stone flag set taking 1hr to disconnect (client linger time) after logout. 03-09-2016, Coruja Fixed: NPCs not clearing fight action correctly when the current target get out of sight. 05-09-2016, Coruja Fixed: TimerCall setting on sphere.ini using wrong time format (hours instead minutes) to call f_onserver_timer function. [sphere.ini]: Removed unused FEATURE_KR_UPDATE_B feature flag. 06-09-2016, Coruja Added: Support for races on MALE_DEFAULT / FEMALE_DEFAULT starting items template. Fixed: Items getting equipped on invalid layer or unplaced on world when EQUIP / NEWITEM functions can't equip the item on char. -This also fixes new account characters being created with some starting items missing. [sphere_newb.scp]: Added gargoyle race templates. 07-09-2016, Coruja Changed: Temporarily disabled ATTACKER.x.IGNORE function and @HitIgnore trigger until we find a way to fix its broken functionality. 14-09-2016, Coruja Fixed: Rubberband effect when using @Step trigger with MOVE/GO function + return 1. Changed: return 1 now can be used on @[Item]DropOn_Ground trigger, it will cancel the drop and return the item to its previous location. 16-09-2016, Coruja Fixed: DAM/ARMOR properties going to 65535 when set any value > 255. Fixed: NPCs not looking around anymore after start wandering action. [sphere_msgs.scp]: Updated messages 'skillact_*'. 23-09-2016, Coruja Fixed: Items not going to backpack when dropped over backpack icon on char paperdoll. 26-09-2016, Coruja Fixed: HTTP server not working correctly. Fixed: Console error when deleting account characters. Fixed: Account character creation not coloring skirt on female characters. [sphere_msgs.scp]: Removed message 'msg_guildresign'. 27-09-2016, Coruja Changed: Updated internal SQLite libs v3.14.1 to v3.14.2. 05-10-2016, Coruja Fixed: Guards NPCs already placed on world not attacking criminal/murderer chars walking nearby. Fixed: Potions creating cooldown memory (layer_flag_potionused) using wrong name. 06-10-2016, Ares Changed: New Options for export to exclude own character (SRC) when performing export. The options are now: - 1: Only items - 2: Only characters without own character. - 3: Items and characters without own character. [1+2] - (4: Include own Character. But this is meaningless without flag 2) - (5: Only items including own character makes no sense. ;-) ) - 6: Only characters including own character. [2+4] - 7: Items and characters including own character. [1+2+4] Fixed: A rarely occuring bug when importing characters: Sometimes when characters are imported, there is a chance for identical items at same place (in backpack), which are deleted. This shouldn't happen anymore. Fixed: Importing items with same BASEID and different DISPID at the same place in world removes one of the items unexpectedly. This is especially the case for WSC imports, where same DISPIDs of the same BASEID are is almost always intended. (For example when a part of the static is in game for a while, or migrated between CentrED and a Building-Sphere-Server) The fix is: Such items are not deleted anymore, only when the dispid (and other stuff) matches as well. 08-10-2016, Ares Fixed: Critical Bug in background save mechanism where an unsaved offline player character disappears from worldsave when moved to an already saved sector. 17-10-2016, Coruja Fixed: NPCs losing 'statf_spawned' flag after server restart. Fixed: Nightsight buff icon not being enabled/disabled when using NIGHTSIGHT function or changing 'statf_nightsight' char flag. Changed: Updated internal SQLite libs v3.14.2 to v3.15.0. 06-11-2016, Coruja Changed: Updated internal SQLite libs v3.15.0 to v3.15.1. [sphere_item_char_icons.scp]: Added char icons for Tarantula, Dr. Spector, Tyrannosaurus Rex, Unicorn (Rainbow) [sphere_item_unsorted.scp]: Added ITEMDEF for TOL christmas giftbox (i_giftbox_christmas) [sphere_monsters.scp]: Updated some TOL chardefs [sphere_map0_ml.scp]: Added TOL regions [sphere_map5.scp]: Moved a_valley_of_eodon, a_shadowguard to sphere_map0_ml.scp [sphere_defs.scp]: Added mount memory for Ancient Hellhound, Tarantula, Unicorn (Rainbow) [sphereCrypt.ini]: Added crypt key for classic client 7.0.53 and enhanced clients 4.0.33 ~ 4.0.53 12-11-2016, Coruja Fixed: Resurrect, Reveal, Meteor Swarm and Lightning spells showing effect animation even when EFFECT_ID=0 is set [sphereCrypt.ini]: Added crypt key for classic clients 7.0.54 ~ 7.0.55 and enhanced clients 4.0.54 ~ 4.0.55 [sphere_map0.scp]: Added missing 'region_flag_guarded' on a_townOcclo [sphere_map1.scp]: Added missing 'region_flag_guarded' on a_old_haven_town and a_new_haven_town 27-11-2016, Coruja Fixed: Console error related to client internal chat engine when some clients connect on server Fixed: Worldsave not saving DAM/ARMOR properties set manually on chars/items already placed on world -NOTE: Changing DAM/ARMOR directly on ITEMDEF/CHARDEF scripts won't update all objects already created anymore, because Sphere will now read DAM/ARMOR values from save files instead read from scripts. To update DAM/ARMOR on objects already created, it will be needed an function like FORINSTANCES to loop through all objects where the value must be updated Added: Support for items health bar on HS clients >= 7.0.30.0 [sphere_defs.scp]: Added new CAN flag 'can_i_damageable' to enable health bar on items (MORE1L = cur hitpoints / MORE1H = max hitpoints) 30-11-2016, Coruja Fixed: Server crash when custom clients connect using invalid client version. Fixed: Ghost mode not setting desolated season on clients. Changed: Small changes on some console messages to make them standard and provide more relevant data. Changed: Updated internal SQLite libs v3.15.1 to v3.15.2.