Jump to content

Question

Posted

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

# 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

12 answers to this question

Recommended Posts

  • 0
Posted

Πήγαινε στο 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

  • 0
Posted

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 ? :-\

  • 0
Posted

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.

  • 0
Posted

Μπορεις απλα για το συγκεκριμενο 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)

        {

  • 0
Posted

Πιστεύω πως θα μπαινουν, ο 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 σου.

  • 0
Posted

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 ?

  • 0
Posted

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

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

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

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.

  • Posts

    • Server mid rate craft PvP   CLIENTE INTERLUDE Website server Discord olympus x25 &nbsp;server 🇧🇷🇦🇷🇨🇱🇬🇷🇲🇽🇵🇪🇸🇰🇪🇸🇺🇾 Server mid rate craft PvP 🔱CLIENTE INTERLUDE🔱 🔅xpx25 🔅Sp x25 🔅Adena x15 🔅Droop x2 🔅Spoil x2 🔅Raidboss xp x2 🔅Raidboss sp x2 🔅Raidboss droop x1 🔅All Rate quest reward  x1 ⚠️All Quest drop reward. x1 🔅Manor x 3 🔅Seal stone x1 🛡️🗡️INFO GRADO S🗡️🛡️ ⚠️Inicia desabilitado drop/spoil/quest. 🔱PROFESIONES/SUBCLASS🔱 🛡️1st profession - 50medal 🛡️2nd profession - 500 medal 🛡️3rd profession - 1k medal +30kk adena 🛡️Sub class - Quest. No necesita matar raids. ⚙️Configuraciones⚙️ 🛡️Gmshop  grade - B. 🛡️Grade A-S Craft - yes x1 chance 🛡️Globlal teleport - yes 🛡️Buffer 1hora. 🛡️Buffer slot 24(+4divine)+12 dances-song 🛡️Auto learn skils - yes 🛡️Autoloot - yes 🛡️Mana potion recarga 1000 ,9segundos delay. 🛡️Champions system:     ▫️lvl 30 - 76     ▫️chance respawn 0.5%.     ▫️adena x20 🛡️Max lvl party 14 lvl. 🛡️Festive sweeper on. 🛡️Max client pc 2. 🛡️Raid boss respawn retail. 🛡️Nobleza quest - yes. 🛡️Barakiel respawn 6 horas + -30 min. 🛡️Olimpiada duracion 14 dias. 🛡️Olimpiada de 18:00 a 00:00 🛡️Safe enchant +3 🛡️Normal enchant scroll 50% ⚠️+11-16 chance 30% 🛡️Bleesed enchant scroll 55% ⚠️+11-16 chance 35% 🛡️Rate dinamico x1 lvl 77-80   🛡️🗡️CLANES INFO🗡️🛡️ 🔅Crear clan min. level 20 🔅Max Alianzas 1 🔅Duracion penalidades clan / alianzas 8 horas. 🔅Cambio de lider 24 horas. 🛡️⚔️ ASEDIOS ⚔️🛡️ 🔅Cada 2 semanas. 🔅Proteccion hwid 1 pc. 🔅Clanes registrados. acceden a zona de asedio. 🔅Castillo asediable Aden. 🔅Reward 1000 FA 🔅Horario 16:00 GMT-3 🎊PACK DE INICIO🎊 🔅Start set - armor\weapon no grade. 🔅Level 20  - 5 shadow cuppon grado D 🔅Level 40 - 5 shadow cuppon grado C 🔅Free Autofarm 24 horas. 💰 INFO PREMIUM 💰 🔅Free autofarm. 🔅xp x30 🔅sp x30 🔅adena x17 🔅drop x4 🔅spoil x4 🔅enchant +2% 🔅seal stone x1 🔅Altb Gk-Gmshop/buffe ⚔️ RAID  BOSS INFO ⚔️ 🔅Raid boss 70 ++ respawn 5 días despues. 🔅Raid boss 75 ++ respawn 15 días despues 🔅Drop LETTER L2DAY para tradear en GMshop. ⚔️ INFO SEVEN SING ⚔️ 🔅Inicio del drop Seal stones dia 5 de iniciado el server. 🎊 EPIC RAID INFO 🎊 🔅Queen Ant (lvl 40)respawn Lunes a Viernes 22:00 GMT-3 drop chance 30%. 🔅Core (lvl 80)respawn Martes-miercoles 20:20 GMT-3 drop chance 100%. 🔅Orfen (lvl 80)respawn Martes-miercoles 21:00 GMT-3 drop chance 100%. 🔅Zaken (lvl 80)respawn Jueves 23:00 GMT-3 drop chance 100%. 🔅Frintezza (lvl 80)respawn Viernes 23:00 GMT-3 drop chance 100%. 🔅Baium (lvl 80)respawn Sabado 22:00 GMT-3 drop chance 100%. 🔅Valakas (lvl 80)respawn Domingo 20:00 GMT-3 drop chance 100%. 🔅Antharas (lvl 80)respawn Domingo 22:00 GMT-3 drop chance 100%.
    • The server is running in l2house.com.ar with C4 mode and in L2Tekila within the same login you can also test it in C5, if you want me to raise another chronicle to test, just let me know.
    • video nice song TopGear  gaming 1990    ....  
    • I have a system where Accounts are saved on login screen for fast login. I am playing a server where this feature is not on the logic screen. How I can try to add this feature to the system? I don't know what files I would have to touch.   Thanks!!
  • Topics

×
×
  • Create New...