Jump to content
  • 0

Question

Posted

i have already made a topic but i didnt really got it....

 

the buffer i want to create is with htmls, for example

 

999

999-1

999-2 etc...

 

and inside html buffing is like 

 

<table>
<tr>
<td width=40><button action="bypass -h npc_%objectId%_getbuff 1068 3" width=32 height=32 back="icon.skill1068" fore="icon.skill1068"></td>
<td width=240>
<table>
<tr><td><font color=LEVEL>Might</td></tr>
<tr><td><font color=00FF7F>Increases P. Attack</font></td></tr>
</table>
</td>
</tr>
</table>
 
what code should i apply and where to get this done?

Recommended Posts

  • 0
Posted

it works perfect,the thing is that when i take a buff then the chat jumps on 10...

i guess this is the reason 

 

 NpcHtmlMessage html = new NpcHtmlMessage(1);
+            html.setFile(getHtmlPath(getNpcId(), 10));
+            html.replace("%objectId%", getObjectId());
+            player.sendPacket(html);

 

but how could i make it to stay on the same page i took the buff from?
for example if i take windwalk from page 1 after the "refresh" it stays on the page 1.
i tried bypass -h npc_%objectId%_getbuff 1204 2 1     where 1 is the page i took the buff from but it doesnt work, i dont even get the buff...

  • 0
Posted

This bypass will work if you add the patch I posted on the previous page of this topic.

indeed!!!

 

somthing else, whats the code-bypass to cansel and restore all?

Guest
This topic is now closed to further replies.


×
×
  • Create New...