EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Loot Any Players Corpse?? (https://www.eqemulator.org/forums/showthread.php?t=40206)

Soak 11-26-2015 03:05 PM

Loot Any Players Corpse??
 
Is there any way to make it so players can loot any other players corpses they come across? Looking to do this outside of any PVP.

Thanks so much!!

Uleat 11-26-2015 03:23 PM

There's a lot of code checks involved and I'm pretty sure we don't have a rule for that...


But...

https://github.com/EQEmu/Server/blob...orpse.cpp#L884

and

https://github.com/EQEmu/Server/blob...rpse.cpp#L1066

would probably be good places to begin.

Secrets 11-26-2015 04:07 PM

You can remove those checks in C++ but make sure you don't allow two players to loot the same corpse. That's just asking for dupes. :)

Soak 11-26-2015 04:19 PM

Thanks! I'm probably way over my head in this area since I know nothing of C++, but will mess around with it and see what I come up with. Trying to re-create the old Rogue PC game experience where you would come across corpses of previous adventurers.

Thanks again!!


All times are GMT -4. The time now is 09:44 AM.

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