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.


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