Ativar remover players / remover agathions quando iniciar o script, e outras otimizações
Passo 1 - Verificar o processo e Capturar os Dialogos
no server podemos digitar .menu e temos as opções
Quero que ao iniciar o script as opções de remover os players offline e agathions sejam ativadas, como o .menu usa o dialogo do community board temos que usar o script Captura Dialogos.bin e dar play
- como abrimos os 2 dialogos, vamos ter o código das 2 janelas
Código: Selecionar todos
<html>
<body>
<center>
<table width=225><tr>
<td width=50 align="left">
<a action="bypass voiced_menu">Return</a>
</td>
<td width=125 align="center">
<font color="FFFFFF">Visual Preferences</font>
</td>
<td width=50></td>
</tr>
</table>
<img src="L2UI.SquareGray" width=225 height=1>
<br>
<table width=300>
<tr>
<td width="300" align="center">
<table bgcolor=000000 width=300>
<tr>
<td width=220><a action="bypass voiced_visual_page hideAoeSkills">Hide AoE Skills</a>
</td>
<td width=30><button value="" action="bypass voiced_visual HIDE_AOE_SKILLS" width=14 height=14 back="L2UI.control.checkBox_unable" fore="L2UI.control.checkBox_unable"/>
</tr>
<tr>
<td width=220><a action="bypass voiced_visual_page hideHealSkills">Hide Heal Skills</a>
</td>
<td width=30><button value="" action="bypass voiced_visual HIDE_HEAL_SKILLS" width=14 height=14 back="L2UI.control.checkBox_unable" fore="L2UI.control.checkBox_unable"/>
</tr>
<tr>
<td width=220><a action="bypass voiced_visual_page hideAllySkills">Hide Ally Skills</a>
</td>
<td width=30><button value="" action="bypass voiced_visual HIDE_ALLY_SKILLS" width=14 height=14 back="L2UI.control.checkBox_unable" fore="L2UI.control.checkBox_unable"/>
</tr>
<tr>
<td width=220><a action="bypass voiced_visual_page hidePartySkills">Hide Party Skills</a>
</td>
<td width=30><button value="" action="bypass voiced_visual HIDE_PARTY_SKILLS" width=14 height=14 back="L2UI.control.checkBox_unable" fore="L2UI.control.checkBox_unable"/>
</tr>
<tr>
<td width=220><a action="bypass voiced_visual_page hideAllSkills">Hide All Skills</a>
</td>
<td width=30><button value="" action="bypass voiced_visual HIDE_ALL_SKILLS" width=14 height=14 back="L2UI.control.checkBox_unable" fore="L2UI.control.checkBox_unable"/>
</tr>
<tr>
<td width=220>Hide Skins< td>
<td width=30><button value="" action="bypass voiced_visual HIDE_SKINS" width=14 height=14 back="L2UI.control.checkBox_unable" fore="L2UI.control.checkBox_unable"/>
</tr>
<tr>
<td width=220>Hide Hero Aura< td>
<td width=30><button value="" action="bypass voiced_visual HIDE_AURA_HERO" width=14 height=14 back="L2UI.control.checkBox_unable" fore="L2UI.control.checkBox_unable"/>
</tr>
<tr>
<td width=220>Hide Agathions< td>
<td width=30><button value="" action="bypass voiced_visual HIDE_AGATHION" width=14 height=14 back="L2UI.control.checkBox_unable" fore="L2UI.control.checkBox_unable"/>
</tr>
<tr>
<td width=220>Hide Offline Players< td>
<td width=30><button value="" action="bypass voiced_visual HIDE_OFFLINE_PLAYERS" width=14 height=14 back="L2UI.control.checkBox_unable" fore="L2UI.control.checkBox_unable"/>
</tr>
<tr>
<td width=220>Hide Party Aura< td>
<td width=30><button value="" action="bypass voiced_visual HIDE_AURA_PARTY" width=14 height=14 back="L2UI.control.checkBox_unable" fore="L2UI.control.checkBox_unable"/>
</tr>
<tr>
<td width=220>Hide Weapons Glow< td>
<td width=30><button value="" action="bypass voiced_visual HIDE_WEAPON_GLOW" width=14 height=14 back="L2UI.control.checkBox_unable" fore="L2UI.control.checkBox_unable"/>
</tr>
</table>
</td>
</tr>
</table>
<img src="L2UI.SquareGray" width=296 height=1>
</body>
</html>
\n\n<html>
<body>
<center>
<table width=610 cellpadding=0 cellspacing=0><tr><td width=140 valign=top><br><table width=130 cellpadding=2 cellspacing=0><tr><td><font color=FFFFFF>Community</font></td></tr></table><table width=130 cellpadding=2 cellspacing=1><tr><td><button value="Menu" action="#" width=120 height=20 back="JERE_ARNHOLD.120x20h" fore="JERE_ARNHOLD.120x20"/>
</tr>
<tr>
<td>
<button value="World Trade" action="bypass bp_showMarketPlace" width=120 height=20 back="JERE_ARNHOLD.120x20h" fore="JERE_ARNHOLD.120x20"/>
</tr>
</table>
<br>
<table width=130 cellpadding=2 cellspacing=0><tr><td><font color=FFFFFF>Quick Options< font>< td>< tr>< table><table width=130 cellpadding=2 cellspacing=1><tr><td><button value="Optimize" action="bypass voiced_visual;bbs_home" width=120 height=20 back="JERE_ARNHOLD.120x20h" fore="JERE_ARNHOLD.120x20"/>
</tr>
<tr>
<td>
<button value="Donate" action="bypass voiced_donate;bbs_home" width=120 height=20 back="JERE_ARNHOLD.120x20h" fore="JERE_ARNHOLD.120x20"/>
</tr>
<tr>
<td>
<button value="Ranking" action="bypass voiced_ranking;bbs_home" width=120 height=20 back="JERE_ARNHOLD.120x20h" fore="JERE_ARNHOLD.120x20"/>
</tr>
<tr>
<td>
<button value="Raid Info" action="bypass voiced_raidinfo;bbs_home" width=120 height=20 back="JERE_ARNHOLD.120x20h" fore="JERE_ARNHOLD.120x20"/>
</tr>
<tr>
<td>
<button value="Auto Farm" action="bypass voiced_farm;bbs_home" width=120 height=20 back="JERE_ARNHOLD.120x20h" fore="JERE_ARNHOLD.120x20"/>
</tr>
<tr>
<td>
<button value="Repair" action="bypass voiced_repair" width=120 height=20 back="JERE_ARNHOLD.120x20h" fore="JERE_ARNHOLD.120x20"/>
</tr>
<tr>
<td>
<button value="Dungeon" action="bypass voiced_dungeon;bbs_home" width=120 height=20 back="JERE_ARNHOLD.120x20h" fore="JERE_ARNHOLD.120x20"/>
</tr>
<tr>
<td>
<button value="Castle Info" action="bypass voiced_castlemanager;bbs_home" width=120 height=20 back="JERE_ARNHOLD.120x20h" fore="JERE_ARNHOLD.120x20"/>
</tr>
</table>
<br>
<table width=130 cellpadding=2 cellspacing=0><tr><td><font color=FFFFFF>Status Progression< font>< td>< tr>< table><table width=130 cellpadding=2 cellspacing=1><tr><td><button value="Check Status" action="bypass voiced_statusProgression;bbs_home" width=120 height=20 back="JERE_ARNHOLD.120x20h" fore="JERE_ARNHOLD.120x20"/>
</tr>
</table>
</td>
<td width=460 valign=top><center><table width=450 cellpadding=0 cellspacing=0><tr><td align=center><button value=" " action="#" width=450 height=90 back="JERE_ARNHOLD.bordercb_a00" fore="JERE_ARNHOLD.bordercb_a00"/>
</tr>
</table>
<img height=5><img src=L2UI.SquareGray width=450 height=1><table width=450 height=16 bgcolor=000000 cellpadding=0 cellspacing=0><tr><td align=center><font color=LEVEL>Character Information< font>< td>< tr>< table><img src=L2UI.SquareGray width=450 height=1><br1><table width=450 bgcolor=000000 cellpadding=2 cellspacing=1><tr><td width=65><font color=B09878>Name:</font></td><td width=160>barizonDaimon</td><td width=65><font color=B09878>Premium:</font></td><td width=150><font color=00FF00>28d 21:47:30< font>< td>< tr><tr><td width=65><font color=B09878>Level:</font></td><td width=160>80</td><td width=65><font color=B09878>Rune:</font></td><td width=150><a action="bypass voiced_multisell 1111111">
<font color=FFFFFF>Inactive</font></a></td></tr><tr><td width=65><font color=B09878>Class:</font></td><td width=160>stormScreamer</td><td width=65><font color=B09878>Offline Farm:< font>< td><td width=150><a action="bypass voiced_offlinefarm_cb;bbs_home">
<font color=FFFFFF>Inactive</font></a></td></tr><tr><td width=65><font color=B09878>Clan:</font></td><td width=160><font color=FF0000>N/A</font></td><td width=65><font color=B09878>PvP:</font></td><td width=150><font color=00FF00>0</font></td></tr><tr><td width=65><font color=B09878>PK:</font></td><td width=160><font color=FF0000>0</font></td><td width=65><font color=B09878>Status:</font></td><td width=150><a action="bypass voiced_statusProgression;bbs_home">
<font color=00FF00>View</font></a></td></tr></table><br><table width=450 cellpadding=0 cellspacing=0><tr><td width=220 valign=top><img src=L2UI.SquareGray width=220 height=1><table width=220 height=16 bgcolor=000000 cellpadding=0 cellspacing=0><tr><td align=center><font color=LEVEL>Preferences</font></td></tr></table><img src=L2UI.SquareGray width=220 height=1><br1><table width=220 bgcolor=000000 cellpadding=2 cellspacing=1><tr><td width=190>PM Refusal< td><td width=20><button value="" action="bypass voiced_setMessageRefuse;bbs_home" width=14 height=14 back="L2UI.control.checkBox_unable" fore="L2UI.control.checkBox_unable"/>
</tr>
<tr>
<td width=190>Trade Refusal< td><td width=20><button value="" action="bypass voiced_setTradeRefuse;bbs_home" width=14 height=14 back="L2UI.control.checkBox_unable" fore="L2UI.control.checkBox_unable"/>
</tr>
<tr>
<td width=190>Party Refusal< td><td width=20><button value="" action="bypass voiced_setPartyRefuse;bbs_home" width=14 height=14 back="L2UI.control.checkBox_unable" fore="L2UI.control.checkBox_unable"/>
</tr>
<tr>
<td width=190>Auto Gold Bar< td><td width=20><button value="" action="bypass voiced_setAutoGoldBar;bbs_home" width=14 height=14 back="L2UI.control.checkBox_checked" fore="L2UI.control.checkBox_checked"/>
</tr>
<tr>
<td width=190>Disable Skin Helm< td><td width=20><button value="" action="bypass voiced_setHideHelm;bbs_home" width=14 height=14 back="L2UI.control.checkBox_unable" fore="L2UI.control.checkBox_unable"/>
</tr>
<tr>
<td width=190><font color=FF0000>Auto Clear Cache< font>< td><td width=20><button value="" action="bypass voiced_setAutoCleanCache;bbs_home" width=14 height=14 back="L2UI.control.checkBox_checked" fore="L2UI.control.checkBox_checked"/>
</tr>
<tr>
<td width=190><font color=LEVEL>Event Invite< font>< td><td width=20><button value="" action="bypass voiced_setInvitePopup;bbs_home" width=14 height=14 back="L2UI.control.checkBox_checked" fore="L2UI.control.checkBox_checked"/>
</tr>
</table>
<br>
<table width=220 cellpadding=0 cellspacing=0><tr><td><button value="Deposit GB" action="bypass voiced_deposit;bbs_home" width=100 height=20 back="JERE_ARNHOLD.100x20h" fore="JERE_ARNHOLD.100x20"/>
<td>
<button value="Withdraw" action="bypass voiced_withdraw;bbs_home" width=100 height=20 back="JERE_ARNHOLD.100x20h" fore="JERE_ARNHOLD.100x20"/>
</tr>
</table>
</td>
<td width=10></td><td width=220 valign=top><img src=L2UI.SquareGray width=220 height=1><table width=220 height=16 bgcolor=000000 cellpadding=0 cellspacing=0><tr><td align=center><font color=LEVEL>Event Schedule< font>< td>< tr>< table><img src=L2UI.SquareGray width=220 height=1><br1><table width=220 bgcolor=000000 cellpadding=2 cellspacing=1><tr><td width=100>Tyranno Battle< td><td width=110 align=right>18:20</td></tr><tr><td width=100>Party Farm< td><td width=110 align=right>19:00</td></tr><tr><td width=100>Tournament</td><td width=110 align=right>21:50</td></tr><tr><td width=100>Boss Event< td><td width=110 align=right>22:47</td></tr><tr><td width=100>Farm Rush< td><td width=110 align=right>23:05</td></tr><tr><td width=100>PvP Event< td><td width=110 align=right>23:45</td></tr><tr><td width=100>Team vs Team< td><td width=110 align=right><font color=FF0000>(24/08)</font> 01:00< td>< tr>< table><br><table width=220 cellpadding=0 cellspacing=0><tr><td><button value="Register" action="bypass voiced_join;bbs_home" width=100 height=20 back="JERE_ARNHOLD.100x20h" fore="JERE_ARNHOLD.100x20"/>
<td>
<button value="Leave" action="bypass voiced_leave;bbs_home" width=100 height=20 back="JERE_ARNHOLD.100x20h" fore="JERE_ARNHOLD.100x20"/>
</tr>
</table>
</td>
</tr>
</table>
<br>
<br>
<table width=450 cellpadding=0 cellspacing=0><tr><td width=220 valign=top><img src=L2UI.SquareGray width=220 height=1><table width=220 height=16 bgcolor=000000 cellpadding=0 cellspacing=0><tr><td align=center><font color=LEVEL>Next Boss< font>< td>< tr>< table><img src=L2UI.SquareGray width=220 height=1><table width=220 bgcolor=000000 cellpadding=3 cellspacing=0><tr><td width=220 align=center><font color=FFFFFF>Hekaton</font><font color=FF0000>(8m 12s)< font>< td>< tr>< table>< td><td width=10></td><td width=220 valign=top><img src=L2UI.SquareGray width=220 height=1><table width=220 height=16 bgcolor=000000 cellpadding=0 cellspacing=0><tr><td align=center><font color=LEVEL>Next Event< font>< td>< tr>< table><img src=L2UI.SquareGray width=220 height=1><table width=220 bgcolor=000000 cellpadding=3 cellspacing=0><tr><td width=220 align=center><font color=FFFFFF>Tyranno Battle< font><font color=FF0000>(3m 12s)< font>< td>< tr>< table>< td>< tr>< table>< center>< td>< tr>< table>< center>< body>< html>
separamos a parte de interesse:
no .menu vamos ver apenas como abrir o dialogo do optimize
<button value="Optimize" action="bypass voiced_visual;bbs_home" width=120 height=20 back="JERE_ARNHOLD.120x20h" fore="JERE_ARNHOLD.120x20"/>
voiced_visual -> podemos traduzir para .visual e testar no chat do jogo, se abrir o dialogo está ok e eliminados o ;bbs_home
Manual Interação com NPCS -> viewtopic.php?t=251
sabemos que para abrir a janela agora o comando é dbypass;voiced_visual
as opções para ativar são:
<td width=30><button value="" action="bypass voiced_visual HIDE_AGATHION" width=14 height=14 back="L2UI.control.checkBox_unable" fore="L2UI.control.checkBox_unable"/>
<td width=30><button value="" action="bypass voiced_visual HIDE_OFFLINE_PLAYERS" width=14 height=14 back="L2UI.control.checkBox_unable" fore="L2UI.control.checkBox_unable"/>
Preenchendo a configuração: RunComandsAuto = true
; 2 comandos, abrimos a janela para verificar cada um RunComands = dbypass;voiced_visual@dbypass;voiced_visual
; copiamos do dialogo como estão quando desativados RunComandsCheck = <td width=30><button value="" action="bypass voiced_visual HIDE_AGATHION" width=14 height=14 back="L2UI.control.checkBox_unable" fore="L2UI.control.checkBox_unable"/>@<td width=30><button value="" action="bypass voiced_visual HIDE_OFFLINE_PLAYERS" width=14 height=14 back="L2UI.control.checkBox_unable" fore="L2UI.control.checkBox_unable"/>
; como ativar cada opção que está desativada RunComandsActive = dbypass;voiced_visual HIDE_AGATHION@dbypass;voiced_visual HIDE_OFFLINE_PLAYERS
