Jump to content
TheDayOfBirth

How do you enable in PK in arena/dream or anywhere?

Recommended Posts

Hello there, I'm quite new here but I've been reading these forum for quite awhile already.

I'm currently developing my own server (successfully doing so thanks to the guides posted here)

Everything was sailing so smooth and fine. However, I could not PK anyone even when trying to do so in PVP arena (medal of valor and everything obtained)

It says " Current map does not allow PK invitation, or the map has not activated PK mode)

Since, arena didn't work, figures that dream will. However, I still can't PK my own alt character in that map.

PK map, naval base and any other place that can be PKed can't be accessed. I tried using ticket and I got teleported to nowhere. 

Can anyone help? Thank youu :D

 

and 1 more thing if possible, since I'm developing my own server and created an Angela JR/Mordo JR, I can't seem to poss. How to remove the limitation that the pet needs to be the offspring of first gen pet marriage? Thanks again! :D

Edited by TheDayOfBirth

Share this post


Link to post
Share on other sites

It seems you got different issues.

 

1. Do you have a modified "garner" map? If so, did you add/remove the PvP area in the bar?
2. Does your dream map have PK enabled via lua and also map configuration? You can check via Yammi.

3. Your ticket functions are probably bugged, maps are not opened or wrong birth points.

4. Modify the fairy possession function and remove the check for marriage.

Share this post


Link to post
Share on other sites

for maps issue take a look here how to use YAMMI

use YAMMI to mark the area of pvp inside bar ,
 

Quote

Since, arena didn't work, figures that dream will. However, I still can't PK my own alt character in that map.

open your dream map folder and edit your 
ctrl.lua
and edit your maptype
 

 MapType ( map , 3 )			-- 0 = PvP Off // 1 = PvP Off // 2 = PvP On ( Not allowed to kill Guild and Party Mates ) // 3 = PvP On ( Allowed to kill any player but not Party Mates ) // 4 = PvP On ( Not allowed to kill Guild and Party Mates )  

and make sure to use YAMMI to remove safe zone from dreamcity if you want make it a pk zone

Share this post


Link to post
Share on other sites
4 hours ago, mkhzaleh said:

for maps issue take a look here how to use YAMMI

use YAMMI to mark the area of pvp inside bar ,
 

open your dream map folder and edit your 
ctrl.lua
and edit your maptype
 


 MapType ( map , 3 )			-- 0 = PvP Off // 1 = PvP Off // 2 = PvP On ( Not allowed to kill Guild and Party Mates ) // 3 = PvP On ( Allowed to kill any player but not Party Mates ) // 4 = PvP On ( Not allowed to kill Guild and Party Mates )  

and make sure to use YAMMI to remove safe zone from dreamcity if you want make it a pk zone

Thank you very much. Using YAMMI seems a bit hard but doable (I haven't try yet but thank you nontheless! :D)

Share this post


Link to post
Share on other sites
5 hours ago, Angelix said:

It seems you got different issues.

 

1. Do you have a modified "garner" map? If so, did you add/remove the PvP area in the bar?
2. Does your dream map have PK enabled via lua and also map configuration? You can check via Yammi.

3. Your ticket functions are probably bugged, maps are not opened or wrong birth points.

4. Modify the fairy possession function and remove the check for marriage.

Great, thanks there buddy! Appreciate it. The fairy possession function is located in? Cheers :)

Share this post


Link to post
Share on other sites
1 hour ago, TheDayOfBirth said:

Great, thanks there buddy! Appreciate it. The fairy possession function is located in? Cheers :)

