View Single Post
  #10  
Old 11-03-2013, 09:18 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Here's what I see:

Code:
// Check for No Drop Hacks
	Mob* with = trade->With();
	if (((with && with->IsClient() && dst_slot_id>=3000 && dst_slot_id<=3007) || // Trade
	(dst_slot_id >= 2500 && dst_slot_id <= 2550)) // Shared Bank
	&& GetInv().CheckNoDrop(src_slot_id)
	&& RuleI(World, FVNoDropFlag) == 0 || RuleI(Character, MinStatusForNoDropExemptions) < Admin() && RuleI(World, FVNoDropFlag) == 2) {
		DeleteItemInInventory(src_slot_id);
		WorldKick();
		return false;
	}
loosely interpreted as:

if(((<trade>) || (<shbank>)) && (<chknodrop>) && (<rule:fvnodrop==2>) || (<rule:nodropexemption<admin>) && (<rule:fvnodrop==0>))


There's probably a missing encapsulation somewhere in there somewhere.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote