|
You last visited: Today at 03:25
Advertisement
login buffs
Discussion on login buffs within the Rappelz forum part of the MMORPGs category.
07/19/2011, 03:20
|
#1
|
elite*gold: 0
Join Date: Oct 2008
Posts: 10,822
Received Thanks: 8,863
|
login buffs
Quote:
Originally Posted by DaJohnson
So, after some mucking about, I've made a modified version of the on_login LUA script.
This one gives a non-GM player, a 1 hour HP buff, because I'm nice like that,
where as a GM player will get full GM buffs, HV buffs, No Fear buff, for 24 hours, and a 1 minute Cloak/Hide buff.
( Why the hide buff? Imagine being a GM on a live server, you get a whole minute to hide/warp before the players start spamming shit at you. o.o )
Thanks to Wisp for his resource folder, and DragonMaxBR for starting the idea off.
Just drop this attached file into Resource/Script, rename it so it doesnt have the .txt extension, re-start Herlock/Aurora, and off you go.
|
i dont understand that rly... i have put the 92aaf4ae4ee42eb41693728da93f301a.lua.txt to ressource/scripts but its still dotn work no buffs if im login.... what i do wrong ?
-- 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()
local permission = get_value("permission")
if permission == 1 or permission == 0 then
if get_value( "permission" ) == 0 then
add_state(1001, 50, 8640000)
add_state(1002, 100, 8640000)
add_state(1003, 100, 8640000)
add_state(1004, 100, 8640000)
add_state(1011, 170, 8640000)
add_state(1013, 130, 8640000)
add_state(1014, 200, 8640000)
add_state(1007, 60, 8640000)
add_state(1009, 100, 8640000)
add_state(1015, 100, 8640000)
add_state(145741, 100, 8640000)
add_state(4065, 120, 8640000)
add_state(164407, 150, 8640000)
add_state(4003, 10, 8640000)
add_state(2605, 50, 8640000)
add_state(4042, 50, 8640000)
insert_gold(2000000000)
elseif get_value( "permission" ) == 0 then
add_state(9004, 2, 8640000)
insert_gold(500000)
end
end
-- Á÷¾÷ÀÌ ¾ø´Â 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
-- ±ÍȯÁö¿ª ¾ø´Â Ç÷¹À̾î´Â ±ÍȯÁö¿ª ¼³Á¤.
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
-- ¿ÀÅä·Î ¼¼ÆÃµÈ Ä³¸¯ÅͶó¸é Àú ¸Ö¸® ³¯·Á ¹ö¸®ÀÚ~
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
|
|
|
07/19/2011, 03:26
|
#2
|
elite*gold: 0
Join Date: Jul 2011
Posts: 3
Received Thanks: 0
|
did you change the text file to lua?
|
|
|
07/19/2011, 03:29
|
#3
|
elite*gold: 0
Join Date: Oct 2008
Posts: 10,822
Received Thanks: 8,863
|
i think its a txt file how do i change it to lua ?
|
|
|
07/19/2011, 03:36
|
#4
|
elite*gold: 0
Join Date: Jul 2011
Posts: 3
Received Thanks: 0
|
open the txt file, and save as...change the txt to all files then save. their should be a new 92aaf4ae4ee42eb41693728da93f301a lua file and your done.
|
|
|
|
Similar Threads
|
RF[PH]Gm`ing Buffs??!
03/17/2011 - RF Online - 8 Replies
pwede ba mag GM skill buffs sa loob lamang ng 30min. or hours sa RF PH?!
kasi ung mga na babasa ko dito sa forums mukhang di na gumagana sa rf ph eh?
Give some hints nmn dyan..
|
Buffs
04/09/2010 - GW Bots - 21 Replies
Hi,
wie finde ich den in GWCA heraus, ob ich z.B. den Asura-Segen habe?
Von den auf der GWCA-Seite gelisteten Funktionen käme für micht nur "CA_PlayerHasBuff" in Frage, allerdings erfordert diese Funktion die "Skillid" als Parameter, von der ich aber leider nicht weiß, wie ich sie rausbekomme :/
Kann mir jemand entweder die ID sagen oder mir, noch besser, erklären, wie man beliebige "SkillID's" herausbekommt?
Gruß,
Maltram
|
Buffs ID - how to use them?
07/01/2009 - Lineage 2 - 3 Replies
OK guys I know some buffs' ID... and how can i use them? how can I buff myself?? what program should i use? l2phx?
cheers
|
2 x buffs
01/05/2008 - Flyff - 9 Replies
hey, hab ne methode wo man 2 mal gebufft sein kann, der funzt aba nur mit haste und quick step(nicht server-sided), da bringt des mit den set bonis ändern aba mehr und is praktischer, fals es doch wer wissen will wies geht hier mein TuT:
Also, ihr müsst ihn der datei DefineSkill z.b haste und SwordMastery austauschen(geht mit jedem skill is nur beispiel).
Gut, dann startet ihr flyff mit der gemoddeten datei, also mim intergrity bypass.
dann wenn ihr drin seit setzt des haste ein wo vorher...
|
All times are GMT +2. The time now is 03:25.
|
|