Page 1 of 1
Wedding and TvT (sorry, if double)
Posted: Sun May 02, 2010 3:15 pm
by SheRloK
I'm running L2J on Epilogue...and when i try to summon wedding manager..it say that target cannot be found, and a little TvT problem: NPC spawns at preseted hour, but the npc not allow u to register...its like a Quest npc (i can post some screens, if there is a need ). I'm new in this work...can someone help me?
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision
4123:
L2JDP Revision
7326:
Re: Wedding and TvT (sorry, if double)
Posted: Sun May 02, 2010 3:32 pm
by janiii
enable custom npc tables in the config.
CustomNpcTable = True in General.properties
Re: Wedding and TvT (sorry, if double)
Posted: Sun May 02, 2010 3:37 pm
by SheRloK
its allready enabled...cause i have some custom npc on server..that will not work if is not enabled
Code: Select all
# Default: FalseCustomSpawnlistTable = True # Option to save GM spawn only in the custom table.# Default: FalseSaveGmSpawnOnCustom = False # Option to delete spawn in alternate table.# Default: FalseDeleteGmSpawnOnCustom = False # Default: FalseCustomNpcTable = True # Default: FalseCustomNpcSkillsTable = True # Default: FalseCustomItemTables = True # Default: FalseCustomArmorSetsTable = True # Default: FalseCustomTeleportTable = True # Default: FalseCustomDroplistTable = True # Default: FalseCustomMerchantTables = True # Default: FalseCustomNpcBufferTables = True
wedding setup
Code: Select all
# Enable/Disable Wedding SystemAllowWedding = True # Amount of Adena required to get marriedWeddingPrice = 25000000 # Enable/Disable punishing of players who attempt to be engaged to other players while married.WeddingPunishInfidelity = True # Enable/Disable teleport function for married couples.WeddingTeleport = True # Amount of Adena required to teleport to spouse.WeddingTeleportPrice = 0 # Time before character is teleported after using the skill.WeddingTeleportDuration = 30 # Enable/Disable same sex marriages.WeddingAllowSameSex = True # Require players to wear formal wear to be married?WeddingFormalWear = True # Amount of Adena (%) a player must pay to the other to get divorced.WeddingDivorceCosts = 20
TvT setup
Code: Select all
# Enable/Disable TvTEvent SystemTvTEventEnabled = True # TvT in instanceTvTEventInInstance = True # Name of the instance file for TvTTvTEventInstanceFile = 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,02:00,04:00,06:00 # Registration timer from start of event (in minutes).TvTEventParticipationTime = 10 # Event running time (in minutes).TvTEventRunningTime = 15 # TvT Event NPC (create a custom npc of type L2TvTEventNpc).TvTEventParticipationNpcId = 4 # TvT Event Participation Fee (itemId, number). Fee is not returned.# Example: 57,100000# Default = noneTvTEventParticipationFee = 0,0 # Location for TvTEvent NPC to spawn in form x,y,z[,heading]TvTEventParticipationNpcCoordinates = 83425,148585,-3406 # Min/Max amount of players allowed in each team.TvTEventMinPlayersInTeams = 1 #TvTEventMaxPlayersInTeams = 30 # Min/Max level of players that may join the event.TvTEventMinPlayerLevel = 70 #TvTEventMaxPlayerLevel = 85 # Repsawn and exit delay timers (in seconds).TvTEventRespawnTeleportDelay = 10 #TvTEventStartLeaveTeleportDelay = 10 # First Team - Name, Start/Death x,y,z location.TvTEventTeam1Name = Dusk #TvTEventTeam1Coordinates = 148695,46725,-3414 # Second Team - Name, Start/Death x,y,z location.TvTEventTeam2Name = Dawn #TvTEventTeam2Coordinates = 149999,46728,-3414 # Reward for winning team.# Example: TvTEventReward = itemId,amount;itemId,amount;itemId,amountTvTEventReward = 4037,1 # TvTEvent RulesTvTEventTargetTeamMembersAllowed = False #TvTEventScrollsAllowed = False #TvTEventPotionsAllowed = False #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;6TvTDoorsToOpen = #TvTDoorsToClose = # Should both teams get reward if there's a tie?TvTRewardTeamTie = True # 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: 0TvTEventEffectsRemoval = 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,1TvTEventFighterBuffs = # Mage-class participants will be buffed with those buffs each respawn# Format: skill1Id,skill1Level;skill2Id,skill2Level...# Example: 1504,1;1500,1;1501,1;1085,3TvTEventMageBuffs = # Voiced command (.tvt) working during TVT event to get information about event statusTvTAllowVoicedInfoCommand = True
setups seems to be fine...i dunno what to do..cause the class masters work just fine...but these dont work...i will post a screen of the Dialog with tvt event manager
Re: Wedding and TvT (sorry, if double)
Posted: Sun May 02, 2010 4:05 pm
by janiii
posts merged. no need to post each config to own post. thx.
Re: Wedding and TvT (sorry, if double)
Posted: Sun May 02, 2010 4:07 pm
by SheRloK
oke..sorry....but what should i do? i have same problem with the Buffer..but i added one line to scripts...and now buffer is working fine...with these i dunno where are they..and what i should change...
Re: Wedding and TvT (sorry, if double)
Posted: Sun May 02, 2010 4:14 pm
by janiii
- which npc id are you trying to spawn as wedding manager? what is the command you use?
- do you use default npcs for wedding and tvt, or own npcs?
- describe the error or make a screenshot if possible
Re: Wedding and TvT (sorry, if double)
Posted: Sun May 02, 2010 4:18 pm
by SheRloK
For wedding i use the default npc. Typed //spawn 50007 and get the message : your target cannot be found
For TvT i changed the npc to santa..cause there was an error saying that the npc does not exist. for this one i will come back with a screen
Re: Wedding and TvT (sorry, if double)
Posted: Sun May 02, 2010 4:25 pm
by janiii
are you sure you have custom npc enabled on your server and the npcs are there? check the tables and check your config again. spawning the npcs works for me just fine, no errors.
Re: Wedding and TvT (sorry, if double)
Posted: Sun May 02, 2010 4:43 pm
by LasTravel
Re: Wedding and TvT (sorry, if double)
Posted: Sun May 02, 2010 4:54 pm
by SheRloK
So i changed the TvT npc back to default and i get the error again. The wedding problems still persist. See the cuts
http://img63.imageshack.us/gal.php?g=customnpc.jpg
Re: Wedding and TvT (sorry, if double)
Posted: Sun May 02, 2010 5:07 pm
by janiii
check that your weding manager npc is in database defined as L2WeddingManger - missing an a character there! you should read the error messages more carefully and trying to understand what they say..
for tvt npc, you probably dont have the npc id 4 in your database. or the type of the npc is not L2TvTEventNpc .
check that your server is really connecting to the database you are giving in the screenshots.
Re: Wedding and TvT (sorry, if double)
Posted: Sun May 02, 2010 7:03 pm
by hope
I see your problem the class is wrong should be LineageNPC.a_casino_FDarkElf
I am sure you have others are messed up as well check your custom npc table as alot of classes have been changed
Re: Wedding and TvT (sorry, if double)
Posted: Fri May 07, 2010 7:23 pm
by SheRloK
i just create 2 new npcs for them and now all works fine. thx for help