lucasmourahere
New Member
- Joined
- Feb 24, 2016
- Messages
- 31
- Reaction score
- 1
Hello Otland,
I am facing a very critical problem and I would like some of you to help me. The problem is as follows:
The pokémon is "disappearing" from inside the ball .. that is, I think he is losing the attributes of pokeball, I am not sure what is happening.
Example the ball was like this:
14:57 You see a ultraball.
It contains an Ancient Metagross.
Boost level: +50.
Holding: X-Attack (Tier: 3) and Y-Cure (Tier: 4). It is female.
Spend some time the pokemon "Disappears from the PokeBall" and looks like this:
14:56 You see a ultraball.
Contains Ancient Metagross.
ItemID: [11829].
or
14:56 You see a ultraball.
ItemID: [11829].
The error occurs when the player replays and the following message appears in the console (distro):
[Warning - IOLoginData :: loadItems] Unserialize error for item with id 11829
Can anybody help me? Thank you.
I'm using google translator because I'm Brazilian! If you are posting in the wrong area, please, some moderator will move the topic.
bump
bump
I am facing a very critical problem and I would like some of you to help me. The problem is as follows:
The pokémon is "disappearing" from inside the ball .. that is, I think he is losing the attributes of pokeball, I am not sure what is happening.
Example the ball was like this:
14:57 You see a ultraball.
It contains an Ancient Metagross.
Boost level: +50.
Holding: X-Attack (Tier: 3) and Y-Cure (Tier: 4). It is female.
Spend some time the pokemon "Disappears from the PokeBall" and looks like this:
14:56 You see a ultraball.
Contains Ancient Metagross.
ItemID: [11829].
or
14:56 You see a ultraball.
ItemID: [11829].
The error occurs when the player replays and the following message appears in the console (distro):
[Warning - IOLoginData :: loadItems] Unserialize error for item with id 11829
Can anybody help me? Thank you.
I'm using google translator because I'm Brazilian! If you are posting in the wrong area, please, some moderator will move the topic.
C++:
void IOLoginData::loadItems(ItemMap& itemMap, DBResult* result)
{
do
{
uint64_t attrSize = 0;
const char* attr = result->getDataStream("attributes", attrSize);
PropStream propStream;
propStream.init(attr, attrSize);
if(Item* item = Item::CreateItem(result->getDataInt("itemtype"), result->getDataInt("count")))
{
if(!item->unserializeAttr(propStream))
std::cout << "[Warning - IOLoginData::loadItems] Unserialize error for item with id " << item->getID() << std::endl;
itemMap[result->getDataInt("sid")] = std::make_pair(item, result->getDataInt("pid"));
}
}
while(result->next());
}
bump
bump
Last edited: