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

Slot Container.

Joined
May 23, 2010
Messages
185
Reaction score
23
I want to know if i have to change in sources, i want the ring slot transform on a kind fo backpack container. Where i have to change>

Thankx
 
@Zysen ofc^^

@topic
You need to edit this function:
[cpp]ReturnValue Player::__queryAdd(int32_t index, const Thing* thing, uint32_t count, uint32_t flags) const[/cpp]

I think you need to change this:
[cpp] case SLOT_RING:
if(item->getSlotPosition() & SLOTP_RING)
ret = RET_NOERROR;
break;
[/cpp]

to:
[cpp] case SLOT_RING:
if(item->getSlotPosition() & SLOTP_BACKPACK)
ret = RET_NOERROR;
break;[/cpp]
 

Similar threads

Replies
0
Views
200
Back
Top