Jump to content
  • 0

Raidboss earthquake


Guarder
 Share

Question

6 answers to this question

Recommended Posts

  • 0

The next comment will be a video with animations explaining how 2 variables work. 

And the very next will be FBI consider him as a terrorism action.

Link to comment
Share on other sites

  • 0

Edit fourth parameter of the Earthquake packet. If you don't know where's the use, search for all occurences of "new Earthquake(" on project scope.

Edited by Tryskell
Link to comment
Share on other sites

  • 0
7 minutes ago, Tryskell said:

Edit fourth parameter of the Earthquake packet. If you don't know where's the use, search for all occurences of "new Eartquake" on project scope.

 

It is L2Raidboss type,if i look into L2RaidbossInstance i have this:

        Earthquake eq = new Earthquake(player.getX(), player.getY(), player.getZ(), 14, 3);

 

Also he's class is Baium (it is lindvior) ...so should i edit baium too?

				npc.broadcastPacket(new Earthquake(npc.getX(), npc.getY(), npc.getZ(), 40, 5));

the order in earthquake.java is this :

    private final int _x;
    private final int _y;
    private final int _z;
    private final int _intensity;
    private final int _duration;

 

means i have to lower the number "14" and "40"?

 

 

Link to comment
Share on other sites

  • 0

Why you ask silly questions?

Tk told you to LOWER 4TH VALUE which is intensity, you checked the code and confirmed that it's indeed intensity.

 

So what do you want more?

 

If you want to decrease it, decrease. Don't ask us if you should or not. It's up to you.

 

God help us.. :rage:

 

@Kara`

Link to comment
Share on other sites

  • 0
12 minutes ago, SweeTs said:

Why you ask silly questions?

Tk told you to LOWER 4TH VALUE which is intensity, you checked the code and confirmed that it's indeed intensity.

 

So what do you want more?

 

If you want to decrease it, decrease. Don't ask us if you should or not. It's up to you.

 

God.. :rage:

 

@Kara`

You had to drag me into ah? -.-

 

@KIDutz Stop acting like passive photosynthetic plant and use what separate us from the rest of the live organisms. Use your gray substance and your frontal lob. 

 

If you hold ctrl + click on the Earthquake method it open the main method which literally explain each variable it accept. It cleary says

intensity and duration. 

 

Which mean, if u reduce the intensity the earthquake will be softer and if u reduce the duration (in seconds) it will ... uhm reduce duration... 

Edited by Kara`
Link to comment
Share on other sites

  • 0

EarthQuake packet structure.

 

<?xml version="1.0" encoding="UTF-8"?>
<packet id="SM_EARTH_QUAKE" xmlns="http://www.l2emu-unique.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.l2emu-unique.net ../../../schemata/packet.xsd">
	<dword alias="Epicenter X" />
	<dword alias="Epicenter Y" />
	<dword alias="Epicenter Z" />
	<dword alias="Intensity" />
	<dword alias="Duration" type="TimeRemaining" />
	<dword alias="By NPC" type="YesOrNo" /> <!-- needs further testing, but NPC AI seems to have 1 and CW seems to have 0 -->
</packet>

 

If this not enough for your, than nobody helps you more.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



  • Posts

    • Mmm but i have everything in the client, item and correct grade, effect,etc. Works but you need press te SS when pj is attack to activate... What define the action of click secundary ? 
    • requires client side modding
    • Long time no see 🙂 !   Rejoin fee deletion   Since 21th October 2022, the "rejoin fee" concept has been deleted. The initial fee is still 100€, and you still have to pay monthly to get access. If you lose access and want access back, pay 10€ minimum. I reserve the right to refuse you access if you abuse the system.   PTS is refreshed with feature/IU-update branch for a short time being !   This branch adds a unique way to refresh Pet and Player inventories, supposingly fixing any type of bad uses of InventoryUpdate packet, queuing changes and sending them after a short delay (333ms actually).   Pet and Players also hold one unique packet per entity, avoiding the generation of thousands and thousands of packets. Finally, "lazy" uses of ItemList are dumped (crystallization and wherever places "complex" operations regarding inventory update was done and L2J decided to lazyfix it with a ItemList send), and ItemInstance doesn't hold anymore ItemState. All changes are automatically done and sent.   Up to Sunday 12th Feb, reported issues regarding inventory management will reward you x2 more cookies (4-20 cookies max instead of regular 2-10 cookies), depending about issue severity. The branch will then be shortly commited into master branch.   Triskl, when next rev plx man ?   It's not because there is currently no "public" revision, there is no work done in background. We're currently at commit 2832, which is 162 commits above current release.   For the changeset lovers (and I know there are), the next revision is currently 77 lines long (and obviously more with the introduction of InventoryUpdate rework).   Happy candlemas !
  • Topics

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