Jump to content
  • 0

TvT Location


GoldenNightmare

Question

# ---------------------------------------------------------------------------

# Team vs. Team Event Engine (by FBIagent)

# ---------------------------------------------------------------------------

# <u><b><font color="red">WARNING: this mod require custom NPC table support turned on !</font></b></u>

# CustomNpcTable = True in General.properties

# ---------------------------------------------------------------------------

# Enable/Disable TvTEvent System

TvTEventEnabled = True

 

# TvT in instance

TvTEventInInstance = True

 

# Name of the instance file for TvT

TvTEventInstanceFile = coliseum.xml

 

# Times TvT will occur (24h format).

TvTEventInterval = 8:00,10:00,12:00,14:00,16:00,18:00,20:00,22:00,00:00,2:00,4:00,6:00

 

# Registration timer from start of event (in minutes).

TvTEventParticipationTime = 5

 

# Event running time (in minutes).

TvTEventRunningTime = 10

 

# TvT Event NPC (create a custom npc of type L2TvTEventNpc).

TvTEventParticipationNpcId = 70010

 

# TvT Event Participation Fee (itemId, number). Fee is not returned.

# Example: 57,100000

# Default = none

TvTEventParticipationFee = 57,100000

 

# Location for TvTEvent NPC to spawn in form x,y,z[,heading]

TvTEventParticipationNpcCoordinates = 82698,148638,-3473

 

# Min/Max amount of players allowed in each team.

TvTEventMinPlayersInTeams = 1

TvTEventMaxPlayersInTeams = 20

 

# Min/Max level of players that may join the event.

TvTEventMinPlayerLevel = 1

TvTEventMaxPlayerLevel = 85

 

# Repsawn and exit delay timers (in seconds).

TvTEventRespawnTeleportDelay = 10

TvTEventStartLeaveTeleportDelay = 10

 

# First Team - Name, Start/Death x,y,z location.

TvTEventTeam1Name = Team1

TvTEventTeam1Coordinates = 148695,46725,-3414

 

# Second Team - Name, Start/Death x,y,z location.

TvTEventTeam2Name = Team2

TvTEventTeam2Coordinates = 149999,46728,-3414

 

# Reward for winning team.

# Example: TvTEventReward = itemId,amount;itemId,amount;itemId,amount

TvTEventReward = 8570,16

 

# TvTEvent Rules

TvTEventTargetTeamMembersAllowed = True

TvTEventScrollsAllowed = False

TvTEventPotionsAllowed = True

TvTEventSummonByItemAllowed = False

 

# Door ID's to open/close on start/end.

# Not supported in instance, use xml template for defining doors.

# Example: TvTDoorsToOpen = 1;2;3;4;5;6

TvTDoorsToOpen =

TvTDoorsToClose =

 

# Should both teams get reward if there's a tie?

TvTRewardTeamTie = False

 

# Participant's effects handling on teleport/death.

# Effects lasting through death never removed.

# 0 - always remove all effects.

# 1 - remove all effects only during port to event (noblesse blessing can be used)

# 2 - never remove any effect

# Default: 0

TvTEventEffectsRemoval = 0

 

# Fighter-class participants will be buffed with those buffs each respawn

# Format: skill1Id,skill1Level;skill2Id,skill2Level...

# Example: 1504,1;1501,1;1502,1;1499,1

TvTEventFighterBuffs =1504,1;1501,1;1502,1;1499,1,1519,1

 

# Mage-class participants will be buffed with those buffs each respawn

# Format: skill1Id,skill1Level;skill2Id,skill2Level...

# Example: 1504,1;1500,1;1501,1;1085,3

TvTEventMageBuffs =1504,1;1500,1;1501,1;1085,3

 

# Maximum number of allowed participants per IP address (dualbox check)

# Default: 0 (no limits)

TvTEventMaxParticipantsPerIP = 0

 

# Voiced command (.tvt) working during TVT event to get information about event status

TvTAllowVoicedInfoCommand = True

 

Pos Ginete  na valo to tvt sto seed of destruction otan vazo ta team coordinates kai arxizo ton server leei tvt engine is disabled exo dokimasi me kai xoris tvt instance kai pali m to leei ayto pos ginete na to valo ?otan to exo sto coli litourgi kanonika

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0

Πήγαινε στο seed of destruction, διάλεξε 2 τοποθεσίες που θέλεις να είναι το spawn των 2 team και πάτα /loc

 

μετά γράψε την τοποθεσία σε αυτά

 

 

# First Team - Name, Start/Death x,y,z location.

TvTEventTeam1Name = Team1

TvTEventTeam1Coordinates = 148695,46725,-3414

 

# Second Team - Name, Start/Death x,y,z location.

TvTEventTeam2Name = Team2

TvTEventTeam2Coordinates = 149999,46728,-3414

Link to comment
Share on other sites

  • 0

ok to ekana alla exo allo ena prob epidi einai sto seed of destruction k otan mpenis 8eli party petaei tous pektes stin eisodo tou instance pos tha vgalo to na min 8eli party gia na mpis ?

 

