[GUIDE][NOOB-FRIENDLY]No Spell Replace: How to Make LUA Portals! menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    sasoritail's Avatar Contributor
    Reputation
    161
    Join Date
    Sep 2008
    Posts
    655
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [GUIDE][NOOB-FRIENDLY]No Spell Replace: How to Make LUA Portals!

    Hello Guys and Welcome to my Guide on how to make custom portals without replacing spells!

    If This is a Repost then Comment and place the link in it. I will remove the threath if so.

    UPDATE: PICTURES!

    I will show u step by step. Ok Let's Start!

    Step 1:
    Go into your Database with HeidiSQL, Navicat or any program u use.



    Step 2:
    Go to the table named: Gameobject_names.


    Step 3:
    Make a new row by clicking on the "+" sign and start filling out:

    Code:
    Entry - EntryID of the Gameobject/ Spawn ID
    
    Type - This will be the Type of the Object. Since it's gonna be a portal use value "22"
    
    Displayid - This will be the display of the Portal. A list of Displayids of portals will be added underneath.
    
    Name - This is the name of your portal. Use whatever u want. example:
    Portal to Shopping Mall
    
    spellfocus - leave at 0
    
    Sound1 to Sound9 - Leave at 0
    
    Unknown1 to Unknown14 - Leave at 0.


    Click on the little Check mark to save the new object.



    Now for the Displayid List of portal displays:
    Code:
    ~~~~~Neutral + Special~~~~~
    
    Shattrath - 7146
    Inner Maurdon - 5231
    Karazhan - 6831
    Exodar - 6955
    Dalaran - 8111
    Sholazar Basin - 5231
    Archeus/Death Knight - 8046
    Lake Wintergrasp - 8506
    Upper Naxxanar - 1327
    Temple City - 1327
    The Purple Parlor - 8111
    The Violet Citadel - 8111
    
    ~~~~~Horde Cities~~~~~
    
    Silvermoon - 6956
    Undercity - 4398
    Thunder Bluff - 4397
    Orgrimmar - 4395
    
    ~~~~~Alliance Cities~~~~~
    
    Darnassus - 4393
    Ironforge - 4394
    Stormwind - 4396


    Ok That was the First Part of the Guide.
    Now For the LUA.


    [SIZE="3"]Step 1:
    Open Up Notepad.
    Then Write in this little Code.

    Code:
    function TELEPORTNAME_onUse (pUnit, Event, pMisc)
    pMisc:Teleport (MAPID, X, Y, Z)
    end
    
    RegisterGameObjectEvent (EntryID ,4, "TELEPORTNAME_onUse")
    Step 2:
    Replace the Highlited Text with your info!
    To get MapID, X, Y, Z go into ur server and use ,gps where u want the portal to go.
    First Replace MapID, X, Y and Z with cordinates from in-game.
    Then Change all the TELEPORTNAME with the name of the Teleport like TeleportOrg. You can have whatever u want
    Change entryid to the entryid of the Portal. This will mean the spawn ID.
    Start up by opening the server, go to the place u want the portal to teleport to. Use the GM command: .gps
    Now alot of numbers will pop up. Write them into the LUA and replace the MapID, X-Cordinate, Y-Cordinate and Z-Cordinate with theese numbers.
    Then Replace the "EntryID" with ur Object's Spawn/EntryID.


    Step 3:
    Now your gonna save the file. Follow this step and take a close look!
    First save-as.
    Then find your destination. DONT CLICK SAVE YET!
    First do like i do in the picture: Change the TXT thing on the bottom to "All Files"



    Step 4:
    DONT CLICK SAVE YET!
    First write in more behind the name of the file. Example:
    portal.lua

    REMEMBER THE .lua
    Do it like on the pic.



    Step 5:
    Save the file.
    Now open up ur server folder.
    Then find the folder names "scripts"
    If u dont have one, then make one.
    Now place the LUA file inside the "scripts" folder.
    Your Almost Done!


    Step 6:
    Open Up your world.conf file in Notepad.
    Click the Key Combo: CTRL + F
    Search for <ScriptBackends LUA=
    Now if it looks like this:
    <ScriptBackends LUA="0"
    Then its wrong.
    If its like this:
    <ScriptBackends LUA="1"
    Then its ok and u dont have to change it.
    If u got it with "0" then change 0 to 1.
    Like in this pic from my config i have changed to 1.



    NOW YOUR ALL DONE!
    I hope this works for you and if you need help Comment and i will answer as fast as i can


    CYA!

    Hope this helped.

    Credits:
    Snagit - For screenshots
    ArcEmu/ascent - For Emulator
    HeidiSQL/Navicat/SQLyog/whatever - For Database Editing
    Microsoft - For PC and Notepad.
    MMowned - FOR AWESOMME FORUM!!!
    Last edited by sasoritail; 02-14-2009 at 05:52 PM.
    It's been a while

    [GUIDE][NOOB-FRIENDLY]No Spell Replace: How to Make LUA Portals!
  2. #2
    sasoritail's Avatar Contributor
    Reputation
    161
    Join Date
    Sep 2008
    Posts
    655
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    10 Views and no reply

    Sorry Double Post
    It's been a while

  3. #3
    makis5's Avatar Member
    Reputation
    2
    Join Date
    Sep 2008
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Good thanks!! +rep

  4. #4
    sasoritail's Avatar Contributor
    Reputation
    161
    Join Date
    Sep 2008
    Posts
    655
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by makis5 View Post
    Good thanks!! +rep

    Np.
    Thx for the feedback
    It's been a while

  5. #5
    alj03's Avatar Contributor
    Reputation
    91
    Join Date
    Feb 2008
    Posts
    1,103
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yay for Pics :P +Rep!

    Edit: Got to wait.
    Death to all but Metal.

  6. #6
    sasoritail's Avatar Contributor
    Reputation
    161
    Join Date
    Sep 2008
    Posts
    655
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by alj03 View Post
    Yay for Pics :P +Rep!

    Edit: Got to wait.
    lol ty!
    It took some time to take all the pictures
    It's been a while

  7. #7
    elliotps932's Avatar Active Member
    Reputation
    27
    Join Date
    May 2007
    Posts
    149
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by sasoritail View Post
    hello guys and welcome to my guide on how to make custom portals without replacing spells!

    if this is a repost then comment and place the link in it. I will remove the threath if so.

    update: Pictures!

    i will show u step by step. Ok let's start!

    step 1:
    Go into your database with heidisql, navicat or any program u use.



    step 2:
    Go to the table named: Gameobject_names.


    step 3:
    Make a new row by clicking on the "+" sign and start filling out:

    Code:
    entry - entryid of the gameobject/ spawn id
    
    type - this will be the type of the object. Since it's gonna be a portal use value "22"
    
    displayid - this will be the display of the portal. A list of displayids of portals will be added underneath.
    
    Name - this is the name of your portal. Use whatever u want. Example:
    Portal to shopping mall
    
    spellfocus - leave at 0
    
    sound1 to sound9 - leave at 0
    
    unknown1 to unknown14 - leave at 0.


    click on the little check mark to save the new object.



    now for the displayid list of portal displays:
    Code:
    ~~~~~neutral + special~~~~~
    
    shattrath - 7146
    inner maurdon - 5231
    karazhan - 6831
    exodar - 6955
    dalaran - 8111
    sholazar basin - 5231
    archeus/death knight - 8046
    lake wintergrasp - 8506
    upper naxxanar - 1327
    temple city - 1327
    the purple parlor - 8111
    the violet citadel - 8111
    
    ~~~~~horde cities~~~~~
    
    silvermoon - 6956
    undercity - 4398
    thunder bluff - 4397
    orgrimmar - 4395
    
    ~~~~~alliance cities~~~~~
    
    darnassus - 4393
    ironforge - 4394
    stormwind - 4396


    ok that was the first part of the guide.
    Now for the lua.


    step 1:
    Open up notepad.
    Then write in this little code.

    Code:
    function teleporting_onuse (punit, event, pmisc)
    pmisc:teleport (mapid, x-cordinate, y-cordinate, z-cordinate)
    end
    registergameobjectevent (entryid, 2, 'teleporting_onuse')
    step 2:
    Replace the highlited text with your info!
    First replace mapid, x-cordinate, y-cordinate and z-cordinate with cordinates from in-game.
    Start up by opening the server, go to the place u want the portal to teleport to. Use the gm command: .gps
    now alot of numbers will pop up. Write them into the lua and replace the mapid, x-cordinate, y-cordinate and z-cordinate with theese numbers.
    Then replace the "entryid" with ur object's spawn/entryid.


    step 3:
    Now your gonna save the file. Follow this step and take a close look!
    First save-as.
    Then find your destination. Dont click save yet!
    First do like i do in the picture: Change the txt thing on the bottom to "all files"



    step 4:
    Dont click save yet!
    First write in more behind the name of the file. Example:
    Portal.lua

    remember the .lua
    do it like on the pic.



    step 5:
    Save the file.
    Now open up ur server folder.
    Then find the folder names "scripts"
    if u dont have one, then make one.
    Now place the lua file inside the "scripts" folder.
    Your almost done!


    step 6:
    Open up your world.conf file in notepad.
    Click the key combo: Ctrl + f
    search for <scriptbackends lua=
    now if it looks like this:
    <scriptbackends lua="0"
    then its wrong.
    If its like this:
    <scriptbackends lua="1"
    then its ok and u dont have to change it.
    If u got it with "0" then change 0 to 1.
    Like in this pic from my config i have changed to 1.



    now your all done!
    I hope this works for you and if you need help comment and i will answer as fast as i can :d


    cya!

    hope this helped.

    Credits:
    Snagit - for screenshots
    arcemu/ascent - for emulator
    heidisql/navicat/sqlyog/whatever - for database editing
    microsoft - for pc and notepad.
    Mmowned - for awesomme forum!!!
    awesome post

  8. #8
    svedin's Avatar Contributor
    Reputation
    124
    Join Date
    Jun 2008
    Posts
    557
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice guide ^^

  9. #9
    sasoritail's Avatar Contributor
    Reputation
    161
    Join Date
    Sep 2008
    Posts
    655
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    TY all for really nice feedback
    Remember one thing:

    If ur gonna make more than one LUA portal use 10 Gameobject spaces from each other so it wont affect any other GameObject's like this:

    Making a GO Entry: 12340
    Making the LUA portal: 12341

    The LUA file will affect the Gameobject if it's too close to each other.
    So i reccommend doing like this:

    GO Entry: 12340
    LUA Portal: 12350

    Thats just a tip!

    It's been a while

  10. #10
    sasoritail's Avatar Contributor
    Reputation
    161
    Join Date
    Sep 2008
    Posts
    655
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    57 Views and 8 Replies
    It's been a while

  11. #11
    Dagonath's Avatar Member
    Reputation
    1
    Join Date
    Feb 2009
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Unfortunately this didn't work. I did everything exactly by the guide. I summoned the portal and when I click on it, it shows casting bar on what it says "World of Recall (OLD)" and it casts it 10 sec and does nothing.

    Anybody know what's the problem?

  12. #12
    sasoritail's Avatar Contributor
    Reputation
    161
    Join Date
    Sep 2008
    Posts
    655
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Dagonath View Post
    Unfortunately this didn't work. I did everything exactly by the guide. I summoned the portal and when I click on it, it shows casting bar on what it says "World of Recall (OLD)" and it casts it 10 sec and does nothing.

    Anybody know what's the problem?
    What Repack do u use?
    It's been a while

  13. #13
    CimSlunt's Avatar Contributor Authenticator enabled
    Reputation
    154
    Join Date
    Nov 2008
    Posts
    691
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I got the same problem using someone elses SQL for a portal.

  14. #14
    sasoritail's Avatar Contributor
    Reputation
    161
    Join Date
    Sep 2008
    Posts
    655
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    UPDATE!
    Updated for 3.0.3 Scripts!
    It's been a while

  15. #15
    dBloc's Avatar Member
    Reputation
    10
    Join Date
    May 2007
    Posts
    22
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    God sent post, it took me over 2 hours to find a guide that actually worked, looking for your name for now on on guides

    Keep up the great work, 2+Rep

Page 1 of 2 12 LastLast

Similar Threads

  1. [Guide] Noob-friendly Title and Creature changing Guides
    By Loteeh in forum WoW ME Tools & Guides
    Replies: 10
    Last Post: 12-26-2010, 11:24 PM
  2. [GUIDE][NOOB FRIENDLY] How to Update Ur Server To Patch 3.X.X!
    By sasoritail in forum WoW EMU Guides & Tutorials
    Replies: 71
    Last Post: 04-28-2009, 12:18 PM
  3. [GUIDE][NOOB FRIENDLY] How To Add NPC L00t
    By sasoritail in forum WoW EMU Guides & Tutorials
    Replies: 9
    Last Post: 04-03-2009, 01:05 AM
  4. [Guide] How to make LUA portals easy and noobie too!
    By Ellenor in forum WoW EMU Guides & Tutorials
    Replies: 15
    Last Post: 03-05-2008, 09:10 PM
All times are GMT -5. The time now is 08:45 AM. 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