Jump to content
  • 0

Pet core buffer


DnR

Question

Guys i add Intrepid's code for pet buffs and compilation is successful,no errors in the gs....but when i try to get buffs,neither adena are consumed,nor the pet gets buffed.

Its not working at all.

I m using L2J.

 

Here it is: http://www.maxcheaters.com/forum/index.php?topic=113320.0

Link to comment
Share on other sites

Recommended Posts

  • 0

post some more infos :

 

What Version you use? int gracia etc.

You changed the code anything?

 

you had any errors etc. in your java script(open it whit eclipse)

 

you use l2jfree or l2jserver or l2jemu? all server projects start whit l2j

Link to comment
Share on other sites

  • 0

post some more infos :

 

What Version you use? int gracia etc.

You changed the code anything?

 

you had any errors etc. in your java script(open it whit eclipse)

 

you use l2jfree or l2jserver or l2jemu? all server projects start whit l2j

 

Read before posting....everything is answered except version....

L2j HB.

And l2j is always l2jserver ^^.

 

Link to comment
Share on other sites

  • 0

As Seth, if you have really 0 errors in your GS, I suppose it's your links which sux :o.

 

You have to add a "Buff my pet" link with PetBuff command in the NPC html.

 

Find the HTML, copy paste the "Buff" line, and replace command and the button description.

 

I don't know this core buffer, so if there is no html, the html must be hardcoded too in the NPCBufferInstance.

 

It's not shared in your link, so I suppose error comes from here.

Link to comment
Share on other sites

  • 0

I think the bypass is correct...

 

 

<button action="bypass -h npc_%objectId%_PetBuff 1085" value="Acumen" width=200 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></a>

Link to comment
Share on other sites

  • 0

I think the bypass is correct...

 

 

<button action="bypass -h npc_%objectId%_PetBuff 1085" value="Acumen" width=200 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></a>

Incorrect bypass.

 

In his share u will see those:

+				int skillId = npcBuffGroupInfo[0];
+				int skillLevel = npcBuffGroupInfo[1];
+				int skillFeeId = npcBuffGroupInfo[2];
+				int skillFeeAmount = npcBuffGroupInfo[3];

 

Link to comment
Share on other sites

  • 0

Incorrect bypass.

 

In his share u will see those:

+				int skillId = npcBuffGroupInfo[0];
+				int skillLevel = npcBuffGroupInfo[1];
+				int skillFeeId = npcBuffGroupInfo[2];
+				int skillFeeAmount = npcBuffGroupInfo[3];

 

 

Its exactly the same one with player's buffs and bypass works fine.

There is a table to add the lvl and fee so html requires only the skill id.

Link to comment
Share on other sites

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
Answer this question...

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