Got a broken version of Besiege to work but....

User avatar
tagban
Posts: 352
Joined: Fri Dec 28, 2012 11:31 am
Location: Pennsylvania, USA

Re: Got a broken version of Besiege to work but....

Post by tagban » Fri May 16, 2014 11:37 am

Given the amount of time it takes for beseiged to start typically, my guess is that they use that 'loading' time to load all the monsters. If thats the case, it could be set as an event (or likely already is an event) would just need to map out the event starting system, I think its like 1 minute of loading time where the zone is locked out and noone can enter.

cupofnoodles
Posts: 14
Joined: Sat Aug 18, 2012 6:20 pm

Re: Got a broken version of Besiege to work but....

Post by cupofnoodles » Sat May 17, 2014 1:49 am

Is there anyway that someone can work on getting them to pop on @cs 4? its a besiege tester try it in Al Zahbi. it doesnt seem to work correctly.

User avatar
Signature
Posts: 126
Joined: Fri May 02, 2014 3:44 am

Re: Got a broken version of Besiege to work but....

Post by Signature » Mon May 19, 2014 3:27 pm

Here are my gm commands to spawn Besieged mobs, i have spent a lot of time placing each mob in specific locations
If you like you can follow my @pos coordinates or make your own. I also included for you group id's for easy DropID addons, simply use mob_groups.sql and mob_droplist.sql to add in your own DropId because 99% of them had no drop id to begin with.
Have Fun!

I have set up zone.lua to trigger the cut scene Al Zahbi is under attack! when Gere is Spawned, You can set it up for any of the first mobs you spawn before you summon people into Al Zahbi

ENJOY!

Code: Select all

---------------------------------------------------------------------------------------------------
-- @mamool1 -- Spawns 1st wave of Mamool
--
-- Besieged
---------------------------------------------------------------------------------------------------


cmdprops =
{
    permission = 1,
    parameters = "iiii"
};
function onTrigger(player)																   --@pos
	SpawnMob('16973825'); --Mamool Ja Sapper			 GrpId=1546 	poolID=2532		12,-6,25,(254) DropID=4510
	SpawnMob('16973826'); --Mamool Ja Hosplitaler--------GrpId=1543		poolID=2520		12,-6,34,(254)
	SpawnMob('16973827'); --Mamool Ja Fetial------------								12,-6,48,(254)
	SpawnMob('16973828'); --Mamool Ja Spotter----------- GrpId=1547		poolID=2536		 8,-6,56(252)	DropID=4510
	SpawnMob('16973829'); --Mamool Ja Handler------------GrpId=1542		poolID=2519		12,-6,40,(254)	DropID=4510
	SpawnMob('16973830'); --Mamool Ja Lizard			 GrpId=1548		poolID=2539		11,-6,41,(254)	DropID=4510
    SpawnMob('16973831'); --Mamool Ja Cataphract-------- GrpId=1539		poolID=2510 	23,-3,61,(255)	DropID=4510
	SpawnMob('16973832'); --Mamool Ja Wyvern			 GrpId=1549		poolID=2541		18,-5,60,(20)	DropID=4510
    SpawnMob('16973833'); --Mamool_Ja_Entrancer--------- 1540			poolID=2514		11,-6,68,(34)	DropID=4510
	SpawnMob('16973834'); --Mamool_Ja_Sapper											17,-6,67,(61)	DropID=4510
	SpawnMob('16973835'); --Mamool_Ja_Hospitaler										31,-6,66,(59)
	SpawnMob('16973836'); --Mamool_Ja_Fetial											34,-6,68,(117)
	SpawnMob('16973837'); --Mamool_Ja_Spotter											34,-6,65,(129)
	SpawnMob('16973838'); --Mamool_Ja_Handler											47,-6,65,(67)
	SpawnMob('16973839'); --Mamool_Ja_Lizard											45,-6,66,(75)
	SpawnMob('16973840'); --Mamool_Ja_Cataphract										56,-6,68,(57)
	SpawnMob('16973841'); --Mamool_Ja_Wyvern											54,-6,69,(63)
	SpawnMob('16973842'); --Mamool_Ja_Entrancer   										68,-6,66,(66)
	SpawnMob('16973843'); --Mamool Ja Sapper											80,-6,66,(73)
	SpawnMob('16973844'); --Mamool Ja Hosplitaler--------							    92,-6,64,(64)
	SpawnMob('16973845'); --Mamool Ja Fetial------------ GrpId=1541 	poolID=2517	   (22,-3,18,(254))	DropID=4510
	SpawnMob('16973846'); --Mamool_Ja_Spotter--------									99,-6,67,(128)
	SpawnMob('16973847'); --Mamool_Ja_Handler--------				  			  	   106,-6,68,(127)
	SpawnMob('16973848'); --Mamool_Ja_Lizard--------				  			 	   109,-6,68,(124)
	SpawnMob('16973849'); --Mamool_Ja_Cataphract--------			  			  	   106,-6,66,(147)
	SpawnMob('16973850'); --Mamool_Ja_Wyvern--------			      			  	   109,-6,66,(138)
	SpawnMob('16973851'); --Mamool_Ja_Entrancer											23,-6,08,190
	SpawnMob('16973852'); --Scout_Puk	----------------GrpId=1569		poolID=3505		13,-6,16,233	PoolID=4513
	SpawnMob('16973853'); --Scout_Puk													18,-6,13,236
	SpawnMob('16973854'); --Scout_Puk													26,-1,19,121
	SpawnMob('16973855'); --Scout_Puk													30,-6,13,131
	SpawnMob('16973856'); --Scout_Puk													40,-6,13,131
	SpawnMob('16973857'); --Raid_Raptor ----------------GrpId=1566		poolID=3309		49,-6,11,202	PoolID=4513
	SpawnMob('16973858'); --Raid_Raptor													55,-6,12,129
	SpawnMob('16973859'); --Raid_Raptor													64,-6,12,127
	SpawnMob('16973860'); --Raid_Raptor													71,-6,13,202
	SpawnMob('16973861'); --Raid_Raptor													84,-6,13,205
