Search the Community
Showing results for tags 'windows'.
Hey all. I use Mangos One cloned from github, i run on MariaDB "Server version: 10.5.6-MariaDB mariadb.org binary distribution" and i did compile it with Cmake (see photo for settings) i used VS studio 2019. set to release (x64) i run the english version with all the patched applied i have the ADbot on, "AuctionHouseBot.CharacterName = "AH-BOT" AuctionHouseBot.Seller.Enabled = 1 AuctionHouseBot.DEBUG.Seller = 0 AuctionHouseBot.Buyer.Enabled = 1 AuctionHouseBot.DEBUG.Buyer = 0" in the DB realmDB table it looks like this (see photo). it dont mather if you keep or tell it to delete the entries (same for character DB) it keeps the old Entries or Delete accounts if you told it too, but it will allways start on the new one. so say your Entry for the player is 1. the bots will start on 2 say you makes 100 bots. it goes from 2-102. next time you start the server it will contune from 102, so now its 103-203 and so on. the same for character DB but here it dont delete the characters. it just see it as a new account so it dont have a character, sadly i cant give a Photo from the character table due to i wanted to export it and the program delete the whole table. instead im faced with this problem: 2020-11-08 18:06:24 [Eluna]: Executed 3 Lua scripts in 22 ms 2020-11-08 18:06:24 Initializing AI Playerbot by ike3, based on the original Playerbot by blueboy 2020-11-08 18:06:24 Deleting random bot accounts... 2020-11-08 18:06:24 Random bot accounts deleted 2020-11-08 18:06:25 ERROR:No more names left for random bots 2020-11-08 18:06:25 ERROR:No more names left for random bots 2020-11-08 18:06:25 ERROR:No more names left for random bots 2020-11-08 18:06:25 ERROR:No more names left for random bots 2020-11-08 18:06:25 ERROR:No more names left for random bots 2020-11-08 18:06:25 ERROR:No more names left for random bots 2020-11-08 18:06:25 ERROR:No more names left for random bots 2020-11-08 18:06:25 ERROR:No more names left for random bots 2020-11-08 18:06:25 ERROR:No more names left for random bots ----- so you might wonder why i even take this up. the reason is that when the server allways makes new bots and add its on. it stores some info somewhere and its not DB related sence i have imported a new Character DB and Realm DB, so when it gets to about a few 900+ to a few 1000+ entries. even if your PC would handle 200 Bots just fine. you will LAGG and the whole server will freeze. think of it like you have to many people on and the server cant handle the stress so you cast a spell and you jsut stand there in animation. im not 100% what is caseing this but thats my thought. not sure if i give all the info needed or not...
With this method your server will always restart and there will be no "Has stopped working" issues. I've been on the lookout for this for a couple of weeks and now that i found out myself i thought, why not share it. Get a restarter, google or make your own in a .bat file. I am using this one: Click here 1. Open regedit.exe (you can type it in the Start Menu or run it through Task Manager) 2. Expand HKEY_LOCAL_MACHINE 3. In it, expand SOFTWARE 4. In it, expand Microsoft 5. In it, expand Windows 6. In it, Click on Windows Error Reporting (you should have reached HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting) 7. Right-click on Windows Error Reporting, go to New and select DWORD (32-bit) Value 8. Give it the name DontShowUI (exactly as written here) 9. Open it (double-click) and in the field “Value data” type in the number 1 You’re now done in the regedit. No more “Has stopped working” dialogs will appear. And i quote Foereaper: "As a side note, this will prevent EVERY error box from showing for any other program as well, as well for debug builds. Use at your own risk", if you decide to turn them back on, just change the value of DontShowUI to the number 0, or just delete DontShowUI Now open up your mangosd.conf file in your server folder and look up MaxCoreStuckTime, the current value is 0. Change it to anything above...10 i would say. Restart your server so the changes takes place and then you're done. Also i am using Windows Server 2008, it should work on Windows 7 or higher too. I am not sure.