Jump to content
  • 0

Question

Posted

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.

5 answers to this question

Recommended Posts

  • 0
Posted

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.

  • 0
Posted

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.

  • 0
Posted (edited)

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
Guest
This topic is now closed to further replies.


×
×
  • Create New...