[Help Thread] Please post your questions here.

05/02/2012 15:38 noobeee#496
Quote:
Originally Posted by aarontt View Post
1. Preloaded server buffs are in the lua. Go to 92aaf4ae4ee42eb4163728da93f30a.lua in your resource\script folder. On line 33 there is an if statement which is commented with "player buffs". Remove the code between the if and end statement which adds the buffs. I say between if and end in case in the future you want to add some server buffs it is a good example.

2. Items stay on the floor for a duration based upon an environment variable in your gameserver.opt. I believe it is the S game.item_hold_time T game.item_hold_time variables (I could be wrong). After changing them you will need to recompress the opt file into .eop with RappelzCompress. I'm not 100% sure if RappelzCompress came with the package from the infinite release in which case you will have to find it in a different pack or online somewhere.




Si vous utilisez des caractères spéciaux il est possible qu'ils ne sont pas autorisés. Tu as deja créer un compte j'espere. En plus il faut que le nom est plus que trois lettre.

thanks mate got this sorted out earlier.

can anyone drop me a pm for help with hamachi? or is there any other way that i can make this game available so my brother can log on from university? i dont want to make the game public for everyone. just for him and I and maybe one of his college friends
05/02/2012 18:01 Levelz#497
can someone please look over my login buffs and find why pets don't receive login buffs and only players do.

Code:
-- Lua ½ºÅ©¸³Æ® ¾ÏÈ£È*
function get_module_name()
             return "on_login"
end

function on_login( name )

	-- ±¹°¡ ÄÚµå Àоî¿À±â
		-- get_local_info()ÀÇ ¹Ýȯ°ªµé
		--LOCAL_INFO_KOREA                      = 1
		--LOCAL_INFO_HONGKONG                   = 2
		--LOCAL_INFO_AMERICA                    = 4
		--LOCAL_INFO_EUROPE                     = 8
		--LOCAL_INFO_JAPAN                      = 16
		--LOCAL_INFO_TAIWAN                     = 32
		--LOCAL_INFO_CHINA                      = 64
		
	local race = get_value( "race" )
	local state_code = get_local_info() 

	-- Á÷¾÷ÀÌ ¾ø´Â ij¸¯Àº »õ·Î¸¸µç ij¸¯À̹ǷΠÃʱ⼳Á¤
	if get_value( "job" ) == 0 then
		on_first_login( name )
		
	-- ±âÁ¸ ij¸¯ÅÍÀÏ ¶§, ±¹°¡ ÄÚµå=64(Áß±¹)¸¸ ±¤°í È*¸é ÆË¾÷
	else
		if state_code == 64 then
			open_popup("game.advertise_url",0,0)
		end
	end
	-- Login Buffs
--player buffs



if get_value("permission") == 0 then
add_state(1001,20,9999999)
add_state(1002,20,9999999)
add_state(1003,50,9999999)
add_state(1004,50,9999999)
add_state(1005,50,9999999)
add_state(1006,50,9999999)
add_state(1007,50,9999999)
add_state(1008,50,9999999)
add_state(1009,50,9999999)
add_state(1010,50,9999999)
add_state(1011,50,9999999)
add_state(1012,50,9999999)
add_state(1013,50,9999999)
end


add_cstate(1001,20,9999999)
add_cstate(1002,20,9999999)
add_cstate(1003,50,9999999)
add_cstate(1004,50,9999999)
add_cstate(1005,50,9999999)
add_cstate(1006,50,9999999)
add_cstate(1007,50,9999999)
add_cstate(1008,50,9999999)
add_cstate(1009,50,9999999)
add_cstate(1010,50,9999999)
add_cstate(1011,50,9999999)
add_cstate(1012,50,9999999)
add_cstate(1013,50,9999999)
end
	GM, will give them high level buffs
if get_value("permission") == 1 then
add_state(1001,2000,9999999)
add_state(1002,2000,9999999)
add_state(1003,500,9999999)
add_state(1004,500,9999999)
add_state(1005,500,9999999)
add_state(1006,500,9999999)
add_state(1007,500,9999999)
add_state(1008,500,9999999)
add_state(1009,500,9999999)
add_state(1010,500,9999999)
add_state(1011,500,9999999)
add_state(1012,500,9999999)
add_state(1013,500,9999999)
end


