PC Cafe system.

This commit is contained in:
MobiusDev
2016-06-19 09:53:20 +00:00
parent 4f15b682b7
commit 4ba1009e12
23 changed files with 1000 additions and 21 deletions

View File

@@ -44,8 +44,8 @@ Characters Related:<br1>
<td><button value="Effects" action="bypass -h admin_admin3" width=82 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
</tr>
<tr>
<td></td>
<td></td>
<td><button value="PC Points" action="bypass -h admin_pccafepoints" width=82 height=20 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td><button value="NCoins" action="bypass -h admin_primepoints" width=82 height=20 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td><button value="Premium" action="bypass -h admin_premium_menu" width=82 height=20 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
</tr>
</table>

View File

@@ -28,6 +28,7 @@
<td><button value="goSpawn" action="bypass -h admin_list_spawns $qbox 1" width=65 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
</tr><tr>
<td><button value="Scan" action="bypass -h admin_scan $qbox" width=65 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td><button value="PC Points" action="bypass -h admin_pccafepoints" width=65 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td><button value="NCoins" action="bypass -h admin_primepoints" width=65 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
</tr>
</table>

View File

@@ -0,0 +1,60 @@
<html><title>Admin PC Points Manager</title><body>
<center>
<table width=270 align=center>
<tr>
<td width=45><button value="Main" action="bypass admin_admin" width=45 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td width=180><center>Admin PC Points Manager</center></td>
<td width=45><button value="Back" action="bypass -h admin_admin6" width=45 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
</tr>
</table>
<br>
<font color="LEVEL">Target info</font><br1>
<table width="270" align=center border="0" bgcolor="444444">
<tr>
<td>Player Name:</td>
<td><font color="00FF00">%targetName%<font></td>
</tr>
<tr>
<td>Player Points:</td>
<td><font color="00FF00">%points%<font></td>
</tr>
</table>
<br>
<font color="LEVEL">Target Operations</font><br1>
<table width=256 align=center border=0 bgcolor="444444">
<tr>
<td width=128 align=center>Operation</td>
<td width=128 align=center><combobox width=120 height=17 var=ebox list=increase;decrease;set></td>
</tr>
<tr>
<td width=128 align=center>Value</td>
<td width=128 align=center><edit var="val" width=120 type="number"></td>
</tr>
</table>
<table width="270" align=center border="0" bgcolor="444444">
<tr>
<td><center><br><button value="Confirm" action="bypass -h admin_pccafepoints $ebox $val" width=80 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></center></td>
</tr>
</table>
<br>
<font color="LEVEL">Reward More players</font><br1>
<table width=256 align=center border=0 bgcolor="444444">
<tr>
<td width=128 align=center>Range</td>
<td width=128 align=center><edit var="range" width=120 type="number"></td>
</tr>
<tr>
<td width=128 align=center>Value</td>
<td width=128 align=center><edit var="val2" width=120 type="number"></td>
</tr>
</table>
<table width="257" align=center border="0" bgcolor="444444">
<tr>
<td><center><br><button value="Confirm" action="bypass -h admin_pccafepoints rewardOnline $val2 $range" width=80 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></center></td>
</tr>
<tr>
<td><center>Note: If you leave 'Range' empty or set 0,<br1>it will reward all online players.</center></td>
</tr>
</table>
</center>
</body></html>

10
trunk/dist/game/data/html/pccafe.htm vendored Normal file
View File

@@ -0,0 +1,10 @@
<html><title>Player Commendation System</title><body>Player Commendation Points:<br>
You can use PC points to buy items.<br>
It is possible to buy several <font color="LEVEL">General Items</font>, like hair accessories or even time-limited <font color="LEVEL">Commendation Weapons</font>.<br>
Take a look on the current rewards.<br>
<br>
<font color="LEVEL">
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h pccafe_buy 900001">Buy General Items</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h pccafe_buy 900002">Buy Commendation Weapons</Button>
</font>
</body></html>