end

Code: Select all

---------------------------------------------------------------------------------------------------
-- @mamool2 -- Spawns 2nd wave of Mamool
--
-- Besieged
---------------------------------------------------------------------------------------------------

cmdprops =
{
    permission = 1,
    parameters = "iiii"
};
function onTrigger(player)
	SpawnMob('16973862'); --Attack_Ziz----------GrpId=1490		-99,2,74,4		poolID=280	PoolID=4513
	SpawnMob('16973863'); --Attack_Ziz							-97,2,68,255
	SpawnMob('16973864'); --Attack_Ziz							-99,2,63,252
	SpawnMob('16973865'); --Attack_Ziz							-101,2,57,207
	SpawnMob('16973866'); --Attack_Ziz							-94,2,53,2
	SpawnMob('16973867'); --Battering_Bugard----GrpId=1491		-92,2,49,254	poolID=361	PoolID=4513
	SpawnMob('16973868'); --Battering_Bugard					-87,2,44,162
	SpawnMob('16973869'); --Battering_Bugard					-85,2,51,155
	SpawnMob('16973870'); --Battering_Bugard					-86,2,59,168
	SpawnMob('16973871'); --Battering_Bugard					-86,2,68,136
    SpawnMob('16973872'); --War_Wyvern----------GrpId=1593		-69,-6,68,34	PoolID=4513
	SpawnMob('16973873'); --War_Wyvern							-89,-6,90,31
	SpawnMob('16973874'); --War_Wyvern							-91,-6,101,65
	SpawnMob('16973875'); --War_Wyvern							-107,-6,90,125
	SpawnMob('16973876'); --War_Wyvern							-89,-6,106,62
	SpawnMob('16973877'); --Poroggo_Charmer-----GrpId=1560		-96,2,82,78		poolID=3179	PoolID=4513
	SpawnMob('16973878'); --Poroggo_Charmer						-86,2,80,98
	SpawnMob('16973879'); --Poroggo_Charmer						-80,2,86,217
	SpawnMob('16973880'); --Poroggo_Charmer						-76,2,80,218
	SpawnMob('16973881'); --Poroggo_Charmer						-80,2,75,74
	SpawnMob('16973882'); --Phantasmal_Puk------GrpId=1558		-81,2,80,101	poolID=3126	PoolID=4513
	SpawnMob('16973883'); --Dive-Puk							-78,2,69,92
	SpawnMob('16973884'); --Dive-Puk------------GrpId=1501		-77,2,60,139	poolID=1054	PoolID=4513
	SpawnMob('16973885'); --Dive-Puk							-78,2,53,132
	SpawnMob('16973886'); --Dive-Puk							-75,2,48,96
	SpawnMob('16973887'); --Phantasmal_Puk						-70,0,39,135
	SpawnMob('16973888'); --Dive-Puk							-95,2,32,220
	SpawnMob('16973889'); --Dive-Puk							-88,2,32,196
	SpawnMob('16973890'); --Dive-Puk							-79,2,31,198
	SpawnMob('16973891'); --Dive-Puk							-73,2,31,159
