[HELP] My script dosnt work =( +rep for help menu

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 25 of 25
  1. #16
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    traxxas: You don't register the Phase1 event in the Combat function. You need to add this:
    function Traxxas_OnCombat(Unit)
    Unit:CastSpell(41431)
    Unit:SendChatMessage(11, 0, "Think u can kill me ? well u can try!")
    Unit:RegisterEvent("Traxxas_Phase1",1000, 0)
    end

    [HELP] My script dosnt work =( +rep for help
  2. #17
    Knife's Avatar Member
    Reputation
    44
    Join Date
    Dec 2007
    Posts
    254
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Vivo its almost fixed, il pm you the script, but not right now cuz i must write my homeworks
    Use the "Search" Button, its not hard
    +RepEveryone who helps and contributes


  3. #18
    Summer's Avatar Active Member
    Reputation
    16
    Join Date
    Sep 2007
    Posts
    308
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [HELP] Portal.lua script

    Can some one help me whit this ? all my lua portal's port to the same place :S


    Code:
    function Teleporting_onUse (pUnit, Event, pMisc)
    pMisc:Teleport (1, 2480.417725, 1431.703003, 262.921997)
    end
    RegisterGameObjectEvent (2000004, 2, "Teleporting_onUse")


    Code:
    function Teleporting_onUse (pUnit, Event, pMisc)
    pMisc:Teleport (0, -7606.652832, -784.673767, 195.250214)
    end
    RegisterGameObjectEvent (2000005, 2, "Teleporting_onUse")
    Code:
    function Teleporting_onUse (pUnit, Event, pMisc)
    pMisc:Teleport (1, 5961.000000, -1212.900024, 380.231995)
    end
    RegisterGameObjectEvent (2000003, 2, "Teleporting_onUse")

    Code:
    function Teleporting_onUse (pUnit, Event, pMisc)
    pMisc:Teleport (1, 4615.02, -3858.68, 944.155)
    end
    RegisterGameObjectEvent (2000000, 2, "Teleporting_onUse")

    every one of them ís portaling to the same place why ?

  4. #19
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Since you're using the same function name for all of them

  5. #20
    b!atch's Avatar Member
    Reputation
    118
    Join Date
    Oct 2007
    Posts
    726
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ey ppl, I wonder why my npc "Snowman" is casting the same as my npc "Satan" The "Snowman" Script is totally different from the "Satan" Script, Think you could help me? Here is the 2 scripts, Snowman first, (lua)

    function phase_1(pUnit, Event)
    if pUnit:GetHealthPct() < 80 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(35964)
    pUnit:RegisterEvent("phase_2",1000, 0)
    end
    end


    function Boss_Phase1(Unit, event)
    if Unit:GetHealthPct() < 78 then
    Unit:CastSpell(35964)
    Unit:RegisterEvent("Boss_Nova",10000, 0)
    end
    end


    function phase_3(pUnit, Event)
    if pUnit:GetHealthPct() < 76 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(31250)
    pUnit:FullCastSpell(31250)
    pUnit:FullCastSpell(31250)
    pUnit:FullCastSpell(31250)
    pUnit:RegisterEvent("phase_4",1000, 0)
    end
    end

    function phase_4(pUnit, Event)
    if pUnit:GetHealthPct() < 74 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(31250)
    pUnit:FullCastSpell(31250)
    pUnit:FullCastSpell(31250)
    pUnit:FullCastSpell(31250)
    pUnit:RegisterEvent("phase_5",1000, 0)
    end
    end

    function phase_5(pUnit, Event)
    if pUnit:GetHealthPct() < 72 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(31250)
    pUnit:FullCastSpell(31250)
    pUnit:FullCastSpell(31250)
    pUnit:FullCastSpell(31250)
    pUnit:RegisterEvent("phase_6",1000, 0)
    end
    end

    function phase_6(pUnit, Event)
    if pUnit:GetHealthPct() < 68 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(31250)
    pUnit:FullCastSpell(31250)
    pUnit:FullCastSpell(31250)
    pUnit:FullCastSpell(31250)
    pUnit:RegisterEvent("phase_7",1000, 0)
    end
    end

    function phase_7(pUnit, Event)
    if pUnit:GetHealthPct() < 63 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(31250)
    pUnit:FullCastSpell(31250)
    pUnit:FullCastSpell(31250)
    pUnit:FullCastSpell(31250)
    pUnit:RegisterEvent("phase_8",1000, 0)
    end
    end

    function phase_8(pUnit, Event)
    if pUnit:GetHealthPct() < 59 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(31250)
    pUnit:FullCastSpell(31250)
    pUnit:FullCastSpell(31250)
    pUnit:FullCastSpell(31250)
    pUnit:RegisterEvent("phase_9",1000, 0)
    end
    end

    function phase_9(pUnit, Event)
    if pUnit:GetHealthPct() < 55 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(31250)
    pUnit:FullCastSpell(31250)
    pUnit:FullCastSpell(31250)
    pUnit:FullCastSpell(31250)
    pUnit:RegisterEvent("phase_10",1000, 0)
    end
    end

    function phase_10(pUnit, Event)
    if pUnit:GetHealthPct() < 40 then
    pUnit:FullCastSpell(31250)
    pUnit:RemoveEvents();
    end
    end

    function phase_11(pUnit, Event)
    if pUnit:GetHealthPct() < 35 then
    pUnit:FullCastSpell(31250)
    pUnit:RemoveEvents();
    end
    end

    function phase_12(pUnit, Event)
    if pUnit:GetHealthPct() < 30 then
    pUnit:FullCastSpell(31250)
    pUnit:RemoveEvents();
    end
    end

    function Phase_13(Unit, event)
    if Unit:GetHealthPct() < 20 then
    Unit:RemoveEvents()
    Unit:CastSpell(36989)
    Unit:SendChatMessage(12, 0, "I will not melt!")
    end
    end


    function phase_14(pUnit, Event)
    if pUnit:GetHealthPct() < 10 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(43427)
    end
    end

    function boss_start(pUnit, Event)
    pUnit:RegisterEvent("phase_1",1000, 0)
    end
    RegisterUnitEvent(9583484, 1, "boss_start")
    Satan here

    function phase_1(pUnit, Event)
    if pUnit:GetHealthPct() < 80 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(35132)
    pUnit:RegisterEvent("phase_2",1000, 0)
    end
    end

    function phase_2(pUnit, Event)
    if pUnit:GetHealthPct() < 79 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(35132)
    pUnit:RegisterEvent("phase_3",1000, 0)
    end
    end

    function phase_3(pUnit, Event)
    if pUnit:GetHealthPct() < 78 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(43529)
    pUnit:RegisterEvent("phase_4",1000, 0)
    end
    end

    function phase_4(pUnit, Event)
    if pUnit:GetHealthPct() < 75 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(35132)
    pUnit:RegisterEvent("phase_5",1000, 0)
    end
    end

    function phase_5(pUnit, Event)
    if pUnit:GetHealthPct() < 71 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(30330)
    pUnit:RegisterEvent("phase_6",1000, 0)
    end
    end

    function phase_6(pUnit, Event)
    if pUnit:GetHealthPct() < 68 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(43529)
    pUnit:RegisterEvent("phase_7",1000, 0)
    end
    end

    function phase_7(pUnit, Event)
    if pUnit:GetHealthPct() < 65 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(37289)
    pUnit:RegisterEvent("phase_8",1000, 0)
    end
    end

    function phase_8(pUnit, Event)
    if pUnit:GetHealthPct() < 63 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(37289)
    pUnit:RegisterEvent("phase_9",1000, 0)
    end
    end

    function phase_9(pUnit, Event)
    if pUnit:GetHealthPct() < 60 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(43529)
    pUnit:RegisterEvent("phase_10",1000, 0)
    end
    end

    function phase_10(pUnit, Event)
    if pUnit:GetHealthPct() < 58 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(43529)
    pUnit:RegisterEvent("phase_11",1000, 0)
    end
    end

    function phase_11(pUnit, Event)
    if pUnit:GetHealthPct() < 55 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(23331)
    pUnit:RegisterEvent("phase_12",1000, 0)
    end
    end

    function phase_12(pUnit, Event)
    if pUnit:GetHealthPct() < 54 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(23331)
    pUnit:RegisterEvent("phase_13",1000, 0)
    end
    end

    function phase_13(pUnit, Event)
    if pUnit:GetHealthPct() < 53 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(35132)
    pUnit:RegisterEvent("phase_14",1000, 0)
    end
    end

    function phase_14(pUnit, Event)
    if pUnit:GetHealthPct() < 52 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(35132)
    pUnit:RegisterEvent("phase_15",1000, 0)
    end
    end

    function phase_15(pUnit, Event)
    if pUnit:GetHealthPct() < 50 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(35132)
    pUnit:RegisterEvent("phase_16",1000, 0)
    end
    end

    function phase_16(pUnit, Event)
    if pUnit:GetHealthPct() < 46 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(35132)
    pUnit:RegisterEvent("phase_17",1000, 0)
    end
    end

    function phase_17(pUnit, Event)
    if pUnit:GetHealthPct() < 40 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(35132)
    pUnit:RegisterEvent("phase_18",1000, 0)
    end
    end

    function phase_18(pUnit, Event)
    if pUnit:GetHealthPct() < 35 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(35132)
    pUnit:RegisterEvent("phase_19",1000, 0)
    end
    end

    function phase_19(pUnit, Event)
    if pUnit:GetHealthPct() < 30 then
    pUnit:SpawnCreature(1000009)
    pUnit:SpawnCreature(16805)
    pUnit:SpawnCreature(16805)
    pUnit:SpawnCreature(16805)
    pUnit:SpawnCreature(16805)
    pUnit:SpawnCreature(16805)
    pUnit:SpawnCreature(16805)
    pUnit:SpawnCreature(16805)
    pUnit:SpawnCreature(16805)
    pUnit:RemoveEvents();
    pUnit:RegisterEvent("phase_20",1000, 0)
    end
    end

    function boss_start(pUnit, Event)
    pUnit:RegisterEvent("phase_1",1000, 0)
    end
    RegisterUnitEvent(1000011, 1, "boss_start")

  6. #21
    b!atch's Avatar Member
    Reputation
    118
    Join Date
    Oct 2007
    Posts
    726
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    +rep if you help me, btw when i get them working ill upload them here for u guys;> the boss+script

  7. #22
    Summer's Avatar Active Member
    Reputation
    16
    Join Date
    Sep 2007
    Posts
    308
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ah dident think of that thx

  8. #23
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    b!atch: Since you're using the same function names for both of them :P

  9. #24
    b!atch's Avatar Member
    Reputation
    118
    Join Date
    Oct 2007
    Posts
    726
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    omg doh;o punish me master! anyways, rep for ya.. and, is there any way to get a registrations key for navicat without having a netbank+a credit card? becouse i have a credit card.. but not a netbank.. would be even better if i didnt have to pay at all.. sux to have a private server when i cant add queries becouse my trial ran out >.<

  10. #25
    ~ViVo~'s Avatar Banned
    Reputation
    52
    Join Date
    Feb 2008
    Posts
    560
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    TY knife.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [HELP] Crazy stretched model error! (+rep for working answer)
    By linkfreak64 in forum WoW ME Questions and Requests
    Replies: 6
    Last Post: 12-13-2009, 10:25 AM
  2. Script for spawning npc? +rep for who helps
    By lethalllama in forum WoW EMU Questions & Requests
    Replies: 7
    Last Post: 08-23-2008, 02:35 AM
  3. [Help] ArcEmu problem. +rep for help that works
    By Etzzhy in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 07-08-2008, 05:38 AM
  4. [HELP] Scripting +rep for help
    By Summer in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 02-13-2008, 09:30 PM
  5. Replies: 10
    Last Post: 05-07-2007, 01:16 PM
All times are GMT -5. The time now is 12:12 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search