Lua portal not working menu

User Tag List

Results 1 to 7 of 7
  1. #1
    Noobcraft's Avatar Member
    Reputation
    141
    Join Date
    Aug 2007
    Posts
    598
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lua portal not working

    hay i have just upgraded to arcemu 735 and i noticed my lua portals wont work im shure it has somthing to do with the lua commands change and the main problom it keeps saying is pMisc is null or somthing i feel like such a noob asking this but does anyone have a fix?


    Heres one of my scripts
    Code:
     
     
    function Teleporting_onUse (pUnit, Event, pMisc)
    pMisc:Teleport (0, -6585.97, -4326.79, 358.686)
    end
    RegisterGameObjectEvent (1100000, 2, "Teleporting_onUse")



    Lua portal not working
  2. #2
    EcHoEs's Avatar lol why u mad
    Reputation
    374
    Join Date
    Sep 2006
    Posts
    1,647
    Thanks G/R
    3/1
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Maybe you should try changing pMisc to pUnit? I don't know, it might work though.


  3. #3
    Noobcraft's Avatar Member
    Reputation
    141
    Join Date
    Aug 2007
    Posts
    598
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    bump<fillers



  4. #4
    Babbaa's Avatar Member
    Reputation
    32
    Join Date
    Nov 2007
    Posts
    206
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What I think is that "MAPID" can't be "0".
    That's what I've heard, it causes problems with the LUA.

    Try to change the MAPID, and see if it works.

    ~~ Babbaa

  5. #5
    Noobcraft's Avatar Member
    Reputation
    141
    Join Date
    Aug 2007
    Posts
    598
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Babbaa View Post
    What I think is that "MAPID" can't be "0".
    That's what I've heard, it causes problems with the LUA.

    Try to change the MAPID, and see if it works.

    ~~ Babbaa

    Well that wodent work at all....because then it would take me to a diffrent map.....



  6. #6
    Power of Illuminati's Avatar Contributor
    Reputation
    179
    Join Date
    May 2008
    Posts
    1,410
    Thanks G/R
    6/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    He asked it to see if the script worked at all, and if the '0' was giving the error.

  7. #7
    Noobcraft's Avatar Member
    Reputation
    141
    Join Date
    Aug 2007
    Posts
    598
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Power of Illuminati View Post
    He asked it to see if the script worked at all, and if the '0' was giving the error.
    Apparently it comes from pMisc



Similar Threads

  1. LUA script not working
    By Dz The Rage in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 04-04-2009, 09:26 PM
  2. LUA script not working
    By pedobear123 in forum World of Warcraft General
    Replies: 12
    Last Post: 09-01-2008, 09:38 AM
  3. [Help] Lua Script Not Working
    By Muruk in forum World of Warcraft Emulator Servers
    Replies: 26
    Last Post: 03-16-2008, 02:13 PM
  4. LUA portals not working
    By roguesownu in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 02-23-2008, 05:49 PM
  5. Simple Lua Script , not working need help!
    By Arugos in forum World of Warcraft Emulator Servers
    Replies: 16
    Last Post: 12-30-2007, 02:06 PM
All times are GMT -5. The time now is 07:10 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search