end

Code: Select all

---------------------------------------------------------------------------------------------------
-- @mamool3 -- Spawns 3rd wave of Mamool
--
-- Besieged
---------------------------------------------------------------------------------------------------

cmdprops =
{
    permission = 1,
    parameters = "iiii"
};
function onTrigger(player)
	SpawnMob('16973892'); --Fleetfingered_Mobel_Ja---GrpId=1507		-62,-7,40,254	poolID=1365
	SpawnMob('16973893'); --Mamool_Ja_Ravager						-63,-6,27,68
	SpawnMob('16973894'); --Mamool_Ja_Ravager--------GrpId=1545		-67,-6,20,3		poolID=2530  	DropID=4510
	SpawnMob('16973895'); --Mamool_Ja_Ravager						-56,-3,23,237
	SpawnMob('16973896'); --Brontobugard-------------GrpId=1495		-62,-6,61,247	poolID=536
	SpawnMob('16973897'); --Bull_Bugard								-59,-6,66,44
	SpawnMob('16973898'); --Bull_Bugard--------------GrpId=1496		-63,-6,58,36	poolID=577
	SpawnMob('16973899'); --Bull_Bugard								-65,-6,64,170
	SpawnMob('16973900'); --Gulool_Ja_Ja-------------GrpId=1517		-81,-6,82,223	poolID=1846		DropID=4512
    SpawnMob('16973901'); --Illuyankas---------------GrpId=1520		-39,0,39,9		poolID=2059		DropID=4511
	SpawnMob('16973902'); --Decimator_Mabel_Ja-------GrpId=1500 	-14,0,39,255	DropID=666
	SpawnMob('16973903'); --Thunderclap_Sareel_Ja----GrpId=1576		-39,0,14,187	poolID=3910		DropID=4514
	SpawnMob('16973904'); --Thunderbolt_Piraal_Ja----GrpId=1575		-58,0,39,248	poolID=3909		DropID=4515
	SpawnMob('16973905'); --Panurgic_Ryubool_Ja------GrpId=1557		-40,0,63,64		poolID=3093
	SpawnMob('16973906'); --Sagelord_Molaal_Ja-------GrpId=1567		-36,-7,63,250	poolID=3437
	SpawnMob('16973907'); --Strifelord_Bakool_Ja-----GrpId=1573		-43,-7,63,128	poolID=3789
	SpawnMob('16973908'); --Mamool_Ja_Wyvern						-21,0,47,89
	SpawnMob('16973909'); --Mamool_Ja_Wyvern---------GrpId=1549		-22,0,33,155	poolID=2541
	SpawnMob('16973910'); --Mamool_Ja_Wyvern						-16,0,41,97
	SpawnMob('16973911'); --Eidolic_Qufeel_Ja--------GrpId=1503		-56,0,28,204	DropID=845 		DropID=4510
	SpawnMob('16973912'); --Eidolic_Qufeel_Ja						-39,-6,12,196
	SpawnMob('16973913'); --Eidolic_Qufeel_Ja						-31,-6,12,129
	SpawnMob('16973914'); --Eidolic_Qufeel_Ja						-24,-6,17,171
	SpawnMob('16973915'); --Eidolic_Qufeel_Ja						-22,-6,24,17
	SpawnMob('16973916'); --Eidolic_Qufeel_Ja						-12,-6,30,162
	SpawnMob('16973917'); --Eidolic_Qufeel_Ja						-12,-6,45,191
	SpawnMob('16973918'); --Eidolic_Qufeel_Ja						-24,-6,24,137
	SpawnMob('16973919'); --Searing_Vogaal_Ja--------GrpId=1570 	-13,-6,56,251	poolID=3516
	SpawnMob('16973920'); --Scalding_Fafool_Ja-------GrpId=1568		-56,-6,11,193	poolID=3493
	SpawnMob('16973921'); --Mamool_Ja_Hussar						-15,-6,24,187
	SpawnMob('16973922'); --Mamool_Ja_Hussar						-11,-6,38,147
	SpawnMob('16973923'); --Mamool_Ja_Hussar---------GrpId=1544		-21,-6,66,64	poolID=2521		DropID=4510
	SpawnMob('16973924'); --Mamool_Ja_Hussar						-26,-6,61,63
	SpawnMob('16973925'); --Mamool_Ja_Hussar						-30,-6,64,192
	SpawnMob('16973926'); --Mamool_Ja_Hussar						-86,-6,82,84
	SpawnMob('16973927'); --Mamool_Ja_Hussar						-82,-6,85,226
	SpawnMob('16973928'); --Mamool_Ja_Hussar						-75,-6,79,225
	SpawnMob('16973929'); --Mamool_Ja_Hussar						-79,-6,75,89
