C++ Script Compilation menu

User Tag List

Results 1 to 7 of 7
  1. #1
    Everlast118's Avatar Member
    Reputation
    4
    Join Date
    Sep 2007
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    C++ Script Compilation

    I thought I knew how to do this, and it seems that I was wrong.
    Can someone please teach me how to compile custom C++ scripts?
    I made the script alright but just don't know how to compile it.

    C++ Script Compilation
  2. #2
    Vragoth's Avatar Established Member
    Reputation
    55
    Join Date
    Nov 2008
    Posts
    422
    Thanks G/R
    5/1
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There is a green button that looks like a play button and next to it, it should say debug. Now click the debug and scroll down to Release. Now click the play button! That should be it =)

  3. #3
    Sonic Waffle's Avatar Contributor
    Reputation
    170
    Join Date
    Dec 2007
    Posts
    990
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's in Visual Studio C++ ofcourse.
    Or you can just press F7 on your keyboard.


  4. #4
    Everlast118's Avatar Member
    Reputation
    4
    Join Date
    Sep 2007
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It doesn't work. It errors on me

    1>------ Build started: Project: ArcScriptCosmetics, Configuration: Release Win32 ------
    1>Compiling...
    1>Setup.cpp
    1>Compiling...
    1>Cosmetics.cpp
    1>..\src\Cosmetics\Cosmetics.cpp(26) : error C2065: 'pObject' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(26) : error C2227: left of '->GetGUID' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(26) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(36) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(41) : error C2065: 'pObject' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(41) : error C2227: left of '->GetTypeId' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(41) : error C2065: 'pObject' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(50) : error C2065: 'pObject' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(50) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(56) : error C2065: 'pObject' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(56) : error C2227: left of '->GetGUID' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(56) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(62) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(6 : error C2065: 'pObject' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(6 : error C2227: left of '->GetGUID' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(6 : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(72) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(7 : error C2065: 'pObject' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(7 : error C2227: left of '->GetGUID' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(7 : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(84) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(90) : error C2065: 'pObject' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(90) : error C2227: left of '->GetGUID' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(90) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(94) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(100) : error C2065: 'pObject' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(100) : error C2227: left of '->GetGUID' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(100) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(104) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(110) : error C2065: 'pObject' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(110) : error C2227: left of '->GetGUID' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(110) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(116) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(122) : error C2065: 'pObject' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(122) : error C2227: left of '->GetGUID' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(122) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(133) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(139) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(139) : error C2227: left of '->HasSpell' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(140) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(140) : error C2227: left of '->BroadcastMessage' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(142) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(142) : error C2227: left of '->GetItemInterface' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(142) : error C2227: left of '->RemoveItemAmt' must point to class/struct/union/generic type
    1>..\src\Cosmetics\Cosmetics.cpp(144) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(144) : error C2227: left of '->AddSpell' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(145) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(145) : error C2227: left of '->BroadcastMessage' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(151) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(151) : error C2227: left of '->HasSpell' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(152) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(152) : error C2227: left of '->BroadcastMessage' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(154) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(154) : error C2227: left of '->GetItemInterface' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(154) : error C2227: left of '->RemoveItemAmt' must point to class/struct/union/generic type
    1>..\src\Cosmetics\Cosmetics.cpp(156) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(156) : error C2227: left of '->AddSpell' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(157) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(157) : error C2227: left of '->BroadcastMessage' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(163) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(163) : error C2227: left of '->HasSpell' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(164) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(164) : error C2227: left of '->BroadcastMessage' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(166) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(166) : error C2227: left of '->GetItemInterface' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(166) : error C2227: left of '->RemoveItemAmt' must point to class/struct/union/generic type
    1>..\src\Cosmetics\Cosmetics.cpp(16 : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(16 : error C2227: left of '->AddSpell' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(169) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(169) : error C2227: left of '->BroadcastMessage' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(175) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(175) : error C2227: left of '->HasSpell' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(176) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(176) : error C2227: left of '->BroadcastMessage' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(17 : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(17 : error C2227: left of '->GetItemInterface' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(17 : error C2227: left of '->RemoveItemAmt' must point to class/struct/union/generic type
    1>..\src\Cosmetics\Cosmetics.cpp(180) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(180) : error C2227: left of '->AddSpell' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(181) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(181) : error C2227: left of '->BroadcastMessage' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(187) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(187) : error C2227: left of '->HasSpell' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(18 : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(18 : error C2227: left of '->BroadcastMessage' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(190) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(190) : error C2227: left of '->GetItemInterface' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(190) : error C2227: left of '->RemoveItemAmt' must point to class/struct/union/generic type
    1>..\src\Cosmetics\Cosmetics.cpp(192) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(192) : error C2227: left of '->AddSpell' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(193) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(193) : error C2227: left of '->BroadcastMessage' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(199) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(199) : error C2227: left of '->HasSpell' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(200) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(200) : error C2227: left of '->BroadcastMessage' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(202) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(202) : error C2227: left of '->GetItemInterface' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\Cosmetics\Cosmetics.cpp(202) : error C2227: left of '->RemoveItemAmt' must point to class/struct/union/generic type
    1>..\src\Cosmetics\Cosmetics.cpp(204) : error C2065: 'Plr' : undeclared identifier
    1>..\src\Cosmetics\Cosmetics.cpp(204) : error C2227: left of '->AddSpell' must point to class/struct/union/generic type
    1>..\src\Cosmetics\Cosmetics.cpp(204) : fatal error C1003: error count exceeds 100; stopping compilation
    1>Build log was saved at "file://c:\Warcraft Development\Core\trunk\src\scripts\projects\2008_int_release_Cosmetics\BuildLog. htm"
    1>ArcScriptCosmetics - 102 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    If Sounddead reads this, this is my build log. However, the errors are in the main code. Not sure what went wrong there, but it was a copy of his code.
    Last edited by Everlast118; 02-20-2009 at 11:39 PM.

  5. #5
    Everlast118's Avatar Member
    Reputation
    4
    Join Date
    Sep 2007
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Deleted, noticed it was double post.

  6. #6
    Sonic Waffle's Avatar Contributor
    Reputation
    170
    Join Date
    Dec 2007
    Posts
    990
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Did you include StdAfx.cpp and all the headers required?
    Also did you build and insert the Ascent Windows Libraries in to the Compiler?


  7. #7
    Aznex's Avatar Contributor
    Reputation
    128
    Join Date
    Feb 2008
    Posts
    770
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

Similar Threads

  1. Some wierd script compile error
    By Brutal Pink Panther in forum World of Warcraft Emulator Servers
    Replies: 12
    Last Post: 06-10-2008, 01:57 AM
  2. [Guide] script compiling
    By staskax in forum WoW EMU Guides & Tutorials
    Replies: 2
    Last Post: 03-20-2008, 05:03 AM
  3. [HELP] Moon++ Scripts (Compile)
    By Performer in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 03-05-2008, 11:34 PM
  4. [Help] Script Compiling :'(
    By n0tic in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 02-25-2008, 02:04 PM
  5. [RELEASE]Ascent/script compiles 3710 (latest 2/6/08)
    By vivec45 in forum WoW EMU Guides & Tutorials
    Replies: 0
    Last Post: 02-06-2008, 07:04 AM
All times are GMT -5. The time now is 02:38 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