Jump to content

Furious-Py

Members
  • Posts

    49
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by Furious-Py

  1. In my case:

    dir=/opt/mangos
    rm -rf objdir/
    autoreconf --install --force
    automake --add-missing
    automake src/bindings/ScriptDev2/Makefile
    mkdir objdir
    cd objdir/
    ../configure --prefix=$dir --sysconfdir=$dir/etc --enable-cli --enable-ra --datadir=$dir --disable-builtin-ace
    make
    mkdir $dir
    mkdir $dir
    make install
    make clean

    You can also use this configure line

    ../configure CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -m64 -pipe -msse4.2 -DFD_SETSIZE=4096 -fno-delete-null-pointer-checks -fno-strength-reduce -fno-strict-aliasing -frename-registers" CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -m64 -pipe -msse4.2 -DFD_SETSIZE=4096 -fno-delete-null-pointer-checks -fno-strength-reduce -fno-strict-aliasing -frename-registers" --prefix=$dir --sysconfdir=$dir/etc --enable-cli --enable-ra --datadir=$dir --disable-builtin-ace

    Change the dir=/opt/mangos directory to your desired path

    You must have installed ACE_wrapper for use " --disable-builtin-ace" if you havent ACE instaled, then remove that

    You must have all the required libraries...

    Here you have a nice tutorial, and is the same for mangos:

    http://www.trinitycore.info/index.php?title=Installing_TrinityCore_on_recent_Linux-based_systems

    I recomend you to remove the disable builtin ace for the begining and when is working try to use the external ACE in your system

    For Q #2 i will like an answer too ;) i dont know how to do it... but isnt with configure flag, you must use another way to start the server with external program that capture the output of mangos binary

  2. Repacks are not supported, bug reports from anything but a clean source are pretty useless.

    I know that... becouse of that i writed this: "It works in a custom repack with the 10.449 revision, can anyone confirm this in a clear mangos compilation ??" :)

    My custom pack dont touch the spells and CD system, and thats the reason of my post...

    Anyway, tks a lot for the comment, i have now merged with the last mangos revision and testing :)

  3. I have been reported with this exploit... tested at least in hunters it works

    The players are doing this macros

    /cast !Auto shot

    /cast Multi-Shot

    /script UIErrorsFrame:Clear()

    and then can shot without cool down time between the shots

    It works in a custom repack with the 10.449 revision, can anyone confirm this in a clear mangos compilation ??

  4. Hi i have a problem with some characters, maybe becouse my characters DB is really old...

    I already have the cleanup characters db activated in the config.

    Some characters have bad stats, like Hitpoins, mana, etc. and have differences with other new characters in the same lvl at the same race, class and without equip or items.

    If i do a .reset level and then .level 79 (in lvl 80 cases) then the stats go to normal for that character.

    Then the solution in my case is unlevel the character to 1, and the levelup the character to his level again.

    But i cant do this one by one for all the characters... i mean.. i dont want to :S are a lot.

    I used at_login=20 for reset talents and is a charm...

    Isnt there any way to do the reset stats for all characters like at_login thing ? (reset spells is not my solution)

    Any help ?

  5. Create a file name like this loop_mangos.sh give him execute permission

    #!/bin/bash

    while :

    do

    echo "MaNGOS daemon restarted"

    echo `date` >> /opt/mangos2/crash.log &

    sleep 4

    /opt/mangos2/bin/mangos-worldd -c /opt/mangos2/etc/mangosd.conf 2>&1 | tail -n 30 >> /opt/mangos2/crash.log

    echo " " >> /opt/mangos2/crash.log &

    pid=`ps ax | awk '($5 ~ /mangos-worldd/) { print $1 }'`

    wait $pid

    sleep 2

    echo `date` ", MaNGOS daemon crashed and restarted." >> /opt/mangos2/serverlog

    sleep 10

    mv /opt/mangos2/Server.log "/opt/mangos2/Server-`date +%Y-%m-%d-%H:%M:%S`.log"

    done

    this will create a "serverlog" file with data like when the server crashed, and a file "crash.log" with data like whi the server is crashed (console output i think)

    for realmd something like this: loop_realmd.sh

    #!/bin/bash

    err=1

    until [ $err == 0 ];

    do

    sleep 10

    /opt/mangos2/bin/mangos-realmd -c /opt/mangos2/etc/realmd.conf

    done

    You have to change the directories :)

    you can call this files from /etc/rc.d/rc.local then you have an auto restart from pc restart too :)

  6. I have errors:

    make[5]: *** [Database.o] Error 1

    make[5]: Leaving directory `/root/mangos/objdir/src/shared/Database'

    make[4]: *** [all-recursive] Error 1

    make[4]: Leaving directory `/root/mangos/objdir/src/shared'

    make[3]: *** [all] Error 2

    make[3]: Leaving directory `/root/mangos/objdir/src/shared'

    make[2]: *** [all-recursive] Error 1

    make[2]: Leaving directory `/root/mangos/objdir/src'

    make[1]: *** [all-recursive] Error 1

    make[1]: Leaving directory `/root/mangos/objdir'

    make: *** [all] Error 2

    This is a reply for and old post, but i have the same error in my server... i found the solution

    In some files, in my case src/shared/Database/DatabaseMysql.cpp, are codes like this "#ifdef MANGOS_DEBUG" and "#endif"

    This is NOT COMPATIBLE with CentOs Linux... i think # y for comment, isnt ?? well is better to use //

    In CentOs the # character for comments is not compatible (im not a c++ programmer)

    Read the error, see what file and in what line is the error, go to the line and search something like this :)

    I hope this help some CentOs user in the world :)

  7. PACK Selector git

    Same problem here but 10 o 12 times a day :(

    Setting player home position: mapid is: 0, zoneid is 1519, X is -8868.889648, Y is 677.174011, Z is 97.903702

    mangos-worldd: ../../../src/game/Object.h:474: Map* WorldObject::GetMap() const: Assertion `"m_currMap" && 0' failed.

    ../../../src/game/Object.h:474: Error: Assertion in GetMap failed: m_currMap

    Stack Trace:

    /opt/mangos/bin/mangos-worldd(_ZN6Player10LoadFromDBEjP14SqlQueryHolder+0x9c0) [0x839f6c0]

    /opt/mangos/bin/mangos-worldd(_ZN12WorldSession17HandlePlayerLoginEP16LoginQueryHolder+0xa1) [0x8532c51]

    /opt/mangos/bin/mangos-worldd(_ZN6MaNGOS15_IQueryCallbackINS_9_CallbackI16CharacterHandlerP11QueryResultP14SqlQueryHoldervvEEE7ExecuteEv+0x3d) [0x853b5dd]

    /opt/mangos/bin/mangos-worldd(_ZN14SqlResultQueue6UpdateEv+0x1e) [0x855f3ee]

    /opt/mangos/bin/mangos-worldd(_ZN5World6UpdateEj+0x1c6) [0x84973e6]

    /opt/mangos/bin/mangos-worldd(_ZN13WorldRunnable3runEv+0xba) [0x814354a]

    /opt/mangos/bin/mangos-worldd(_ZN9ACE_Based6Thread10ThreadTaskEPv+0x1d) [0x85667cd]

    /lib/libACE-5.7.8.so(_ZN21ACE_OS_Thread_Adapter6invokeEv+0x67) [0x1fd427]

    /lib/libACE-5.7.8.so(ace_thread_adapter+0x11) [0x1a8d71]

    /lib/libpthread.so.0 [0xd79832]

    /lib/libc.so.6(clone+0x5e) [0xccee0e]

  8. Hi, i readed this:

     at_login
    This field is a bitmask controlling different actions taken once a player logs in with the character.
       * 1 = Force character to change name
       * 2 = Reset spells (professions as well)
       * 4 = Reset talents
       * 8 = Character Customization enabled
       * 16 = Reset pet talents 
    For multiple actions, add values together. 

    Well i whant to make a litle cleanup in the characters, they have spells and talents bugged, they dont must have some spells and some talents...

    If i do at_login=22 i will do a Reset Spells and professions, reset talents and reset pet talents

    My question is... they will loose all the learned spells ? or only the non original class and race ?

    And if i whant a stats recalcutation of all the characters, how can i do it ?? some characters has wrong HP and mana for example

    All this errors are becouse my server has a 3 years old character database

  9. Version: Selector repack from git://github.com/selector/WK.git

    Players are using .st in BG to go with the flag to the cementery... it is a anoying bug...

    Solved disabling unstuck but... it is a bug :)

    Maybe this happen in oficial mangos too

  10. be carefull you can have players into instances, BGs or without homebind yet

    Select the guid characters not in character_homebind

    maybe is better set the homebind to tanaris for everyone, and alert the players to set they home position before use the HearthStone :)

  11. REPACK: Selector

    It seems some characters dont have the Home Position well declared, then a crash error restart the server.

    Log:

    Setting player home position: mapid is: 1, zoneid is 215, X is -2917.000000, Y is -257.000000, Z is 53.000000
    mangos-worldd: ../../../src/game/Object.h:474: Map* WorldObject::GetMap() const: Assertion `"m_currMap" && 0' failed.
    ../../../src/game/Object.h:474: Error: Assertion in GetMap failed: m_currMap
    Stack Trace:
    /opt/mangos3/bin/mangos-worldd(_ZN6Player10LoadFromDBEjP14SqlQueryHolder+0x9c0) [0x8396070]
    /opt/mangos3/bin/mangos-worldd(_ZN12WorldSession17HandlePlayerLoginEP16LoginQueryHolder+0xa1) [0x8532061]
    /opt/mangos3/bin/mangos-worldd(_ZN6MaNGOS15_IQueryCallbackINS_9_CallbackI16CharacterHandlerP11QueryResultP14SqlQueryHoldervvEEE7ExecuteEv+0x3d) [0x853a9ed]
    /opt/mangos3/bin/mangos-worldd(_ZN14SqlResultQueue6UpdateEv+0x1e) [0x855e7be]
    /opt/mangos3/bin/mangos-worldd(_ZN5World6UpdateEj+0x1c6) [0x8496816]
    /opt/mangos3/bin/mangos-worldd(_ZN13WorldRunnable3runEv+0xba) [0x81435aa]
    /opt/mangos3/bin/mangos-worldd(_ZN9ACE_Based6Thread10ThreadTaskEPv+0x1d) [0x8565b9d]
    /opt/mangos3/lib/libACE-5.6.6.so(_ZN21ACE_OS_Thread_Adapter6invokeEv+0x67) [0xda20d7]
    /opt/mangos3/lib/libACE-5.6.6.so(ace_thread_adapter+0x11) [0xd4e601]
    /lib/libpthread.so.0 [0x196832]
    /lib/libc.so.6(clone+0x5e) [0x2e5e0e]

  12. I have a lot of crashes with this log...

    What can i do about it ?? some idea ??

    Setting player home position: mapid is: 1, zoneid is 215, X is -2917.000000, Y is -257.000000, Z is 53.000000
    mangos-worldd: ../../../src/game/Object.h:474: Map* WorldObject::GetMap() const: Assertion `"m_currMap" && 0' failed.
    ../../../src/game/Object.h:474: Error: Assertion in GetMap failed: m_currMap
    Stack Trace:
    /opt/mangos3/bin/mangos-worldd(_ZN6Player10LoadFromDBEjP14SqlQueryHolder+0x9c0) [0x8396070]
    /opt/mangos3/bin/mangos-worldd(_ZN12WorldSession17HandlePlayerLoginEP16LoginQueryHolder+0xa1) [0x8532061]
    /opt/mangos3/bin/mangos-worldd(_ZN6MaNGOS15_IQueryCallbackINS_9_CallbackI16CharacterHandlerP11QueryResultP14SqlQueryHoldervvEEE7ExecuteEv+0x3d) [0x853a9ed]
    /opt/mangos3/bin/mangos-worldd(_ZN14SqlResultQueue6UpdateEv+0x1e) [0x855e7be]
    /opt/mangos3/bin/mangos-worldd(_ZN5World6UpdateEj+0x1c6) [0x8496816]
    /opt/mangos3/bin/mangos-worldd(_ZN13WorldRunnable3runEv+0xba) [0x81435aa]
    /opt/mangos3/bin/mangos-worldd(_ZN9ACE_Based6Thread10ThreadTaskEPv+0x1d) [0x8565b9d]
    /opt/mangos3/lib/libACE-5.6.6.so(_ZN21ACE_OS_Thread_Adapter6invokeEv+0x67) [0xda20d7]
    /opt/mangos3/lib/libACE-5.6.6.so(ace_thread_adapter+0x11) [0xd4e601]
    /lib/libpthread.so.0 [0x196832]
    /lib/libc.so.6(clone+0x5e) [0x2e5e0e]

    EDIT:

    SOLVED

    include directory wasnt deleted, in the new make install it must be deleted if you use --disable-buildin-ace

    if not, you will have conflict :(

  13. Is only my server o anyone have the same problem ??

    My Mangos build is MaNGOS_R9773

    My players stays in connecting msg when try to enter into the server, some of they can join, but just 6 to 10 ppl... the rest cant join..

    The mangosd process is using 90% of cpu, normaly it use 16%

    If i restart the server, i have the same problem again and again

    Update:

    Ok i found the problem, was an attack from the ip: 190.15.198.202

    Is a server called Mendoza WoW.. nice isnt :mad:

  14. SO: Linux CentOS

    Mangos Version: YTDB_0.11.0_R539_MaNGOS_R9600_SD2_R1643_ACID_R303_RuDB_R35.0

    The server crash when character die

    BuildPlayerRepop: player Strom(107341) already has a corpse

    mangos-worldd: ../../../src/game/Player.cpp:4171: void Player::BuildPlayerRepop(): Assertion `false' failed.

    Seems to be only in the Bloodmyst Isle zone

    Already tried truncate corpses table

×
×
  • 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