Skip to content

.status Command Image

Featured Replies

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.

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.

  • Author

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.

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

  • Author

My problem solved.Thnx guys for fast support,you can lock.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.