PvP Teleport

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
AstroGlide
Posts: 36
Joined: Sat Jul 17, 2010 1:35 am

PvP Teleport

Post by AstroGlide »

L2J Revision 4378 :
L2JDP Revision 7625:
I have searched and searched, I could not find it. I don't want players to be able to teleport when they are PvP flagged or have karma, could anyone help or point me to a post that could help. :?:
dinor
Posts: 141
Joined: Tue Aug 26, 2008 10:07 am

Re: PvP Teleport

Post by dinor »

in gameserver/config/character.properties

Code: Select all

# Karma player can use GateKeeper.# Default: FalseAltKarmaPlayerCanUseGK = False # Karma player can use escape and recall skills.# Default: TrueAltKarmaPlayerCanTeleport = True
AstroGlide
Posts: 36
Joined: Sat Jul 17, 2010 1:35 am

Re: PvP Teleport

Post by AstroGlide »

Sorry I guess I did not specify, but I am using a custom gatekeeper, and that feature does not work with it.
dinor
Posts: 141
Joined: Tue Aug 26, 2008 10:07 am

Re: PvP Teleport

Post by dinor »

You use the teleport table from database for your teleport locations or another way?
c/p a part of the code for 1 location that your teleporter uses.
AstroGlide
Posts: 36
Joined: Sat Jul 17, 2010 1:35 am

Re: PvP Teleport

Post by AstroGlide »

How will that help, but here is one.

Code: Select all

Four Sepulchers	50177	178138	-84419	-7211	0	0
dinor
Posts: 141
Joined: Tue Aug 26, 2008 10:07 am

Re: PvP Teleport

Post by dinor »

I see that you are using the teleport tables from database and not any other strange way, the configs should work.
It doesn't matter that you have a custom npc, since the locations are stored in db it is working.
check your configs again.

I don't if this works only for chaotic players or flaged as well.
if doesn't work with flaged players you need to edit the source.
AstroGlide
Posts: 36
Joined: Sat Jul 17, 2010 1:35 am

Re: PvP Teleport

Post by AstroGlide »

Hey, I enabled the option, and on the regular gatekeeper works fine, but my custom, it does not. Do you have a link to another post similar to this? I searched like an hour could not find anything. Also I need players not to be able to teleport mainly in PvP mode, PK is less important, but needed. Thanks :P
AstroGlide
Posts: 36
Joined: Sat Jul 17, 2010 1:35 am

Re: PvP Teleport

Post by AstroGlide »

Anyone, anything?Any way to do this without core work?
dinor
Posts: 141
Joined: Tue Aug 26, 2008 10:07 am

Re: PvP Teleport

Post by dinor »

for PVP you have to edit core.
for the custom GK, i don't understand why it doesn't work... Try make the htmls similar to normal GK (if they are not). Also make sure that the teleports are from database.

So your htmls should look like this

Code: Select all

<a action="bypass -h npc_%objectId%_goto 200907" msg="811;Field of Silence">Field of Silence - 10000 Adena </a><br1>
and not like this

Code: Select all

<td align=center><button action="bypass -h admin_move_to -20814 -21189 -3030" value="Arena 01" width=100 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td><br1>
Post Reply