[Issue] Lua Portals again. menu

User Tag List

Results 1 to 13 of 13
  1. #1
    ~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)

    [Issue] Lua Portals again.

    I can make the lua portal. It spawns.. I click. Nothing happens.
    Code:
    function Teleporting_onUse (pUnit, Event, pMisc)
    pMisc:Teleport (1, 4615.02, -3858.68, 944.155)
    end
    RegisterGameObjectEvent (19875, 2, "Teleporting_onUse")
    I really don't want to resort to using my Teleport_coords.
    +Rep

    [Issue] Lua Portals again.
  2. #2
    shadeypwns's Avatar Member
    Reputation
    4
    Join Date
    Sep 2007
    Posts
    71
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've never been able to get lua portals to work, whether it's the problem with the "old" spell or simply nothing happens, they've never worked for me. There's a really nice program that makes portals in sql format, and those always work. It takes an old spell from your database and changes the coordinates of it to wherever you want.

    The portal program was made by sipex, here's the link - Filebeam - Free Fast File Hosting
    The password is - mmowned

    Zalthorianwow.podzone.org

  3. #3
    ~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)
    I know that, but theres only so many teleport_coords.. lol

  4. #4
    shadeypwns's Avatar Member
    Reputation
    4
    Join Date
    Sep 2007
    Posts
    71
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes that's true, I wish I could help you with the LUA version.

    Actually I just had a thought, somewhere deep in the Ascent-world.conf file, there's a section that modifies whether it reads lua scripts or not, it's default is 0, so maybe if you turned that to 1 it would activate the lua script and your portal would actually do something when you clicked it. Hope this works!

    Zalthorianwow.podzone.org

  5. #5
    ~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)
    1 is on.. 0 = off.
    I knew about that long ago.
    Like I said, The portal spawns, but doesn't port. :/

  6. #6
    jordash's Avatar Member
    Reputation
    22
    Join Date
    Nov 2007
    Posts
    158
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    function Teleporting_OnUse(pGameObject, event, pMisc)
    pMisc:Teleport(1, 4615.02, -3858.68, 944.155)
    end
    
    +RegisterGameObjectEvent(19875, 2, "Teleporting_OnUse")
    Try this, and if this doesn't work use Sipex's portal creator off ascent forums. Also don't forget to restart your server and clear your cache (maybe not cache).


  7. #7
    shadeypwns's Avatar Member
    Reputation
    4
    Join Date
    Sep 2007
    Posts
    71
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The sipex portal creator does have an option to make LUA portals, which might help you out.

    Zalthorianwow.podzone.org

  8. #8
    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)
    Take a look on the console when it loads the LUAs, check if any error pops up, or if any error pops when you try to use it.

  9. #9
    ~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)
    Theres my problem now..
    Now theres a new error..
    No console..
    Check my error thread.

  10. #10
    flat-down's Avatar Member
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    15
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here's a simple answer, I had the exact same problem, I checked the co-ordinates in-game by doing .gps I had them slightly wrong. I changed them... now my Portal reads
    function Teleporting_onUse (pUnit, Event, pMisc)
    pMisc:Teleport (1, 4615.02, -3858.68, 944.155)
    end
    RegisterGameObjectEvent (2000000, 22, "Teleporting_onUse")
    Easy, works to. hope this helps... try mine if not and see if it works for you too, if it does, just modify it to your co-ords.. btw, the
    RegisterGameObjectEvent (2000000, 22, "Teleporting_onUse")
    needs to be 22, not 2...

    Hope this works
    Last edited by flat-down; 04-12-2008 at 11:40 PM.

  11. #11
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Let me see the SQL for your gameobject
    Life Puzzler WoW - Website | Forums

  12. #12
    ~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)
    I fixed it.. this post is OOD

  13. #13
    reyintazmaster's Avatar Member
    Reputation
    1
    Join Date
    Nov 2007
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Its an old thread I know, and I'm got a low rank here.

    But I'm have this problem too, that I cant get the lua to work

    I checked for errors when the server starts up, no errors

    I got a portal as you had before, but you cant use it.

    You said your fixed it, and I think it would be awsome if you could share how you fixed it.

    Btw, here is my lua for my portal
    Code:
    function hordeMall(pGameObject, Event, pMisc)
          pMisc:Teleport(0, 1289.492920, 314.70111, -57.320789)
    end
    
    RegisterUnitEvent(1234567891, 22, "hordeMall")

Similar Threads

  1. [Guide] LUA Portals
    By Gastricpenguin in forum WoW EMU Guides & Tutorials
    Replies: 83
    Last Post: 08-27-2008, 11:17 PM
  2. Lua Portal [Issue]
    By God-Of-War in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 07-05-2008, 07:48 AM
  3. help .lua portal
    By Tom_2001 in forum World of Warcraft Emulator Servers
    Replies: 12
    Last Post: 01-26-2008, 11:14 AM
  4. help .lua portal help
    By Tom_2001 in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 01-24-2008, 03:21 PM
  5. .Lua portal problem
    By Kiev in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 01-12-2008, 10:49 AM
All times are GMT -5. The time now is 06:19 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