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

you are not the owner in the loot body

Mateus Robeerto

Excellent OT User
Joined
Jun 5, 2016
Messages
1,338
Solutions
71
Reaction score
699
Location
ლ(ಠ益ಠლ)
you are not the owner in the loot body
does anyone know how to get this shit out? in source? or some script?

tfs 1.2 8.0 by celehore
 
Last edited:
How to know what tfs you have....
in 1,5 is in actions.cpp
del
Lua:
uint32_t corpseOwner = container->getCorpseOwner();
 if (corpseOwner != 0 && !player->canOpenCorpse(corpseOwner)) {
 return RETURNVALUE_YOUARENOTTHEOWNER;
 }
 
Lua:
/*uint32_t corpseOwner = container->getCorpseOwner();
 if (corpseOwner != 0 && !player->canOpenCorpse(corpseOwner)) {
 return RETURNVALUE_YOUARENOTTHEOWNER;
 }*/
I put this line blocked and it doesn't open anymore, how to solve it?
 
Lua:
/*uint32_t corpseOwner = container->getCorpseOwner();
 if (corpseOwner != 0 && !player->canOpenCorpse(corpseOwner)) {
 return RETURNVALUE_YOUARENOTTHEOWNER;
 }*/
I put this line blocked and it doesn't open anymore, how to solve it?
it was this line msm, I just put it blocked and it solved the problem... because it wasn't opening in the bp or body it was an otlcient bug, I had to clean "%TMP% " it came back to normal and it works normal thanks
 
Back
Top