Jump to content
  • 0

[Help]Invisible TvT Players


Question

Posted

hello guys.

i want to make invisible tvt participant for players who are not on tvt.

i want it because they may disturb event participants .

in a word i want that tvt participants will invisibles and they won't be able to see any NPC

 

can anybody help ???

11 answers to this question

Recommended Posts

  • 0
Posted

modify CharInfo packet

 

if (gmSeeInvis)
{
writeC(0);
}
else
{
if(TvTEvent.isPlayerParticipating(_activeChar.getObjectId()))
	writeC(0X01);
else
	writeC(_invisible? 1 : 0); // invisible ?? 0=false  1=true   2=summoned (only works if model has a summon animation)
}

  • 0
Posted

i have found only one CharInfo file and i think it is not right directory yes?

 

<html><title>Information Panel: %name%</title><body>
<center>
<table width=270>
<tr>
<td width=45><button value="Main" action="bypass -h admin_admin" width=45 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td width=180><center>Player: %name%</center></td>
<td width=45><button value="Back" action="bypass -h admin_admin7" width=45 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
</tr>
</table>
<br>
<table width=240>
<tr>
<td><button value="Go To" action="bypass -h admin_goto_char_menu %name%" width=65 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td><button value="Kick" action="bypass -h admin_kick_menu %name%" width=65 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td><button value="Ban Acc" action="bypass -h admin_ban_acc %name%" width=65 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td><button value="Ban Chr" action="bypass -h admin_ban_char %name%" width=65 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
</tr><tr>
<td><button value="Recall" action="bypass -h admin_recall_char_menu %name%" width=65 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td><button value="Skills" action="bypass -h admin_show_skills" width=65 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td><button value="Edit" action="bypass -h admin_edit_character" width=65 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td><button value="Class" action="bypass -h admin_setclass" width=65 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
</tr><tr>
<td><button value="Lv/Exp/Sp" action="bypass -h admin_add_exp_sp_to_character" width=65 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td><button value="Instance" action="bypass -h admin_instancezone %name%" width=65 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td><button value="Buffs" action="bypass -h admin_getbuffs %name%" width=65 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td><button value="Party" action="bypass -h admin_partyinfo" width=65 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
</tr>
</table>
<br>
<table width=240 bgcolor="666666">
<tr>
<td>Account Name: </td><td><font color="LEVEL"><a action="bypass -h admin_find_account %name%">%account%</a></font></td>
</tr>
<tr>
<td>Account IP: </td><td><font color="LEVEL"><a action="bypass -h admin_find_ip %ip%">%ip%</a></font></td>
</tr>
</table>
<br>
<br>
<table width=240 bgcolor="666666">
<tr>
<td>Name:</td><td>%name%</td><td><button value="Refresh" action="bypass -h admin_current_player" width=60 height=20 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
</tr>
<tr>
<td>Clan:</td><td>%clan%</td>
</tr>
<tr>
<td>Level:</td><td>%level%</td>
</tr>
<tr>
<td>Class:</td><td>%class%</td>
</tr>
<tr>
<td>CP:</td><td> <font color="LEVEL">%currentcp%</font> / %maxcp%</td>
</tr>
<tr>
<td>HP:</td><td> <font color="LEVEL">%currenthp%</font> / %maxhp%</td>
</tr>
<tr>
<td>MP:</td><td><font color="LEVEL">%currentmp%</font> / %maxmp%</td>
</tr>
<tr>
<td>Weight:</td><td>%currentload% / %maxload%</td>
</tr>
<tr>
<td>EXP:</td><td>%xp%</td>
</tr>
<tr>
<td>SP:</td><td>%sp%</td>
</tr>
</table>
<br>
<table width=240>
<tr>
<td>PvP Kills: </td><td>%pvpkills%</td>
<td>Karma: </td><td>%karma%</td>
</tr>
<tr>
<td>PK Kills: </td><td>%pkkills%</td>
<td>PvP Flag: </td><td>%pvpflag%</td>
</tr>
</table>
<br>
<table width=240 bgcolor="666666">
<tr>
<td>P. Atk:</td><td>%patk%</td><td>M. Atk:</td><td>%matk%</td>
</tr>
<tr>
<td>P. Def:</td><td>%pdef%</td><td>M. Def:</td><td>%mdef%</td>
</tr>
<tr>
<td>Accuracy:</td><td>%accuracy%</td><td>Evasion:</td><td>%evasion%</td>
</tr>
<tr>
<td>Crit Rate:</td><td>%critical%</td><td>Speed:</td><td>%runspeed%</td></tr>
</tr>
<tr>
<td>Atk. Spd.:</td><td>%patkspd%</td><td>Casting Spd.:</td><td>%matkspd%</td></tr>
</tr>
<tr>
</table>
<br>
Player Coordinates: %x% %y% %z%
<br1>
AI: %ai%
</center>
</body></html>

  • 0
Posted

i have found only one CharInfo file and i think it is not right directory yes?

 