0280	Fairy body	2	-1,10	1,-1	1,-1	1,-1	-1	-1	1	1	-1	-1	0	1	1	0	1	1	0	0	0	0	0	SkillSp_JLFT	0	0	0	Skill_JLFT_BEGIN	Skill_JLFT_End	0	0	0	0	0	0	0	0	0	0	0	0	0	0	SkillCooldown_JLFT	1	1	12	0	46	2	117	0	-1	0,0	0,0	-1	-1	-1	0	0	-1	-1	0	-2	236	0	s0234.tga	0	0	Character Skill	Attribute bonus from new generation of pet fairies	Stamina consumption is determined by pet level and skill level. Fixed consumption of 20 SP.	0	
function Skill_JLFT_End ( ATKER , DEFER , sklv )
	local statelv = sklv 
	local statetime = 190 - sklv * 10 
	local item_elf = GetChaItem(ATKER , 2, 1)			-- Pet Handle
	local item_elf_type = GetItemType ( item_elf )			-- Pet Type
	local Item_ID = GetItemID ( item_elf )				-- Pet ID 

	if Item_ID==231 then
		 
		AddState( ATKER , ATKER , STATE_JLFT1, statelv , statetime ) 

	elseif Item_ID==232 then
		 
		AddState( ATKER , ATKER , STATE_JLFT2, statelv , statetime ) 

	elseif Item_ID==233 then
		 
		AddState( ATKER , ATKER , STATE_JLFT3, statelv , statetime ) 

	elseif Item_ID==235 then
		 
		AddState( ATKER , ATKER , STATE_JLFT4, statelv , statetime ) 

	elseif Item_ID==234 then
		 
		AddState( ATKER , ATKER , STATE_JLFT5, statelv , statetime ) 

	elseif Item_ID==236 then
		 
		AddState( ATKER , ATKER , STATE_JLFT6, statelv , statetime ) 

	elseif Item_ID==237 then
		 
		AddState( ATKER , ATKER , STATE_JLFT7, statelv , statetime ) 

	elseif Item_ID==681 then
		 
		AddState( ATKER , ATKER , STATE_JLFT8, statelv , statetime )

	elseif Item_ID==500 then
		 
		AddState( ATKER , ATKER , STATE_JLFT8, statelv , statetime ) 
	end
end 

so just add your pets id 
 

 

Share this post


Link to post
Share on other sites
5 minutes ago, mkhzaleh said:

0280	Fairy body	2	-1,10	1,-1	1,-1	1,-1	-1	-1	1	1	-1	-1	0	1	1	0	1	1	0	0	0	0	0	SkillSp_JLFT	0	0	0	Skill_JLFT_BEGIN	Skill_JLFT_End	0	0	0	0	0	0	0	0	0	0	0	0	0	0	SkillCooldown_JLFT	1	1	12	0	46	2	117	0	-1	0,0	0,0	-1	-1	-1	0	0	-1	-1	0	-2	236	0	s0234.tga	0	0	Character Skill	Attribute bonus from new generation of pet fairies	Stamina consumption is determined by pet level and skill level. Fixed consumption of 20 SP.	0	

function Skill_JLFT_End ( ATKER , DEFER , sklv )
	local statelv = sklv 
	local statetime = 190 - sklv * 10 
	local item_elf = GetChaItem(ATKER , 2, 1)			-- Pet Handle
	local item_elf_type = GetItemType ( item_elf )			-- Pet Type
	local Item_ID = GetItemID ( item_elf )				-- Pet ID 

	if Item_ID==231 then
		 
		AddState( ATKER , ATKER , STATE_JLFT1, statelv , statetime ) 

	elseif Item_ID==232 then
		 
		AddState( ATKER , ATKER , STATE_JLFT2, statelv , statetime ) 

	elseif Item_ID==233 then
		 
		AddState( ATKER , ATKER , STATE_JLFT3, statelv , statetime ) 

	elseif Item_ID==235 then
		 
		AddState( ATKER , ATKER , STATE_JLFT4, statelv , statetime ) 

	elseif Item_ID==234 then
		 
		AddState( ATKER , ATKER , STATE_JLFT5, statelv , statetime ) 

	elseif Item_ID==236 then
		 
		AddState( ATKER , ATKER , STATE_JLFT6, statelv , statetime ) 

	elseif Item_ID==237 then
		 
		AddState( ATKER , ATKER , STATE_JLFT7, statelv , statetime ) 

	elseif Item_ID==681 then
		 
		AddState( ATKER , ATKER , STATE_JLFT8, statelv , statetime )

	elseif Item_ID==500 then
		 
		AddState( ATKER , ATKER , STATE_JLFT8, statelv , statetime ) 
	end
end 

so just add your pets id 
 

 

so we just create a new .txt file? Or is this command located in specific folder/.lua files? Thanks again and massive sorry for bothering you. :)

Share this post


Link to post
Share on other sites
15 minutes ago, TheDayOfBirth said:

so we just create a new .txt file? Or is this command located in specific folder/.lua files? Thanks again and massive sorry for bothering you. :)

why .txt?
you can find this function inside your skilleffect.lua
and don't forget to add it inside this function as well "State_JLFT_Add and State_JLFT_Rem"
 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

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