Jump to content
  • 0

Question

8 answers to this question

Recommended Posts

  • 0
Posted
12 hours ago, sotid said:

L2jfrozen 1004

looking for a code that prevents people to add/change sub if they have buffs.

 

On VillageMaster, section

if (command.startsWith("Subclass"))

Edit whatever subcommand (probably 1/2/3, or at least 2) with a check :

if (player.getBuffCount() != 0)
	break;

The less annoying / more transparent method for the user is probably what SweeTs said.

  • 0
Posted
22 hours ago, SweeTs said:

Simply remove all buffs before sub change. Simple. 


I already have this in my pack /sources, and it doesnt work . Am I  missing something?


https://ibb.co/dd4rmd

 

11 hours ago, Tryskell said:

 

On VillageMaster, section


if (command.startsWith("Subclass"))

Edit whatever subcommand (probably 1/2/3, or at least 2) with a check :


if (player.getBuffCount() != 0)
	break;

The less annoying / more transparent method for the user is probably what SweeTs said.


I tried but I get this
https://ibb.co/g5Rqgd

 

I tried like this too

 

if(player.getBuffCount() != 0)
	break;

or like that

if (player.getBuffCount() >= 0)
	break;

or like that

if (player.getBuffCount() != 0)
{
	break;
}

or like that

if (player.getBuffCount() >= 0)
{
	break;
}

or like that

if(player.getBuffCount() != 0)
{
	break;
}

always get this message...

  • 0
Posted
21 hours ago, wongerlt said:

change ur project encode to utf-8.

 

Do you mean save it as utf-8?

 

20 hours ago, `Son said:

use return; instead of break;

Thank you it worked , not sure why I didnt think about it..xD

Guest
This topic is now closed to further replies.


  • Posts

    • NEW HIDDENSTASH KEY SYSTEM INTRODUCED TO THE SITE   **Earn While You Spend - Introducing HS Cashback!**   Every purchase on our site now rewards you with **HS Keys cashback**   EVERY ONE WHO REGISTERS IN SITE UNTILL 15TH OF MAY GETS 2000 HS KEYS IN HES BALANE   Here's how it works:       **1 USD = 1000 HS Keys**   **Get 3% cashback** on every purchase   **Use your HS Keys to **save on your next order**   ---   ### ⚡ Why this is awesome   * Every order gives you value back   * Stack it with promos & HS usage   * Turn your spending into future discounts   ---   ### Example   Spend **$10** → Get **300 HS Keys** back   Spend **$50** → Get **1500 HS Keys** back   ---   ### Smart system (built for fairness)   * Cashback is rounded to keep things balanced   * Prevents abuse from tiny orders   * Rewards real buyers   ---   ### Start earning now   Every purchase = progress toward your next discount   Shop now and build your HS balance!   #cashback #gamingdeals #d2r #rewards #loyalty   Stay safe out there, heroes - and happy hunting! www.d2rhiddenstash.com     We just launched our new Affiliate Program — and it’s the easiest way to earn HS Keys.   Invite your friends using your personal link.   Example: If your friend spends $10 → you get 300 HS Keys No limits. No effort. Just share your link.   Get your referral link here: www.d2rhiddenstash.com/profile     Start earning today
    • https://jumpshare.com/share/L45ApA5PVrGN2O5Ua5pQ   Skill synchronization with the server: Launching and synchronizing animations, launching and synchronizing effects. All of this is tied to the server's timing  
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..