add_cstate(1001,2000,9999999)
add_cstate(1002,2000,9999999)
add_cstate(1003,500,9999999)
add_cstate(1004,500,9999999)
add_cstate(1005,500,9999999)
add_cstate(1006,500,9999999)
add_cstate(1007,500,9999999)
add_cstate(1008,500,9999999)
add_cstate(1009,500,9999999)
add_cstate(1010,500,9999999)
add_cstate(1011,500,9999999)
add_cstate(1012,500,9999999)
add_cstate(1013,500,9999999)
end	
	-- ±ÍȯÁö¿ª ¾ø´Â Ç÷¹À̾î´Â ±ÍȯÁö¿ª ¼³Á¤.
	local temp_rx = get_flag( "rx" )
	local temp_ry = get_flag( "ry" )

	if temp_rx == "" or temp_ry == "" then
	
		if race == 4 then
		
			-- µ¥¹Ù ±ÍȯÁö¿ª ¼³Á¤
			set_flag( "rx", 7250 + math.random(0,100))
			set_flag( "ry", 6959 + math.random(0,100))
	
		elseif race == 5 then
		
			-- ¾Æ¼ö¶ó ±ÍȯÁö¿ª ¼³Á¤
			set_flag( "rx", 116542 + math.random(0,100))
			set_flag( "ry", 58190 + math.random(0,100))

		else
			-- °¡ÀÌ¾Æ ±ÍȯÁö¿ª ¼³Á¤
			set_flag( "rx", 152742 + math.random(0,100))
			set_flag( "ry", 77401 + math.random(0,100))

		end
	end
	
	-- ¿ÀÅä·Î ¼¼ÆÃµÈ ij¸¯ÅͶó¸é Àú ¸Ö¸® ³¯·Á ¹ö¸®ÀÚ~
	kick_auto_to_another_world()

	-- ¼ö·ÃÀÚ ¼¶¿¡ ÀÖ´Â ¿ÀÅäµéÀº º»Åä·Î ³¯·Á ¹ö¸®ÀÚ
	local current_x = gv("x")
	local current_y = gv("y")
 
	if current_x >= 161280 and current_x <= 177408 then
		if current_y >= 48384 and current_y <= 64512 then
		
			local is_auto, quest_count
			quest_count, is_auto = anti_auto_quest_check()
	
			if is_auto then
			
		 		if race == 4 then
					RunTeleport_Auto_TO_City( 6625 , 6980 )
				elseif race == 5 then
					RunTeleport_Auto_TO_City( 116799 , 58205 )
				else
					RunTeleport_Auto_TO_City( 153506 , 77175 )
				end
				
			end -- if is_auto then
			
		end -- if current_y >= 48384 and current_y <= 64512 then
	end -- if current_x >= 161280 and current_x <= 177408 then
	
end
as you can see i added add_cstate for pet buffs but none seem to work.
05/02/2012 21:40 Saelt#498
Don't put end after the player buff but only after the last buff which one can be player or pet Buff..
05/03/2012 03:25 aarontt#499
You've removed the commenting for the GM buffs section as well. Add this -- in front of "GM, will give them high level buffs"
05/03/2012 13:53 OmegaStars#500
Hey guys , Who can tell me where i need to put the Lua Script ?? in Resource of the game or Resource game file server ?

And how can i change prices of NPC & how can i add NPC please ? i can't found :'(
And how can i change the rates of the server ? from the GameServer.opt ???

Thanks in advance (Answer Frensh or English) :)
05/03/2012 14:14 c1ph3r#501
1. Lua Scripts are in Resource/Script

2. Use Mechant Modder by Silent Bill it's in RappelzDownloadCenter (Prices)

3. You have to add them in the dbo.NPCResource

4. Are you kidding? Open your eyes and look into the gameserver.opt

Code:
S S game.exp_rate: 25
S game.item_drop_rate: 25
S game.gold_drop_rate: 20
S game.chaos_drop_rate: 7
If you aren't able to search in this forum read through the whole helpthread. All your questions have been answered in this thread before!
05/03/2012 14:29 OmegaStars#502
Thanks but...i found some Lua script in 'Rappelz Download center' and if i want to add it , i should put it in Resource/Script , That's it ? :)

And for Skill_no_cooltime : 1
But when i run the server , the skills are with time...Why ?:(
05/03/2012 17:54 Judge12#503
because u have to re-compress the .opt after u change it.
05/03/2012 18:47 [GA]Sharingan#504
LF Vulcanus Dungeon Ports pls. the fieldprop don't work. i will only set this to teleport and go -.- ^^
05/03/2012 19:29 noobeee#505
Hey guys

I am wondering if someone can help me with the following:
firstly

I have the infinite 7.3 files but in hardmode dungeons i have normal dungeon mobs too and tier 1 dura drops. Please can someone help me to remove them and make it so only dura 2 and 3 drop? (download section does not seem to be working for me) i can see the lua fix there

secondly

I have used the search button on the forum for creature taming rates and how to increase them. and all i can find is how ot make them 100% success..... I dont want that. Can someone help me and show me how to increase but a set percent across the board?

same for enchant rate
05/03/2012 20:05 [GA]Sharingan#506
Quote:
Originally Posted by noobeee View Post
Hey guys

I am wondering if someone can help me with the following:
firstly

I have the infinite 7.3 files but in hardmode dungeons i have normal dungeon mobs too and tier 1 dura drops. Please can someone help me to remove them and make it so only dura 2 and 3 drop? (download section does not seem to be working for me) i can see the lua fix there

secondly

I have used the search button on the forum for creature taming rates and how to increase them. and all i can find is how ot make them 100% success..... I dont want that. Can someone help me and show me how to increase but a set percent across the board?

same for enchant rate
go to download center --> fixxes-->> hidden dungeon ( mobs) download
and for the drops look at fixxes ---> drop fix ---> download ^^
05/03/2012 20:33 noobeee#507
i did say download center was not working didnt i?
05/03/2012 21:18 c1ph3r#508
it's online again^^ with a funny note on mainpage :D
05/03/2012 21:36 OmegaStars#509
The Captain Herlock run with 64x bit (7.3) , but i have 32x , can i put the Captain Herlock of files server 7.1 ?? and run ? or doesn't work ?
and if i have some Script.lua , and i put them in resource , they will work in game ?

Thanks . (Answer Arabic, English , Frensh)
05/03/2012 23:05 Xijezu#510
Quote:
Originally Posted by OmegaStars View Post
The Captain Herlock run with 64x bit (7.3) , but i have 32x , can i put the Captain Herlock of files server 7.1 ?? and run ? or doesn't work ?
and if i have some Script.lua , and i put them in resource , they will work in game ?

Thanks . (Answer Arabic, English , Frensh)
You also can use a Virtual Machine (google for it) to have 7.3 working.

About that lua: Sure why shouldn't it? o.0


Btw: 1000. Post! :D