-
Posts
2052 -
Joined
-
Last visited
-
Days Won
74 -
Donations
0.00 GBP
Content Type
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Everything posted by madmax
-
Just wrap the .exe is a bat file. You can use most bat files that restart game servers and just adapt the code to what you need. In our case we are using this. Keep in mind what we use runs on the desktop though so not as a service, if that's what you want I'm not sure as I dont usually use services for this as i like to see the console. ::=======================:: :: Server Guardian :: ::=======================:: ::=======================:: :: SET YOUR VARIABLES! :: ::=======================:: ::=======================:: :: Window and Log name :: :: Replace "My Server" :: ::=======================:: set servername=M0 COSMIC RAY ::=======================:: :: Your start command :: :: Replace after = :: ::=======================:: set runcmd=mangosd.exe -c mangosd.conf -a ahbot.conf ::=======================:: :: End of variables :: ::=======================:: :: This will keep the window clean and easy to read @ECHO off :: Sets the title of the window title Guardian Script %servername% :: Clears the window incase there is anything there CLS :: Prints to the window what we are doing ECHO Server Guardian has been started! ECHO. ECHO ************************************************************************* ECHO To close the server, close this window and type exit in the server window ECHO ************************************************************************* ECHO. ECHO. ECHO %servername% is now starting... >> "logs\restart\%servername%.log" ECHO. >> "logs\restart\%servername%.log" ECHO. >> "logs\restart\%servername%.log" ECHO (%date%)(%time%) Server Guardian has been started! >> "logs\restart\%servername%.log" ECHO (%date%)(%time%) %servername% is now starting... :: This is a return point in case the server crashes or is closed :restart ECHO. ECHO (%date%)(%time%) %servername% is now ONLINE ECHO Watching %servername% for crashes... >> "logs\restart\%servername%.log" ECHO. >> "logs\restart\%servername%.log" ECHO (%date%)(%time%) %servername% is now ONLINE >> "logs\restart\%servername%.log" ECHO (%date%)(%time%) Watching %servername% for crashes... ::Start the actual server %runcmd% ECHO. ECHO (%date%)(%time%) Crash or Close detected! ECHO %servername% is now restarting... >> "logs\restart\%servername%.log" ECHO. >> "logs\restart\%servername%.log" ECHO (%date%)(%time%) Crash or Close detected! >> "logs\restart\%servername%.log" ECHO (%date%)(%time%) %servername% is now restarting... ::Server crashed or closed, so we point it to the return point to start the server again goto restart
-
Added this to the tracker so its logged. Add a GUI to the tracker that can do the following: Show the live output from the console (as currently shown now) Start and stop buttons - the server would not automatically start without a setting being set on first run of the GUI Title bar to show "Players: xx | Connections: xxx" (connections being open tcp connections to the process). Additional further things could be to parse the config file to check database connections are correct prior to the core actually loading. And update checking via a call to a simple version file stored on the assets.getmangos.eu domain.
-
Changed Status to Awaiting Feedback Changed Implemented Version to Unset Changed Milestone to Unset Changed Priority to New
-
@Aaron Briggs Can you give us something like an example to reproduce this? Or a video or something?
-
Changed Status to Confirmed Changed Assigned to madmax Changed Implemented Version to Unset Changed Milestone to Unset Changed Priority to Low
-
Will look into this when I have time.
-
critical Command ".ticket surveyclose" stops the server from responding
madmax commented on Cyber Mist's bug in Bugs
Changed Assigned to Elmsroth -
critical Command ".ticket surveyclose" stops the server from responding
madmax commented on Cyber Mist's bug in Bugs
Fixed in commit https://github.com/mangoszero/server/commit/d5a77b0965 and https://github.com/mangosone/server/commit/855de61c519d4bdf9aba842d32827d51e96b8bb5 -
critical Command ".ticket surveyclose" stops the server from responding
madmax commented on Cyber Mist's bug in Bugs
Changed Status to Completed Changed Implemented Version to 21.14 (Master Branch) Changed Milestone to 22 (Next) Changed Priority to Normal -
Installation mit EasyBuild und offene fragen
madmax replied to Tobi Rodriguez's topic in German / Deutsch
Is mangosd being hosted on the same computer as the wow client you are playing from? Or is the game on another computer? -
@onixiya I have created a dedicated topic for this guide so it does not get to cluttered with lots of replies.
-
Original credit @H0zen rewritten in part by myself. Our covenant servers hold lots of user and character data, we need to make sure that is safe and one of the tasks we do is multiple daily backups to an offsite FTP server. This script is ran via cronjob and can be ran as many times a day as you like. You will need to run things like "yum install ftp" for the ftp part and have zip installed. Make sure you change the parts suck as yourbackupfilename, servername, MySQL/FTP details, the password on the zip file and the folder path "remotefolder" in the FTP transfer section. #!/bin/sh # Archive & file variables ARCHIVE=yourbackupfilename`date +"%F"` OLDARCHIVE=yourbackupfilename-`date --date '-5 days' +"%F"` FILE=servername-Realmd_`date +"%F"` FILE0=servername-ZERO-Chars_`date +"%F"` FILE1=servername-ONE-Chars_`date +"%F"` FILE2=servername-TWO-Chars_`date +"%F"` # MySQL variables DBSERVER=127.0.0.1 REALMD_DATABASE=realmd CHARACTERSS_ZERO_DATABASE=characters-classic_servername CHARACTERSS_ONE_DATABASE=characters-tbc_servername CHARACTERSS_TWO_DATABASE=characters-wotlk_servername USER=rootuser PASS=rootpassword # FTP transfer on demand connection & login details FTP_USER=ftpuser FTP_PASS=ftppass FTP_HOST=ftphostname # Remove previous .zip files if multiple daily backups are being ran echo "Checking and removing as needed old .zip files locally." rm -f $ARCHIVE.zip rm -f $OLDARCHIVE.zip # Dump MySQL database in .sql files into /root echo "Dumping .sql files to /root" mysqldump --opt --user=${USER} --password=${PASS} ${REALMD_DATABASE} > ${FILE}.sql mysqldump --opt --user=${USER} --password=${PASS} ${CHARACTERSS_ZERO_DATABASE} > ${FILE0}.sql mysqldump --opt --user=${USER} --password=${PASS} ${CHARACTERSS_ONE_DATABASE} > ${FILE1}.sql mysqldump --opt --user=${USER} --password=${PASS} ${CHARACTERSS_TWO_DATABASE} > ${FILE2}.sql echo ".sql files have been dumped to /root." # Zip dumped MySQL .sql files and password the zip file echo "Zipping dumped .sql files." zip -e -P backupfilepassword $ARCHIVE.zip $FILE.sql $FILE0.sql ${FILE1}.sql ${FILE2}.sql # Show the user the result echo "${ARCHIVE}.zip was created!" # Move the file via ftp to remote NAS echo "Initiating FTP transfer on demand." ftp -n $FTP_HOST <<END_SCRIPT quote USER $FTP_USER quote PASS $FTP_PASS cd remotefolder/remotefolder binary delete $OLDARCHIVE.zip put $ARCHIVE.zip quit END_SCRIPT # FTP transfer on demand ends # Tidy up files in the /root folder rm -f /root/*.sql echo "Clearing dumped local .sql files." Mangos Backup Cron Script.txt
-
Changed Status to Unconfirmed Changed Assigned to Necrovoice Changed Implemented Version to Unset Changed Milestone to Unset Changed Priority to New
-
@mtp1032this would be better posted in the help forum then a comment.
-
This topic has a list of current and reported known bugs within MaNGOS and will be updated by the team regularly. Linux MaNGOS Zero - CMakeFileList for ExtractionTools will not automatically copy these files from 'Extractor_Binaries' folder (One and Two does the copy but in two different ways) MoveMapGen.sh offmesh.txt mmap_excluded.txt Windows EasyBuild - Doesn't actually accept folder path with spaces in it. (i.e. "C:\Path to Mangos\Mangos" doesn't work, "C:\Path_To_Mangos\Mangos" does work).
-
Druid in Bear Form Not Regenning Mana
madmax commented on Mindmaster's bug in Archived Reports (Zero)(Resolved issues)
Awaiting feedback from @H0zen or @antz to see if this fix has been applied to the core. -
Hope this is the right forum - Rogue bug
madmax replied to Clawwd's topic in Peer to Peer Technical Support
Hi there, I will get this moved to the correct forum and advise the team of this topic. -
Changed Status to Confirmed Changed Assigned to H0zen, antz Changed Implemented Version to Unset Changed Milestone to 22 (Next) Changed Priority to Low Changed Sub-Category to Code Enhancement
-
mangos zero Windows installation guides
madmax replied to madmax's topic in Peer to Peer Technical Support
Just finished testing this and all working fine here -
mangos zero Windows installation guides
madmax replied to madmax's topic in Peer to Peer Technical Support
I'm testing the below now to see if it works, if it does then this is what you need to do for the last working build. git clone --recursive https://github.com/mangoszero/server Enter the clone folder git checkout 9e81d0945948c558173d2e34bf873bb55f54831e git submodule init git submodule update Uses commit: https://github.com/mangoszero/server/commit/9e81d0945948c558173d2e34bf873bb55f54831e -
mangos zero Windows installation guides
madmax replied to madmax's topic in Peer to Peer Technical Support
I'd have to do some testing as I don't even know with the repo in it's current state if that would work since we have altered sub-modules since the older commits, i'll let you know if i find out. -
mangos zero Windows installation guides
madmax replied to madmax's topic in Peer to Peer Technical Support
A good thing to check is any page with the build status box on the top right on the website, you can click on the status images to see the build log etc. Those images update in real-time so if a build is working from the live github it will show as soon as it is Glad you got it working. -
mangos zero Windows installation guides
madmax replied to madmax's topic in Peer to Peer Technical Support
Which core you building? Zero is currently borked with the last 2 commits until those get fixed i'd recommend using these if it's zero - https://github.com/mangoszero/server/releases
Contact Us
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
This website is in no way associated with or endorsed by Blizzard Entertainment®