Is this a WOTLK LUA Bug? menu

User Tag List

Results 1 to 3 of 3
  1. #1
    jinktreek's Avatar Member
    Reputation
    8
    Join Date
    Sep 2008
    Posts
    109
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Is this a WOTLK LUA Bug?

    Was just testing LUA on my newly compiled ArcEmu 3.0.3 server and I tried the "pUnit:SpawnCreature" command. Here was the function:
    Code:
    function Orcolase_OnCombat(pUnit, Event)
    pUnit:SendChatMessage(14, 0, "YOU SHALL NEVER ESCAPE MY WRATH")
    pUnit:CastSpell(48942)
    pUnit:SpawnCreature(6, 3388.770020, 2066.959961, 64.635696, 3.035560, 14, 10000000)
    end
    RegisterUnitEvent(1000001, 1, "Orcolase_OnCombat")
    Well, everything worked fine but, the Koblod Vermin spawned as a checkered box! I think this is occuring because when the Vermin spawns, Instead of entering the newly spawned creature into the "creature_Spawns" table, his spawn ID is left at 0. Corret me if i'm wrong but it looks like ArcEmu needs to fix that.
    Im not complaining, just pointing it out (and again, there may be something wrong with my script, thats why im posting it as a question)
    -thanks

    Is this a WOTLK LUA Bug?
  2. #2
    kranked_354's Avatar Member
    Reputation
    1
    Join Date
    Jan 2009
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Im not sure, but it may have an incorrect display id, or something wrong with your cache.
    Try deleting your cache file in WoW directory.
    If still error, try changing the display Id in creature_proto, Creature_names, creature_spawns.

    One of my old emu's had done that.

    PS, how do u like connect LUA to an NPC, i tried with my own teleporter but it just as if the .lua file wasnt even there.... my npc says the usual hey what can i do for u, but no teleporting buttons
    Last edited by kranked_354; 01-14-2009 at 11:21 PM.

  3. #3
    Blackboy0's Avatar Member
    Reputation
    70
    Join Date
    Nov 2007
    Posts
    377
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @Kranked
    RegisterUnitEvent(ENTRYID, #, "Function")
    Look here if you are still confused.

    @Jinktreek
    The Display ID of the Mob is wrong. It's either your DBC (you didn't extract the right ones) or that you accidentally changed the Kobold's Display ID to something that is concidered a Checkered Blue Box.

    About the Spawn ID: That is supposed to happen. Since the Mob is spawned via LuA Script, it is not permanent, so it will not be put into Creature_Spawns because any mob that goes in there is permanent and will respawn every ### seconds, or after every restart.

Similar Threads

  1. Is This Legit? Enabling Lua
    By nilum in forum World of Warcraft General
    Replies: 7
    Last Post: 06-05-2009, 02:29 PM
  2. [Workshop]Wotlk LUA scripting
    By Edude in forum WoW EMU General Releases
    Replies: 24
    Last Post: 11-23-2008, 05:48 PM
  3. [Wotlk] Shaman bug
    By Turkeyman in forum World of Warcraft Exploits
    Replies: 9
    Last Post: 09-21-2008, 09:24 AM
  4. Wotlk Exploit / bug section.
    By Parog in forum Suggestions
    Replies: 1
    Last Post: 08-27-2008, 02:59 PM
  5. Will this teleporter npc lua script work?
    By Bapes in forum World of Warcraft Emulator Servers
    Replies: 9
    Last Post: 05-22-2008, 11:50 AM
All times are GMT -5. The time now is 03:54 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