| | | Requests This subforum is for requests for Emu servers. |  | 
3 Weeks Ago
|  | Site Donator | | | Join Date: Jun 2008 Location: Wales Uk
Posts: 32
Reputation: 1 Level up: 11%, 446 Points needed | | | Sunwell scripts Hi there , im looking for a C++ scripter to work on scripting sunwell blizzlike willing to pay if needed ^^ first i need to find a svn revision for ascent/arcemu >.< which is 2.4.3 i have a Summitemu svn which i would use but unfortunatly theres just to much things thats wrong with it the instancescripts.dll never works even tho compiled correctly loads fine etc The lua engine is completely useless its just to old to work with unless someone wants to work on that lol , have db patrtly fixed creatures and all other tables work appart from quests and vendors which i have no idea how to fix :P as i dont know the structure of summitemu db , and for others saying use Trinitycore for blizzlike i have done that , but would rather use a core i'm more known to  .
Thx bfx
+rep if i can
Last edited by griim; 3 Weeks Ago at 12:05 PM.
| Donate to remove ads, get your "DONATOR title, and get access to the MMOwned community's elite Shoutbawx. 
3 Weeks Ago
|  | Site Donator | | | Join Date: Jun 2008 Location: Wales Uk
Posts: 32
Reputation: 1 Level up: 11%, 446 Points needed | | | | Bump :P i will pay! xD so your work is not for nothing ^^ | 
3 Weeks Ago
| | Corporal | | | Join Date: May 2009
Posts: 24
Reputation: 20 Level up: 61%, 156 Points needed |   | | Consider this a gift , since it's not perfect or something. And because it's lua. It's M'uru's script. There are some problems , but this script might be a good example to those who will script it on C++. First problem is that it can't open or close doors. Second problem is that the dark hole doesn't work and third problem that after M'uru is defeated there is no animation and his body doesn't despawn. Code: function Muru_OnEnterCombat(Unit, Event)
Unit:SetCombatCapable(1)
Unit:RegisterEvent("Muru_NegativeEnergy",2000,0)
Unit:RegisterEvent("Muru_Darkness",45000,0)
Unit:RegisterEvent("Muru_VoidSentinel",30000,0)
Unit:RegisterEvent("Muru_Summonset",60000,0)
Unit:RegisterEvent("Muru_Enrage",6000000,0)
end
function Muru_NegativeEnergy(Unit, event)
Unit:CastSpellOnTarget(46008, Unit:GetRandomPlayer(0))
end
function Muru_Darkness(Unit, event)
Unit:CastSpell(45996)
end
function Muru_Enrage(Unit, Event)
Unit:CastSpell(26662)
end
function Muru_Summonset(Unit, Event)
Choice=math.random(1, 2)
if Choice==1 then
Unit:SpawnCreature(25798, 1781.98, 665.4370, 71.2, 5.23, 16,0)
Unit:SpawnCreature(25798, 1777.76, 662.8, 71.2, 5.21, 16,0)
Unit:SpawnCreature(25799, 1848.0813, 598.78, 71.3143, 2.4368, 16,0)
end
if Choice==2 then
Unit:SpawnCreature(25799, 1781.98, 665.4370, 71.2, 5.23, 16,0)
Unit:SpawnCreature(25798, 1849.64, 595.196, 71.3143, 2.4886, 16,0)
Unit:SpawnCreature(25798, 1848.0813, 598.78, 71.3143, 2.4368, 16,0)
end
end
function Muru_VoidSentinel(Unit, Event)
Choice=math.random(1, 2)
if Choice==1 then
Unit:SpawnCreature(25772, 1796.94 ,605.072, 71.203, 0.67, 16,0)
end
if Choice==2 then
Unit:SpawnCreature(25772, 1838.32 ,650.789, 71.243, 4.26, 16,0)
end
end
function Muru_OnLeaveCombat(Unit, Event)
Unit:RemoveEvents()
end
function Muru_OnDied(Unit, Event)
Unit:SpawnCreature(19224, 1791.378174, 645.489441, 87.451073, 5.623611, 14, 10000)
Unit:SpawnCreature(19224, 1794.053467, 615.599304, 87.451073, 0.584336, 14, 10000)
Unit:SpawnCreature(19224, 1823.639893, 591.566040, 87.451073, 1.749076, 14, 10000)
Unit:SpawnCreature(19224, 1842.190308, 603.666016, 87.451073, 2.426880, 14, 10000)
Unit:SpawnCreature(19224, 1851.664917, 626.444519, 87.451073, 3.212278, 14, 10000)
Unit:SpawnCreature(19224, 1823.757202, 654.730591, 87.451073, 4.445356, 14, 10000)
Unit:RegisterEvent("Muru_Open",2500, 0)
Unit:SpawnCreature(25840, 1816.303467, 625.651855, 69.603088, 5.728675, 14, 9999999)
Unit:Despawn(10000, 0)
Unit:RemoveEvents()
end
function Muru_Open(Unit, Event)
Unit:CastSpell(46177)
end
RegisterUnitEvent(25741, 1, "Muru_OnEnterCombat")
RegisterUnitEvent(25741, 2, "Muru_OnLeaveCombat")
RegisterUnitEvent(25741, 4, "Muru_OnDied")
--Entropius
function Entropius_OnEnterCombat(Unit, Event)
Unit:RegisterEvent("Entropius_NegativeEnergy",4000,0)
Unit:RegisterEvent("Entropius_Darkness",45000,0)
Unit:RegisterEvent("Entropius_BlackHole",150000,0)
Unit:RegisterEvent("Entropius_Enrage",6000000,0)
end
function Entropius_NegativeEnergy(Unit, event)
Unit:CastSpellOnTarget(46008, Unit:GetRandomPlayer(0))
Unit:CastSpellOnTarget(46008, Unit:GetRandomPlayer(0))
Unit:CastSpellOnTarget(46008, Unit:GetRandomPlayer(0))
end
function Entropius_Enrage(Unit, Event)
Unit:CastSpell(26662)
end
function Entropius_Darkness(Unit, Event)
Unit:FullCastSpellOnTarget (45141, Unit:GetRandomPlayer(0))
end
function Entropius_BlackHole(Unit, Event)
x = Unit:GetX ()
y = Unit:GetY ()
z = Unit:GetZ ()
o = Unit:GetO ()
Unit:SpawnCreature(25855, x-1, y, z, o, 16, o)
Unit:SpawnCreature(25855, x+1, y, z, o, 16, o)
Unit:CastSpellOnTarget(45996, Unit:GetRandomPlayer(0))
end
function Entropius_OnLeaveCombat(Unit, Event)
Unit:RemoveEvents()
end
function Entropius_OnDied(Unit, Event)
Unit:RemoveEvents()
Unit:SpawnCreature(277394, 1815.942383, 625.376648, 69.605011, 5.727159, 1741, 999999)
Unit:SpawnCreature(293749, 1805.061401, 649.412292, 71.174240, 5.184069, 35, 999999)
end
RegisterUnitEvent(25840, 1, "Entropius_OnEnterCombat")
RegisterUnitEvent(25840, 2, "Entropius_OnLeaveCombat")
RegisterUnitEvent(25840, 4, "Entropius_OnDied")
------------------------Summon
--Summonmove
function Summonmove(Unit)
Unit:MoveTo(1815.3, 625.193, 69.6075, 2.3)
end
RegisterUnitEvent(25798,18,"Summonmove")
--VoidSentinel 25772
function VoidSentinel1_OnEnterCombat(Unit, Event)
Unit:RegisterEvent("VoidSentinel1_ShadowPulsePeriodic",7000,0)
Unit:RegisterEvent("VoidSentinel1_VoidBlast",3000,0)
Unit:Despawn(60000, 0)
end
function VoidSentinel1_ShadowPulsePeriodic(Unit, Event)
Unit:FullCastSpellOnTarget (46086,Unit:GetRandomPlayer(0))
end
function VoidSentinel1_VoidBlast(Unit, Event)
local mplr = Unit:GetRandomPlayer(1)
Unit:FullCastSpellOnTarget (46161,Unit:GetRandomPlayer(1))
if mplr ~= nil then
end
end
function VoidSentinel1_OnDied(Unit, Event)
x = Unit:GetX ()
y = Unit:GetY ()
z = Unit:GetZ ()
o = Unit:GetO ()
Unit:SpawnCreature(25824, x-1, y, z, o, 16, o)
Unit:SpawnCreature(25824, x+1, y, z, o, 16, o)
Unit:SpawnCreature(25824, x, y-1, z, o, 16, o)
Unit:SpawnCreature(25824, x, y+1, z, o, 16, o)
Unit:SpawnCreature(25824, x-3, y, z, o, 16, o)
Unit:SpawnCreature(25824, x+5, y, z, o, 16, o)
end
function VoidSentinel1_spawndisplay(Unit, Event)
Unit:SetModel(22742)
end
function VoidSentinel1_moveset(Unit)
Unit:RegisterEvent("VoidSentinel1_spawndisplay",1000,1)
Unit:RegisterEvent("VoidSentinel1_move",4000,0)
end
function VoidSentinel1_move(Unit, Event)
Unit:MoveTo(1815.3, 625.193, 69.6075, 2.3)
Unit:SetModel(23372)
end
RegisterUnitEvent(25772, 1, "VoidSentinel1_OnEnterCombat")
RegisterUnitEvent(25772, 4, "VoidSentinel1_OnDied")
RegisterUnitEvent(25772, 18, "VoidSentinel1_moveset")
--VoidSentinel2 summon
function VoidSentinel2_OnEnterCombat(Unit, Event)
Unit:RegisterEvent("VoidSentinel2_ShadowBoltVolley",5000,0)
Unit:Despawn(30000, 0)
end
function VoidSentinel2_ShadowBoltVolley(Unit, Event)
local mplr = Unit:GetRandomPlayer(1)
Unit:FullCastSpellOnTarget (46082,Unit:GetRandomPlayer(1))
if mplr ~= nil then
end
end
function VoidSentinel2_OnDied(Unit, Event)
Unit:RemoveEvents()
end
RegisterUnitEvent(25782, 1, "VoidSentinel2_OnEnterCombat")
RegisterUnitEvent(25782, 4, "VoidSentinel2_OnDied")
--Summon shadow FuryMage
function SummonFuryMage_OnEnterCombat(Unit, Event)
Unit:RegisterEvent("SummonFuryMage_FelFireball",5000,0)
Unit:RegisterEvent("SummonFuryMage_SpellFury",5000,0)
end
function SummonFuryMage_FelFireball(Unit, Event)
local mplr = Unit:GetRandomPlayer(1)
Unit:FullCastSpellOnTarget (46101,Unit:GetRandomPlayer(1))
if mplr ~= nil then
end
end
function SummonFuryMage_FelFireball(Unit, Event)
local mplr = Unit:GetRandomPlayer(1)
Unit:FullCastSpellOnTarget (46102,Unit:GetRandomPlayer(1))
if mplr ~= nil then
end
end
function SummonFuryMage_OnDied(Unit, Event)
Unit:RemoveEvents()
end
RegisterUnitEvent(25798, 1, "SummonFuryMage_OnEnterCombat")
RegisterUnitEvent(25798, 4, "SummonFuryMage_OnDied")
--Summon shadow Berserk
function SummonBerserk_OnEnterCombat(Unit, event)
Unit:RegisterEvent("SummonBerserk_Flurry", math.random(25000, 30000),0)
end
function SummonBerserk_Flurry(Unit, event)
Unit:CastSpell(46160)
end
function SummonBerserk_OnDied(Unit, Event)
Unit:RemoveEvents()
end
RegisterUnitEvent(25798, 1, "SummonBerserk_OnEnterCombat")
RegisterUnitEvent(25798, 4, "SummonBerserk_OnDied")
| 
3 Weeks Ago
|  | Site Donator | | | Join Date: Jun 2008 Location: Wales Uk
Posts: 32
Reputation: 1 Level up: 11%, 446 Points needed | | | | Ive managed to do a similar lua script to this before , thing is in lua there is not much you can do for instance you say no animation after he dies also missing the adds that spawn (using arcscript engine) The dark rift gates that open to spawn the void sentinels do not appear etc. | 
2 Weeks Ago
|  | Site Donator | | | Join Date: Jun 2008 Location: Wales Uk
Posts: 32
Reputation: 1 Level up: 11%, 446 Points needed | | | | Bump! plox !
__________________ 
Shot at 2009-10-29 | 
2 Weeks Ago
|  | Sergeant Major | | | Join Date: Aug 2009 Location: DENMARk
Posts: 142
Reputation: 7 Level up: 39%, 305 Points needed |  | | | dont bump ur thread | 
2 Weeks Ago
|  | Site Donator | | | Join Date: Jun 2008 Location: Wales Uk
Posts: 32
Reputation: 1 Level up: 11%, 446 Points needed | | | meh  lol
__________________ 
Shot at 2009-10-29 |  |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -4. The time now is 12:55 AM. |