No. Like I said before, hex works fine.
Originally Posted by slp13at420
print(0x03EC) will print the decimal representation of the hex, which is 1004.
Btw. CMSG_GUILD_BANK_DEPOSIT_MONEY is a client packet, which means that client sends it to server.
Currently there is no way to fake receive a packet from client.
Also, the packet handler on server seems to be this:
From it we can read that guid NEEDS to be a valid guild bank object : /
void WorldSession::HandleGuildBankDepositMoney(WorldPacket& recvData)
recvData >> guid >> money;
TC_LOG_DEBUG("guild", "CMSG_GUILD_BANK_DEPOSIT_MONEY [%s]: Go: [" UI64FMTD "], money: %u",
GetPlayerInfo().c_str(), guid, money);
if (GetPlayer()->GetGameObjectIfCanInteractWith(guid, GAMEOBJECT_TYPE_GUILD_BANK))
if (money && GetPlayer()->HasEnoughMoney(money))
if (Guild* guild = GetPlayer()->GetGuild())
Also notice these:
These functions may be moved to Player functions though, but they are guild functions for now.