Jump to content

Daggo

Members
  • Posts

    19
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by Daggo

  1. Hey hum... im trying to start a new live private server and i choosed mangos cause i love mangos,i got every thing i need to start my server but i dont know how to script anything =(

    Anyway, my problem is that when i enter an instance or a raid i cant see other people and they cant see any one, i only can see them on the mini map...

    I have experienced this a couple times before. Make sure your gm is set to off and you are part of that group. Leave the instance and re-enter. This usually fixes the issue. If it does not, you may need to just re-compile a fresh new updated mangos and it should help.

    + When i try something like .namego its say "You only can use this command if your not into an instance or the leader of the group" ... something like that =\\

    You need to be group leader for it to work. If you are not part of a group, it should work reguardless.

  2. Agreed. Screen is what I use. You can try this script to start up mangosd and realmd in the background.

    note* rename mangos-world to mangosd and mangos-realmd to realmd.

    Other than this code, you can try to use the 'nohup' command:

    nohup ./mangos-world &

    nohup ./mangos-realmd &

    version=0.1.9

    MANGOSDIR=/opt/mangos/

    case "$1" in

    "")

    echo "${0##*/} version ${version}, Author: Weedy"

    echo "Usage: ${0##*/} <options>" # No command-line parameters,

    echo "" # or first parameter empty.

    echo "Normal Options:"

    echo " start stop restart"

    exit $E_PARAM

    ;;

    "start")

    cd $MANGOSDIR

    screen -dmS realmd ./bin/realmd

    screen -dmS mangosd ./bin/mangosd

    monitorMangosdPid=`ps ax | awk '($6 ~ /monitor-mangosd/) { print $1 }'`

    if test "$monitorMangosdPid" = ""

    then

    screen -dmS monitor-mangosd ./src/mangosd/monitor-mangosd

    fi

    sleep 3

    realmdPid=`ps ax | awk '($5 ~ /realmd/) { print $1 }'`

    mangosdPid=`ps ax | awk '($5 ~ /mangosd/) { print $1 }'`

    if test "$realmdPid" = ""

    then

    echo "Realmd failed to start"

    fi

    if test "$mangosdPid" = ""

    then

    echo "Mangosd failed to start"

    fi

    echo "Mangos is now online"

    ;;

    "stop")

    realmdPid=`ps ax | awk '($5 ~ /realmd/) { print $1 }'`

    mangosdPid=`ps ax | awk '($5 ~ /mangosd/) { print $1 }'`

    runMangosdPid=`ps ax | awk '($6 ~ /run-mangosd/) { print $1 }'`

    if test "$realmdPid" != ""

    then

    kill $realmdPid

    wait $realmdPid >/dev/null 2>&1

    fi

    if test "$mangosdPid" != ""

    then

    (sleep 1; echo 'USER EDIT_ME_LEVEL3_GM'; sleep 1; echo 'PASS EDIT_ME_TO'; sleep 1;echo 'broadcast Server shuting down - 30s .save warning'; sleep 15; echo 'broadcast Server shuting down - 15s .save warning'; sleep 15; echo 'broadcast Server offline;-)'; sleep 1; echo 'exit'; sleep 1 ) | telnet localhost 34226

    wait $mangosdPid >/dev/null 2>&1

    fi

    if test "$runMangosdPid" != ""

    then

    kill $runMangosdPid

    wait $runMangosdPid >/dev/null 2>&1

    fi

    sleep 3

    echo "Mangos is now offline :-("

    ;;

    "restart")

    realmdPid=`ps ax | awk '($5 ~ /realmd/) { print $1 }'`

    mangosdPid=`ps ax | awk '($5 ~ /mangosd/) { print $1 }'`

    runMangosdPid=`ps ax | awk '($6 ~ /run-mangosd/) { print $1 }'`

    if test "$realmdPid" != ""

    then

    kill $realmdPid

    wait $realmdPid >/dev/null 2>&1

    fi

    if test "$mangosdPid" != ""

    then

    (sleep 1; echo 'USER EDIT_ME_LEVEL3_GM'; sleep 1; echo 'PASS EDIT_ME_TO'; sleep 1;echo 'broadcast Server restarting - 30s .save warning'; sleep 15; echo 'broadcast Server restarting - 15s .save warning'; sleep 15; echo 'broadcast Server offline;-)'; sleep 1; echo 'exit'; sleep 1 ) | telnet localhost 34226

    wait $mangosdPid >/dev/null 2>&1

    fi

    if test "$runMangosdPid" != ""

    then

    kill $runMangosdPid

    wait $runMangosdPid >/dev/null 2>&1

    fi

    echo "Mangos is now offline, restarting;-)"

    cd $MANGOSDIR

    screen -dmS realmd ./bin/realmd

    screen -dmS mangosd ./bin/run-mangosd

    sleep 3

    realmdPid=`ps ax | awk '($5 ~ /realmd/) { print $1 }'`

    mangosdPid=`ps ax | awk '($5 ~ /mangosd/) { print $1 }'`

    if test "$realmdPid" = ""

    then

    echo "Realmd failed to start"

    fi

    if test "$mangosdPid" = ""

    then

    echo "Mangosd failed to start"

    fi

    echo "Mangos is now online"

    ;;

    esac

    exit $?

  3. within the mangos database

    instance_template

    you can also look in your mangos.conf file for such options as

    Instance.IgnoreLevel=1

    Instance.IgnoreRaid=1

    or..

    you need to go into the source code and change a few things.

    I cannot remember exactly where to look, try Map.cpp or anything Instance related

  4. I would also be very interested in something like this. Browsing through ArenaTeamHandler.cpp I found this line:

    if (!sWorld.getConfig(CONFIG_ALLOW_TWO_SIDE_INTERACTION_GUILD) && _player->GetTeam() != objmgr.GetPlayerTeamByGUID(at->GetCaptain()))

    {

    SendArenaTeamCommandResult(ERR_ARENA_TEAM_CREATE_S,"","",ERR_ARENA_TEAM_NOT_ALLIED);// not let enemies sign petition

    return;

    }

    So I guess that means that we will also need to allow two side interactions in the config file. Do you think commenting these lines out may cause issues?

  5. Is there a way to allow a raid group to enter a 5 man instance without booting players after the 5th goes in?

    Just looking for a method that will lift the 5-man maximum restriction on normal instances. There are 6-7 of us who play all the time together and it would be cool if we could go in all the instances as a one raid group. Thanks guys!

    MaNGOS/0.14.0

    Revision 8411 for Linux_x32 (little-endian)

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