Jump to content
  • 0

[HELP] Auto event open/close door


Question

Posted

Im trying to find out how to set auto open/close door on start and end of the event... i use L2Jfree server... server both forums this and l2jfree aswell and i could find where to set it :/ ... if any1 knows please explain me how to do it, thnx in advance.

Recommended Posts

  • 0
Posted

# General Settings
FallDownOnDeath = True

# Setting for Capture The Flag
# CTFEvenTeams = NO|BALANCE|SHUFFLE
# NO means: not even teams.
# BALANCE means: Players can only join team with lowest player count.
# SHUFFLE means: Players can only participate to the event and not direct to a team. Teams will be shuffled on teams teleport.
CTFEvenTeams = SHUFFLE
# Players that are not participating in CTF can target ctf participants?
CTFAllowInterference = False
# CTF participants can use potions?
CTFAllowPotions = True
# CTF participants can summon by item?
CTFAllowSummon = False
# Remove all effects of CTF participants on event start?
CTFOnStartRemoveAllEffects = True
# Unsummon pet of CTF participants on event start?
CTFOnStartUnsummonPet = True
# On revive participants regain full HP/MP/CP?
CTFReviveRecovery = True
# Announce all team statistics
CTFAnnounceTeamStats = False
# Announce reward
CTFAnnounceReward = False
# Players with cursed weapon are allowed to join?
CTFJoinWithCursedWeapon = False
# Delay on revive when dead, NOTE: 20000 equals to 20 seconds, minimum 1000 (1 second)
CTFReviveDelay = 20000

# Setting for Team vs. Team PVP
# TvTEvenTeams = NO|BALANCE|SHUFFLE
# NO means: not even teams.
# BALANCE means: Players can only join team with lowest player count.
# SHUFFLE means: Players can only participate to the event and not direct to a team. Teams will be shuffled on teams teleport.
TvTEvenTeams = SHUFFLE
# Players that are not participating in TVT can target TVT participants?
TvTAllowInterference = False
# TVT participants can use potions?
TvTAllowPotions = True
# TVT participants can summon by item?
TvTAllowSummon = False
# Remove all effects of tvt participants on event start?
TvTOnStartRemoveAllEffects = True
# Unsummon pet of tvt participants on event start?
TvTOnStartUnsummonPet = True
# On revive participants regain full hp/mp/cp?
TvTReviveRecovery = True
# Announce all team statistics
TvTAnnounceTeamStats = True
# Announce reward
TvTAnnounceReward = True
# Give price with 0 kills
TvTPriceNoKills = False
# Players with cursed weapon are allowed to join?
TvTJoinWithCursedWeapon = False
# Delay on revive when dead, NOTE: 20000 equals to 20 seconds, minimum 1000 (1 second)
TVTReviveDelay = 20000

# Players that are not participating in DM can target DM participants?
DMAllowInterference = False
# DM participants can use potions?
DMAllowPotions = True
# DM participants can summon by item?
DMAllowSummon = False
# Remove all effects of DM participants on event start?
DMOnStartRemoveAllEffects = False
# Unsummon pet of DM participants on event start?
DMOnStartUnsummonPet = True
# Delay on revive when dead, NOTE: 20000 equals to 20 seconds, minimum 1000 (1 second)
DMReviveDelay = 10000

# Arena Manager Configs
ArenaEnabled = False
# Interval in minutes
ArenaInterval = 60
# Reward ID
ArenaRewardId = 57
# Reward amount 0 to disable
ArenaRewardCount = 0

# FishManager configs
FishermanEnabled = False
# Interval in minutes
FishermanInterval = 60
# Reward ID
FishermanRewardId = 57
# Reward amount 0 to disable
FishermanRewardCount = 0

 

i already checked if its possible to set it here like at L2Oneo event engine... but L2jFree doesnt have this option :( any ideas?

  • 0
Posted

Stop being lazy damnit.

Just add this to startEvent()

 

DoorTable.getInstance().getDoor(yourdoorid).openMe();

DoorTable.getInstance().getDoor(yourdoorid2).openMe();

 

and this to endEvent()

DoorTable.getInstance().getDoor(yourdoorid).closeMe();

DoorTable.getInstance().getDoor(yourdoorid2).closeMe();

 

Dont forget the import

import com.l2jfree.gameserver.datatables.DoorTable;

 

  • 0
Posted

hmm, i was searching for it in my server files, but i couldnt find it, in which folder should it be located?

 

thnx alot for your help

 

src/main/java/com/l2jfree/gameserver/model/entity/events

 

hit tha button

  • 0
Posted

i got strikers pack l2jfree core 1.2.7

 

1)Don't use pre packs for making serius server, compile your own pack!.

2)Learn how to compile with maven there are mutch Guide,if you don't find something important here....search at www.l2jfree.com there are many for sure.

 

To do those change you need a little java knowledge... is just c/p ....

 

Gl!.

  • 0
Posted

i have already searched on l2jforums, there is nothing said about where those files are :/

 

in the source of every pack.You cant see them in preconfigured packs.

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