View Single Post
  #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