private boolean checkConditions(L2PcInstance player)

{

if (debug)

return true;

L2Party party = player.getParty();

if (party == null)

{

player.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.NOT_IN_PARTY_CANT_ENTER));

return false;

}

L2CommandChannel channel = player.getParty().getCommandChannel();

if (channel == null)

{

player.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.NOT_IN_COMMAND_CHANNEL_CANT_ENTER));

return false;

}

else if (channel.getChannelLeader() != player)

{

player.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.ONLY_PARTY_LEADER_CAN_ENTER));

return false;

}

else if (channel.getMemberCount() < MIN_PLAYERS || channel.getMemberCount() > MAX_PLAYERS)

{

player.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.PARTY_EXCEEDED_THE_LIMIT_CANT_ENTER));

return false;

}

for (L2PcInstance partyMember : party.getPartyMembers())

{

if (partyMember.getLevel() < 75)

{

SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.C1_LEVEL_REQUIREMENT_NOT_SUFFICIENT);

sm.addPcName(partyMember);

party.broadcastToPartyMembers(sm);

return false;

}

if (!Util.checkIfInRange(1000, player, partyMember, true))

{

SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.C1_IS_IN_LOCATION_THAT_CANNOT_BE_ENTERED);

sm.addPcName(partyMember);

party.broadcastToPartyMembers(sm);

return false;

}

Long reentertime = InstanceManager.getInstance().getInstanceTime(partyMember.getObjectId(), INSTANCEID);

if (System.currentTimeMillis() < reentertime)

{

SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.C1_MAY_NOT_REENTER_YET);

sm.addPcName(partyMember);

party.broadcastToPartyMembers(sm);

return false;

}

}

return true;

}

 

apo edo kati allazo alla ti ? :-\

Link to comment
Share on other sites

  • 0

TvTEventFighterBuffs =1504,1;1501,1;1502,1;1499,1,1519,1

 

για να ενεργοποιηθει το TVT και να γινει started διορθωσε αυτό...

 

TvTEventFighterBuffs =1504,1;1501,1;1502,1;1499,1;1519,1

 

οι ρυθμισεις ειναι οκ, με istance ή οχι θα παιξει np.

Link to comment
Share on other sites

  • 0

Μπορεις απλα για το συγκεκριμενο instance να ακυρωσεις μερικούς ελέγχους, τα nim, max players και τα lvl οριζονται απο τον TvT Manager.

 

private boolean checkConditions(L2PcInstance player)

  {

     if (debug)

        return true;

     L2Party party = player.getParty();

     if (Config.TVT_EVENT_INSTANCE_FILE == "coliseum.xml" )

         { return true;}

     if (party == null)

     {

        player.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.NOT_IN_PARTY_CANT_ENTER));

        return false;

     }

     L2CommandChannel channel = player.getParty().getCommandChannel();

     if (channel == null)

     {

        player.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.NOT_IN_COMMAND_CHANNEL_CANT_ENTER));

        return false;

     }

     else if (channel.getChannelLeader() != player)

     {

        player.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.ONLY_PARTY_LEADER_CAN_ENTER));

        return false;

     }

     else if (channel.getMemberCount() < MIN_PLAYERS || channel.getMemberCount() > MAX_PLAYERS)

     {

        player.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.PARTY_EXCEEDED_THE_LIMIT_CANT_ENTER));

        return false;

     }

     for (L2PcInstance partyMember : party.getPartyMembers())

     {

        if (partyMember.getLevel() < 75)

        {

Link to comment
Share on other sites

  • 0

Πιστεύω πως θα μπαινουν, ο TvT manager οριζει τα teams. Με αυτην την προσθήκη δεν ελέγχει πλεον ο checkConditions την ορθότητα οταν ειναι αυτο το instance δηλαδή το coliseum. H ορθότητα οριζεται απο το ναμε του instance. Αν θελεις και αλλα μπορεις να προσθεσεις π.χ.

 

    string thisInstance = Config.TVT_EVENT_INSTANCE_FILE;

    if (thisInstance == "coliseum.xml" || thisInstance == "event2.xml" || thisInstance == "event3.xml" )

         { return true;}

 

Επίσης στα inports να υπάρχει το

 

import com.l2jserver.Config;           οπου com.l2jserver 8α βαλεις αυτο που εχει το pack σου.

Link to comment
Share on other sites

  • 0

oxi akou re megale ti 8elo na valo aplos to tvt na ginete sto seed of destruction se ena place telos panton ekei mesa alla otan arxisi to tvt petaei stin arxi tous pektes epidi dn exoun pt a nai kai btw kses kana share gia l2j freya ctf event ?

Link to comment
Share on other sites

  • 0

αυτο που σου εγραψα ειναι για αυτον τον λογο, να μην πεταει τους παικτες, οταν ειναι τα instance που θα βαλεις στο φιλτρο.

Δεν ξερω για καποιο share τετοιο, γιατι τα γραφω προσωπικα ωστε να ειναι οπως θελω και δεν πολυψαχνω.

Δεν βρηκες τιποτε εδω στο forum?

Link to comment
Share on other sites

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...