Compiling Error [im confused] menu

User Tag List

Results 1 to 3 of 3
  1. #1
    lilbdiablo12's Avatar Active Member
    Reputation
    40
    Join Date
    Feb 2008
    Posts
    535
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Compiling Error [im confused]

    Ok here it is

    Error

    Code:
    1>------ Build started: Project: Mallcommand, Configuration: Release Win32 ------
    1>Compiling...
    1>Mallcommand.cpp
    1>c:\users\billy\desktop\aetherwow-compile\trunk\src\scripts\src\mallcommand\Setup.h(6) : error C2065: 'ScriptMgr' : undeclared identifier
    1>c:\users\billy\desktop\aetherwow-compile\trunk\src\scripts\src\mallcommand\Setup.h(6) : error C2065: 'mgr' : undeclared identifier
    1>c:\users\billy\desktop\aetherwow-compile\trunk\src\scripts\src\mallcommand\Setup.h(6) : error C2182: 'SetupMallcommand' : illegal use of type 'void'
    1>c:\users\billy\desktop\aetherwow-compile\trunk\src\scripts\src\mallcommand\Setup.h(6) : fatal error C1903: unable to recover from previous error(s); stopping compilation
    1>Setup.cpp
    1>c:\users\billy\desktop\aetherwow-compile\trunk\src\scripts\src\mallcommand\Setup.h(6) : error C2065: 'ScriptMgr' : undeclared identifier
    1>c:\users\billy\desktop\aetherwow-compile\trunk\src\scripts\src\mallcommand\Setup.h(6) : error C2065: 'mgr' : undeclared identifier
    1>c:\users\billy\desktop\aetherwow-compile\trunk\src\scripts\src\mallcommand\Setup.h(6) : error C2182: 'SetupMallcommand' : illegal use of type 'void'
    1>c:\users\billy\desktop\aetherwow-compile\trunk\src\scripts\src\mallcommand\Setup.h(6) : fatal error C1903: unable to recover from previous error(s); stopping compilation
    1>Build log was saved at "file://c:\Users\Billy\Desktop\AetherWoW-compile\trunk\src\scripts\projects\2008_int_release_Mallcommand\BuildLog.htm"
    1>Mallcommand - 8 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    Mallcommand.cpp
    Code:
    #include "StdAfx.h" //always needed
    #include "Setup.h"
    
    static string malltele = "#mall";
    
    void EventMallcommand(Player * Plr, uint32 Type, uint32 Lang, const char * Message, const char * Misc)
    {
        if(Message == malltele)
        {
           Plr->EventTeleport(1, -11792.368164, -4742.708008, 3.411385);
        }
    }
    
    void SetupMallcommand(ScriptMgr * mgr)
    {
        mgr->register_hook(SERVER_HOOK_EVENT_ON_CHAT, (void *) EventMallcommand);
    }
    Setup.cpp
    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)
    {
        SetupMallcommand(mgr);
    }
    
    #ifdef WIN32
    
    BOOL APIENTRY DllMain( HANDLE hModule, DWORD  ul_reason_for_call, LPVOID lpReserved )
    {
        return TRUE;
    }
    
    #endif
    Setup.h
    Code:
    #include "StdAfx.h"
    
    #ifndef Mallcommand_SETUP_H
    #define Mallcommand_SETUP_H
    
    void SetupMallcommand(ScriptMgr * mgr);
    #endif
    Last edited by lilbdiablo12; 10-29-2008 at 08:59 PM.

    Compiling Error [im confused]
  2. #2
    mydlay's Avatar Member
    Reputation
    5
    Join Date
    Mar 2008
    Posts
    23
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Get the original arcemu source from the svn bcuz that one might be corrupted, also get the libraries you can find them at arcemu.org

  3. #3
    lilbdiablo12's Avatar Active Member
    Reputation
    40
    Join Date
    Feb 2008
    Posts
    535
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Its the latest core bro, lol and i got everything i need.

Similar Threads

  1. Compiling errors?!?
    By y2kss66 in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 04-06-2008, 03:32 PM
  2. Compile error
    By *Alexz* in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 03-03-2008, 09:21 PM
  3. Compiling errors {help plz lol}
    By jokerjokes in forum World of Warcraft Emulator Servers
    Replies: 30
    Last Post: 02-19-2008, 09:44 PM
  4. [Questions] Change Log Location and Compile Error
    By SectorSeven in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 01-08-2008, 11:19 PM
  5. [HELP] Ascent Compiling Error.
    By jokerjokes in forum World of Warcraft Emulator Servers
    Replies: 23
    Last Post: 12-10-2007, 12:53 AM
All times are GMT -5. The time now is 02:23 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