Jump to content

yimgame

Members
  • Posts

    8
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by yimgame

  1. With a new fresh giting folder of MaNGOS Source i have no problem with autoreconf... seems to me something in the building or the sucesives giting new codes is chewing the binaries or something like that... i dont know :S the really is i need a new folder with new and fresh giting source to solve the anoying problem... i guess becouse i am "ignorant" about all this, but is a good and quik solution...

    /mangos$ autoreconf --install --force
    libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `aux_config'.
    libtoolize: copying file `aux_config/config.guess'
    libtoolize: copying file `aux_config/config.sub'
    libtoolize: copying file `aux_config/install-sh'
    libtoolize: copying file `aux_config/ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
    libtoolize: copying file `m4/libtool.m4'
    libtoolize: copying file `m4/ltoptions.m4'
    libtoolize: copying file `m4/ltsugar.m4'
    libtoolize: copying file `m4/ltversion.m4'
    libtoolize: copying file `m4/lt~obsolete.m4'
    configure.ac:60: installing `aux_config/missing'
    ace/Makefile.am: installing `aux_config/depcomp'
    libtoolize: putting auxiliary files in `.'.
    libtoolize: copying file `./config.guess'
    libtoolize: copying file `./config.sub'
    libtoolize: copying file `./install-sh'
    libtoolize: copying file `./ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
    libtoolize: copying file `m4/libtool.m4'
    libtoolize: copying file `m4/ltoptions.m4'
    libtoolize: copying file `m4/ltsugar.m4'
    libtoolize: copying file `m4/ltversion.m4'
    libtoolize: copying file `m4/lt~obsolete.m4'
    configure.ac:72: installing `./compile'
    configure.ac:26: installing `./missing'
    dep/src/g3dlite/Makefile.am: installing `./depcomp'
    Makefile.am: installing `./INSTALL'
    

  2. In the same way...

    
    mangos$ autoreconf --install --force
    configure.ac:1: error: possibly undefined macro: dnl
         If this token and others are legitimate, please use m4_pattern_allow.
         See the Autoconf documentation.
    configure.ac:60: error: possibly undefined macro: AM_INIT_AUTOMAKE
    configure.ac:74: error: possibly undefined macro: AC_MSG_ERROR
    configure.ac:136: error: possibly undefined macro: AM_CONDITIONAL
    configure.ac:181: error: possibly undefined macro: AM_PROG_LEX
    configure.ac:240: error: possibly undefined macro: AC_PROG_LIBTOOL
    configure.ac:286: error: possibly undefined macro: AC_DEFINE
    configure.ac:300: error: possibly undefined macro: AC_MSG_WARN
    configure.ac:366: error: possibly undefined macro: AC_DISABLE_STATIC
    configure.ac:369: error: possibly undefined macro: AC_LIBTOOL_DLOPEN
    configure.ac:372: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
    configure.ac:400: error: possibly undefined macro: AC_CHECK_FUNC
    configure.ac:422: error: possibly undefined macro: AC_CACHE_CHECK
    configure.ac:429: error: possibly undefined macro: AC_COMPILE_IFELSE
    configure.ac:430: error: possibly undefined macro: AC_LANG_PROGRAM
    configure.ac:810: error: possibly undefined macro: AC_EGREP_HEADER
    configure.ac:834: error: possibly undefined macro: AC_EGREP_CPP
    configure.ac:1587: error: possibly undefined macro: AC_LINK_IFELSE
    configure.ac:2350: error: possibly undefined macro: AC_CACHE_VAL
    configure.ac:3451: error: possibly undefined macro: AC_RUN_IFELSE
    configure.ac:3451: error: possibly undefined macro: AC_LANG_SOURCE
    autoreconf: /usr/bin/autoconf failed with exit status: 1
    
    

  3. Hey every body

    Well i am not a specialist of C but i have a little princes of 5 years and she ask me if is possible to have a button to morph the player like the creature she have selected... and i think why not.

    I was looking around the code and found usefull material in level2.cpp

    //mirror (orignally is ModifyMorph + NpcSetModel
    bool ChatHandler::HandleModifyMirrorCommand(const char* args)
    {
       if (!*args)
           return false;
    
       CreatureInfo const* cInfo = creatureTarget->GetCreatureInfo(); //NpcSetModel originally recive a unit32 variable and modifymorph use a unit16 variable can this guive some problem ? Help!!!
    
       uint16 display_id = cInfo; // this is correct ? i can use the variable as is ? or need locate inside the variable the portion dedicated to displayid ? Help!!!
    
       Unit *target = getSelectedUnit();
       if (!target)
           target = m_session->GetPlayer();
    
       // check online security
       else if (target->GetTypeId() == TYPEID_PLAYER && HasLowerSecurity((Player*)target, 0))
           return false;
    
       target->SetDisplayId(display_id);
    
       return true;
    }
    

    I added the proper lines to chat.cpp and chat.h

    Now is possible this work ?

    I look in forum's about 15 pages returned by the search of modify morph and do not see anything like this.

    Any help will be apreciate.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use