Jump to content

yimgame

Members
  • Posts

    8
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

yimgame's Achievements

Newbie

Newbie (1/3)

0

Reputation

  1. Just for curiosity and to learn how, if is possible a cross compilation to obtain a win32 set of binaries with the actual source. Best Regards. Yim.
  2. After a battle to autoreconf and the ../configuration to understand wtf is prefix, data dir finally i can use you sugestion and is too faster with -j2 i have a E8200 Thanks Toinan67
  3. 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 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'
  4. 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
  5. Slurm you rock man this is wonderfull, many thanks really i dont see the problems. 1º i dont think in Null cose i dont ask for the existance of creature target and 2º i change the displayID to the same target i collected the info. Thanks for the reply i will try to re compile a new core (i am recently new in nix is totally diferent compile in nix than win.)
  6. 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.
  7. maeby this will give me troubles... The easy whay, but the more legally complicated too: A DBC file is needed to be edited this is AreaTable.dbc in the 4º field is the data than indicate to the client the type of map or area, look for somethig else zone you want like gurubashi i think. The dificul way is hardcode in c++ a optional script... Regards. Yim.
  8. Vladimir rarara MaNGOS Team gogogo. just simple like that. :lol:
×
×
  • 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