Jump to content
  • 0

[Help]How to delete TvT/Duel circle


Question

Posted

Gracia Final

L2JFree

How to delete TvT circle? I'm using Faction mod by Laikeriz and factions have these circlets blue and red, like in TvT and Duel.

 

Image from google

 

I checked source code but i don't get... I even don't how it call, i looked at duelmanager.java, charactercreate.java, l2pcapprentince.java but I don't find anything? I write to azizilaika, but he allways offline.

8 answers to this question

Recommended Posts

  • 0
Posted

You need to find

Index: java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java

+

+ if (activeChar.getLevel() > 85)

+ activeChar.addExpAndSp(Experience.LEVEL[86] - activeChar.getExp(), 0);

- activeChar.setTeam(activeChar.getFactionId());

+ if (activeChar.getFactionId() == 1)

+ activeChar.sendMessage("Now you are playing for Blue faction.");

+ else if (activeChar.getFactionId() == 2)

+ activeChar.sendMessage("Now you are playing for Red faction.");

+ activeChar.teleToLocation(MapRegionTable.TeleportWhereType.Town);

+

 


It's just an exemple .. for TVT You need to find in ur engine "setTeam"

  • 0
Posted

Dude, if I be a girl, I kiss you :D But... :D Thank you a lot, you really helped me, i don't know to pay back :x

You welcome! Enjoy your server

  • 0
Posted

pfff now you deleted the setTeam aka the chars dont have teams anymore...try to find in the userInfo or charInfo packets

I think that in userInfo is defined for teamcolor

  • 0
Posted

I think that in userInfo is defined for teamcolor

 

the circle is a packet an effect if you find the effect you search for it you find the packet and than done.

Guest
This topic is now closed to further replies.


×
×
  • Create New...