[Question]How to make .vcproj file out of header.cpp, GlobalNPC.cpp, and Header.h menu

Shout-Out

User Tag List

Results 1 to 9 of 9
  1. #1
    riizu's Avatar Active Member
    Reputation
    16
    Join Date
    Oct 2007
    Posts
    263
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Question]How to make .vcproj file out of header.cpp, GlobalNPC.cpp, and Header.h

    Hello MMOwned, after searching my heart out, I seem to be unable to find an answer to this question. I have been able to learn how to create the neccissary .cpp files and .h file, but don't know how to make a .vcproj file for a GlobalNPC. The particular one I am using is Gastrics, and his original is corrupted, thus I am tasked with this. If any of you know a fix, it'd be much appreciated

    [Question]How to make .vcproj file out of header.cpp, GlobalNPC.cpp, and Header.h
  2. #2
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In VC++, open a new project, set it up, and add the source files to it.

  3. #3
    riizu's Avatar Active Member
    Reputation
    16
    Join Date
    Oct 2007
    Posts
    263
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What do you mean by, "set it up?" More information. Please and thank you.

  4. #4
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Easy way:
    Add your scripts to an existing project - GossipScripts, InstanceScripts, etc.
    Another way would be to copy the vcproj file of an existing project then loading it in VC++ and changing the names, and adding the files.
    Another way would be just open a new project in VC++ under the scripts solution, go to properties and make sure they match the ones in existing projects.

  5. #5
    riizu's Avatar Active Member
    Reputation
    16
    Join Date
    Oct 2007
    Posts
    263
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I went ahead and edited the PVPToken script that came with the open ascent source. Now, I am only getting one error.

    Code:
    1>------ Build started: Project: GlobalNPC, Configuration: Release Win32 ------
    1>Compiling...
    1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
    1>GlobalNPC.cpp
    1>Setup.cpp
    1>..srcGlobalNPCSetup.cpp(12) : error C3861: 'SetupGlobalNPC': identifier not found
    1>Generating Code...
    1>Build log was saved at "file://d:openascenttrunksrcscriptsprojects2003_int_release_PVPTokenBuildLog.htm"
    1>GlobalNPC - 1 error(s), 1 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    Here's a copy of my files so far.
    Filebeam - Free Fast File Hosting
    Pass is mmowned

  6. #6
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1>..srcGlobalNPCSetup.cpp(12) : error C3861: 'SetupGlobalNPC': identifier not found

    Your Setup.cpp calls for SetupGlobalNPC but it doesn't exist in the project

  7. #7
    riizu's Avatar Active Member
    Reputation
    16
    Join Date
    Oct 2007
    Posts
    263
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok I fixed that issue, I had forgotten to change something in setup.h I think it was. Now, I get this error during loading of OpenAscent.

    Code:
    GlobalNPC.dll : 0x00BE0000 : version functions not found!
    EDIT: Here's my source so far. RapidShare: 1-Click Webhosting

    *Bump* (I hate to bump, but im a bit desperate here)
    Last edited by 2dgreengiant; 06-01-2008 at 08:39 AM. Reason: double post, merged

  8. #8
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Don't double post.

    Make sure you included ScriptSetup.h.

  9. #9
    riizu's Avatar Active Member
    Reputation
    16
    Join Date
    Oct 2007
    Posts
    263
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ScriptSetup.h? Haven't heard of that. I have

    -GlobalNPC.cpp
    -Setup.cpp
    -Setup.h

Similar Threads

  1. Question: How to make Custom Weapon Displays
    By dakna in forum WoW Items & Quests
    Replies: 1
    Last Post: 02-07-2008, 02:37 AM
  2. [Question] How to make TBC account
    By Gadella in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 12-14-2007, 12:26 PM
  3. [Question] How to make items buyable with Marks and Token
    By Spurven in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 10-29-2007, 04:25 AM
  4. [Question] How to make the solo files for model change?
    By TheAussieTroll in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 10-09-2007, 01:14 PM
  5. [Question] How to make wpns bigger? Changing size ><
    By moreniu in forum WoW ME Questions and Requests
    Replies: 20
    Last Post: 10-08-2007, 08:06 AM
All times are GMT -5. The time now is 07:41 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