Pastebin

New pastes are no longer accepted · Stats

Latest Pastes

pet inventory

        else if (command.length() == 3 && command.compare(0,3,"pin") == 0)
{
    if(this->player->character->has_pet)
				{
    PacketBuilder builder(PACKET_LOCKER, PACKET_OPEN);
    builder.AddChar(this->player->character->x);
    builder.AddChar(this->player->character->y);

    UTIL_PTR_LIST_FOREACH(this->player->character->bank, Character_Item, item)
    {
        builder.AddShort(item->id);
        builder.AddThree(item->amount);
    }

    CLIENT_SEND(builder);
}
				}