Jump to content

Recommended Posts

Posted

if (activeChar.isDead() && activeChar.isAlikeDead() && activeChar.isOnline()==0 && activeChar.isCastingNow() && activeChar.isAfraid() && !activeChar.isAttackable() && activeChar.isInJail() && !activeChar.isVisible() && activeChar.isAway()
&& activeChar.isMuted() && activeChar.isMounted() && activeChar.isOutOfControl() && activeChar.isOverloaded() && activeChar.inObserverMode() && activeChar.isFestivalParticipant()
&& activeChar.isInParty() && activeChar.getParty().isInDimensionalRift() && activeChar.isInDuel() && activeChar.atEvent && CTF._started && activeChar._inEventCTF && activeChar.isInOlympiadMode() || Olympiad.getInstance().isRegistered(activeChar)
&& activeChar.isLearningSkill() && activeChar.isLocked() && activeChar.isFlying() && activeChar.isFishing() && activeChar.isInFunEvent() && activeChar.isInCombat() && activeChar.isInCraftMode() && activeChar.getPrivateStoreType() != 0)

 

i think this should looks like this

	if (activeChar.isDead() || activeChar.isAlikeDead() || activeChar.isOnline()==0 || activeChar.isCastingNow() || activeChar.isAfraid() || !activeChar.isAttackable() || activeChar.isInJail() ||

....

   

   

Posted

Sorry if its an off-topic but maybe u can make same thing but for NPC buffer ? (like only donators will be able to use some buff options)

off topic : why not to use a VIP BUffer ? too simple ^^
Posted

looks good ill test it today :)

 

off topic : why not to use a VIP BUffer ? too simple ^^

 

i got a clan npc vip buffer if you wanna i can share it

 

just send me a pm :)

  • 2 weeks later...
Posted

Maybe you can tell us the paths , so we ( the naabs ) can install this code ?XD

 

im agree with you, looks nice but i cant use it cuz i dont know where everything goes.

 

i know that a lil part goes to mods.properties antoher to voicehandlers but i dont know where to add this

 

public static boolean ENABLE_CUSTOM_SPAWNX;
public static int     WAIT_MINUTES_TO_TP_BACK;
    public static int     CUSTOM_SPAWNX;
	public static int     CUSTOM_SPAWNY; 
	public static int     CUSTOM_SPAWNZ;
public static int     CUSTOM_SPAWNBX;
	public static int     CUSTOM_SPAWNBY; 
	public static int     CUSTOM_SPAWNBZ;

ENABLE_CUSTOM_SPAWNX = Boolean.valueOf(otherSettings.getProperty("AllowCustomFarm", "False"));
WAIT_MINUTES_TO_TP_BACK = Integer.parseInt(otherSettings.getProperty("WaitMinsToTpBack", "15"));
CUSTOM_SPAWNX = Integer.parseInt(otherSettings.getProperty("CustomSpawnX", "-44836"));
CUSTOM_SPAWNY = Integer.parseInt(otherSettings.getProperty("CustomSpawnY", "-112524"));
CUSTOM_SPAWNZ = Integer.parseInt(otherSettings.getProperty("CustomSpawnZ", "-235"));
CUSTOM_SPAWNBX = Integer.parseInt(otherSettings.getProperty("CustomSpawnBX", "-44836"));
CUSTOM_SPAWNBY = Integer.parseInt(otherSettings.getProperty("CustomSpawnBY", "-112524"));
CUSTOM_SPAWNBZ = Integer.parseInt(otherSettings.getProperty("CustomSpawnBZ", "-235"));

 

can you xplain me that part? D:

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock