AscendScripting

Would you like to react to this message? Create an account in a few clicks or log in to continue.
AscendScripting

AscendScripting is a Scripting Project that supports Aspire, ArcEmu, and Mangos. We strive for Blizz-Like!


2 posters

    Alvanaar's Application

    avatar
    Alvanaar


    Posts : 2
    Join date : 2009-04-24

    Alvanaar's Application Empty Alvanaar's Application

    Post  Alvanaar Fri Apr 24, 2009 3:54 am

    Here is my application...

    -----


    1)What is your Name - Ed Coyller

    2)How old are you? - 16 years old

    3)How long have you been working with Emulation? - Since last year

    4)How long have you been familiar with Lua? - 5 months at least

    5)Do you know Sql? - I do

    6)Have you been in recent or past scripting teams? - No, I haven't

    6a)If so, Please list some of them. - N/A

    7)We are looking for advanced Lua Scripters, Show us your work.

    Here it is...
    NOTE: This is just one script I quickly found on my computer. This is definately not the extent of my Lua knowledge.

    Code:
    -- Prospector Sylvas Boss Script
    --
    -- Scripted by Alvanaar

    function Sylvas(Unit, Event)
    Unit:RegisterEvent("Sylvas_Say",25000, 0)
    end

    function Sylvas_Say(Unit, Event)
    local chance = math.random(1,4)
    if (chance == 1) then
    Unit:SendChatMessage(12, 0, "Keep on working, men.")
    end
    if (chance == 2) then
    Unit:Emote(412)
    Unit:SendChatMessage(14, 0, "Do not stop digging!")
    end
    if (chance == 3) then
    Unit:SendChatMessage(12, 0, "I can tell we are close to the ore...")
    end
    if (chance == 4) then
    Unit:SendChatMessage(14, 0, "Anyone that stops will be killed!")
    end
    end

    function Sylvas_OnCombat(Unit, Event)
    Unit:RemoveEvents()
    Player:PlaySoundToSet(11708) -- Boss fight music
    Unit:SendChatMessage(14, 0, "We are on a sctrict timetable, you will not interfere!")
    Player:PlaySoundToSet(11193) -- Boss says this
    Unit:RegisterEvent("Sylvas_Pummel", math.random(12000, 34000), 0)
    Unit:RegisterEvent("Sylvas_Enrage", 12000, 0)
    Unit:RegisterEvent("Sylvas_Stun", 17000, 0)
    Unit:RegisterEvent("Sylvas_Summon", 22000, 1)
    end

    function Sylvas_OnLeaveCombat(Unit, Event)
    Unit:RemoveEvents()
    end

    function Sylvas_OnDeath(Unit, Event, Player)
    Player:PlaySoundToSet(11200)
    Unit:SendChatMessage(12, 0, "The project will... continue...")
    Player:SendAreaTriggerMessage("Prospector Sylvas falls to the ground, defeated...")
    Player:SendBroadcastMessage("Prospector Sylvas falls to the ground, defeated...")
    Unit:RemoveEvents()
    end

    function Sylvas_OnKilledTarget(Unit, Event, Player)
    local chance = math.random(1,2)
    if (chance == 1) then
    Player:PlaySoundToSet(11194)
    Unit:SendChatMessage(12, 0, "A minor inconvenience.")
    end
    if (chance == 2) then
    Player:PlaySoundToSet(11195)
    Unit:SendChatMessage(12, 0, "Looks like you lose...")
    end
    end

    function Sylvas_Pummel(Unit, Event)
    Unit:FullCastSpellOnTarget(59344, target)
    end

    function Sylvas_Enrage(Unit, Event)
    Unit:CastSpell(42745)
    end

    function Sylvas_StunCaster(Unit, Event)
    Unit:FullCastSpellOnTarget(41468, Unit:GetRandomPlayer(4))
    end

    function Sylvas_Summon(Unit, Event)
    Unit:SendChatMessage(12, 0, "I need your assistance, soldiers!")
    Player:SendAreaTriggerMessage("Prospector Sylvas summons 2 soldiers!")
    Unit:SendChatMessage(ChatField.CHAT_MSG_MONSTER_EMOTE,LangField.LANG_UNIVERSAL,"Prospector Sylvas summons two soldiers")
    Unit:SpawnCreature(55556, 836.63, -105.3, 111.59, 2089, 105000)
    Unit:SpawnCreature(836.63, -112.16, 111.6, 2089, 105000)
    end


    RegisterUnitEvent(55555, 1, "Sylvas_OnCombat")
    RegisterUnitEvent(55555, 2, "Sylvas_OnLeaveCombat")
    RegisterUnitEvent(55555, 3, "Sylvas_OnKilledTarget")
    RegisterUnitEvent(55555, 4, "Sylvas_OnDeath")
    RegisterUnitEvent(55555, 18, "Sylvas")


    8)How and What are you able to do for AscendScripting? - I can script anything Lua allows me to script. Bosses, gameobjects, quests, and so on...

    9)Will you show dedication towards AscendScripting? - Yes, I definately will.

    10)Final Question:Do you know how to insert a Sql Code/Querie into your database from a Lua Script? - Yes:

    I was looking through the Lua Engine functions in the SVN and saw that the query commands are.
    Code:
    WorldQuery -- Performs query in the "world" database
    and
    CharacterQuery -- Performs query in the "characters" database

    I was also wondering if I could help develop the Lua engine. I know C++ and am pretty familiar with scripting Lua functions.

    Cheers,

    Ed


    Last edited by Alvanaar on Mon May 04, 2009 2:12 am; edited 1 time in total (Reason for editing : Typo)
    BrantX
    BrantX
    Leader and Developer of AscendScripting
    Leader and Developer of AscendScripting


    Posts : 16
    Join date : 2009-02-25
    Age : 29
    Location : Your Hardrive

    Alvanaar's Application Empty Re: Alvanaar's Application

    Post  BrantX Tue May 05, 2009 8:27 am

    Hi, your script and your application qualify.
    PM'd you on how you can commit to our SVN.

    Welcome to the AscendScripting Staff.
    avatar
    Alvanaar


    Posts : 2
    Join date : 2009-04-24

    Alvanaar's Application Empty Re: Alvanaar's Application

    Post  Alvanaar Thu May 07, 2009 5:02 am

    Thank you Smile

    Glad to be part of the team!

    Sponsored content


    Alvanaar's Application Empty Re: Alvanaar's Application

    Post  Sponsored content


      Current date/time is Thu May 09, 2024 5:40 am