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

C++ Use shared_ptr for depot locker and depot chests

Lopaskurwa

Active Member
Joined
Oct 6, 2017
Messages
873
Solutions
2
Reaction score
49
Hello trying to install this comit Use shared_ptr for depot locker and depot chests by nekiro · Pull Request #3423 · otland/forgottenserver (https://github.com/otland/forgottenserver/pull/3423/commits/116b51f08ede4554713f1d4c63d0362989ede261) into TFS 1.2 but getting this error
Code:
Warning    C4189    'it': local variable is initialized but not referenced    theforgottenserver    C:\Server\src\player.cpp    163  
Error    C2227    left of '->setParent' must point to class/struct/union/generic type    theforgottenserver    C:\Server\src\player.cpp    1091  
Error    C2065    'ITEM_LOCKER1': undeclared identifier    theforgottenserver    C:\Server\src\player.cpp    1095  
Error    C2065    'ITEM_MARKET': undeclared identifier    theforgottenserver    C:\Server\src\player.cpp    1097  
Error    C2065    'inbox': undeclared identifier    theforgottenserver    C:\Server\src\player.cpp    1098

This is my src files without that comit
depotchest.h

iologindata.cpp

player.cpp

player.h

could someone help me install this comit?
 

Similar threads

Back
Top