Jump to content

jahangames

Members
  • Posts

    36
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by jahangames

  1. Hello,

    I tray to run it on the Apache2 on Debian 6 , but i have error :

    Not Found
    The requested URL /search.xml was not found on this server.
    Apache/2.2.16 (Debian) Server at XXX.XX.18.16 Port 80

    Can any one give my PHP & Apache Config for armory ?

    and did you fix problem in wive in ie ?

    i have this error on ie :

    The XML page cannot be displayed 
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. 
    --------------------------------------------------------------------------------
    The system cannot locate the object specified. 

    Thank you

  2. i Found this script but it's not working for me .

    - Run as a background service

    #!/bin/bash
    # This script is copyright Weedysoft Inc. 2006
    # Distributed under the terms of the GNU General Public License v2
    #
    # Massive Network Game Object Server
    # Init Script
    #
    # I make no guarantees, it works for me and thats what counts. Don't come crying if it nukes your server.
    # Made for sandoria.org
    
    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 $?
    

    - Auto restarting script

    #cat run-mangosd
    #!/bin/bash
    # Massive Network Game Object Server
    # autorestart Script
    
    DPATH=/opt/mangos/bin
    
    while :
    do
           echo "MaNGOS daemon restarted"
           echo `date` >> crash.log &
           $DPATH/mangosd | tail -n 20 >> crash.log
           echo " " >> crash.log &
           pid=`ps ax | awk '($5 ~ /mangosd/) { print $1 }'`
           wait $pid
           echo `date` ", MaNGOS daemon crashed and restarted." >> serverlog
    done
    

    Where i need to put this 2 Files ?

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