• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS 1.X+ OnEquip arguments muliplies by 3?

QuickLearner

New Member
Joined
Mar 20, 2018
Messages
15
Reaction score
1
Hi,

I'm playing with onEquip / onDeEquip methods and I don't know what is happening. This is my test code :

And when I'm trying to get the slot number or item id all values are "multiplies" by 3. So for example:

head slot should be 1 but it is 3
armor slot should be 4 but it is 12 and so on...

item id should be 2461 but it is 7383 ......

But when I'm going with divide value by 3 the number behaves like normal? I mean

head slot "is" 3 - divide by 3 ( to get normal value ) and the result is 0.333333.

leatherSet.xml
1632117015377.png

movements.xml
1632117161617.png


Can someone explain what is going on?
 
Back
Top