|
You last visited: Today at 18:07
Advertisement
Boss Spawn Script
Discussion on Boss Spawn Script within the Rappelz Private Server forum part of the Rappelz category.
10/05/2011, 18:32
|
#1
|
elite*gold: 0
Join Date: Jul 2011
Posts: 8
Received Thanks: 1
|
Boss Spawn Script
Just a little something I wrote. Not sure if something like this has been posted before, but in case it hasn't, I didn't want to keep it from you guys.
Code:
function NPC_QuestClient_contact()
local npc_id = get_npc_id()
if npc_id == 4024 then
dlg_title("@90402401")
dlg_text("@90402402")
elseif npc_id == 1024 then
dlg_title("@90102401")
dlg_text("@90102402")
elseif npc_id == 2024 then
dlg_title("@90202401")
dlg_text("@90202402")
elseif npc_id == 7024 then -- This is Quest Broker Syah in HV
dlg_title("@90702401")
dlg_text("@90702402")
dlg_menu( "Spawn Dungeon Boss", "spawn_dungeon_boss()" )
dlg_menu( "Spawn Field Boss", "spawn_field_boss()" )
end
dlg_menu( "End conversation", "" )
dlg_show()
end
-- =====================================================
-- Here are the boss spawn options
-- Add your own if you want:
-- spawn_mob ( mob ID )
--
-- Bosses from the new VI (Queen Eva, Shier, Draka, etc)
-- do not work correctly, their HP is in the 5-15k
-- range which makes them no challenge.
--
-- Betrayal and Lucius do not use any skills
-- =====================================================
function spawn_dungeon_boss()
dlg_title("@90702401")
dlg_text("Which boss mob would you like to spawn?")
dlg_menu( "Oforia (40)", "spawn_mob( 9040018 )" )
dlg_menu( "Abhuva (50)", "spawn_mob( 9050013 )" )
dlg_menu( "Primal Scream (60)", "spawn_mob( 9060016 )" )
dlg_menu( "Taranida (70)", "spawn_mob( 9070012 )" )
dlg_menu( "Crustalino (80)", "spawn_mob( 9080014 )" )
dlg_menu( "Likirius (90)", "spawn_mob( 9090019 )" )
dlg_menu( "Soulseeker (108)", "spawn_mob( 9108022 )" )
dlg_menu( "Takin (110)", "spawn_mob( 9110015 )" )
dlg_menu( "Aurumis (145)", "spawn_mob( 145010 )" )
dlg_menu( "Betrayal (150)", "spawn_mob( 9158002 )" )
dlg_menu( "Ashmaw the Devourer (170)", "spawn_mob( 9170001 )" )
dlg_menu( "Sand Lord Kynish (190)", "spawn_mob( 9190001 )" )
dlg_menu( "End conversation", "" )
end
function spawn_field_boss()
dlg_title("@90702401")
dlg_text("Which boss mob would you like to spawn?")
dlg_menu( "Stormbringer Lucius (110)", "spawn_mob( 110102 )" )
dlg_menu( "Silex the Giant (120)", "spawn_mob( 120102 )" )
dlg_menu( "Kiscia the Beautiful (130)", "spawn_mob( 130102 )" )
dlg_menu( "Lady Ruina (140)", "spawn_mob( 140102 )" )
dlg_menu( "Dominatus the Mad (150)", "spawn_mob( 150102 )" )
dlg_menu( "Queen Eratia (160)", "spawn_mob( 160102 )" )
dlg_menu( "Ilrios the False God (170)", "spawn_mob( 170102 )" )
dlg_menu( "Obsidikar (185)", "spawn_mob( 185001 )" )
dlg_menu( "End conversation", "" )
end
function spawn_mob( bossid ) -- Spawn a mob in HV center
add_npc( 222217, 19966, bossid, 1 )
end
Basically I'm abusing the HV Quest Broker to insert extra menu items. The mobs spawn in the middle of HV. Edit your NPC Quest Client.lua, edit the current NPC_QuestClient_contact() function so it becomes NPC_QuestClient_contact2() or somethin, and insert the entire code above it.
|
|
|
10/06/2011, 10:20
|
#2
|
elite*gold: 0
Join Date: Mar 2011
Posts: 448
Received Thanks: 54
|
Doesn't make much sence since this script will be abuse on live servers for sure. Nobody wants 200 bettys in hv
|
|
|
10/11/2011, 20:55
|
#3
|
elite*gold: 0
Join Date: Jul 2011
Posts: 8
Received Thanks: 1
|
That's for the lesser among us to find out for themselves the hard way
I merely provide the stick. It's not my responsibility how you swing it. Adapt it, make it better, do whatever with it. It's not licensed or credited or w/e. Use it or don't, it's your choice entirely.
|
|
|
10/11/2011, 22:01
|
#4
|
elite*gold: 0
Join Date: Jul 2009
Posts: 508
Received Thanks: 296
|
Funny i got the same idea for my fun server
But you forgot one thing, youre able to take money to spawn bosses.
Heres my Lua (I used a crappy event NPC for this)
Code:
function NPC_Event_AngelandDevil_devil_init()
cprint( "Boss Spawn" )
set_npc_name( "Boss" )
end
function NPC_Event_AngelandDevil_devil_contact()
dlg_title( "Boss Spawn" )
dlg_text( "Im Gonna Spawn Bosses for Money" )
dlg_menu( "Oforia 500.000", "Boss_1()")
dlg_menu( "Abhuva 500.000", "Boss_2()")
dlg_menu( "Primal Scream 500.000", "Boss_3()")
dlg_menu( "Taranida 500.000", "Boss_4()")
dlg_menu( "Crustalino 800.000", "Boss_5()")
dlg_menu( "Likirus 800.000", "Boss_6()")
dlg_menu( "Soulseeker 800.000", "Boss_7()")
dlg_menu( "Takin 800.000", "Boss_8()")
dlg_menu( "Aurumis 2.000.000", "Boss_9()")
dlg_menu( "Betrayal (140) 3.000.000", "Boss_10()")
dlg_menu( "Betrayal (158) 3.000.000", "Boss_11()")
dlg_menu( "Betrayal Hardmode 5.000.000", "Boss_12()")
dlg_menu( "Draka (165) 1.000.000", "Boss_13()")
dlg_menu( "Kruzin (165) 1.000.000", "Boss_14()")
dlg_menu( "Teruzin (165) 1.000.000", "Boss_15()")
dlg_menu( "Queen Eva (170) 1.000.000", "Boss_16()")
dlg_menu( "Ashmaw (170) 3.000.000", "Boss_17()")
dlg_menu( "Ashmaw Hardmode 5.000.000", "Boss_18()")
dlg_menu( "Nightmare Boss (175) 1.000.000", "Boss_19()")
dlg_menu( "Unicorn Boss (175) 1.000.000", "Boss_20()")
dlg_menu( "DeathWhisper (180) 1.000.000", "Boss_21()")
dlg_menu( "Obsidikar (185) 10.000.000", "Boss_22()")
dlg_menu( "Sand Lord Kynish (190) 10.000.000", "Boss_23()")
dlg_menu( "Sandlord Hardmode 20.000.000", "Boss_24()")
dlg_menu( "Thank you", '' )
dlg_show()
end
function Boss_1()
local gold = get_value( "gold" )
if gold >= 500000 then
add_npc( 191857,154807,9040018,1)
set_value( "gold", gold - 500000 )
update_gold_chaos()
NPC_Event_AngelandDevil_devil_contact()
return
end
if gold < 500000 then
dlg_title( "No Money" )
dlg_text( "Sorry you need more Money" )
return
end
end
function Boss_2()
local gold = get_value( "gold" )
if gold >= 500000 then
add_npc( 191857,154807,9050013,1)
set_value( "gold", gold - 500000 )
update_gold_chaos()
NPC_Event_AngelandDevil_devil_contact()
return
end
if gold < 500000 then
dlg_title( "No Money" )
dlg_text( "Sorry you need more Money" )
return
end
end
function Boss_3()
local gold = get_value( "gold" )
if gold >= 500000 then
add_npc( 191857,154807,9060016,1)
set_value( "gold", gold - 500000 )
update_gold_chaos()
NPC_Event_AngelandDevil_devil_contact()
return
end
if gold < 500000 then
dlg_title( "No Money" )
dlg_text( "Sorry you need more Money" )
return
end
end
function Boss_4()
local gold = get_value( "gold" )
if gold >= 500000 then
add_npc( 191857,154807,9070012,1)
set_value( "gold", gold - 500000 )
update_gold_chaos()
NPC_Event_AngelandDevil_devil_contact()
return
end
if gold < 500000 then
dlg_title( "No Money" )
dlg_text( "Sorry you need more Money" )
return
end
end
function Boss_5()
local gold = get_value( "gold" )
if gold >= 800000 then
add_npc( 191857,154807,9080014,1)
set_value( "gold", gold - 800000 )
update_gold_chaos()
NPC_Event_AngelandDevil_devil_contact()
return
end
if gold < 800000 then
dlg_title( "No Money" )
dlg_text( "Sorry you need more Money" )
return
end
end
function Boss_6()
local gold = get_value( "gold" )
if gold >= 800000 then
add_npc( 191857,154807,9090019,1)
set_value( "gold", gold - 800000 )
update_gold_chaos()
NPC_Event_AngelandDevil_devil_contact()
return
end
if gold < 800000 then
dlg_title( "No Money" )
dlg_text( "Sorry you need more Money" )
return
end
end
function Boss_7()
local gold = get_value( "gold" )
if gold >= 800000 then
add_npc( 191857,154807,9108022,1)
set_value( "gold", gold - 800000 )
update_gold_chaos()
NPC_Event_AngelandDevil_devil_contact()
return
end
if gold < 800000 then
dlg_title( "No Money" )
dlg_text( "Sorry you need more Money" )
return
end
end
function Boss_8()
local gold = get_value( "gold" )
if gold >= 800000 then
add_npc( 191857,154807,9110015,1)
set_value( "gold", gold - 800000 )
update_gold_chaos()
NPC_Event_AngelandDevil_devil_contact()
return
end
if gold < 800000 then
dlg_title( "No Money" )
dlg_text( "Sorry you need more Money" )
return
end
end
function Boss_9()
local gold = get_value( "gold" )
if gold >= 2000000 then
add_npc( 191857,154807,145010,1)
set_value( "gold", gold - 2000000 )
update_gold_chaos()
NPC_Event_AngelandDevil_devil_contact()
return
end
if gold < 2000000 then
dlg_title( "No Money" )
dlg_text( "Sorry you need more Money" )
return
end
end
function Boss_10()
local gold = get_value( "gold" )
if gold >= 3000000 then
add_npc( 191857,154807,25,1)
set_value( "gold", gold - 3000000 )
update_gold_chaos()
NPC_Event_AngelandDevil_devil_contact()
return
end
if gold < 3000000 then
dlg_title( "No Money" )
dlg_text( "Sorry you need more Money" )
return
end
end
function Boss_11()
local gold = get_value( "gold" )
if gold >= 3000000 then
add_npc( 191857,154807,9158002,1)
set_value( "gold", gold - 3000000 )
update_gold_chaos()
NPC_Event_AngelandDevil_devil_contact()
return
end
if gold < 3000000 then
dlg_title( "No Money" )
dlg_text( "Sorry you need more Money" )
return
end
end
function Boss_12()
local gold = get_value( "gold" )
if gold >= 5000000 then
add_npc( 191857,154807,10158002,1)
set_value( "gold", gold - 5000000 )
update_gold_chaos()
NPC_Event_AngelandDevil_devil_contact()
return
end
if gold < 5000000 then
dlg_title( "No Money" )
dlg_text( "Sorry you need more Money" )
return
end
end
function Boss_13()
local gold = get_value( "gold" )
if gold >= 3000000 then
add_npc( 191857,154807,165007,1)
set_value( "gold", gold - 3000000 )
update_gold_chaos()
NPC_Event_AngelandDevil_devil_contact()
return
end
if gold < 3000000 then
dlg_title( "No Money" )
dlg_text( "Sorry you need more Money" )
return
end
end
function Boss_14()
local gold = get_value( "gold" )
if gold >= 5000000 then
add_npc( 191857,154807,165005,1)
set_value( "gold", gold - 5000000 )
update_gold_chaos()
NPC_Event_AngelandDevil_devil_contact()
return
end
if gold < 5000000 then
dlg_title( "No Money" )
dlg_text( "Sorry you need more Money" )
return
end
end
function Boss_15()
local gold = get_value( "gold" )
if gold >= 10000000 then
add_npc( 191857,154807,165006,1)
set_value( "gold", gold - 10000000 )
update_gold_chaos()
NPC_Event_AngelandDevil_devil_contact()
return
end
if gold < 10000000 then
dlg_title( "No Money" )
dlg_text( "Sorry you need more Money" )
return
end
end
function Boss_16()
local gold = get_value( "gold" )
if gold >= 20000000 then
add_npc( 191857,154807,170003,1)
set_value( "gold", gold - 20000000 )
update_gold_chaos()
NPC_Event_AngelandDevil_devil_contact()
return
end
if gold < 20000000 then
dlg_title( "No Money" )
dlg_text( "Sorry you need more Money" )
return
end
end
function Boss_17()
local gold = get_value( "gold" )
if gold >= 10000000 then
add_npc( 191857,154807,9170001,1)
set_value( "gold", gold - 10000000 )
update_gold_chaos()
NPC_Event_AngelandDevil_devil_contact()
return
end
if gold < 10000000 then
dlg_title( "No Money" )
dlg_text( "Sorry you need more Money" )
return
end
end
function Boss_18()
local gold = get_value( "gold" )
if gold >= 1000000 then
add_npc( 191857,154807,10170001,1)
set_value( "gold", gold - 1000000 )
update_gold_chaos()
NPC_Event_AngelandDevil_devil_contact()
return
end
if gold < 1000000 then
dlg_title( "No Money" )
dlg_text( "Sorry you need more Money" )
return
end
end
function Boss_19()
local gold = get_value( "gold" )
if gold >= 1000000 then
add_npc( 191857,154807,175003,1)
set_value( "gold", gold - 1000000 )
update_gold_chaos()
NPC_Event_AngelandDevil_devil_contact()
return
end
if gold < 1000000 then
dlg_title( "No Money" )
dlg_text( "Sorry you need more Money" )
return
end
end
function Boss_20()
local gold = get_value( "gold" )
if gold >= 1000000 then
add_npc( 191857,154807,175002,1)
set_value( "gold", gold - 1000000 )
update_gold_chaos()
NPC_Event_AngelandDevil_devil_contact()
return
end
if gold < 1000000 then
dlg_title( "No Money" )
dlg_text( "Sorry you need more Money" )
return
end
end
function Boss_21()
local gold = get_value( "gold" )
if gold >= 1000000 then
add_npc( 191857,154807,180003,1)
set_value( "gold", gold - 1000000 )
update_gold_chaos()
NPC_Event_AngelandDevil_devil_contact()
return
end
if gold < 1000000 then
dlg_title( "No Money" )
dlg_text( "Sorry you need more Money" )
return
end
end
function Boss_22()
local gold = get_value( "gold" )
if gold >= 1000000 then
add_npc( 191857,154807,185001,1)
set_value( "gold", gold - 1000000 )
update_gold_chaos()
NPC_Event_AngelandDevil_devil_contact()
return
end
if gold < 1000000 then
dlg_title( "No Money" )
dlg_text( "Sorry you need more Money" )
return
end
end
function Boss_23()
local gold = get_value( "gold" )
if gold >= 1000000 then
add_npc( 191857,154807,9190001,1)
set_value( "gold", gold - 1000000 )
update_gold_chaos()
NPC_Event_AngelandDevil_devil_contact()
return
end
if gold < 1000000 then
dlg_title( "No Money" )
dlg_text( "Sorry you need more Money" )
return
end
end
function Boss_24()
local gold = get_value( "gold" )
if gold >= 1000000 then
add_npc( 191857,154807,10190001,1)
set_value( "gold", gold - 1000000 )
update_gold_chaos()
NPC_Event_AngelandDevil_devil_contact()
return
end
if gold < 1000000 then
dlg_title( "No Money" )
dlg_text( "Sorry you need more Money" )
return
end
end
|
|
|
11/15/2011, 08:38
|
#5
|
elite*gold: 0
Join Date: Oct 2011
Posts: 6
Received Thanks: 1
|
can u spawn them via in game command /run ?
|
|
|
11/15/2011, 08:50
|
#6
|
elite*gold: 0
Join Date: May 2011
Posts: 5,084
Received Thanks: 3,458
|
/run add_npc(X, Y, MOB-ID, HowMuch)
BTT:
Nice idea, but I dont see any sence for that on a liveserver, for a funserver its absolutely nice.
|
|
|
11/15/2011, 15:05
|
#7
|
elite*gold: 0
Join Date: Oct 2011
Posts: 6
Received Thanks: 1
|
awesome..thank you...its jus for gm events and wat not...wat is how much tho? is that time? or hp value? also i been lookin for boss id's....know any. thank you for your help
|
|
|
11/15/2011, 15:11
|
#8
|
elite*gold: 0
Join Date: Oct 2010
Posts: 2,555
Received Thanks: 2,458
|
How much = Amount of Mobs to spawn
|
|
|
|
Similar Threads
|
can anyone help me with boss spawn
07/24/2018 - Dekaron - 14 Replies
iv tryed all the things posted in drakos, sachamo512 and a few others i can not get oread to spawn anything at all. All oread does is run around me even if i have 2 ppl i have tryed this solo and with 2 or more ppl nothing seems to work
Edit:this is with csv
|
Spawn Coor for boss and mini boss.
07/24/2018 - EO Guides & Templates - 62 Replies
Behemoth Boss LVL 71: 500,772 Dark Marsh
Ice Demon Boss (Forgot the lvl): 344, 621 Icyland
FourTeeth Boss LVL 93: 1107, 962 Volcano
Green Devil: Misty Marsh 700,400
811 ,664 darknight 66 darkmash
|
oread boss spawn
08/04/2009 - Dekaron - 10 Replies
i have seen many time 2 bots with oread pulled off to the corner, oread was frozen and about 5 earth hatchlings a second were spawning very slowly moving forward, any idea how to get this working?, i have read somewhere that you need 2 people to get it to spawn like this ,i have addjusted the boss mob spawn part in the vac to 9999 mobs and tried 1 and 0 for delay, but its not the same, if some one can help it will save me time. if its a bit underground please pm me the info or hints.
|
Boss re-spawn
03/05/2008 - Eudemons Online - 1 Replies
What is the average respawn time of bosses? Or is it totally random?
|
All times are GMT +2. The time now is 18:07.
|
|