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:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • 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