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

    Jokerofsouls Application

    jokerofsouls
    jokerofsouls
    Developer of AscendScripting
    Developer of AscendScripting


    Posts : 7
    Join date : 2009-02-27

    Jokerofsouls Application Empty Jokerofsouls Application

    Post  jokerofsouls Fri Feb 27, 2009 7:30 pm

    1)What is your Name

    Chris

    2)How old are you?

    16

    3)How long have you been working with Emulation?

    Allmost 2 years now

    4)How long have you been familiar with Lua?

    Yes i am familiar with lua.

    5)Do you know Sql?

    Razz yep

    6)Have you been in recent or past scripting teams?

    No teams i have been on yet

    6a)If so, Please list some of them.

    7)We are looking for advanced Lua Scripters, Show us your work.
    Ill just make a boss fast for this in less you need me to show you something i have all ready made.

    Code:
    function Jokerofsouls_OnCombat(pUnit, event)
    pUnit:SendChatMessage(14, 0, "Something something something")
    pUnit:RegisterEvent("Enrage", 600000, 1) -- Enrage Timer 6mins
    pUnit:RegisterEvent("Novas", 10000, 0) -- Does a frost nova or fire nova Every 10 Secs
    pUnit:RegisterEvent("Adds", 50000, 0) -- Summons adds after 50 secs of combat
    pUnit:RegisterEvent("HP", 5000, 1)
    end
    function Enrage(pUnit, event)
    pUnit:FullCastSpell(Number)
    end
    function Novas(pUnit, event)
    local Target = pUnit:GetMainTank()
    local Nova = math.random(1, 2)
    if Nova == 1 then
    pUnit:CastSpellOnTarget(Number, Target)
    elseif Nova == 2 then
    pUnit:CastSpellOnTarget(Number, Target)
    end
    end
    function Adds(pUnit, event)
    pUnit:SendChatMessage(14, 0, "Something something something")
    local x,y,x,o = pUnit:GetX(),pUnit:GetY(),pUnit:GetZ(),pUnit:GetO()
    pUnit:SpawnCrature(NpcName, x, y, z, o, 14, 0)
    pUnit:SpawnCrature(NpcName, x, y, z, o, 14, 0)
    end
    function HP(pUnit, event)
    local Target = pUnit:GetRandomPlayer(0)
    local hp = pUnit:GetHealthPct()
    if hp <= 30 then
    pUnit:FullCastSpellOnTarget(Number, Target)
    end
    end
    function Jokerofsouls_OnDeath(pUnit, event)
    pUnit:RemoveEvents()
    end
    function Jokerofsouls_OnLeaveCombat(pUnit, event)
    pUnit:RemoveEvents()
    end
    function Jokerofsouls_OnKillTarget(pUnit, event)
    pUnit:SendChatMessage(14, 0, "Something something something")
    pUnit:RemoveEvents()
    end

    RegisterUnitEvent(Number, 1, "Jokerofsouls_OnCombat")
    RegisterUnitEvent(Number, 2, "Jokerofsouls_OnLeaveCombat")
    RegisterUnitEvent(Number, 3, "Jokerofsouls_OnKillTarget")
    RegisterUnitEvent(Number, 4, "Jokerofsouls_OnDeath")

    8)How and What are you able to do for AscendScripting?

    Hopefully Script C++ soon and Do a lot of lua Very Happy

    9)Will you show dedication towards AscendScripting?

    Smile Yes i will i like the idea of this project and i want to keep it going.

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

    :PerformCharDBQuery()
    :PerformWorldDBQuery()
    BrantX
    BrantX
    Leader and Developer of AscendScripting
    Leader and Developer of AscendScripting


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

    Jokerofsouls Application Empty Re: Jokerofsouls Application

    Post  BrantX Fri Feb 27, 2009 7:59 pm

    jokerofsouls wrote:1)What is your Name

    Chris

    2)How old are you?

    16

    3)How long have you been working with Emulation?

    Allmost 2 years now

    4)How long have you been familiar with Lua?

    Yes i am familiar with lua.

    5)Do you know Sql?

    Razz yep

    6)Have you been in recent or past scripting teams?

    No teams i have been on yet

    6a)If so, Please list some of them.

    7)We are looking for advanced Lua Scripters, Show us your work.
    Ill just make a boss fast for this in less you need me to show you something i have all ready made.

    Code:
    function Jokerofsouls_OnCombat(pUnit, event)
    pUnit:SendChatMessage(14, 0, "Something something something")
    pUnit:RegisterEvent("Enrage", 600000, 1) -- Enrage Timer 6mins
    pUnit:RegisterEvent("Novas", 10000, 0) -- Does a frost nova or fire nova Every 10 Secs
    pUnit:RegisterEvent("Adds", 50000, 0) -- Summons adds after 50 secs of combat
    pUnit:RegisterEvent("HP", 5000, 1)
    end
    function Enrage(pUnit, event)
    pUnit:FullCastSpell(Number)
    end
    function Novas(pUnit, event)
    local Target = pUnit:GetMainTank()
    local Nova = math.random(1, 2)
    if Nova == 1 then
    pUnit:CastSpellOnTarget(Number, Target)
    elseif Nova == 2 then
    pUnit:CastSpellOnTarget(Number, Target)
    end
    end
    function Adds(pUnit, event)
    pUnit:SendChatMessage(14, 0, "Something something something")
    local x,y,x,o = pUnit:GetX(),pUnit:GetY(),pUnit:GetZ(),pUnit:GetO()
    pUnit:SpawnCrature(NpcName, x, y, z, o, 14, 0)
    pUnit:SpawnCrature(NpcName, x, y, z, o, 14, 0)
    end
    function HP(pUnit, event)
    local Target = pUnit:GetRandomPlayer(0)
    local hp = pUnit:GetHealthPct()
    if hp <= 30 then
    pUnit:FullCastSpellOnTarget(Number, Target)
    end
    end
    function Jokerofsouls_OnDeath(pUnit, event)
    pUnit:RemoveEvents()
    end
    function Jokerofsouls_OnLeaveCombat(pUnit, event)
    pUnit:RemoveEvents()
    end
    function Jokerofsouls_OnKillTarget(pUnit, event)
    pUnit:SendChatMessage(14, 0, "Something something something")
    pUnit:RemoveEvents()
    end

    RegisterUnitEvent(Number, 1, "Jokerofsouls_OnCombat")
    RegisterUnitEvent(Number, 2, "Jokerofsouls_OnLeaveCombat")
    RegisterUnitEvent(Number, 3, "Jokerofsouls_OnKillTarget")
    RegisterUnitEvent(Number, 4, "Jokerofsouls_OnDeath")

    8)How and What are you able to do for AscendScripting?

    Hopefully Script C++ soon and Do a lot of lua Very Happy

    9)Will you show dedication towards AscendScripting?

    Smile Yes i will i like the idea of this project and i want to keep it going.

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

    :PerformCharDBQuery()
    :PerformWorldDBQuery()

    Looks very, very, very good.
    We could use someone like you.
    Welcome to AscendScripting.
    jokerofsouls
    jokerofsouls
    Developer of AscendScripting
    Developer of AscendScripting


    Posts : 7
    Join date : 2009-02-27

    Jokerofsouls Application Empty Re: Jokerofsouls Application

    Post  jokerofsouls Fri Feb 27, 2009 8:00 pm

    O.O very very?

    Sponsored content


    Jokerofsouls Application Empty Re: Jokerofsouls Application

    Post  Sponsored content


      Current date/time is Mon May 20, 2024 6:22 am