Jump to content

crashuncle

Members
  • Posts

    132
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by crashuncle

  1. Dear Mangos Community, I currently search a possibility to enable a login more then one time on the same account like it was possible in the past. (So you can be with 2 characters on 1 account online) I cant find the function where it checks if a account is already online or not, I thought that this would be done in "AddSession_" but it didn't worked. Could you tell me at least the function or say me which line need to be commented to make multi logins possible? Thanks in advance, Crashuncle
  2. Could you also please upload the Version before which was 2.4.3 compatible?
  3. I would like to show you some code... /* I wish the Mangos community a happy new year and a lot of luck and success for 2009 */ (Hope its legal here that way)
  4. Awesome work, finally a nice version Still im a bit scared currently cause since 3.X.X they seem to log also the realmlist that was a reason why several Servers (I don't say any names) got closed already. Can we use this new branch without being feared that Blizzard make trouble?
  5. Any progress here? I test now for about 1 month the branch from the beginning of November which was created by Scamp and it is STABLE and FAST and it use all CPUs fine, I don't get why nobody care about it anymore cause it make Mangos a lot better.
  6. It is a big fake, if you ever had closer connections with Blizz then you would know it. Just ignore them, if Blizz want something from you then you get a personal visit ... and there are enough possibilities then to prevent that. Be nice to me and I maybe show it you some time personally Those fake letters mostly appear from poor Servers or ones who are jealous on others / just closed. They try to fear others, with success. But yeah as Kich0 said, its generally now allowed to talk about that in this forum.
  7. It compile fine for me on Windows and Linux (Scamps Rep.)
  8. Cause I didn't got the logs working yet I just made Screenshots... You can download the rest here... http://filebeam.com/8ed15e6ece55558df5bb2cf2221ccdc0 I hope it helps somehow, cause its a pretty weird crash which appeared after 20h~ If you have a idea what caused it then it would help a lot, I think its a SQL related thing. And if someone know a better way to log it then it would help me also a lot.
  9. The tutorial helped me a lot and works perfectly on Ubuntu, thanks I have one problem left, I want to log the debug information's to a file to be able to read it easier and post it here in the debug section. I use a console only Linux, so I tried to use this line... gdb mangos-worldd --batch -x /path/to/gdb-commands > /some/log/file The problem is that it cant create the file due to permission reasons so I logged it to /home/<username/gdb.log and that worked, but the console dont display all informations anymore? Is it possible to log ONLY the debug part when the Server crash and let it show still all current informations in the server console before it crash? Thanks in advance, Crashuncle
  10. Hello Mangos Community, Since my RAM problems cause tons of crashes everyday (Which is a reason why I change now to a 64bit Linux instead of using my 32bit Windows) I would like to change some RAM settings. 1. Is it possible to limit Mangos or generally a application under Linux to use not more then X GB of RAM? (I want to limit it so 2 Testrealms don't disturb each other). 2. Is it possible to load all Maps on start in the Cache, to prevent long HDD loads (lags)? (I saw that at a other Core already but it didn't worked good) 3. What is the easiest way to read in Linux the RAM usage / how much RAM is free with Mangos. So it would be possible to show it for example with .info or something similiar? (I planned to force a crash when it use more then X GB of RAM or let it set Unload to 1 and reload the configs) Thanks in advance for your help, Crashuncle
  11. Well REPLACE INTO has 2 advantages... - No more duplicate keys (For example in the Char tables always the "newer" stuff get applied and not elder stuff re-appear) - The chance to loose entries is lower (Read below) For example: DELETE FROM ... [DB Server Disconnected] INSERT INTO... [Cant run query] -> Something would be gone here REPLACE INTO... [DB Server Disconnected] -> No loss, or if the DB Server DC before it simply dont change anything. (INSERT IGNORE is quite pointless cause that has the same result as a INSERT INTO on a duplicate entry)
  12. For what stands "..." I don't understand it completely. $gdb path/to/file -> Like etc/mangos/bin ? gdb-console>run -> To start it? (I guess Mangos start then) (Then when it crashes...) gdb-console>bt -> Read the Debug Info's?
  13. Yes that would help a lot About MT... I personally really like the MT Maps Branch and it work fine for me on Windows and on Linux. Before it looked like this... (200 Testers~) Now its more like this.. (200 Testers~) I'm just curios how some can have more then 1000 Testers and that high stability oO
  14. Hello Mangos Community, I see often in the Server console SQL errors like "INSERT into character_spell .... Duplicated Entry" which appear also for Player items and other parts of the DB. My question is, why we cant use REPLACE INTO? This would overwrite the old entries with the newer information's and it is executed pretty fast / prevent console or log Spam. Is there any disadvantage about REPLACE INTO which I don't know? Crashuncle
  15. This sounds interesting even if I don't understand all sentences or the sense of it. PseudoWoW aka. MangosClient has already very good results, making a Client is a very big project but still a bit easier then a Server at least with the WoW related stuff. Most time will take the graphic engine optimization and getting a smooth movement / using models etc. correctly. Sadly PseudoWoW aka. MangosClient use WoW Material, REALLY interesting would be a Client which dont use ANY Blizzard Material. That would make the whole thing more legal and "Public Mangos Servers" would be also offically allowed since its not related with any Blizzard Material anymore. <- This is probably just a dream anyway, but it would be really awesome when it become some time true cause that would be kinda a own MMORPG. I look forward to see more of your project soon, you can get Ideas from PseudoWoW aka. MangosClient just the owner of it is currently at the Army (Bundeswehr).
  16. With PAE 36bit (64GB max), it work fine. When you have 2 processes then you could use 6GB / 8GB totally. With the /3GB switch 3 GB / process are maximum possible. I can use the whole 8GB of my phsyical memory with my 32bit System fine. So Multi-Processing would make 32bit users very happy, cause currently Mangos is not really useable on 32bit Systems with more then 200~ players, it simply crash then cause the RAM need more then 3GB when a lot of instances and other stuff is running. (If you have GridUnload DISABLED -> You get a lag spree when you enable it with 200+) You see that clearly in the CrashLogs... As you see it show the other part of the 4GB and says it crash cause of a full memory (But it are still 3,5GB free but Mangos cant access this memory). Using 2+ Processes would fix it 100% ;-)(5GB~ used on a 32bit System, totally 8GB available with PAE) Mangos crash when it reach 3.1GB~ (It cant use more as single process)
  17. Yep, enabling /3GB /PAE helped me in the past Mangos can use up to 3GB RAM then it crash cause it cant use more. 32bit Support 8GB for example fine, if you start 2x Mangos it use up to 6GB RAM Physical on Win2k AS. Anyway, I probably switch to Linux 64bit to use the whole 8GB for one application cause currently it crash very often cause of a RAM overload
  18. Well at least the 32bit users will be happy with Multi-Processing. Cause the current problem is that even if you have a System which support more then 4GB as 32bit System then a Application cant use more then 3GB RAM. But if you have for example 2 processes then you can use 6GB totally, and so on...
  19. Anything is better then it is currently, MT Maps based on Multithreading work fine for me.
  20. I think so, because when the Server run for example a query which remove a invalid spell from all chars then the Server stuck for 2-3 minutes (cause of a database query). That is a real problem when the database Server is busy, but I don't think that this is the reason for the login lags which I have cause they even appeared when I tried a local DB Server.
  21. Five CPUs? You can give us further info's like which revision you used etc? Its hard for me to imagine currently a Windows Server based on Mangos which run fine with 260 Testers.
  22. I added already about 200 Debug lines to the Login-Codes in the Character Handler, that show me clearly that the Server lag when a character login. As long as no character login there are no lags (I simply disabled the realm server and it run for hours without a lag). So there can be only a few possibility's... -> Somewhere in the Character Code is a bug which make such lags / There is a bug in the character database (I tried a empty Char DB and got similiar lags, I even tried a SQL Server on a different machine) -> Its related with the Map Loading (But then it shouldn't stop lagging when nobody login) So its easy to replicate the exact circumstance by simply turning on the Server and let players login for about 15 minutes it lag without a break, we speak here not of small lags I mean lags which are up to 1 minute. Some even get disconnected cause they kinda "timeout". As long as 1 player login its "ok" but when 2-3 ... 20-30 login at a similiar time then you can forget the Server for a while. So my idea was to add simply more debug lines which show how much CPU each function need. I added already lines which check the time difference between each function and it said me nothing except that a login take 10ms minimum and about 140 seconds maximum (Which are 140 seconds too much). A lot of time take for example the guilds when the Server bootup or when the chars load itself, but as I said there are similiar problems even with a empty char database. On Linux and on Windows. So there is no easy possibility to measure the CPU usage between specific code parts? I saw code examples on Google which I tried, but the problem was that it only showed the CPU usage before the login. This profile solution would be of course very useful, I use already a process explorer to see the single threads and some more information's. But when it show stuff like the "ntdll.dll" need X CPU then it don't help me much.
  23. That sounds interesting, but I have no idea where I should start. Would this solution be supported by Windows and Linux?
  24. Hello Mangos Community, I found one of the major lag reasons on my Server which exist on Windows and Linux. I saw it clearly now in the Process explorer when I added a debug info when chars login (So I see only logins / errors in the console). The CPU spike up each time a character login, its quite similiar (bit less) with a empty char DB so I guess its a Software problem. What I want to do is adding the CPU usage between every function of the login-phase to see which function need so much CPU usage / stuck the Server. (Is there a easy way to read it?) Its maybe a quite primitive debugging but im pretty sure that it will work, I just want to get finally ride of this laggs Thanks in advance, Crashuncle
  25. I have problems with Windows, too. Heavy lag problems, without ACE at least no DCs. But it like to get a "MySQL Server has gone" when it doesn't lag for a while... So yeh, Mangos is not Windows friendly thats a fact. Only possibility is Linux at the moment cause nobody take care of the Windows users or it take a bit more time till fixes appear for it.
×
×
  • 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