• 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!

Solved Help with Loot Slots

biagitox

New Member
Joined
Dec 13, 2009
Messages
38
Reaction score
3
Hello OTLand Community. I've downloaded the latest version of OTServBR (Version 12) and have a trouble with slots on corpses loot. Here i go:

1. In items.xml, "slain demon" is configured with this line:
Code:
<attribute key="containerSize" value="24" />

2. Then, when i kill any Demon, i have only 15 items in loot, like that:
loot-message.png
and when i open it, the containers have only 15 slots, like that:
loot-container.png

3. But when i create a slain demon with command "/i slain demon", the corpse is working with normal slots (24), like this:
normal-corspe.png

If anyone can help me with this issue. It's so important for me. Please!
Thank you all!
 
Solution
Yes M0ustafa, same ID. The difference is when i kill, obtains only 15 slots. And when i create the corpse, the attribute it's ok :'(
I just take a look at OtservBR on github and they don't have the same id when you kill demon it create:
Code:
    <item id="5995" article="a" name="slain demon">
        <attribute key="containerSize" value="15" />
        <attribute key="decayTo" value="2916" />
        <attribute key="duration" value="10" />
        <attribute key="corpseType" value="blood" />
    </item>
not this one:
Code:
    <item id="2916" article="a" name="slain demon">
        <attribute key="containerSize" value="24" />
        <attribute key="decayTo" value="2917" />
        <attribute key="duration" value="900" />...
Yes M0ustafa, same ID. The difference is when i kill, obtains only 15 slots. And when i create the corpse, the attribute it's ok :'(
I just take a look at OtservBR on github and they don't have the same id when you kill demon it create:
Code:
    <item id="5995" article="a" name="slain demon">
        <attribute key="containerSize" value="15" />
        <attribute key="decayTo" value="2916" />
        <attribute key="duration" value="10" />
        <attribute key="corpseType" value="blood" />
    </item>
not this one:
Code:
    <item id="2916" article="a" name="slain demon">
        <attribute key="containerSize" value="24" />
        <attribute key="decayTo" value="2917" />
        <attribute key="duration" value="900" />
        <attribute key="corpseType" value="blood" />
    </item>
and as you can see there's difference in containerSize.
 
Solution
I just take a look at OtservBR on github and they don't have the same id when you kill demon it create:
Code:
    <item id="5995" article="a" name="slain demon">
        <attribute key="containerSize" value="15" />
        <attribute key="decayTo" value="2916" />
        <attribute key="duration" value="10" />
        <attribute key="corpseType" value="blood" />
    </item>
not this one:
Code:
    <item id="2916" article="a" name="slain demon">
        <attribute key="containerSize" value="24" />
        <attribute key="decayTo" value="2917" />
        <attribute key="duration" value="900" />
        <attribute key="corpseType" value="blood" />
    </item>
and as you can see there's difference in containerSize.
Thank you, and M0ustafa too. I didn't look the demon.xml

And exactly, when de demon dies, have 2916 corpse. Fixed, Thank you both!
 
Back
Top