![]() |
Damage 65530-65550 Negative - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: Damage 65530-65550 Negative (/Thread-Damage-65530-65550-Negative) |
Damage 65530-65550 Negative - darksoulfe - 06-12-2017 10:55 PM Good morning guys, I'm in big trouble. Some of my shard's players have damage in 65k negative status. I looked in the save the login of both accounts and it shows me the damage of 1-4 (without weapon). The big problem is that when the player uses a weapon with an estimated damage of 30-49 he can not attack because his damage is 65542-65874 and thus always negative. I'm in this big problem in my hands please someone is a light Status Damage 65530-65550 RE: Damage 65530-65550 Negative - darksun84 - 06-13-2017 12:54 AM Are you using the increasedam property in some @equip/@unequip triggers or made some change to it? RE: Damage 65530-65550 Negative - darksoulfe - 06-13-2017 01:10 AM I have a command called. Where char using it removes all equipped items and clears the statuses in 100 (str int mana) Just any more RE: Damage 65530-65550 Negative - darksun84 - 06-13-2017 01:12 AM Can you post the script? Does it happens with every weapons? RE: Damage 65530-65550 Negative - darksoulfe - 06-13-2017 01:16 AM [FUNCTION arrumar] if (<RESTEST i_rune_polymorph>) sysmessage @07a1,0,1 Você não pode usar este comando enquanto estiver em polumorph... return 1 endif if (<flags>&statf_dead) sysmessage @07a1,0,1 Você não pode usar este comando enquanto for um fantasma. return 1 endif IF (<flags>&statf_freeze) sysmessage @07a1,0,1 Você não pode arrumar seus status nestes condições. return 1 endif IF (<flags>&statf_stone) sysmessage @07a1,0,1 Você não pode arrumar seus status nestes condições. return 1 endif REF1=<UID> FOR x 1 24 if !(<eval <local.x>> == 11) && !(<eval <local.x>> == 15) && !(<eval <local.x>> == 16) && !(<eval <local.x>> == 21) && !(<eval <local.x>> == 21) ref1.findlayer(<eval <local.x>>).cont <ref1.findlayer(21).uid> ref1.findlayer(<eval <local.x>>).updatex endif endfor ref1.findlayer(21).updatex str 100 modstr 0 maxhits 100 dex 100 moddex 0 maxstam 100 int 100 modint 0 maxmana 100 RESPHYSICAL 0 RESCOLD 0 RESFIRE 0 RESENERGY 0 RESPOISON 0 updatex sysmessage @07a1,0,1 Seu status foram corrigidos, seu itens estão em sua bag e suas resistências foram resetadas! return 1 After I fixed the damage of the vanq weapons from the script of the shpere itself, did they start buggling with that? RE: Damage 65530-65550 Negative - darksoulfe - 06-13-2017 02:50 AM Some command can be used to return the damage to 1-4 where is the damage of starting a player without any weapon and without any accessory? RE: Damage 65530-65550 Negative - darksun84 - 06-13-2017 07:41 AM <dam> returns the character base damage (without weapons), while <weapon.dam> return the damage of the weapon wielded by the character. RE: Damage 65530-65550 Negative - Coruja - 06-14-2017 08:42 AM try check the <DAMINCREASE> property on these chars if the value is negative it will decrease the char damage, and if it reach an negative it will be converted to 65.535 because the internal C++ value conversion* *damage value is calculated as "unsigned short", which can only handle values from 0~65.535 so if for some reason the value become negative, the C++ conversion will change it to "65.535 - value" |