Custom Portals menu

User Tag List

Results 1 to 7 of 7
  1. #1
    Jechob's Avatar Active Member
    Reputation
    58
    Join Date
    Oct 2006
    Posts
    121
    Thanks G/R
    8/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Custom Portals

    So I'm running on an ArcEmu server, and i'm trying to make a custom portal. But my server is already using all of the (Or all I believe are) possible teleport_coords. Y'know, the Goldshire, Westfall, Darkshire, etc. Portals.

    But I really need to make a new portal. I've really tried everything I can think of but nothing works. Is there any way to make a new custom portal without deleting one that's already in the database?

    Custom Portals
  2. #2
    Clain's Avatar Banned
    Reputation
    179
    Join Date
    Jan 2008
    Posts
    1,396
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use an LUA script.

  3. #3
    Jechob's Avatar Active Member
    Reputation
    58
    Join Date
    Oct 2006
    Posts
    121
    Thanks G/R
    8/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alright, I'll try that and post back here if it doesn't work.
    :P

  4. #4
    kaothic's Avatar Member
    Reputation
    7
    Join Date
    Oct 2007
    Posts
    167
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sometimes lua get errors with portals, for me is more easy make portals in c++ xP

    Only simple things make me feel alive...

  5. #5
    Jechob's Avatar Active Member
    Reputation
    58
    Join Date
    Oct 2006
    Posts
    121
    Thanks G/R
    8/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not too much a pro at c++ :P

  6. #6
    mager1794's Avatar Member
    Reputation
    356
    Join Date
    Feb 2008
    Posts
    703
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    C++ you dont need to be pro to make portals there pretty basic you should have a extra scripts folder in your scripts folder (the one that has all of the arcemu C++ scripts) in it theres a file name portals

    addthis change the names though from jechobsportal to whatever you want and change the x y z o mapID and zoneID ok
    Code:
    class jechobsportal: public GameObjectAIScript // Orgrimarr to Undercity
    {
    public:
    	jechobsportal(GameObject* goinstance) : GameObjectAIScript(goinstance) {}
    	void OnActivate(Player * pPlayer)
    	{
    		pPlayer->SafeTeleport(mapID, ZoneID, x, y, z, o);
    	}
    	static GameObjectAIScript *Create(GameObject * GO) { return new jechobsportal(GO); }
    };
    GameObjectAIScript * create_go30000000(GameObject * GO) { return new jechobsportal(GO); }
    and register like this
    Code:
    [/CDclass jechobsportal: public GameObjectAIScript // Orgrimarr to Undercity
    {
    public:
    	jechobsportal(GameObject* goinstance) : GameObjectAIScript(goinstance) {}
    	void OnActivate(Player * pPlayer)
    	{
    		pPlayer->SafeTeleport(mapID, ZoneID, x, y, z, o);
    	}
    	static GameObjectAIScript *Create(GameObject * GO) { return new jechobsportal(GO); }
    };
    GameObjectAIScript * create_go30000000(GameObject * GO) { return new jechobsportal(GO); }
    register it like this add it into all of the registers at he bottom you'll see them
    Code:
    	mgr->register_gameobject_script(GOID, &jechobsportal::Create);
    then compile your scripts
    Lunar Gaming - Reaching For The Stars

  7. #7
    rm60kid's Avatar Member
    Reputation
    6
    Join Date
    Apr 2008
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah i have been having trouble with this aswell...

Similar Threads

  1. How To Make Custom Portals!
    By colincancer in forum WoW EMU Guides & Tutorials
    Replies: 77
    Last Post: 07-23-2010, 02:05 PM
  2. Custom Portals?
    By Gadella in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 12-09-2007, 11:58 PM
  3. Custom Portals
    By slayer99 in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 12-08-2007, 11:22 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 01:49 PM. 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