[Guide] Compiling a DLL Without making a new Project , Take 5 minutes! menu

User Tag List

Results 1 to 5 of 5
  1. #1
    mafiaboy's Avatar Contributor
    Reputation
    235
    Join Date
    May 2007
    Posts
    698
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Guide] Compiling a DLL Without making a new Project , Take 5 minutes!

    Compiling a DLL


    Alright so just wanted to say that I never left MMowned , I just thought my Ban for permanent:wave:

    In this examaple we will compile Gastric's Teleporter Npc , personally , the best teleporter available for ascent on the internet.

    Also if you can't get this to work there is a longer way , although just as good posted by SectorSeven:

    http://www.mmowned.com/forums/emulat...dll-video.html

    Download it here : http://www.mmowned.com/forums/emulat...orter-npc.html

    Steps:

    1.

    Compile Ascent WITHOUT the script. Guide for it here:
    http://www.mmowned.com/forums/emulat...-included.html

    2.

    Go into your ascent or arcmu folder -> scripts -> src -> GossipScripts

    In that folder place the the GloBalNPC.cpp file from GastricPenguiine inside the folder.

    3.

    Open setup.cpp ( in GossipScripts folder ) and add this line( the one in red )

    Code:
    #include "StdAfx.h"
    #include "Setup.h"
    #define SKIP_ALLOCATOR_SHARING 1
    #include <ScriptSetup.h>
    
    extern "C" SCRIPT_DECL uint32 _exp_get_script_type()
    {
    	return SCRIPT_TYPE_MISC;
    }
    
    extern "C" SCRIPT_DECL void _exp_script_register(ScriptMgr* mgr)
    {
        SetupInnkeepers(mgr);
        SetupBattlemaster(mgr);
        SetupGuardGossip(mgr);
    	SetupGlobalNPC(mgr);
    }
    
    #ifdef WIN32
    
    BOOL APIENTRY DllMain( HANDLE hModule, DWORD  ul_reason_for_call, LPVOID lpReserved )
    {
        return TRUE;
    }
    
    #endif

    Then Open up setup.h and add this line ( the one in red)
    Code:
    #ifndef INSTANCE_SCRIPTS_SETUP_H
    #define INSTANCE_SCRIPTS_SETUP_H
    
    void SetupInnkeepers(ScriptMgr * mgr);
    void SetupGuardGossip(ScriptMgr * mgr);
    void SetupBattlemaster(ScriptMgr * mgr);
    void SetupGlobalNPC(ScriptMgr * mgr);
    
    #endif
    4.

    Go to your ascent / arcemu folder -> scripts -> click on scripts 2008 ( unless your compiler is an older version )

    Under 'scripts2008' click on GossipScript , then under GossipScript right-click on the beige scripts icon , click Add... then click Existing Item. Then choose your GlobalNpc.cpp file.

    5.

    Right click on 'scripts' 2008' and then click Build Solution.

    YOUR DONE! Your teleporter is inside the GossipScript dll file!

    [Guide] Compiling a DLL Without making a new Project , Take 5 minutes!
  2. #2
    Cursed's Avatar Contributor
    Reputation
    270
    Join Date
    Jun 2007
    Posts
    1,380
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice guide... +Rep 3x (hey I can give 3 reps oO )

  3. #3
    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)
    Nice man, welcome back btw (never seen you but w/e). +Rep!

  4. #4
    machoman2125's Avatar Member
    Reputation
    4
    Join Date
    Mar 2008
    Posts
    47
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm ill give this a try

    +rep for u if it works

  5. #5
    chronic7's Avatar Member
    Reputation
    7
    Join Date
    Oct 2007
    Posts
    132
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the guide +rep

Similar Threads

  1. Can i change my name without making a new account?
    By Dovah in forum Community Chat
    Replies: 1
    Last Post: 04-16-2014, 07:25 AM
  2. Replies: 1
    Last Post: 03-05-2009, 05:46 AM
  3. [Guide] make your new Arcemu private server live
    By Kanng in forum WoW EMU Guides & Tutorials
    Replies: 12
    Last Post: 01-04-2009, 06:26 PM
  4. [Guide] Compiling your own DLL
    By Gastricpenguin in forum WoW EMU Guides & Tutorials
    Replies: 26
    Last Post: 04-22-2008, 09:31 AM
  5. [TIP] Guide to how to make the new bombing run ezmode
    By Jbob in forum World of Warcraft Guides
    Replies: 6
    Last Post: 04-04-2008, 03:30 AM
All times are GMT -5. The time now is 01:24 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