Jump to content
  • 0

.status Command Image


Accountant

Question

Hey guys,i need help to change the image on my command .status (shows target stats). I cannot find where i can change the image on source but i cannot find the html file either.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Hey guys,i need help to change the image on my command .status (shows target stats). I cannot find where i can change the image on source but i cannot find the html file either.

Is in your source.. voicedcommandhandler.

Go there and you will see your command.

Link to comment
Share on other sites

  • 0

It's not there,probably made a mistake or two when compiling before.I can only see a statscmd.java but commands there is stat and stats.Btw ty for fast reply.

Link to comment
Share on other sites

  • 0

paste your code here is hardcoded html as i can see on a svn frozen

must be in those lines

NpcHtmlMessage adminReply = new NpcHtmlMessage(5);
				L2PcInstance targetp = (L2PcInstance) activeChar.getTarget();
				
				TextBuilder replyMSG = new TextBuilder("<html><body><center>");
				replyMSG.append("<br><br><font color=\"00FF00\">=========>>" + targetp.getName() + "<<=========</font><br>");
				replyMSG.append("<font color=\"FF0000\">Level: " + targetp.getLevel() + "</font><br>");

must be like this 

NpcHtmlMessage adminReply = new NpcHtmlMessage(5);
				L2PcInstance targetp = (L2PcInstance) activeChar.getTarget();
				
				TextBuilder replyMSG = new TextBuilder("<html><title>Status</title><body><center><img src=l2font-e.mini_logo-e width=180 height=80></center><center><br>");
				replyMSG.append("<br><br><font color=\"00FF00\">=========>>" + targetp.getName() + "<<=========</font><br>");
				replyMSG.append("<font color=\"FF0000\">Level: " + targetp.getLevel() + "</font><br>");
Edited by Reborn12
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...