![]() |
INI Configurations BUG - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: INI Configurations BUG (/Thread-INI-Configurations-BUG) |
INI Configurations BUG - deco - 04-17-2012 03:17 AM Bug: In Sphere.Ini we can find this configs: // Allow casting while equipped EquippedCast=0 // Words of power for player using magic WOPPlayer=1 If I disable WOPPlayer (i've rewrited the WOP sys) automatically the equipped cast will be allowed even if EquippedCast is equal to 0. So, If I have WOPPlayer=0 and EquippedCast=0 players CAN CAST with equipped weapons (that not considers the other configuration) RE: INI Configurations BUG - ShiryuX - 04-17-2012 02:47 PM I can't test it right now, but I can confirm your bug by just looking at the code. I'll fix it ASAP. Thank you. RE: INI Configurations BUG - RanXerox - 04-18-2012 07:42 AM ShiryuX, after you fix it, can you give us some more implementation details... is it anything in either hand layer (shield, spellbook, lantern, instrument, wand, etc), or is it checking the item in the layer for specific types (i.e weapons specifically)? RE: INI Configurations BUG - deco - 04-18-2012 09:51 AM About the WOP, if u can put the speech mode equal to 10, it will be good cause razor can identify this speech mode (some players like this to use the functions of color spells or show the name o spell in razor) The mode used now is 3, but it is to speech, spells = 0x10 RE: INI Configurations BUG - ShiryuX - 04-18-2012 01:07 PM Sphere was doing the following: - Check if you have wop, set true/flase to local.wop - Check if you have wands (wands don't use wop), set true/false to local.wop - Check for equippedcast ini setting & local.wop So, the wand check was for not unequipping the wand and also it used the same variable for wop, which is logical, but if you have a setting for wop it isn't logical at all. The system checks if you're casting from an item, if so, check if you're using a wand or scroll. If you don't use a wand, check for layer_hand1 and layer_hand2 and unequip. |