Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 04-26-2010, 07:52 PM
Auxie
Fire Beetle
 
Join Date: Mar 2005
Posts: 21
Default Is this possible? (pvp)

So i'd like to have pvp rules in a zone on a server that is majorly non-pvp. In fact only one zone would follow real pvp server rules such as custom item loot.

There are a lot of ways i'm going around this currently including a /quests/templates/player.pl that removes the pvp status on zone in (successfully) but what I cannot get around is that you can /duel another character and still loot the custom item. I tried this in the templates/player.pl
Code:
sub EVENT_LOOT {
	if ($looted_id == "10780"){
	$client->Message(15, "You can't loot that here!");
	$client->DeleteItemInInventory("30",1,true);
	}
}
But that doesn't seem to #1 delete the item off of the cursor (30 being cursor slot_id), and #2 get around the fact that people would be able to right click loot and totally bypass the cursor clear.

Is what i'm asking totally undoable on a server that I want to mostly be PVE? Or could I tell the DB to loot a different item if the pvp happens based on a duel and not normal pvp?

Any input is appreciated. Thanks.
Reply With Quote
  #2  
Old 04-26-2010, 09:02 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Try this:
Code:
sub EVENT_LOOT {
	if ($looted_id == 10780){
	$client->Message(15, "You can't loot that here!");
	$client->NukeItem(10780);
	}
}
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 04-26-2010, 11:10 PM
Auxie
Fire Beetle
 
Join Date: Mar 2005
Posts: 21
Default

Trev,

I had gone through an iteration of that but it was nuking all of the "pvp reward" coins that someone had in their inventory. While it may be a good way to dissuade people from pk corpse looting for the tokens, I'm not sure if nuking all of the offender's coins is the best way to go about it.

Although it does seem to be the only successful way to combat the issue at this time.

Thanks.

edit: come to think of it, it may be the BEST way to dissuade people from dueling for the pvp rewards (read: abusing the reward system). I'll sleep on it.

2nd edit: interestingly enough it doesn't nuke the reward coin on the cursor but it does nuke any in the inventory. If it nukes all in the bank as well then this will be my perfect solution. It's like telling the players "Sure you can do this all you want, but you will only ever profit with 1 reward coin" (not much value from reward merchant).

Last edited by Auxie; 04-26-2010 at 11:27 PM.. Reason: see above
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 10:32 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