Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Feature Requests

Development::Feature Requests Post suggestions/feature requests here.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-16-2008, 04:31 PM
Astaldoath
Sarnak
 
Join Date: Sep 2006
Posts: 92
Default Would it be possible for someone to code me a function

I need a function that would cause players corpses killed in PVP to drop PVP coins which are turned in for PVP points to buy PVP items. If anyone could code this for me or help me code it I would be very grateful.
Reply With Quote
  #2  
Old 06-16-2008, 06:16 PM
eq4me
Hill Giant
 
Join Date: Jul 2006
Posts: 166
Default

I've virtually no time to spare right now but as far as I can see this behavior is handled in zone/PlayerCorpse.cpp, search for "tCanLoot".
The idea of giving out special coins for PVP kills is cool, but I can think of a few issues that should be handled.

- Reward should be based on level, level difference and class. That might include some penalties for strong PvP classes(Necro) that kill weaker classes.
- Reduced/No reward if the killed char is naked and has a corpse with equipment (-> corpse camping)
- Check for exploits and foul play. Like PKer and PKed play from the same IP.
Reply With Quote
  #3  
Old 06-18-2008, 01:10 AM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

This thread should answer your question:

Quote:
Originally Posted by AndMetal View Post
The item that is dropped in PvP is defined in the variables table as PvPreward:
Quote:
Allows players to loot items off a player corpse in pvp | 0 - no items | 1 - a single item | 2 - all items | 3 - item specified in PvPreward |
So, say you have Item ID 12345 (as an example) that you want to be dropped when you kill someone in PvP. You would then change the value for PvPreward in variables to 12345.
Hope this helps
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 12:07 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3