end

Code: Select all

---------------------------------------------------------------------------------------------------
-- @troll1 -- Spawns 1st wave of Trolls
--
-- Besieged
---------------------------------------------------------------------------------------------------

cmdprops =
{
    permission = 1,
    parameters = "iiii"
};
function onTrigger(player)
	SpawnMob('16973930'); --Troll_Paviser-------GrpId=1581		poolID=4025
	SpawnMob('16973931'); --Troll_Stormer		GrpId=1584		poolID=4033
	SpawnMob('16973932'); --Troll_Hoplite-------GrpId=1580		poolID=4020
	SpawnMob('16973933'); --Troll_Pezhetairoi   GrpId=1582		poolID=4026
	SpawnMob('16973934'); --Troll_Cannoneer-----GrpId=1577		poolID=4011
	SpawnMob('16973935'); --Troll_Velites		GrpId=1586		poolID=4037
	SpawnMob('16973936'); --Troll_Speculator----GrpId=1583		poolID=4031
	SpawnMob('16973937'); --Troll_Automaton		GrpId=1585		poolID=4035
	SpawnMob('16973938'); --Troll_Paviser
    SpawnMob('16973939'); --Troll_Stormer
	SpawnMob('16973940'); --Troll_Hoplite
	SpawnMob('16973941'); --Troll_Pezhetairoi
	SpawnMob('16973942'); --Troll_Cannoneer
	SpawnMob('16973943'); --Troll_Velites
	SpawnMob('16973944'); --Troll_Speculator
	SpawnMob('16973945'); --Troll_Automaton
	SpawnMob('16973946'); --Troll_Paviser
	SpawnMob('16973947'); --Troll_Stormer
	SpawnMob('16973948'); --Troll_Hoplite
	SpawnMob('16973949'); --Troll_Pezhetairoi
	SpawnMob('16973950'); --Troll_Cannoneer
	SpawnMob('16973951'); --Troll_Velites
	SpawnMob('16973952'); --Troll_Speculator
	SpawnMob('16973953'); --Troll_Automaton
	SpawnMob('16973954'); --Flame_Eruca---------GrpId=1506		poolID=1357
	SpawnMob('16973955'); --Flame_Eruca
	SpawnMob('16973956'); --Flame_Eruca
	SpawnMob('16973957'); --Flame_Eruca
	SpawnMob('16973958'); --Flame_Eruca
	SpawnMob('16973959'); --War_Wamouracampa----GrpId=1592		poolID=4301
	SpawnMob('16973960'); --War_Wamouracampa
	SpawnMob('16973961'); --War_Wamouracampa

end

Code: Select all