<html><title>Information Panel: %name%</title><body>
<center>
<table width=270>
<tr>
<td width=45><button value="Main" action="bypass -h admin_admin" width=45 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td width=180><center>Player: %name%</center></td>
<td width=45><button value="Back" action="bypass -h admin_admin7" width=45 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
</tr>
</table>
<br>
<table width=240>
<tr>
<td><button value="Go To" action="bypass -h admin_goto_char_menu %name%" width=65 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td><button value="Kick" action="bypass -h admin_kick_menu %name%" width=65 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td><button value="Ban Acc" action="bypass -h admin_ban_acc %name%" width=65 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td><button value="Ban Chr" action="bypass -h admin_ban_char %name%" width=65 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
</tr><tr>
<td><button value="Recall" action="bypass -h admin_recall_char_menu %name%" width=65 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td><button value="Skills" action="bypass -h admin_show_skills" width=65 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td><button value="Edit" action="bypass -h admin_edit_character" width=65 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td><button value="Class" action="bypass -h admin_setclass" width=65 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
</tr><tr>
<td><button value="Lv/Exp/Sp" action="bypass -h admin_add_exp_sp_to_character" width=65 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td><button value="Instance" action="bypass -h admin_instancezone %name%" width=65 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td><button value="Buffs" action="bypass -h admin_getbuffs %name%" width=65 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td><button value="Party" action="bypass -h admin_partyinfo" width=65 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
</tr>
</table>
<br>
<table width=240 bgcolor="666666">
<tr>
<td>Account Name: </td><td><font color="LEVEL"><a action="bypass -h admin_find_account %name%">%account%</a></font></td>
</tr>
<tr>
<td>Account IP: </td><td><font color="LEVEL"><a action="bypass -h admin_find_ip %ip%">%ip%</a></font></td>
</tr>
</table>
<br>
<br>
<table width=240 bgcolor="666666">
<tr>
<td>Name:</td><td>%name%</td><td><button value="Refresh" action="bypass -h admin_current_player" width=60 height=20 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
</tr>
<tr>
<td>Clan:</td><td>%clan%</td>
</tr>
<tr>
<td>Level:</td><td>%level%</td>
</tr>
<tr>
<td>Class:</td><td>%class%</td>
</tr>
<tr>
<td>CP:</td><td> <font color="LEVEL">%currentcp%</font> / %maxcp%</td>
</tr>
<tr>
<td>HP:</td><td> <font color="LEVEL">%currenthp%</font> / %maxhp%</td>
</tr>
<tr>
<td>MP:</td><td><font color="LEVEL">%currentmp%</font> / %maxmp%</td>
</tr>
<tr>
<td>Weight:</td><td>%currentload% / %maxload%</td>
</tr>
<tr>
<td>EXP:</td><td>%xp%</td>
</tr>
<tr>
<td>SP:</td><td>%sp%</td>
</tr>
</table>
<br>
<table width=240>
<tr>
<td>PvP Kills: </td><td>%pvpkills%</td>
<td>Karma: </td><td>%karma%</td>
</tr>
<tr>
<td>PK Kills: </td><td>%pkkills%</td>
<td>PvP Flag: </td><td>%pvpflag%</td>
</tr>
</table>
<br>
<table width=240 bgcolor="666666">
<tr>
<td>P. Atk:</td><td>%patk%</td><td>M. Atk:</td><td>%matk%</td>
</tr>
<tr>
<td>P. Def:</td><td>%pdef%</td><td>M. Def:</td><td>%mdef%</td>
</tr>
<tr>
<td>Accuracy:</td><td>%accuracy%</td><td>Evasion:</td><td>%evasion%</td>
</tr>
<tr>
<td>Crit Rate:</td><td>%critical%</td><td>Speed:</td><td>%runspeed%</td></tr>
</tr>
<tr>
<td>Atk. Spd.:</td><td>%patkspd%</td><td>Casting Spd.:</td><td>%matkspd%</td></tr>
</tr>
<tr>
</table>
<br>
Player Coordinates: %x% %y% %z%
<br1>
AI: %ai%
</center>
</body></html>

right, what pack you are using?

you have the source code ?

  • 0
Posted

i use L2J

 

B1gBoss gave me this

if (gmSeeInvis)
{
writeC(0);
}
else
{
if(TvTEvent.isPlayerParticipating(_activeChar.getObjectId()))
	writeC(0X01);
else
	writeC(_invisible? 1 : 0); // invisible ?? 0=false  1=true   2=summoned (only works if model has a summon animation)

  • 0
Posted

i use L2J

 

B1gBoss gave me this

if (gmSeeInvis)
{
writeC(0);
}
else
{
if(TvTEvent.isPlayerParticipating(_activeChar.getObjectId()))
	writeC(0X01);
else
	writeC(_invisible? 1 : 0); // invisible ?? 0=false  1=true   2=summoned (only works if model has a summon animation)

you must find the java file on eclipse...

  • 0
Posted

You can do it two ways:

1. Knownlist - remove participants from non participants knownlist and make them to be skipped(both ways).

2. CharInfo packet - As BigBoss saied.

 


Not familiar with eclipse?

http://www.maxcheaters.com/forum/index.php?topic=73559.0


 

modify CharInfo packet

 

if (gmSeeInvis)
{
writeC(0);
}
else
{
if(TvTEvent.isPlayerParticipating(_activeChar.getObjectId()))
	writeC(0X01);
else
	writeC(_invisible? 1 : 0); // invisible ?? 0=false  1=true   2=summoned (only works if model has a summon animation)
}

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...