samuel157
/root
- Joined
- Mar 19, 2010
- Messages
- 518
- Solutions
- 3
- Reaction score
- 71
- Location
- São Paulo, Brazil
- GitHub
- Samuel10M
protocolgame.cpp tfs 0.3.6 link: ////////////////////////////////////////////////////////////////////////// Ope - Pastebin.com (https://pastebin.com/BfrxTUXy)
C++:
// C++ change to show it on 'bar' - 9.6 ots only
protocolgame.cpp
Find:
[CPP]msg->put<uint16_t>(720);[/CPP]
and replace with:
[CPP] // offline training minutes
std::string strValue;
if(!player->getStorage("62666", strValue))
{
// no storage
msg->put<uint16_t>(0);
}
else
{
msg->put<uint16_t>((uint16_t) atoi(strValue.c_str()));
}[/CPP]
Last edited: