Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 07:37

  • Please register to post and access all features, it's quick, easy and FREE!

 

[Help Thread] Please post your questions here.

Reply
 
Old   #6211
 
elite*gold: 0
Join Date: Oct 2012
Posts: 124
Received Thanks: 12
Hello everyone, I am building a website for rappelz,
so I am curios which Auth and telecaster DB i must use
so suggest me the most common one, and less errors.



MrStubborn is offline  
Old   #6212
 
elite*gold: 0
Join Date: Dec 2009
Posts: 82
Received Thanks: 1
Wie erstelle ich einen Random Skill fr Pets ?



How do I create a Random Skill for Pets?


THX for Help


aKa.SeNSeR is offline  
Old   #6213
 
elite*gold: 0
Join Date: Oct 2011
Posts: 15
Received Thanks: 0
Quote:
Originally Posted by thndr View Post
Try adding the new functions to the npc_event module after the module name instead of before the module name.
does not work
there is another script?

Quote:
Originally Posted by aKa.SeNSeR View Post
Wie erstelle ich einen Random Skill fr Pets ?



How do I create a Random Skill for Pets?


THX for Help
USE Arcadia
GO
INSERT INTO [dbo].[SkillTreeResource] ([job_id] ,[skill_id] ,[min_skill_lv] ,[max_skill_lv] ,[lv] ,[job_lv] ,[jp_ratio] ,[need_skill_id_1] ,[need_skill_lv_1] ,[need_skill_id_2] ,[need_skill_lv_2] ,[need_skill_id_3] ,[need_skill_lv_3], [cenhance_min], [cenhance_max]) VALUES ( 4401 , 31411 , 1 , 5 , 0 , 1 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0, 5)
dimonius92 is offline  
Old   #6214
Moderator
 
elite*gold: 1
Join Date: Dec 2012
Posts: 3,162
Received Thanks: 1,036
@dimonius92

Here is the full script I have. I would assume that you would need to edit the dates to be close to the current up coming weekly dates for the event to go live.


Code:
function for_event_by_liveteam()

	play_time_event() --÷ Ÿ ̺Ʈ
    --party_exp_rate_event() --Ƽ ġ ̺Ʈ
end


function play_time_event()

	local state_code = get_local_info() 	

	if state_code == 1 then -- ѱ
		-- local current_time = get_os_date( "%Y-%m-%d %H:%M:%S" )
		-- local event_begin_time = '2013-07-11 10:00:00'
		-- local event_end_time = '2013-08-08 10:00:00'		
		-- if	event_begin_time <= current_time and
			-- current_time <= event_end_time then			
			-- set_env( "game.use_time_based_event_script", 1 )
			-- set_env( "game.term_for_time_based_event_script", 120 )
		-- end
		--2013 ѱ ߼ ÷ Ÿ ̺Ʈ    üũ  ,   Ʈ  
		set_env( "game.use_time_based_event_script",1 )
		set_env( "game.term_for_time_based_event_script",5 )
	
	elseif  state_code == 4 --̱
		or state_code == 8192  -- ߵ
	    or state_code == 8 -- 
		or state_code == 128  -- 
		or state_code ==16384 -- Ű 
		or state_code ==32768 --  
		or state_code ==65536 -- Ż 
		or state_code == 256 -- þ
		or state_code == 512 -- 
		then 	
			
		set_env( "game.use_time_based_event_script",1 )
		set_env( "game.term_for_time_based_event_script",5 )
		
	elseif  state_code == 16 then -- Ϻ
			
		set_env( "game.use_time_based_event_script",1 )
		set_env( "game.term_for_time_based_event_script",5 )
	
	end

end

function on_time_based_event_reward() 

local state_code = get_local_info()  -- ڵ
local pcbang_grade = get_value("pcbang_user")	-- ̾PC Ǵܺ	
local t_flag = get_flag( "reward_time_event" ) -- ij  ÷ 
local account_t_flag = get_account_flag( "reward_time_event" ) --   ÷ 
local current_time = get_os_date( "%Y-%m-%d %H:%M:%S" )
local flag_current_time = get_os_date( "%Y-%m-%d" )
local event_current_week = 0	
local lv = get_value( "level" )

	-- 2014 ѱ PC ̺Ʈ Ⱓ̰ ѱ̸
	if '2014-04-24' <= current_time and current_time < '2014-05-22' and state_code == 1 then 
		if pcbang_grade == 2 then --ѱ Ǿ ̺Ʈ
			insert_item(2012866,1)
			private_notice("@90605876")
			return
		end
	end
	
	if '2014-04-22' <= current_time and current_time < '2014-05-13' and state_code == 16 then --Ϻ
			insert_item(2012866,1)
			private_notice("@90606226")
			return
	end
	
	if '2014-05-13' <= current_time and current_time < '2014-06-01' and state_code == 4 or state_code == 8 or state_code == 128 or state_code == 16384 or state_code == 32768 or state_code == 65536 then --̱, 
			insert_item(2012866,1)
			private_notice("@90606226")
			return
	end
	
	if '2014-05-12' <= current_time and current_time < '2014-06-03' and state_code == 256 then --þ
			insert_item(2012866,1)
			private_notice("@90606226")
			return
	end
	
	-- 0.   üũ (⺻ ѹ  ޾  ش.)
	if t_flag == flag_current_time or account_t_flag == flag_current_time or t_flag == current_time or account_t_flag == current_time then
		return
	end
	
	-- 1. ̺Ʈ Ⱓ üũ:  ¥   شϴ Ѵ. ( event_current_week   )
	
	-- ѱ
	if state_code == 1 then
		if '2014-06-26 10:00:00' <= current_time and current_time < '2014-07-03 10:00:00' then 
			event_current_week = 1
		elseif '2014-07-03 10:00:00' <= current_time and current_time < '2014-07-10 10:00:00' then
			event_current_week = 2
		elseif '2014-07-10 10:00:00' <= current_time and current_time < '2014-07-17 10:00:00' then
			event_current_week = 3
		elseif '2014-07-17 10:00:00' <= current_time and current_time < '2014-07-24 10:00:00' then
			event_current_week = 4
		end
	end
	
	--ߵ
	if state_code == 8192 then
		if '2014-02-24' <= current_time and current_time < '2014-03-03' then 
			event_current_week = 1
		elseif '2014-03-03' <= current_time and current_time < '2014-03-10' then
			event_current_week = 2
		elseif '2014-03-10' <= current_time and current_time < '2014-03-17' then
			event_current_week = 3
		elseif '2014-03-17' <= current_time and current_time < '2014-03-24' then
			event_current_week = 4	
		end
	end
	
	-- Ϻ
	if state_code == 16 then
		if '2014-08-12 11:00:00' <= current_time and current_time < '2014-08-19 11:00:00' then 
			event_current_week = 1
		elseif '2014-08-19 11:00:00' <= current_time and current_time < '2014-08-26 11:00:00' then
			event_current_week = 2
		elseif '2014-08-26 11:00:00' <= current_time and current_time < '2014-09-02 11:00:00' then
			event_current_week = 3
		elseif '2014-09-02 11:00:00' <= current_time and current_time < '2014-09-09 11:00:00' then
			event_current_week = 4
		end
	end
	
	-- ̱, Ű, Ż
	if  state_code == 4 or state_code == 16384 or state_code == 65536 then 
		if '2014-02-27' <= current_time and current_time < '2014-03-06' then 
			event_current_week = 1
		elseif '2014-03-06' <= current_time and current_time < '2014-03-13' then
			event_current_week = 2
		elseif '2014-03-13' <= current_time and current_time < '2014-03-20' then
			event_current_week = 3
		elseif '2014-03-20' <= current_time and current_time < '2014-03-27' then
			event_current_week = 4	
		end
	end
	
	-- , , 
	if  state_code == 8 or state_code == 128 or state_code == 32768 then 
		if '2014-02-25' <= current_time and current_time < '2014-03-04' then 
			event_current_week = 1
		elseif '2014-03-04' <= current_time and current_time < '2014-03-11' then
			event_current_week = 2
		elseif '2014-03-11' <= current_time and current_time < '2014-03-18' then
			event_current_week = 3
		elseif '2014-03-18' <= current_time and current_time < '2014-03-25' then
			event_current_week = 4	
		end
	end
	
	 -- þ
	if 	state_code == 256 then
		if '2014-02-10' <= current_time and current_time < '2014-02-15' then 
			event_current_week = 1
		elseif '2014-02-15' <= current_time and current_time < '2014-02-17' then
			event_current_week = 2 --1
		elseif '2014-02-17' <= current_time and current_time < '2014-02-22' then
			event_current_week = 3
		elseif '2014-02-22' <= current_time and current_time < '2014-02-24' then
			event_current_week = 4 --2
		elseif '2014-02-24' <= current_time and current_time < '2014-02-27' then
			event_current_week = 5
		elseif '2014-02-27' <= current_time and current_time < '2014-03-03' then
			event_current_week = 6 --3
		elseif '2014-03-03' <= current_time and current_time < '2014-03-10' then
			event_current_week = 7 --4
		end
	end

	-- 
	if	state_code == 512 then 
		if '2014-02-14' <= current_time and current_time < '2014-02-19' then 
			event_current_week = 1 --1
		elseif '2014-02-19' <= current_time and current_time < '2014-02-21' then
			event_current_week = 2 --1
		elseif '2014-02-21' <= current_time and current_time < '2014-02-27' then
			event_current_week = 3 --2
		elseif '2014-02-27' <= current_time and current_time < '2014-02-28' then
			event_current_week = 4 --2
		elseif '2014-02-28' <= current_time and current_time < '2014-03-03' then
			event_current_week = 5 --3
		elseif '2014-03-03' <= current_time and current_time < '2014-03-07' then
			event_current_week = 6 --3
		elseif '2014-03-07' <= current_time and current_time < '2014-03-14' then
			event_current_week = 7 --4
		end
	end
	
	-- 2. ¥    :   event_current_week 0 Ŭ  (̺Ʈ Ⱓ ƴϸ 0 .)
	if event_current_week > 0 then
		--  
		if state_code == 512 then 
			
			if event_current_week == 1 then
				insert_item ( 2013064, 1 )
			
			elseif event_current_week == 2 then
				insert_item ( 2013063, 1 )
				insert_item ( 2013064, 1 )
			
			elseif event_current_week == 3 then
				insert_item ( 2013063, 1 )
				insert_item ( 2013064, 1 )
				insert_item ( 2902162, 3 )
				insert_item ( 900010, 3 )
			-- 1 .	
			elseif event_current_week == 4 then
				insert_item ( 2013062, 1 )
				insert_item ( 2013063, 1 )
				insert_item ( 2013064, 1 )
				insert_item ( 2902162, 3 )
				insert_item ( 900010, 3 )
			-- 1 .	
			elseif event_current_week == 5 then
				insert_item ( 2902162, 3 )
				insert_item ( 900010, 3 )
			-- 1 .	
			elseif event_current_week == 6 then
				insert_item ( 2012787, 10 )
				insert_item ( 2012788, 10 )
			-- 2 .	
			elseif event_current_week == 7 then
				insert_item ( 2013058, 1 )
				insert_item ( 2013058, 1 )
				insert_item ( 930077, 1 )
				insert_item ( 930077, 1 )
				insert_item ( 930077, 1 )
				insert_item ( 930077, 1 )
			-- 3 .	
			elseif event_current_week == 8 then
				insert_item ( 601100308, 2 )
			-- 4 .	
			end
			--    â Ȯغ ޽ .
			private_notice( sconv( "@90605850" , "#@[email protected]#", get_value("name") ) )
		
		-- ѱ, Ϻ
		elseif state_code == 1 or state_code == 16 then 
			
			if event_current_week == 1 then
				insert_item ( 2012787, 10 )
				insert_item ( 2012788, 10 )
				insert_item ( 601100285, 2 )
				insert_item ( 2012834, 2 )
				insert_item ( 2902163, 3 )
				insert_item ( 2012825, 3 )
			-- 1 .
			elseif event_current_week == 2 then
				insert_item ( 801321, 1 )
				insert_item ( 801322, 1 )
				insert_item ( 801323, 1 )
				insert_item ( 801324, 1 )
				insert_item ( 2011150, 4 )
				insert_item ( 2902164, 3 )
				insert_item ( 3800282, 3 )
				insert_item ( 930037, 1 )
				insert_item ( 950081, 5 )
			-- 2 .
			elseif event_current_week == 3 then
				insert_item ( 601100308, 3 )
				insert_item ( 710004, 3 )
				insert_item ( 2013058, 1 )
				insert_item ( 2013058, 1 )
				insert_item ( 2013058, 1 )
			-- 3 .	
			elseif event_current_week == 4 then
				insert_item ( 540200, 3 )
				insert_item ( 540201, 3 )
				insert_item ( 540202, 3 )
				insert_item ( 2012223, 1 )
				insert_item ( 2013426, 5 )
			-- 4 .	
			end
			--    â Ȯغ ޽ .
			private_notice( sconv( "@90605850" , "#@[email protected]#", get_value("name") ) )
			
		-- þ,  
		elseif state_code == 256 then 
			
			if event_current_week == 1 then
				insert_item ( 2013064, 1 )
				insert_item ( 2902162, 3 )
				insert_item ( 900010, 3 )
			-- 1 .
			elseif event_current_week == 2 then
				insert_item ( 2013063, 1 )
				insert_item ( 2013064, 1 )
				insert_item ( 2902162, 3 )
				insert_item ( 900010, 3 )
			-- 1 .
			elseif event_current_week == 3 then
				insert_item ( 2013063, 1 )
				insert_item ( 2013064, 1 )
				insert_item ( 2012787, 10 )
				insert_item ( 2012788, 10 )
			-- 2 .	
			elseif event_current_week == 4 then
				insert_item ( 2013062, 1 )
				insert_item ( 2013063, 1 )
				insert_item ( 2013064, 1 )
				insert_item ( 2012787, 10 )
				insert_item ( 2012788, 10 )
			-- 2 .	
			elseif event_current_week == 5 then
				insert_item ( 2013062, 1 )
				insert_item ( 2013063, 1 )
				insert_item ( 2013064, 1 )
				insert_item ( 2013058, 1 )
				insert_item ( 2013058, 1 )
				insert_item ( 930077, 1 )
				insert_item ( 930077, 1 )
				insert_item ( 930077, 1 )
				insert_item ( 930077, 1 )
			-- 3 .	
			elseif event_current_week == 6 then
				insert_item ( 2013058, 1 )
				insert_item ( 2013058, 1 )
				insert_item ( 930077, 1 )
				insert_item ( 930077, 1 )
				insert_item ( 930077, 1 )
				insert_item ( 930077, 1 )
			-- 3 .	
			elseif event_current_week == 7 then
				insert_item ( 601100308, 2 )
			-- 4 .	
			end
			--    â Ȯغ ޽ .
			private_notice( sconv( "@90605850" , "#@[email protected]#", get_value("name") ) )
			
		else
			if event_current_week == 1 then
				insert_item ( 2013064, 1 )
			-- 1 .
			elseif event_current_week == 2 then
				insert_item ( 2013063, 1 )
				insert_item ( 2013064, 1 )
			-- 2 .
			elseif event_current_week == 3 then
				insert_item ( 2013062, 1 )
				insert_item ( 2013063, 1 )
				insert_item ( 2013064, 1 )
			-- 3 .	
			end
		
			--    â Ȯغ ޽ .
			private_notice( sconv( "@90605850" , "#@[email protected]#", get_value("name") ) )
		end
						
		--set_flag("reward_time_event",flag_current_time) -- ijͺ ÷ 
		set_account_flag("reward_time_event",flag_current_time) -- ÷ 
	end

end
Mine has been edited to give gifts every 5 minutes so if you set it live you may want to edit that. I was just doing it for testing purposes.


ThunderNikk is offline  
Old   #6215
 
elite*gold: 0
Join Date: Oct 2011
Posts: 15
Received Thanks: 0
Quote:
Originally Posted by thndr View Post
@dimonius92

Here is the full script I have. I would assume that you would need to edit the dates to be close to the current up coming weekly dates for the event to go live.


Code:
function for_event_by_liveteam()

	play_time_event() --÷ Ÿ ̺Ʈ
    --party_exp_rate_event() --Ƽ ġ ̺Ʈ
end


function play_time_event()

	local state_code = get_local_info() 	

	if state_code == 1 then -- ѱ
		-- local current_time = get_os_date( "%Y-%m-%d %H:%M:%S" )
		-- local event_begin_time = '2013-07-11 10:00:00'
		-- local event_end_time = '2013-08-08 10:00:00'		
		-- if	event_begin_time <= current_time and
			-- current_time <= event_end_time then			
			-- set_env( "game.use_time_based_event_script", 1 )
			-- set_env( "game.term_for_time_based_event_script", 120 )
		-- end
		--2013 ѱ ߼ ÷ Ÿ ̺Ʈ    üũ  ,   Ʈ  
		set_env( "game.use_time_based_event_script",1 )
		set_env( "game.term_for_time_based_event_script",5 )
	
	elseif  state_code == 4 --̱
		or state_code == 8192  -- ߵ
	    or state_code == 8 -- 
		or state_code == 128  -- 
		or state_code ==16384 -- Ű 
		or state_code ==32768 --  
		or state_code ==65536 -- Ż 
		or state_code == 256 -- þ
		or state_code == 512 -- 
		then 	
			
		set_env( "game.use_time_based_event_script",1 )
		set_env( "game.term_for_time_based_event_script",5 )
		
	elseif  state_code == 16 then -- Ϻ
			
		set_env( "game.use_time_based_event_script",1 )
		set_env( "game.term_for_time_based_event_script",5 )
	
	end

end

function on_time_based_event_reward() 

local state_code = get_local_info()  -- ڵ
local pcbang_grade = get_value("pcbang_user")	-- ̾PC Ǵܺ	
local t_flag = get_flag( "reward_time_event" ) -- ij  ÷ 
local account_t_flag = get_account_flag( "reward_time_event" ) --   ÷ 
local current_time = get_os_date( "%Y-%m-%d %H:%M:%S" )
local flag_current_time = get_os_date( "%Y-%m-%d" )
local event_current_week = 0	
local lv = get_value( "level" )

	-- 2014 ѱ PC ̺Ʈ Ⱓ̰ ѱ̸
	if '2014-04-24' <= current_time and current_time < '2014-05-22' and state_code == 1 then 
		if pcbang_grade == 2 then --ѱ Ǿ ̺Ʈ
			insert_item(2012866,1)
			private_notice("@90605876")
			return
		end
	end
	
	if '2014-04-22' <= current_time and current_time < '2014-05-13' and state_code == 16 then --Ϻ
			insert_item(2012866,1)
			private_notice("@90606226")
			return
	end
	
	if '2014-05-13' <= current_time and current_time < '2014-06-01' and state_code == 4 or state_code == 8 or state_code == 128 or state_code == 16384 or state_code == 32768 or state_code == 65536 then --̱, 
			insert_item(2012866,1)
			private_notice("@90606226")
			return
	end
	
	if '2014-05-12' <= current_time and current_time < '2014-06-03' and state_code == 256 then --þ
			insert_item(2012866,1)
			private_notice("@90606226")
			return
	end
	
	-- 0.   üũ (⺻ ѹ  ޾  ش.)
	if t_flag == flag_current_time or account_t_flag == flag_current_time or t_flag == current_time or account_t_flag == current_time then
		return
	end
	
	-- 1. ̺Ʈ Ⱓ üũ:  ¥   شϴ Ѵ. ( event_current_week   )
	
	-- ѱ
	if state_code == 1 then
		if '2014-06-26 10:00:00' <= current_time and current_time < '2014-07-03 10:00:00' then 
			event_current_week = 1
		elseif '2014-07-03 10:00:00' <= current_time and current_time < '2014-07-10 10:00:00' then
			event_current_week = 2
		elseif '2014-07-10 10:00:00' <= current_time and current_time < '2014-07-17 10:00:00' then
			event_current_week = 3
		elseif '2014-07-17 10:00:00' <= current_time and current_time < '2014-07-24 10:00:00' then
			event_current_week = 4
		end
	end
	
	--ߵ
	if state_code == 8192 then
		if '2014-02-24' <= current_time and current_time < '2014-03-03' then 
			event_current_week = 1
		elseif '2014-03-03' <= current_time and current_time < '2014-03-10' then
			event_current_week = 2
		elseif '2014-03-10' <= current_time and current_time < '2014-03-17' then
			event_current_week = 3
		elseif '2014-03-17' <= current_time and current_time < '2014-03-24' then
			event_current_week = 4	
		end
	end
	
	-- Ϻ
	if state_code == 16 then
		if '2014-08-12 11:00:00' <= current_time and current_time < '2014-08-19 11:00:00' then 
			event_current_week = 1
		elseif '2014-08-19 11:00:00' <= current_time and current_time < '2014-08-26 11:00:00' then
			event_current_week = 2
		elseif '2014-08-26 11:00:00' <= current_time and current_time < '2014-09-02 11:00:00' then
			event_current_week = 3
		elseif '2014-09-02 11:00:00' <= current_time and current_time < '2014-09-09 11:00:00' then
			event_current_week = 4
		end
	end
	
	-- ̱, Ű, Ż
	if  state_code == 4 or state_code == 16384 or state_code == 65536 then 
		if '2014-02-27' <= current_time and current_time < '2014-03-06' then 
			event_current_week = 1
		elseif '2014-03-06' <= current_time and current_time < '2014-03-13' then
			event_current_week = 2
		elseif '2014-03-13' <= current_time and current_time < '2014-03-20' then
			event_current_week = 3
		elseif '2014-03-20' <= current_time and current_time < '2014-03-27' then
			event_current_week = 4	
		end
	end
	
	-- , , 
	if  state_code == 8 or state_code == 128 or state_code == 32768 then 
		if '2014-02-25' <= current_time and current_time < '2014-03-04' then 
			event_current_week = 1
		elseif '2014-03-04' <= current_time and current_time < '2014-03-11' then
			event_current_week = 2
		elseif '2014-03-11' <= current_time and current_time < '2014-03-18' then
			event_current_week = 3
		elseif '2014-03-18' <= current_time and current_time < '2014-03-25' then
			event_current_week = 4	
		end
	end
	
	 -- þ
	if 	state_code == 256 then
		if '2014-02-10' <= current_time and current_time < '2014-02-15' then 
			event_current_week = 1
		elseif '2014-02-15' <= current_time and current_time < '2014-02-17' then
			event_current_week = 2 --1
		elseif '2014-02-17' <= current_time and current_time < '2014-02-22' then
			event_current_week = 3
		elseif '2014-02-22' <= current_time and current_time < '2014-02-24' then
			event_current_week = 4 --2
		elseif '2014-02-24' <= current_time and current_time < '2014-02-27' then
			event_current_week = 5
		elseif '2014-02-27' <= current_time and current_time < '2014-03-03' then
			event_current_week = 6 --3
		elseif '2014-03-03' <= current_time and current_time < '2014-03-10' then
			event_current_week = 7 --4
		end
	end

	-- 
	if	state_code == 512 then 
		if '2014-02-14' <= current_time and current_time < '2014-02-19' then 
			event_current_week = 1 --1
		elseif '2014-02-19' <= current_time and current_time < '2014-02-21' then
			event_current_week = 2 --1
		elseif '2014-02-21' <= current_time and current_time < '2014-02-27' then
			event_current_week = 3 --2
		elseif '2014-02-27' <= current_time and current_time < '2014-02-28' then
			event_current_week = 4 --2
		elseif '2014-02-28' <= current_time and current_time < '2014-03-03' then
			event_current_week = 5 --3
		elseif '2014-03-03' <= current_time and current_time < '2014-03-07' then
			event_current_week = 6 --3
		elseif '2014-03-07' <= current_time and current_time < '2014-03-14' then
			event_current_week = 7 --4
		end
	end
	
	-- 2. ¥    :   event_current_week 0 Ŭ  (̺Ʈ Ⱓ ƴϸ 0 .)
	if event_current_week > 0 then
		--  
		if state_code == 512 then 
			
			if event_current_week == 1 then
				insert_item ( 2013064, 1 )
			
			elseif event_current_week == 2 then
				insert_item ( 2013063, 1 )
				insert_item ( 2013064, 1 )
			
			elseif event_current_week == 3 then
				insert_item ( 2013063, 1 )
				insert_item ( 2013064, 1 )
				insert_item ( 2902162, 3 )
				insert_item ( 900010, 3 )
			-- 1 .	
			elseif event_current_week == 4 then
				insert_item ( 2013062, 1 )
				insert_item ( 2013063, 1 )
				insert_item ( 2013064, 1 )
				insert_item ( 2902162, 3 )
				insert_item ( 900010, 3 )
			-- 1 .	
			elseif event_current_week == 5 then
				insert_item ( 2902162, 3 )
				insert_item ( 900010, 3 )
			-- 1 .	
			elseif event_current_week == 6 then
				insert_item ( 2012787, 10 )
				insert_item ( 2012788, 10 )
			-- 2 .	
			elseif event_current_week == 7 then
				insert_item ( 2013058, 1 )
				insert_item ( 2013058, 1 )
				insert_item ( 930077, 1 )
				insert_item ( 930077, 1 )
				insert_item ( 930077, 1 )
				insert_item ( 930077, 1 )
			-- 3 .	
			elseif event_current_week == 8 then
				insert_item ( 601100308, 2 )
			-- 4 .	
			end
			--    â Ȯغ ޽ .
			private_notice( sconv( "@90605850" , "#@[email protected]#", get_value("name") ) )
		
		-- ѱ, Ϻ
		elseif state_code == 1 or state_code == 16 then 
			
			if event_current_week == 1 then
				insert_item ( 2012787, 10 )
				insert_item ( 2012788, 10 )
				insert_item ( 601100285, 2 )
				insert_item ( 2012834, 2 )
				insert_item ( 2902163, 3 )
				insert_item ( 2012825, 3 )
			-- 1 .
			elseif event_current_week == 2 then
				insert_item ( 801321, 1 )
				insert_item ( 801322, 1 )
				insert_item ( 801323, 1 )
				insert_item ( 801324, 1 )
				insert_item ( 2011150, 4 )
				insert_item ( 2902164, 3 )
				insert_item ( 3800282, 3 )
				insert_item ( 930037, 1 )
				insert_item ( 950081, 5 )
			-- 2 .
			elseif event_current_week == 3 then
				insert_item ( 601100308, 3 )
				insert_item ( 710004, 3 )
				insert_item ( 2013058, 1 )
				insert_item ( 2013058, 1 )
				insert_item ( 2013058, 1 )
			-- 3 .	
			elseif event_current_week == 4 then
				insert_item ( 540200, 3 )
				insert_item ( 540201, 3 )
				insert_item ( 540202, 3 )
				insert_item ( 2012223, 1 )
				insert_item ( 2013426, 5 )
			-- 4 .	
			end
			--    â Ȯغ ޽ .
			private_notice( sconv( "@90605850" , "#@[email protected]#", get_value("name") ) )
			
		-- þ,  
		elseif state_code == 256 then 
			
			if event_current_week == 1 then
				insert_item ( 2013064, 1 )
				insert_item ( 2902162, 3 )
				insert_item ( 900010, 3 )
			-- 1 .
			elseif event_current_week == 2 then
				insert_item ( 2013063, 1 )
				insert_item ( 2013064, 1 )
				insert_item ( 2902162, 3 )
				insert_item ( 900010, 3 )
			-- 1 .
			elseif event_current_week == 3 then
				insert_item ( 2013063, 1 )
				insert_item ( 2013064, 1 )
				insert_item ( 2012787, 10 )
				insert_item ( 2012788, 10 )
			-- 2 .	
			elseif event_current_week == 4 then
				insert_item ( 2013062, 1 )
				insert_item ( 2013063, 1 )
				insert_item ( 2013064, 1 )
				insert_item ( 2012787, 10 )
				insert_item ( 2012788, 10 )
			-- 2 .	
			elseif event_current_week == 5 then
				insert_item ( 2013062, 1 )
				insert_item ( 2013063, 1 )
				insert_item ( 2013064, 1 )
				insert_item ( 2013058, 1 )
				insert_item ( 2013058, 1 )
				insert_item ( 930077, 1 )
				insert_item ( 930077, 1 )
				insert_item ( 930077, 1 )
				insert_item ( 930077, 1 )
			-- 3 .	
			elseif event_current_week == 6 then
				insert_item ( 2013058, 1 )
				insert_item ( 2013058, 1 )
				insert_item ( 930077, 1 )
				insert_item ( 930077, 1 )
				insert_item ( 930077, 1 )
				insert_item ( 930077, 1 )
			-- 3 .	
			elseif event_current_week == 7 then
				insert_item ( 601100308, 2 )
			-- 4 .	
			end
			--    â Ȯغ ޽ .
			private_notice( sconv( "@90605850" , "#@[email protected]#", get_value("name") ) )
			
		else
			if event_current_week == 1 then
				insert_item ( 2013064, 1 )
			-- 1 .
			elseif event_current_week == 2 then
				insert_item ( 2013063, 1 )
				insert_item ( 2013064, 1 )
			-- 2 .
			elseif event_current_week == 3 then
				insert_item ( 2013062, 1 )
				insert_item ( 2013063, 1 )
				insert_item ( 2013064, 1 )
			-- 3 .	
			end
		
			--    â Ȯغ ޽ .
			private_notice( sconv( "@90605850" , "#@[email protected]#", get_value("name") ) )
		end
						
		--set_flag("reward_time_event",flag_current_time) -- ijͺ ÷ 
		set_account_flag("reward_time_event",flag_current_time) -- ÷ 
	end

end
Mine has been edited to give gifts every 5 minutes so if you set it live you may want to edit that. I was just doing it for testing purposes.
does not work, complain to the line
local account_t_flag = get_account_flag( "reward_time_event" ) eA ? CA?? ?
dimonius92 is offline  
Old   #6216
 
elite*gold: 0
Join Date: Oct 2013
Posts: 404
Received Thanks: 31
i have a problem,
i have deleted all the quests and i always got invalid quest code! code[XXXX] in CaptainHerlockServer.exe
Sherock is offline  
Old   #6217


 
elite*gold: 140
Join Date: Mar 2012
Posts: 662
Received Thanks: 160
Is there a command in GS to get all skill list what are in db?
アルカード is offline  
Old   #6218


 
elite*gold: 140
Join Date: Mar 2012
Posts: 662
Received Thanks: 160
I have issue with itembox and hidden village buff.i can't open item box and my HV buff disappear after i relog.i used SMP querys from ismoke 9.1 guide
アルカード is offline  
Old   #6219
 
elite*gold: 0
Join Date: Mar 2017
Posts: 29
Received Thanks: 24
Quote:
Originally Posted by lucard View Post
I have issue with itembox and hidden village buff.i can't open item box and my HV buff disappear after i relog.i used SMP querys from ismoke 9.1 guide
Add this to your Sframe start Arguments:

/cash /commercial_shop
_-Seizure-_ is offline  
Old   #6220


 
elite*gold: 140
Join Date: Mar 2012
Posts: 662
Received Thanks: 160
Quote:
Originally Posted by _-Seizure-_ View Post
Add this to your Sframe start Arguments:

/cash /commercial_shop

i don't think it is issue it my bat launcher
アルカード is offline  
Old   #6221
 
elite*gold: 0
Join Date: Feb 2012
Posts: 47
Received Thanks: 1
which vps i need for open public server? at here
berkmen1 is offline  
Old   #6222


 
elite*gold: 140
Join Date: Mar 2012
Posts: 662
Received Thanks: 160
I fixed issue with my itembox,Now i got left issue with HV Pass Buff.When i give myself a item i don't get buff.If i buff myself with HV Pass Buff,if i relog it will go away.Could this be smp or lua issue here?
アルカード is offline  
Old   #6223
 
elite*gold: 0
Join Date: May 2015
Posts: 47
Received Thanks: 6
ok - I think I have to ask a stupid question:
on my old server I found a bit of code to run buffs every 1 minute and with that to also buff any summoned pet (I changed some event to run till 2025 or smth similar and added my buffs) but for the life of me I can not find it again (and no I do not have a backup)
can some of you wizards point me to where I can find it? or give me a script for the server lua to buff pets as well? so far only chars are buffed and the add_cstates are getting ignored.

help / hints are much appreciated

cheers
sm
smoegsmoeg is offline  
Old   #6224
 
elite*gold: 0
Join Date: Jun 2011
Posts: 75
Received Thanks: 23
Quote:
Originally Posted by smoegsmoeg View Post
ok - I think I have to ask a stupid question:
on my old server I found a bit of code to run buffs every 1 minute and with that to also buff any summoned pet (I changed some event to run till 2025 or smth similar and added my buffs) but for the life of me I can not find it again (and no I do not have a backup)
can some of you wizards point me to where I can find it? or give me a script for the server lua to buff pets as well? so far only chars are buffed and the add_cstates are getting ignored.

help / hints are much appreciated

cheers
sm
You can try "cast_world_state", not sure it will help you tho..
sapir619 is offline  
Thanks
1 User
Old   #6225
 
elite*gold: 0
Join Date: Mar 2010
Posts: 119
Received Thanks: 16
I see many servers sprouting up with 9.4 elements and one server with actual 9.4 files...
I have tried many different searches using different search engines on converting the files of 9.1..
All I have found was a mention of the process ...but I could not find any actual link.
Please, if this possible , may I humbly request a point in the right direction on how to convert 9.1 to 9.4 or how to add 9.4 elements to 9.1 files?

As always, thank you for any consideration,
Azreil


Azreil is offline  
Reply

Tags
7.4, client, rappelz



« Previous Thread | Next Thread »

Similar Threads
[Helping Topic] 24/7 Helping Services!
stucked on anything while setuping your server? post your problem here and you will get answer as fast as possible better than spamming with posts...
31 Replies - EO PServer Hosting



All times are GMT +1. The time now is 07:37.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.