When looting a mob after killing it the loot window does not display the loot correctly
i have confirmed this on the eq2emulater server as well as building from the latest source on SVN
tested with COe version 1208
Improper Loot window display
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
Improper Loot window display
You do not have the required permissions to view the files attached to this post.
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
Re: Improper Loot window display
i have a fix for this on live client (dov works as well) need to test COE but i believe that offset may be 12
in client.cpp in this function
void Client::Loot(int32 total_coins, vector<Item*>* items, Entity* entity ){
modify the section of code below to add the get version (GetVersion() >= 63119) in order to change the offset
in client.cpp in this function
void Client::Loot(int32 total_coins, vector<Item*>* items, Entity* entity ){
modify the section of code below to add the get version (GetVersion() >= 63119) in order to change the offset
Code: Select all
int8 offset = 0;
if (GetVersion() >= 63119){
offset = 13;
/*memcpy(ptr, tmpPacket->pBuffer + 11, tmpPacket->size - 11);
ptr += tmpPacket->size - 11;
packet_size += tmpPacket->size - 11;*/
}
else if (GetVersion() >= 860){
offset = 11;
/*memcpy(ptr, tmpPacket->pBuffer + 11, tmpPacket->size - 11);
ptr += tmpPacket->size - 11;
packet_size += tmpPacket->size - 11;*/
}
else{
offset = 10;
/*memcpy(ptr, tmpPacket->pBuffer + 10, tmpPacket->size - 10);
ptr += tmpPacket->size - 10;
packet_size += tmpPacket->size - 10;*/
}
memcpy(ptr, tmpPacket->pBuffer + offset, tmpPacket->size - offset);
ptr += tmpPacket->size - offset;
packet_size += tmpPacket->size - offset;
safe_delete(tmpPacket);-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Improper Loot window display
Committed to dev svn
Who is online
Users browsing this forum: No registered users and 0 guests