[Mangos] Custom portals are locked. menu

User Tag List

Results 1 to 10 of 10
  1. #1
    bobbafett's Avatar Member
    Reputation
    7
    Join Date
    Mar 2009
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Mangos] Custom portals are locked.

    Hello.

    Recently, i complied mangos (rev. 7442, UDB rev. 368, ScriptDev2 rev. 901) and started playing around with it.
    I wanted to make some custom portals, and looked around for any guides, none worked.
    Some hours later, after toddling around with the database, i started creating a php script to make it easier for everyone, including myself, to make portals.
    It took quite some time, but i got it working.

    When i spawn a portal, it looks fine at first.
    However, when i click it, nothing happens.
    Then, under the name of the portal, it writes "Locked".
    I have searched an endless number of forums and websites, and didn't find any sollution.

    The query i executed on my database looks like this:
    Code:
    insert into `spell_target_position` (`id`, `target_map`, `target_position_x`, `target_position_y`, `target_position_z`, `target_orientation`) values('400000','0','10000.00000','10000.00000','10000.00000','1.00');
    
    insert into `gameobject_template` (`entry`, `type`, `displayId`, `name`, `castBarCaption`, `faction`, `flags`, `size`, `data0`, `data1`, `data2`, `data3`, `data4`, `data5`, `data6`, `data7`, `data8`, `data9`, `data10`, `data11`, `data12`, `data13`, `data14`, `data15`, `data16`, `data17`, `data18`, `data19`, `data20`, `data21`, `data22`, `data23`, `ScriptName`) values('400000','22','4393','Portal name.','','1732','0','1','400000','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','');
    I have tried to change the faction id to "0", as that was the faction used for the portal to Quel'Danas (i thought it was locked to one faction), didn't work.

    Maybe i've just missed something very simple, and any point in the right direction would be very appreciated

    Jacob.

    [Mangos] Custom portals are locked.
  2. #2
    hingxxwing's Avatar Member
    Reputation
    3
    Join Date
    Jul 2008
    Posts
    97
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try, Going into server, Go near portal..

    Type .gob select (Not sure if its write command for mangos)

    Then .gob activate.

    I'm 80% sure im wrong tho.

  3. #3
    bobbafett's Avatar Member
    Reputation
    7
    Join Date
    Mar 2009
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay, thank you.
    I'll try that.

  4. #4
    Dythzer's Avatar Contributor
    Reputation
    271
    Join Date
    May 2008
    Posts
    461
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    "Worldofchaosps" posted a solution here:
    http://www.mmowned.com/forums/mangos...ml#post1413629

    Originally Posted by Worldofchaosps View Post
    Find your portal in your DB under gobject_template, once you find it scroll over to where is says "data 2" there should be a 1 there change it to a 0 and restart server should be fixed now

  5. #5
    bobbafett's Avatar Member
    Reputation
    7
    Join Date
    Mar 2009
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry, none of them worked.
    Those commands aren't there on my revision of mangos, and "data 2" was allready set to 0.

    Thanks for your tries anyways.
    More good ideas?

  6. #6
    Ghostday's Avatar Active Member
    Reputation
    15
    Join Date
    Feb 2009
    Posts
    63
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm.. im confused lol

  7. #7
    bobbafett's Avatar Member
    Reputation
    7
    Join Date
    Mar 2009
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Was that relevant?

  8. #8
    bobbafett's Avatar Member
    Reputation
    7
    Join Date
    Mar 2009
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Bump.
    Is it okay to do that on this forum?

  9. #9
    bobbafett's Avatar Member
    Reputation
    7
    Join Date
    Mar 2009
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    (Double post)
    Last edited by bobbafett; 04-02-2009 at 01:45 AM.

  10. #10
    jaroo's Avatar Member
    Reputation
    1
    Join Date
    May 2008
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    bump I got the same issue with the elwar repack. I added the portal in the spell_target_position in mangos/world db and gameobject_template. I spawned the portal ingame where I want it but when I click it it says "locked" and doesnt work.

Similar Threads

  1. [MaNGOS] Custom portal - read first
    By master257 in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 02-07-2010, 02:59 PM
  2. [Mangos] Custom portal creator.
    By bobbafett in forum WoW EMU General Releases
    Replies: 1
    Last Post: 05-14-2009, 07:07 AM
  3. [REQUEST]Need a MaNGOS Custom Portal Maker
    By Yamajee in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 08-11-2008, 10:25 AM
  4. Custom Portals - Help
    By MentalAssault in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 09-27-2007, 11:44 AM
  5. Adding Custom Portals?
    By lazboy in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 08-31-2007, 12:42 PM
All times are GMT -5. The time now is 07:46 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