How to add cpp scripts to your server (with pics) menu

User Tag List

Results 1 to 10 of 10
  1. #1
    illegalalien's Avatar Active Member
    Reputation
    15
    Join Date
    Sep 2008
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to add cpp scripts to your server (with pics)

    Ok so you know how to compile your own server but now you are starting to find awsome c++ scripts but you dont know how to add them in well some people say that c++ is hard to manage but it really isnt if you have some logic
    I will go step by step on how to add an existing cpp to an already existing project file (easier than copying the folder and erasing, blablablabala)

    This guide will be based on arcemus file directory but the same concept should go for aspire

    We will add my NoobHelper script to the already existing miscscripts project

    First place the cpp in the source folder of the project you want to add it to
    in our case the directory will be trunk\src\scripts\src\MiscScripts



    next we will open Scripts2008.sln found in trunk\src\scripts\
    after it opens click on solution explorer>right click the Miscscripts folder>add existing item.



    navigate to where we placed the noobhelper.cpp trunk\src\scripts\src\MiscScripts and select the file and click add

    lets double click the newly added file

    we need to take some information to go any further



    the decleration is what matters here we need to add it to our setup files
    the higlighted part is what we need so copy that into your clipboard(ctrl+c)
    the red underlined number is the id number of your npc that will talk to it you can set this to any number you want aslong as the npc exists in your db and has a flag of "1" which means its a gossip npc.

    now we go back to solution explorer and open both files under Main Resources
    which should be Setup.cpp and Setup.h



    first in Setup.h



    add the line just like it shows in the picture! everything else you can leave the same.

    and the same goes with Setup.cpp just that it has a different line in it



    and thats all the setting up that is needed !
    hit f7 (Build Solution) and it will spit out the script in trunk\bin\Release\script_bin
    since we added the noobhelper script to the MiscScript project the name of the dll that contains noobhelper will be named ArcScriptMiscScripts.dll

    now since you are reading how to compile a script im assuming that you already know how to compile before and just read this so you can learn how to compile custom scripts ^_^

    although if you do not know how to compile or are confused about it and none of the other guides are helping out too much leave a reply requesting for a full guide on how to compile from scratch by that i mean from svn checkout to starting up the server

    ps make sure that the configuration for the scripts is set to release and not debug.

    Comment on how well i did with this guide as it is my first >_<

    How to add cpp scripts to your server (with pics)
  2. #2
    jimmpathaking's Avatar Member
    Reputation
    1
    Join Date
    Jan 2009
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hay can u send me a script on a teleporter from gmisland to hyjal start

  3. #3
    Andrewz's Avatar Member
    Reputation
    1
    Join Date
    Sep 2008
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    WoW Illegalalien, great guide dude.

    Cya.

  4. #4
    Link_S's Avatar Member
    Reputation
    125
    Join Date
    Dec 2008
    Posts
    293
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Short nice understandable and neat! +Rep

  5. #5
    xX EPIC Xx's Avatar Active Member
    Reputation
    37
    Join Date
    Apr 2008
    Posts
    238
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nice guid man
    BUMP. :P
    https://Fileusher.com

  6. #6
    Pwntzyou's Avatar Contributor
    Reputation
    264
    Join Date
    Dec 2007
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    +rep x3 very good guide

    <3 MysterioussouL for the sig

  7. #7
    shiningdragon's Avatar Member
    Reputation
    1
    Join Date
    Feb 2008
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I could really use a Guide on how how to setup a server.

    like you said from checkout to logging on your server.

    i know how to compile, but thats just it. none of the guides i have read or see (10+) explane it any further. and even then the compile guides dont help me because i want a 2.4.3 server.. not wotlk.


    Please a guide on how to set up a 2.4.3 server with arcemu and why DB would help me tremendously!

    please include every thing like DBC and SQL and how what do with all the stuff in the whydb folder i got from SVN.

    please make a guide on how to do all that. no one else explanes it

  8. #8
    jordddm's Avatar Member
    Reputation
    11
    Join Date
    Nov 2007
    Posts
    49
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i get this error after i hit f7 all the time

    5>c:\users\jordan\desktop\arcemu\trunk\src\scripts\src\gossipscripts\Setup.h(1) : fatal error C1014: too many include files : depth = 1024

    and

    7>c:\Users\jordan\Desktop\arcemu\trunk\src\arcemu-world\ScriptSetup.h(26) : fatal error C1083: Cannot open include file: 'svn_revision.h': No such file or directory

    dunno why not working

  9. #9
    Air_Nike's Avatar Member
    Reputation
    1
    Join Date
    Feb 2009
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    rly helpfull guide...ty i would rep if i could

  10. #10
    daycro's Avatar Sergeant
    Reputation
    1
    Join Date
    Jul 2010
    Posts
    47
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can you make Tutorial for Trinity/Mangos .cpp compiling really need it...

Similar Threads

  1. [Guide] How to easily add a C++ script to your server
    By 2dgreengiant in forum WoW EMU Guides & Tutorials
    Replies: 2
    Last Post: 06-05-2009, 12:08 AM
  2. [Guide] how to add the frostmourne to your server
    By ReppzYouTube in forum WoW EMU Guides & Tutorials
    Replies: 23
    Last Post: 01-20-2009, 01:20 PM
  3. [guide] how to add a labyrinth to your server
    By wasovski in forum WoW EMU Guides & Tutorials
    Replies: 9
    Last Post: 07-30-2008, 03:01 PM
  4. How to add recall locations to your server?
    By Kendra in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 05-06-2008, 03:32 AM
  5. How to make custom items for your server! WITH PICS! [Noob friendly]
    By ',-Jurkey-,' in forum WoW EMU Guides & Tutorials
    Replies: 7
    Last Post: 03-29-2008, 09:54 AM
All times are GMT -5. The time now is 04:57 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