---------------------------------------------------------------------------------------------------
-- @troll2 -- Spawns 2nd wave of Trolls
--
-- Besieged
---------------------------------------------------------------------------------------------------

cmdprops =
{
    permission = 1,
    parameters = "iiii"
};
function onTrigger(player)
	SpawnMob('16973962'); --War_Wamouracampa----GrpId=1592					poolID=4301
	SpawnMob('16973963'); --War_Wamouracampa
	SpawnMob('16973964'); --Incendiary_Bombs----GrpId=1523					poolID=2072
	SpawnMob('16973965'); --Incendiary_Bombs
	SpawnMob('16973966'); --Incendiary_Bombs
	SpawnMob('16973967'); --Incendiary_Bombs
	SpawnMob('16973968'); --Incendiary_Bombs
	SpawnMob('16973969'); --Fighting_Flan-------GrpId=1505					poolID=1335
	SpawnMob('16973970'); --Fighting_Flan
    SpawnMob('16973971'); --Fighting_Flan
	SpawnMob('16973972'); --Fighting_Flan
	SpawnMob('16973973'); --Fighting_Flan
	SpawnMob('16973974'); --Siege_Scorpion------GrpId=1571					poolID=3620
	SpawnMob('16973975'); --Siege_Scorpion
	SpawnMob('16973976'); --Siege_Scorpion
	SpawnMob('16973977'); --Siege_Scorpion
	SpawnMob('16973978'); --Siege_Scorpion
	SpawnMob('16973979'); --War_Wamoura---------GrpId=1592					poolID=4301
	SpawnMob('16973980'); --War_Wamoura
	SpawnMob('16973981'); --War_Wamoura
	SpawnMob('16973982'); --War_Wamoura
	SpawnMob('16973983'); --War_Wamoura
	SpawnMob('16973984'); --Aerial_Torpedo------GrpId=1487					poolID=52
	SpawnMob('16973985'); --Bombshells
	SpawnMob('16973986'); --Bombshells----------GrpId=1493					poolID=406
	SpawnMob('16973987'); --Bombshells
	SpawnMob('16973988'); --Bombshells
	SpawnMob('16973989'); --Aerial_Torpedo
	SpawnMob('16973990'); --Bombshells
	SpawnMob('16973991'); --Bombshells
	SpawnMob('16973992'); --Bombshells
	SpawnMob('16973993'); --Bombshells
	SpawnMob('16973994'); --Vyurvarjur_the_Nimble-----------GrpId=1590		poolID=4269
	SpawnMob('16973995'); --Troll_Forager
	SpawnMob('16973996'); --Troll_Forager-------GrpId=1579					poolID=4016
	SpawnMob('16973997'); --Troll_Forager
	SpawnMob('16973998'); --Killing_Claw--------GrpId=1524					poolID=2230
	SpawnMob('16973999'); --Slaughterous_Scorpion
	SpawnMob('16973400'); --Slaughterous_Scorpion-----------GrpId=1572		poolID=3664
end

Code: Select all

---------------------------------------------------------------------------------------------------
-- @troll3 -- Spawns 3rd wave of Trolls
--
-- Besieged
---------------------------------------------------------------------------------------------------

