ScorpiOOn93
etherno.net
Hiho
I have a small problem. I've changed my distro from tfs 0.2 to 0.3 and I had some problems but with Hermes i've fixed them (tnx ;*) and now i have only one problem with movements, this problem is that i have scripts onEquip and OndEuip with some items (like armor, rings etc.) and if this function have scripts like crownarmor.lua (If someone wear crown armor then he will look like hero) then i can't wear that item on his slot (ring, armor etc.)
On tfs 0.2 it was working, but on tfs 0.3 beta 3 it's not working ;o
For example:
In movements.xml
In data/movements/scripts file called: crownarmor.lua
And all another scripts like this script don't work (exp ring in movements, sd ring etc.)
I have a small problem. I've changed my distro from tfs 0.2 to 0.3 and I had some problems but with Hermes i've fixed them (tnx ;*) and now i have only one problem with movements, this problem is that i have scripts onEquip and OndEuip with some items (like armor, rings etc.) and if this function have scripts like crownarmor.lua (If someone wear crown armor then he will look like hero) then i can't wear that item on his slot (ring, armor etc.)
On tfs 0.2 it was working, but on tfs 0.3 beta 3 it's not working ;o
For example:
In movements.xml
<movevent event="Equip" itemid="2487" function="onEquipItem" slot="armor" script="crownarmor.lua"/>
<movevent event="DeEquip" itemid="2487" function="onDeEquipItem" slot="armor" script="crownarmor.lua"/>
In data/movements/scripts file called: crownarmor.lua
And on tfs 0.3 if i have that script and the slot type is armor then on OT i can't wear it but on my previous distro (tfs 0.2) it was working without any problems.local outfit =
{
lookType = 73,
}
function onEquip(cid, item, slot)
doSetCreatureOutfit(cid, outfit, -1)
end
function onDeEquip(cid, item, slot)
doRemoveCondition(cid, CONDITION_OUTFIT)
end
And all another scripts like this script don't work (exp ring in movements, sd ring etc.)