Script stops after a certain point? menu

User Tag List

Results 1 to 3 of 3
  1. #1
    Uppercutter's Avatar Sergeant
    Reputation
    1
    Join Date
    Apr 2011
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Script stops after a certain point?

    Hello, everything in my script goes flawless untill a certain point.. normally it would give an error in world.exe but it doesnt and I couldnt find a solution to this.

    Code:
    function TalkTalkTalk(pUnit, event)
    		Peter:SetHealth(1)
    		Peter:CastSpell(11)
    		Lady:ReturnToSpawnPoint()
                    Peter:RegisterEvent("MoreAndMoreTalk", 4000, 1)
    end
    
    -----------------Stops above and does not continue from here on.
    
    function MoreAndMoreTalk(pUnit, event)
    		Lady:ReturnToSpawnPoint()
    		Lady:SetOrientation(6.228371)
    		Lady:SendChatMessage(12, 0, "You failed, again!")
    		Lady:RegisterEvent("AndMoreTalk", 4000, 1)
    end
    Does anyone got any solutions? I have tried to registerevent without the ""s but it still doesnt work

    Script stops after a certain point?
  2. #2
    newtech's Avatar Active Member
    Reputation
    57
    Join Date
    Aug 2008
    Posts
    308
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, this is an old bug with the LuaHypArc engine.... You cannot register events inside a Gossip event. What you could do is making a variable in the top and set it to false, and when it should keep talking, it should set the variable to true instead of registering the next event. THe "MoreAndMoreTalk" should just be checked by a "RegisterTimedEvent" now and then.
    Sorry about how bad this has to be made, but that is one of the insecure parts about Lua <_> Hope it helps anyway

    Thanks
    Newtech
    LuaHypArc Lua scripter - 3.3.5a World Builder.

  3. #3
    William88's Avatar Private
    Reputation
    1
    Join Date
    Feb 2012
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Dot damage is calculated each tick; switching from high spellpower to lower spellpower will make the next tick lower.
    Switching proc items starts the ICD - so if you have an item with an ICD of 120s and you equip it, the first proc can only occur after 120s. Also switching weapons during combat gives you one GCD and resets your swingtimer.
    Last edited by William88; 02-13-2012 at 08:18 PM.

Similar Threads

  1. Replies: 9
    Last Post: 08-21-2012, 02:03 PM
  2. Help C++ Script (after fix Release lol)
    By mager1794 in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 07-10-2008, 07:51 AM
  3. Level Script = No Talent Points!
    By Stabatha in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 05-09-2008, 03:04 AM
  4. [GM Scripting] Making a npc Talk at a % of Health Points
    By Illidan1 in forum WoW EMU Guides & Tutorials
    Replies: 10
    Last Post: 11-10-2007, 06:34 PM
  5. Keeping combo points after using SnD
    By Cloud in forum World of Warcraft Exploits
    Replies: 7
    Last Post: 08-14-2006, 08:15 PM
All times are GMT -5. The time now is 07:46 PM. 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