cmdprops =
{
    permission = 1,
    parameters = "iiii"
};
function onTrigger(player)
       SpawnMob('16974001'); -- Slaughterous Scorpion 	GrpId=1572------PoolId=3664  	45,0,20,163
   SpawnMob('16974002'); -- Gurlufur The Menacing		GrpId=1518		PoolId=1851		40,0,16,186
   SpawnMob('16974003'); -- Gere------------------------GrpId=1513------PoolId=1498		61,0,40,5      	DropID=4508
   SpawnMob('16974004'); -- Girzorhor The Imprudent		GrpId=1515		PoolId=1608		21,0,39,254		DropID=4509
   SpawnMob('16974005'); -- Surmerdar-------------------GrpId=1574------PoolId=3812		62,0,22,189
   SpawnMob('16974006'); -- Dartorgor-------------------GrpId=1499		PoolId=3664		39,0,60,60
   SpawnMob('16974007'); -- Vorporlor					GrpId=1589------PoolId=922		75,0,39,3
   SpawnMob('16974008'); -- Vorjirzur-------------------GrpId=1588		PoolId=4255		82,0,32,243
   SpawnMob('16974009'); -- Worbordor					GrpId=1595------PoolId=4373		93,-1,40,251
       SpawnMob('16974010'); -- Cobalt sentinel			GrpId=1498		PoolId=754		35,0,48,66		DropID=4510
   SpawnMob('16974011'); -- White sentinel	------------GrpId=1594------PoolId=4335		43,0,47,66		DropID=4510
   SpawnMob('16974012'); -- Hazel Sentinel				GrpId-1519		PoolId=1904		31,0,27,113		DropID=4510
   SpawnMob('16974013'); -- Carmine Sentinel------------GrpId=1497------PoolId=643		72,0,29,235		DropID=4510
   SpawnMob('16974014'); -- Xarhorkur the Claviger		GrpId=1596		PoolId=4393		75,0,47,12
   SpawnMob('16974015'); -- Zurmurwur The ruthless  	GrpId=1598------PoolId=4524		63,0,57,61
   SpawnMob('16974016'); -- Troll destroyer 			GrpID=1578		PoolId=4014		67,0,34,246		DropID=4510
   SpawnMob('16974017'); -- Troll destroyer												52,0,34,126
   SpawnMob('16974018'); -- Troll destroyer												52,0,44,117
   SpawnMob('16974019'); -- Troll destroyer												55,0,49,61
   SpawnMob('16974020'); -- Troll destroyer												70,0,49,61
   SpawnMob('16974021'); -- Troll destroyer												70,0,52,16
end

Code: Select all

---------------------------------------------------------------------------------------------------
-- @undead1 -- Spawns 1st wave of Undead
--
-- Besieged
---------------------------------------------------------------------------------------------------
cmdprops =
{
    permission = 1,
    parameters = "iiii"
};
function onTrigger(player)
	SpawnMob('16974025'); --Lamia_Immolator---------GrpId=1527--PoolID=2336
	SpawnMob('16974026'); --Lamia_Jaegerr			GrpId=1528	PoolID=2337
	SpawnMob('16974027'); --Lamia_Commandress-------GrpId=1525--PoolID=2327
	SpawnMob('16974028'); --Lamia_Elemental			GrpId=1538--PoolID=2359
	SpawnMob('16974029'); --Lamia_Avatar------------GrpId=1537--PoolID=2358
	SpawnMob('16974030'); --Lamia_Rover				GrpId=1536--PoolID=2356
	SpawnMob('16974031'); --Merrow_Seafarer---------GrpId=1554--PoolID=2626
	SpawnMob('16974032'); --Merrow_Cantatrice		GrpId=1551	PoolID=2618
	SpawnMob('16974033'); --Merrow_Shiranuhi--------GrpId=1555--PoolID=2628
    SpawnMob('16974034'); --Lamia_Immolator
	SpawnMob('16974035'); --Lamia_Jaeger
	SpawnMob('16974036'); --Lamia_Commandress
	SpawnMob('16974037'); --Lamia_Elemental
	SpawnMob('16974038'); --Lamia_Avatar
	SpawnMob('16974039'); --Lamia_Rover
	SpawnMob('16974040'); --Merrow_Seafarer
	SpawnMob('16974041'); --Merrow_Cantatrice
	SpawnMob('16974042'); --Merrow_Shiranuhi
	SpawnMob('16974043'); --Lamia_Immolator
	SpawnMob('16974044'); --Lamia_Jaeger
	SpawnMob('16974045'); --Lamia_Commandress
	SpawnMob('16974046'); --Lamia_Elemental
	SpawnMob('16974047'); --Lamia_Avatar
	SpawnMob('16974048'); --Lamia_Rover
	SpawnMob('16974049'); --Merrow_Seafarer
	SpawnMob('16974050'); --Merrow_Cantatrice
	SpawnMob('16974051'); --Merrow_Shiranuhi
	SpawnMob('16974052'); --Gespenst----------------GrpId=1514--PoolID=1505
	SpawnMob('16974053'); --Gespenst
	SpawnMob('16974054'); --Gespenst
	SpawnMob('16974055'); --Gespenst
	SpawnMob('16974056'); --Assault_Draugar---------GrpId=1489--PoolID=273
	SpawnMob('16974057'); --Assault_Draugar
	SpawnMob('16974058'); --Assault_Draugar
	SpawnMob('16974059'); --Assault_Draugar
	SpawnMob('16974060'); --Assault_Draugar
