Removal of hardcoded events and addition of player isOnCustomEvent methods.

This commit is contained in:
MobiusDevelopment
2021-10-28 21:26:33 +00:00
parent d0c5cfe4c7
commit 8fdb4899ac
323 changed files with 580 additions and 40245 deletions

View File

@@ -46,19 +46,5 @@
<td><button value="ItmQty" action="bypass -h admin_set_mod ChampionRewardQty=$menu_command" width=55 height=15 back="sek.cbui94" fore="sek.cbui92"></td>
<td><button value="AtkSpd" action="bypass -h admin_set_mod ChampionSpdHp=$menu_command" width=55 height=15 back="sek.cbui94" fore="sek.cbui92"></td>
</tr></table><br>
<br><font color="aadd77">Team Vs. Team</font>
<font color="LEVEL"><a action="bypass -h admin_help help/l2jmod/tvt.htm">Help</a></font>
<table width=240><tr>
<td><button value="Enable" action="bypass -h admin_set_mod TvTEventEnabled=true" width=55 height=15 back="sek.cbui94" fore="sek.cbui92"></td>
<td><button value="Interval" action="bypass -h admin_set_mod TvTEventInterval=$menu_command" width=55 height=15 back="sek.cbui94" fore="sek.cbui92"></td>
<td><button value="PartTime" action="bypass -h admin_set_mod TvTEventParticipationTime=$menu_command" width=55 height=15 back="sek.cbui94" fore="sek.cbui92"></td>
<td><button value="RunnTime" action="bypass -h admin_set_mod TvTEventRunningTime=$menu_command" width=55 height=15 back="sek.cbui94" fore="sek.cbui92"></td>
</tr><tr>
<td><button value="Disable" action="bypass -h admin_set_mod TvTEventEnabled=false" width=55 height=15 back="sek.cbui94" fore="sek.cbui92"></td>
<td><button value="EventNpc" action="bypass -h admin_set_mod TvTEventParticipationNpcId=$menu_command" width=55 height=15 back="sek.cbui94" fore="sek.cbui92"></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr></table>
<br>
</center>
</body></html>

View File

@@ -1,20 +0,0 @@
<html><body>Treasure Chest:<br>
<table width=100% border=1><tr><td>top left<br>
<a action="bypass -h npc_%objectId%_Deposit top-left">Deposit</a><br>
<a action="bypass -h npc_%objectId%_Withdraw top-left">Withdraw</a></td>
<td align="right">top right<br>
<a action="bypass -h npc_%objectId%_Deposit top-right">Deposit</a><br>
<a action="bypass -h npc_%objectId%_Withdraw top-right">Withdraw</a></td></tr>
<tr><td>mid left<br>
<a action="bypass -h npc_%objectId%_Deposit mid-left">Deposit</a><br>
<a action="bypass -h npc_%objectId%_Withdraw mid-left">Withdraw</a></td>
<td align="right">mid right<br>
<a action="bypass -h npc_%objectId%_Deposit mid-right">Deposit</a><br>
<a action="bypass -h npc_%objectId%_Withdraw mid-right">Withdraw</a></td></tr>
<tr><td>bottom left<br>
<a action="bypass -h npc_%objectId%_Deposit bottom-left">Deposit</a><br>
<a action="bypass -h npc_%objectId%_Withdraw bottom-left">Withdraw</a></td>
<td align="right">bottom right<br>
<a action="bypass -h npc_%objectId%_Deposit bottom-right">Deposit</a><br>
<a action="bypass -h npc_%objectId%_Withdraw bottom-right">Withdraw</a></td></tr>
</table></body></html>

View File

@@ -1,9 +0,0 @@
<html><body>
Welcome in our server :)! I'm the Ancient World Master and I don't like if you leave the game for a long time or if you use bot... So, you have <font color="LEVEL">%Time%</font> seconds to demonstrate you are really here,
selecting the correct world I'm saying: <font color="LEVEL">%Word%</font>. Now Select the correct answer .<br>
<a action="link 100001">%Word1%</a><br>
<a action="link 100002">%Word2%</a><br>
<a action="link 100003">%Word3%</a><br>
<a action="link 100004">%Word4%</a><br>
<a action="link 100005">%Word5%</a>
</body></html>

View File

@@ -1,7 +0,0 @@
<html><title>TvT Event Manager</title><body>
Registration for TvT Event:<br><br><center>
%team1name%&nbsp;&nbsp;&nbsp;&nbsp;(%team1playercount% players in)<br1>
%team2name%&nbsp;&nbsp;&nbsp;&nbsp;(%team2playercount% players in)<br>
<button value="Participate" action="bypass -h npc_%objectId%_tvt_event_participation" width=50 height=15 back="sek.cbui94" fore="sek.cbui92">
<button value="Close" action="bypass -h npc_%objectId%_Close" width=50 height=15 back="sek.cbui94" fore="sek.cbui92">
</center></body></html>

View File

@@ -1,6 +0,0 @@
<html><title>TvT Event</title><body>
Cancel Registration yourself for TvT Event:<br1>
You are already registered for this event. Do you wish to cancel your participation in this Event?<br><br><center>
<button value="Yes" action="bypass -h npc_%objectId%_tvt_event_remove_participation" width=40 height=15 back="sek.cbui94" fore="sek.cbui92">
<button value="No" action="bypass -h npc_%objectId%_Close" width=40 height=15 back="sek.cbui94" fore="sek.cbui92">
</center></body></html>

View File

@@ -1,5 +0,0 @@
<html><title>TvT Event</title><body>
TvT Status:<br><br><center>
%team1name% with %team1playercount% players and %team1points% points.<br1>
%team2name% with %team2playercount% players and %team2points% points.<br>
</center></body></html>