Admin menu cleanup.

This commit is contained in:
MobiusDevelopment 2019-11-23 19:29:24 +00:00
parent 3409cc85a7
commit 29beb19e99
5 changed files with 7 additions and 9 deletions

View File

@ -1,4 +1,4 @@
<html><title>GM Shops:</title><body><p>
<html><title>GM Shop:</title><body><p>
<a action="bypass -h admin_buy 5">Swords</a>
<a action="bypass -h admin_buy 6">Bows</a>
<a action="bypass -h admin_buy 7">Blunts</a>

View File

@ -1,7 +1,7 @@
<html><title>Item Creation:</title><body><p>
<p>
<br>Item-id to spawn:<edit var="itemid" width=50>
<button value="itemid" action="bypass -h admin_create_item $itemid" width=40 height=15 back="sek.cbui94" fore="sek.cbui92">
<br>Item id to spawn, or id[space]count.<edit var="itemid" width=50>
<button value="Create" action="bypass -h admin_create_item $itemid" width=40 height=15 back="sek.cbui94" fore="sek.cbui92">
<br>
<center><button value="Back" action="bypass -h admin_show" width=40 height=15></center>
</body></html>

View File

@ -92,7 +92,7 @@
<a action="bypass -h admin_move_to 146828 -12859 -4455">The Blazing Swamp</a>
<a action="bypass -h admin_move_to 125439 -31083 -3862">The End Thus Far</a>
<br>
<tr><td>Special Discoveries (by DarkOmini)</td></tr>
<tr><td>Special Discoveries</td></tr>
<a action="bypass -h admin_move_to 106545 -175091 1300">Dwarven Tower</a>
<a action="bypass -h admin_move_to 49552 116839 -2131">Partisan Falls</a>
<a action="bypass -h admin_move_to 147967 4005 4599">Aden Castle Cross</a>

View File

@ -456,7 +456,7 @@ public class AdminCommands extends Thread
replyMSG.append("<center><button value=\"Move to Location\" action=\"bypass -h admin_show_moves\" width=110 height=15 back=\"sek.cbui94\" fore=\"sek.cbui92\"></center>");
replyMSG.append("<center><button value=\"Spawn a Monster\" action=\"bypass -h admin_show_spawns\" width=110 height=15 back=\"sek.cbui94\" fore=\"sek.cbui92\"></center>");
replyMSG.append("<center><button value=\"Item Creation\" action=\"bypass -h admin_itemcreate\" width=110 height=15 back=\"sek.cbui94\" fore=\"sek.cbui92\"></center>");
replyMSG.append("<center><button value=\"GM Shops\" action=\"bypass -h admin_gm_shops\" width=110 height=15 back=\"sek.cbui94\" fore=\"sek.cbui92\"></center>");
replyMSG.append("<center><button value=\"GM Shop\" action=\"bypass -h admin_gm_shops\" width=110 height=15 back=\"sek.cbui94\" fore=\"sek.cbui92\"></center>");
replyMSG.append("<center><button value=\"Announcements\" action=\"bypass -h admin_list_announcements\" width=110 height=15 back=\"sek.cbui94\" fore=\"sek.cbui92\"></center>");
replyMSG.append("<br><br>");
replyMSG.append("<right><button value=\"Close\" action=\"bypass -h admin_close_window\" width=100 height=15 back=\"sek.cbui94\" fore=\"sek.cbui92\"></right>");
@ -492,7 +492,7 @@ public class AdminCommands extends Thread
activeChar.sendPacket(il);
activeChar.sendMessage("You have spawned " + num + " item(s) number " + id + " in your inventory.");
final NpcHtmlMessage adminReply = new NpcHtmlMessage(5);
final StringBuffer replyMSG = new StringBuffer("<html><title>Item Creation Complete(I Hope)</title>");
final StringBuffer replyMSG = new StringBuffer("<html><title>Item Creation Complete</title>");
replyMSG.append("<body>");
replyMSG.append("<center><button value=\"Back\" action=\"bypass -h admin_show\" width=40 height=15></center>");
replyMSG.append("</body></html>");
@ -738,8 +738,6 @@ public class AdminCommands extends Thread
replyMSG.append("<td><edit var=\"load\" width=110></td></tr>");
replyMSG.append("<tr><td>Karma:</td>");
replyMSG.append("<td><edit var=\"karma\" width=110></td></tr>");
replyMSG.append("<tr><td>PvpFlag:</td>");
replyMSG.append("<td><edit var=\"pvpflag\" width=110></td></tr>");
replyMSG.append("<tr><td>PvpKills:</td>");
replyMSG.append("<td><edit var=\"pvpkills\" width=110></td></tr>");
replyMSG.append("<tr><td>ClassId:</td>");

View File

@ -181,7 +181,7 @@ public class NpcInstance extends Creature
html1.append("<tr><td>MP: " + getCurrentMp() + "</td></tr>");
html1.append("<tr><td>Level: " + getLevel() + "</td></tr>");
html1.append("<tr><td><br></td></tr>");
html1.append("<tr><td>Class: " + this.getClass().getName() + "</td></tr>");
html1.append("<tr><td>Class: " + getClass().getSimpleName() + "</td></tr>");
html1.append("<tr><td><br></td></tr>");
html1.append("<tr><td><button value=\"Kill\" action=\"bypass -h admin_kill " + getObjectId() + "\" width=40 height=15 back=\"sek.cbui94\" fore=\"sek.cbui92\"></td></tr>");
html1.append("<tr><td><button value=\"Delete\" action=\"bypass -h admin_delete " + getObjectId() + "\" width=40 height=15 back=\"sek.cbui94\" fore=\"sek.cbui92\"></td></tr>");