end

Code: Select all

---------------------------------------------------------------------------------------------------
-- @undead2 -- Spawns 2nd wave of Undead
--
-- Besieged
---------------------------------------------------------------------------------------------------

cmdprops =
{
    permission = 1,
    parameters = "iiii"
};
function onTrigger(player)
    SpawnMob('16974061'); --Assault_Draugar---------GrpId=1489--PoolID=273
	SpawnMob('16974062'); --Assault_Draugar
	SpawnMob('16974063'); --Assault_Draugar
	SpawnMob('16974064'); --Assault_Draugar
	SpawnMob('16974065'); --Draugar_Wyvern----------GrpId=1502--PoolID=1112
	SpawnMob('16974066'); --Assault_Bhoot
	SpawnMob('16974067'); --Assault_Bhoot-----------GrpId=1488--PoolID=272
	SpawnMob('16974068'); --Assault_Bhoot
	SpawnMob('16974069'); --Assault_Bhoot
    SpawnMob('16974070'); --Assault_Bhoot
	SpawnMob('16974071'); --Qutrub_Extortionist-----GrpId=1563--PoolID=3295
	SpawnMob('16974072'); --Qutrub_Extortionist
	SpawnMob('16974073'); --Qutrub_Extortionist
	SpawnMob('16974074'); --Qutrub_Extortionist
	SpawnMob('16974075'); --Qutrub_Wastrel----------GrpId=1565--PoolID=3297
	SpawnMob('16974076'); --Qutrub_Wastrel
	SpawnMob('16974077'); --Qutrub_Wastrel
	SpawnMob('16974078'); --Qutrub_Wastrel
	SpawnMob('16974079'); --Expunger----------------GrpId=1504--PoolID=1276
	SpawnMob('16974080'); --Expunger
	SpawnMob('16974081'); --Expunger
	SpawnMob('16974082'); --Expunger
	SpawnMob('16974083'); --Expunger
	SpawnMob('16974084'); --Bhoot_Invader-----------GrpId=1493--PoolID=406
	SpawnMob('16974085'); --Bhoot_Invader
	SpawnMob('16974086'); --Bhoot_Invader
	SpawnMob('16974087'); --Bhoot_Invader
	SpawnMob('16974088'); --Bhoot_Invader
	SpawnMob('16974089'); --Bhoot_Invader
	SpawnMob('16974090'); --Bhoot_Invader
	SpawnMob('16974091'); --Bhoot_Invader
	SpawnMob('16974092'); --Bhoot_Invader
	SpawnMob('16974093'); --Bhoot_Invader
end

Code: Select all

---------------------------------------------------------------------------------------------------
-- @undead3 -- Spawns 3rd wave of Undead
--
-- Besieged
---------------------------------------------------------------------------------------------------

