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

    • Information Selling a premium Lineage 2 High Five (L2J) project with active development, available by subscription. Includes Git support and access to compiled or full source code. Ideal for serious server owners seeking stability and performance, uniqueness and well-done features.   General Project Specifications: JDK Version: 23 -> 24 Chronicle: HighFive Structure: Core & Datapack merged into a single project Database: MariaDB Database Driver: HicariCP GIT Website: gitlab.com   Features include (but are not limited to):   1. Tournament Single & Party (Check Youtube Video) 2. Faction (Check Youtube Video) 3. Event Engine (Check Youtube Video) 4. Sell Buff System (Check Youtube Video) 5. Start UP System (Check Youtube Video) 6. User Panel 7. Visual - Dress me System 8. Donate Store 9. Automatic Farm System (Check Youtube Video) 10. Captcha (Anti-BOT) (Check Youtube Video) 11. Auction (Check Youtube Video) 12. Vote (API) 13. Admin Real Time Balance (Check Youtube Video) 14. Achievements (Check Youtube Video) 15. Daily Mission (Check Youtube Video) 16. A.I. Bot (Check Youtube Video) 17. Rebirth 18. Daily Reward  19. Skill Tree - Ability System 20. Craft System 21. Twitch Automatic Reward (Check Youtube Video) 22. Quiz Game (Check Youtube Video) 23. Automatic Item Enchant (Check Youtube Video) 24. Secondary Auth Using Google Authenticator (Check Youtube Video) 25. Gm Shop - Gatekeeper - Scheme Buffer   How to get Access (Payment Subscription): To get Access you either pay monthly subscription to GIT for source or Compiled. Project is currently active and has at least 1-2 commit / day.  Clients in both Compiled & Source subscription can request features or any addon in already existing mods inside discord.   Price per Month (Source) in GIT: 250 Eur Price per Month (Compiled) in GIT: 100 Eur   Contact: To get Access or ask further information join discord  https://discord.gg/gKAsAhJNuq      
    • We're officially closing the current season today. While we focus on refining the Essence project, our resources will temporarily shift toward supporting the Classic server.
    • ➡ Discount for your purchase: MAY2025 (10% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
    • ➡ Discount for your purchase: MAY2025 (10% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
  • Topics

×
×
  • Create New...