Jump to content
  • 0

Question

Posted

Guys i want 1 java code Spree system.

but with Config.

Can someone make it?

Cobra's one,dont have config.can someone make a spreee system with config?

 

EDIT : for interlude,l2j :D

13 answers to this question

Recommended Posts

  • 0
Posted

fail java doesnt care if its C6 or CT2 rofl. u just change the imports and some strings and its ok.

i know what i should change,but maybe he dont know thats why i tell that .

  • 0
Posted

i cant fidn this reviveRequest(this, null, false);

find this

	public void stopAllTimers()
{
	stopHpMpRegeneration();
	stopWarnUserTakeBreak();
	stopWaterTask();

and then add

 

 		quakeSystem = 0;

  • 0
Posted

how i can put Config in this system?

for example

i mean to put this option in l2jmods.properties.

Something like this

#==============#

Quake System

#==============#

Quake System Enable= True

how i can do this ?

  • 0
Posted

Go to L2PcInstance.java

 

and fint this

 

      switch(quakeSystem) {

        case 4:

        Announcements.getInstance().announceToAll("" + this.getName()+ " is Dominating!");

        break;

        case 6:

        Announcements.getInstance().announceToAll("" + this.getName()+ " is on a Rampage!");

        break;

        case 8:

        Announcements.getInstance().announceToAll("" + this.getName()+ " is on a Killing Spree!");

        break;

        case 10:

        Announcements.getInstance().announceToAll("" + this.getName()+ " is on a Monster Kill!");

        break;

        case 12:

        Announcements.getInstance().announceToAll("" + this.getName()+ " is Unstoppable!");

        break;

        case 14:

        Announcements.getInstance().announceToAll("" + this.getName()+ " is on an Ultra Kill!");

        break;

        case 16:

        Announcements.getInstance().announceToAll("" + this.getName()+ " is Godlike");

        break;

        case 18:

        Announcements.getInstance().announceToAll("" + this.getName()+ " is Wicked Sick!");

        break;

        case 20:

        Announcements.getInstance().announceToAll("" + this.getName()+ " is on a Ludricrous Kill!");

        break;

        case 24:

        Announcements.getInstance().announceToAll("" + this.getName()+ " is on a Holy Shit!");

        default:

        ;

        }

 

add this:

 

 

  public void QuakeSystem()

    {

    if (Config.ALLOW_QUAKE_SYSTEM)

    {

    quakeSystem++;

          switch(quakeSystem)

          {

          case 4:

          Announcements.getInstance().announceToAll("" + this.getName()+ " is Dominating!");

          break;

          case 6:

          Announcements.getInstance().announceToAll("" + this.getName()+ " is on a Rampage!");

          break;

          case 8:

          Announcements.getInstance().announceToAll("" + this.getName()+ " is on a Killing Spree!");

          break;

          case 10:

          Announcements.getInstance().announceToAll("" + this.getName()+ " is on a Monster Kill!");

          break;

          case 12:

          Announcements.getInstance().announceToAll("" + this.getName()+ " is Unstoppable!");

          break;

          case 14:

          Announcements.getInstance().announceToAll("" + this.getName()+ " is on an Ultra Kill!");

          break;

          case 16:

          Announcements.getInstance().announceToAll("" + this.getName()+ " is Godlike");

          break;

          case 18:

          Announcements.getInstance().announceToAll("" + this.getName()+ " is Wicked Sick!");

          break;

          case 20:

          Announcements.getInstance().announceToAll("" + this.getName()+ " is on a Ludricrous Kill!");

          break;

          case 24:

          Announcements.getInstance().announceToAll("" + this.getName()+ " is on a Holy Shit!");

          default:

          ;

          }

    }

    }

 

Then Go To config.java

 

	public static boolean ALLOW_QUAKE_SYSTEM;

 

				ALLOW_QUAKE_SYSTEM = Boolean.parseBoolean(OtherSettings.getProperty("AllowQuakeSystem", "True"));

 

add in otherSettings.ini

 

AllowQuakeSystem = True

  • 0
Posted

ALLOW_QUAKE_SYSTEM = Boolean.parseBoolean(OtherSettings.getProperty("AllowQuakeSystem", "True"));

public static boolean ALLOW_QUAKE_SYSTEM;

in which line?

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..