painejake
Members-
Posts
64 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Everything posted by painejake
-
Thanks for the help with that Wyk3d. Been really busy last night and will be tonight but ill sort it out ASAP If it helps here's a crash log from last night. I managed to stop the bad lag spikes and now its just a little. Then a big lag spike before the server crashes and restarts. http://paste2.org/p/134430 This is what i tried: Visibility.GroupMode = 0 Visibility.Distance.Creature = 45 Visibility.Distance.Player = 45 Visibility.Distance.Object = 45 Visibility.Distance.InFlight = 45 Visibility.Distance.Grey.Unit = 1 Visibility.Distance.Grey.Object = 10 Instead of the default 66
-
Im been having real issues on windows too, so ill use purify for windows and im also debugging so ill post all the info i get in a .zip later on tonight
-
[Guide] Updating for Windows
painejake replied to Auntie Mangos's topic in OldInstallation, configuration & upgrades
Is there any reason why you shouldnt use VS Express on x64? -
Well we i can compile it on the macs at work oif we have any working :lol:
-
Ill help out where i can Will be a very nice way of learning C++ and starting from there
-
HG's quite nice over at bitbucket.org but i dont mind which one
-
I know next to no C++ but id love to help where i can in the gfx department maybe and learn so C++ too on the way
-
Mangos Minimanager Website - Inactive?
painejake replied to Auntie Mangos's topic in OldGeneral discussion
Using asp maybe? -
Mangos Minimanager Website - Inactive?
painejake replied to Auntie Mangos's topic in OldGeneral discussion
I dont have a lot of time but will be willing to help where i can as its a shame to see the project like MMM go. Im sure its still being worked on though tbh. Look in the i think its tags and WotLK folder -
Making your own branch and using "old revisions"
painejake replied to a topic in OldSource code management
So nice info thanks was googleing this earlier! -
See the thing is php you may thing why not way easier! Yeah true but: 1. You cannot see how much Memory, CPU usage is used my mangos alone.. 2. You cannot see latency (average and each player) 3. You can take ANY info from mangos you need anything! So IMO the XML dump is the way forward although this thread isnt getting much of a response and as i said Me + C++ = disaster however i am very slowly learning and hope to mayeb get this done if on my own by 2012 We'll see how it goes Edit: Thanks for the link btw RedCell i might read that anyway as its quite interesting
-
Yeah thanks for the base The main thing im looking to pull out is the CPU and RAM usage just cause i like to look at those things and when im at work i cant do it. It would also be good to hav the instance that are currently being done and or when the instance resets If anyone want s to give me and hand with this it would be great as i said my C++ is not very good Thanks for the resonses Edit: Btw brunogcar what is it that i need to edit in world.h? Also is there a xml file for it or does it actually generate one? Cheers
-
You didnt install .net framework 3.5 for the reference If you didi it didnt install correctly
-
Ok i want to edit the core to dump stats such as memory, CPU etc to a XML stats file in the way that as*ent does. I have looked at their source for a way to do it and found in WorldCreator.cpp this which i THINK is part of what i need: void BuildStats(MapMgr * mgr, char * m_file, Instance * inst, MapInfo * inf) { char tmp[200]; strcpy(tmp, ""); #define pushline strcat(m_file, tmp) snprintf(tmp, 200, " <instance>\\n"); pushline; snprintf(tmp, 200, " <map>%u</map>\\n", mgr->GetMapId()); pushline; snprintf(tmp, 200, " <maptype>%u</maptype>\\n", inf->type); pushline; snprintf(tmp, 200, " <players>%u</players>\\n", mgr->GetPlayerCount()); pushline; snprintf(tmp, 200, " <maxplayers>%u</maxplayers>\\n", inf->playerlimit); pushline; //<creationtime> if (inst) { tm *ttime = localtime( &inst->m_creation ); snprintf(tmp, 200, " <creationtime>%02u:%02u:%02u %02u/%02u/%u</creationtime>\\n",ttime->tm_hour, ttime->tm_min, ttime->tm_sec, ttime->tm_mday, ttime->tm_mon, uint32( ttime->tm_year + 1900 )); pushline; } else { snprintf(tmp, 200, " <creationtime>N/A</creationtime>\\n"); pushline; } //<expirytime> if (inst && inst->m_expiration) { tm *ttime = localtime( &inst->m_expiration ); snprintf(tmp, 200, " <expirytime>%02u:%02u:%02u %02u/%02u/%u</expirytime>\\n",ttime->tm_hour, ttime->tm_min, ttime->tm_sec, ttime->tm_mday, ttime->tm_mon, uint32( ttime->tm_year + 1900 )); pushline; } else { snprintf(tmp, 200, " <expirytime>N/A</expirytime>\\n"); pushline; } //<idletime> if (mgr->InactiveMoveTime) { tm *ttime = localtime( &mgr->InactiveMoveTime ); snprintf(tmp, 200, " <idletime>%02u:%02u:%02u %02u/%02u/%u</idletime>\\n",ttime->tm_hour, ttime->tm_min, ttime->tm_sec, ttime->tm_mday, ttime->tm_mon, uint32( ttime->tm_year + 1900 )); pushline; } else { snprintf(tmp, 200, " <idletime>N/A</idletime>\\n"); pushline; } snprintf(tmp, 200, " </instance>\\n"); pushline; #undef pushline } void InstanceMgr::BuildXMLStats(char * m_file) { uint32 i; InstanceMap::iterator itr; InstanceMap * instancemap; Instance * in; m_mapLock.Acquire(); for(i = 0; i < NUM_MAPS; ++i) { if(m_singleMaps[i] != NULL) BuildStats(m_singleMaps[i], m_file, NULL, m_singleMaps[i]->GetMapInfo()); else { instancemap = m_instances[i]; if(instancemap != NULL) { for(itr = instancemap->begin(); itr != instancemap->end() { in = itr->second; ++itr; if(in->m_mapMgr==NULL) continue; BuildStats(in->m_mapMgr, m_file, in, in->m_mapInfo); } } } } m_mapLock.Release(); } as im not to hot on the C++ side i was just wondering if someone could help me out with this? Any pointers would be great I think i need more code though as that only looks like it generates the Instance stats..
Contact Us
To contact us
click here
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
Copyright © getMaNGOS. All rights Reserved.
This website is in no way associated with or endorsed by Blizzard Entertainment®
This website is in no way associated with or endorsed by Blizzard Entertainment®