Project 1999

Project 1999 (/forums/index.php)
-   Resolved Issues (/forums/forumdisplay.php?f=14)
-   -   Game Mechanics: When looting another player's corpse, you can't look though their items (/forums/showthread.php?t=106001)

Faerie Blossom 04-19-2013 02:59 PM

When looting another player's corpse, you can't look though their items
 
On live I liked to take pictures of my looting their corpses as my killshots, and if they had a really uber item or two I'd right click them to show that I was cool enough to kill someone with a manastone or whatever. But here we can't even look at the gear on the corpse; what's up with that?

Bamzal Sherbet 04-19-2013 03:57 PM

yep shits not classic and sux asss

Gel Mibson 04-19-2013 04:00 PM

This would be cool if implemented.

Reddi 04-19-2013 04:14 PM

This is a custom project. Working as intended.

Captivate 04-20-2013 05:22 AM

Quote:

Originally Posted by Faerie Blossom (Post 927246)
On live I liked to take pictures of my looting their corpses as my killshots, and if they had a really uber item or two I'd right click them to show that I was cool enough to kill someone with a manastone or whatever.


damn son, big dreams

Itap 04-20-2013 09:03 AM

Id imagine it can be done, just a lot of work. Hopefully bog can force classic UI one day

Faerie Blossom 04-20-2013 09:10 AM

Quote:

Originally Posted by Itap (Post 927902)
Id imagine it can be done, just a lot of work. Hopefully bog can force classic UI one day

We don't need classic UI to do this; it should just bring up the items on their corpse like it does for any NPC. Worked in classic, worked in PoP, and probably works now on live Zek server.

Itap 04-20-2013 09:12 AM

No no, I know it's not needed to bring up the items, just saying in general I hope they can force classic UI heh

Sorry to derail

Alecta 04-21-2013 09:13 PM

I am guessing they have a customized (or out of date) PlayerCorpse.cpp.

With the latest version of source, I was able to get loot window to appear by adding one line to Corpse::MakeLootRequestPackets()

Code:

        else if(GetPKItem() == -1 && CanMobLoot(client->CharacterID())) { tCanLoot = 3; } //pvp loot all items, variable cash
        else if(GetPKItem() == 1 && CanMobLoot(client->CharacterID())) { tCanLoot = 4; } //pvp loot 1 item, variable cash
        else if(GetPKItem() > 1 && CanMobLoot(client->CharacterID())) { tCanLoot = 5; } //pvp loot 1 set item, variable cash
        else if (lootcoin) { tCanLoot = 6; } // Added by Alecta, just cash, no items.

Adding that bottom line will let the code fall through the checks to generate the ItemPacketLoot but since GetPKItem()==0 you can't actually loot anything in Corpse::LootItem().

If a developer wouldnt mind providing me with the P1999 PlayerCorpse.cpp, I could diff it up and see what's going on.

Bamzal Sherbet 04-26-2013 03:44 PM

Quote:

Originally Posted by Alecta (Post 929429)
With the latest version of source, I was able to get loot window to appear by adding one line to Corpse::MakeLootRequestPackets()

I agree, not hard

Quote:

Originally Posted by Alecta (Post 929429)
If a developer wouldnt mind providing me with the P1999 PlayerCorpse.cpp, I could diff it up and see what's going on.

Goodluck with that


All times are GMT -4. The time now is 01:17 AM.

Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.