cmdprops =
{
    permission = 1,
    parameters = "iiii"
};
function onTrigger(player)
    SpawnMob('16974094'); --Lamia_No.4----------GrpId=1534--PoolID=2352
	SpawnMob('16974095'); --Lamia_Freebooter
	SpawnMob('16974096'); --Lamia_Freebooter----GrpId=1526--PoolID=2333
	SpawnMob('16974097'); --Lamia_Freebooter
	SpawnMob('16974098'); --Pining_Abazohn------GrpId=1559--PoolID=3137
	SpawnMob('16974099'); --Qutrub_Forayer
	SpawnMob('16974100'); --Qutrub_Forayer------GrpId=1564--PoolID=3296
	SpawnMob('16974101'); --Qutrub_Forayer
	SpawnMob('16974102'); --Medusa--------------GrpId=1550--DropID=2237
	SpawnMob('16974103'); --Nemean_Lion---------GrpId=1556--PoolID=2821
	SpawnMob('16974104'); --Lamia_No.34			GrpId=1533--PoolID=2351
    SpawnMob('16974105'); --Lamia_No.21---------GrpId=1531--PoolID=2352
	SpawnMob('16974106'); --Lamia_No.15			GrpId=1529  PoolID=2342
	SpawnMob('16974107'); --Merrow_No.11--------GrpId=1552--PoolID=2622
	SpawnMob('16974108'); --Lamia_No.9			GrpId=1535	PoolID=2353
	SpawnMob('16974109'); --Lamia_Elemental
	SpawnMob('16974110'); --Lamia_Elemental-----GrpId=1538--PoolID=2359
	SpawnMob('16974111'); --Lamia_Elemental
	SpawnMob('16974112'); --Lamia_Avatar
	SpawnMob('16974113'); --Lamia_Avatar--------GrpId=1537--PoolID=2358
	SpawnMob('16974114'); --Lamia_Avatar
	SpawnMob('16974115'); --Merrow_No.12--------GrpId=1553--PoolID=2623
	SpawnMob('16974116'); --Lamia_No.3			GrpId=1532  PoolID=2350
	SpawnMob('16974117'); --Lamia_No.2----------GrpId=1530--PoolID=2346
	SpawnMob('16974118'); --Acrolith
	SpawnMob('16974119'); --Acrolith------------GrpId=1486--PoolID=39
	SpawnMob('16974120'); --Acrolith
	SpawnMob('16974121'); --Acrolith
	SpawnMob('16974122'); --Acrolith
	SpawnMob('16974123'); --Acrolith
	SpawnMob('16974124'); --Acrolith
	SpawnMob('16974125'); --Acrolith
	SpawnMob('16974126'); --Acrolith
end

This is Zone.lua

Code: Select all

-----------------------------------
-- onZoneIn
-----------------------------------

function onZoneIn(player,prevZone)
	cs = -1;
	-- MOG HOUSE EXIT
	if ((player:getXPos() == 0) and (player:getYPos() == 0) and (player:getZPos() == 0)) then
		position = math.random(1,5) + 37;
		player:setPos(position,0,-62,192);
	end
	--Besieged
	if GetMobAction(16974003) ~= 0 then

		cs = 5
	end
	return cs;
end;

-----------------------------------
-- onEventFinish
-----------------------------------

function onEventFinish(player,csid,option)
	--printf("CSID: %u",csid);
	--printf("RESULT: %u",option);
	if cs == 5 then
	player:setPos(-58,2,100);
	end

end;


cupofnoodles
Posts: 14
Joined: Sat Aug 18, 2012 6:20 pm

Re: Got a broken version of Besiege to work but....

Post by cupofnoodles » Sat May 24, 2014 11:21 pm

This is an awesome code we are hopefully going to try it real soon! Thanks!

User avatar
atom0s
Developer
Posts: 537
Joined: Thu Oct 25, 2012 9:52 am

Re: Got a broken version of Besiege to work but....

Post by atom0s » Sat May 24, 2014 11:38 pm

This is definitely not the way it will be implemented into DSP as it is not "correct". But it will be a bit before Besiged is done since it requires a handful of things DSP does not have currently.

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Got a broken version of Besiege to work but....

Post by kjLotus » Sun May 25, 2014 12:07 am

atom0s wrote:This is definitely not the way it will be implemented into DSP as it is not "correct". But it will be a bit before Besiged is done since it requires a handful of things DSP does not have currently.
i think it'd be fun to play around with though for the server admins until i get to it :)

User avatar
atom0s
Developer
Posts: 537
Joined: Thu Oct 25, 2012 9:52 am

Re: Got a broken version of Besiege to work but....

Post by atom0s » Sun May 25, 2014 1:12 am

kjLotus wrote:
atom0s wrote:This is definitely not the way it will be implemented into DSP as it is not "correct". But it will be a bit before Besiged is done since it requires a handful of things DSP does not have currently.
i think it'd be fun to play around with though for the server admins until i get to it :)
I'd suggest a @besieged <playername> to just spawn everything on one player in the zone for the lawls. :D

Post Reply