TitsRP Posted September 21, 2015 Author Share Posted September 21, 2015 September 21st Changelog I will try and make this fast, I just closed this whole tab by accident. I have been combating memory leaks by doing a ton of tests. Most tests were inconclusive and I was unable to really effect my test server by a lot. Here are some things I found though. Memory leaks: Full server: 42 clients All citizens, no movement for 2 hours All addons, no AC Starting FPS: 95 - 101 Starting Memory used: 850MB Full server: 42 clients All custom jobs, no movement Uptime: 3 hours All addons, no AC Starting FPS: 95 - 100 Memory Used: 433MB (means there was a ton of cleanup) Full Server: 42 clients All custom jobs, moving around All addons, no AC Equipped with every weapon in the game 2 sets of Meth Spawned 600 Props, 4 of every bit miner Warning a bot every x seconds Every car spawned on the map FPS After 30 min: 30 - 45 Memory Used: 900MB - 1000MB Reasons for memory to go up: People dyingPeople walkingPeople buildingPeople spawning(Basically any action in the game can do this) To combat this here are some changes: Removed 10,000+ data files that were being cached in the server and possibly being sent to the clientDisabled M9K Gas Convar Updated DarkRPUpdated ULX / ULibDisabled some timers in DarkRP which tick every server frameLowered server slots from 50 to 42New logging system which is 100% than my modified Dlogs that was hanging on by a thread In short, we will most likely have to start removing a lot of addons. Unless this issue is strictly linux, some changes will have to be made. My personal guess is that its M9K weapons. I will probably do a 1 day change from M9K to CSS to see how people like it and to see if anything changes, if not, we can go back. No problem. Also, once I am back home, I will fix most of the lua errors for client side errors which will most likely help since those are cached. Some addons that I would love to try removing is M9K WeaponsHooker Mod (tons and tons of functions for such a small impact)Stock system since it pulls from the Yahoo Finance API every 3 minutes, it probably caches everything on your system---------------------------------------------------------------------------------------------------------------------------------------------------------------- Some updated information The test server and dedicated server have around a 40fps difference from each other for some reason. Don't ask why, I don't knowI have cleaned up a lot of client side errors such as the popcorn spam, spiderman gun famous "attachment" error and me removing the hooker modI am currently redoing all packs for weaponsErrors should now be little to none for the client, I have to enable server side errors again and see if anything is coming up there. ----------------------------------------------------------------------------------------------------------------------------------------------------------------- Since the server has been down for 4 hours because of some unknown reason, I have done a ton of work on redoing ALL packs. We are now down another 400MB which is awesome. Because this is such a large downtime, I am going to switch M9K to TFA CSS weapons for this reset. I will have a backup of everything but for the case of getting rid of M9K for beautiful TFA which will save us another 600MB, we should at least try it. M9K -> TFA (Possibly Temp if everyone is really angry)----------------------------------------------------------------------------------------------------------------------------------------------------------------- Done. Here are the results. I have erased over half of the server content that was unused and turned M9K weapons into the beautiful TFA weapons. I hope you guys like them! I will be monitoring server performance and client performance. I hope it helped. (Don't mind that only 90 files were removed, that's scripts, not GMA's) I have also worked on how much cache is stored Link to comment Share on other sites More sharing options...
TitsRP Posted September 23, 2015 Author Share Posted September 23, 2015 September 23rd Changelog We moved hosts and fixed a lot of issues. Please let me know if you find something missing or not working! There was some data lost such as ulx groups, people in those groups, perks, cars and inventories. This is kinda a fresh start but you will still have your money and of course custom classes if you have one. I will be re-promoting people back to their rightful group, please give me a day or so to sort everything out. Enabled the logging of server side lua errors, this may help us with memory leaksFixed some of the remaining lua errors still lingering in the serverUpdated the job names on the rules page for some jobsI am currently working on displaying the game server and TS server on the front page of the forums, our webhost has some ports blocked thoughRemoved hooker mod Later today I will be updating custom class info and I may make a FAQ since it would help newer players when looking for a server they want to be in. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Added Party SystemAdded Damage Mod systemFixed some models and rendering issuesFixed some clientside and server side errors---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Added some weapons to default classes (Hobo lord comes to mind)Fixed investor so all jobs can use itFixed unboxing to an updated versionFixed some models that were errors Link to comment Share on other sites More sharing options...
TitsRP Posted September 24, 2015 Author Share Posted September 24, 2015 September 24th Changelog Fixed more modelsEnabled some resources to be downloaded alternativelyDisabled HUD until its confirmed its not caused a client leak If something is broken or not functioning properly, please let me know! Link to comment Share on other sites More sharing options...
TitsRP Posted September 25, 2015 Author Share Posted September 25, 2015 September 25th Changelog Decreased head bobbing and gun sway on TFA weaponsLowered recoil by a small amountIncreased damage by all guns by 1.3xDamage modifier now works (my bad)Removed a ton of think functions from addons that did not really need itAdded weather system (forgot it)Added a crossbow to the Assassin classRemoved stock systemFixed Armory not giving TFA weaponsAdded in chessboards to the map, I forgot that tooAdded back old HUDChanged MoTD tempAdded back Hit NumbersAdded server information to the forumsI am still looking into the low fps after x minutes. The issue will be solved soon, I can FEEL it --------------------------------------------------------------------------------------------------------------------- Personally going to be trying an Awesomium replacement because I feel the client fps drop may be in there. also crt smells like SHIT Link to comment Share on other sites More sharing options...
TitsRP Posted September 26, 2015 Author Share Posted September 26, 2015 September 26th Changelog To dive deeper into this frame drop issue, we have to try removing some things that are intensive for the client and the server to handle. I will also be removing some recent playermodels as one of them is crashing the server. I will notify you if your model is removed. Temporarily removed Spiderman's SWEP (this swep only thinks every frame which is 16 times a second. 5 people flying around on a spiderman gun at once is calling 80 sequences of over 150 lines of code per second. So yes, this swep is insane.) I will replace this for the time being until its confirmed it has nothing to do with it. This swep also creates lua errors for the server and client which is badRemoved some custom models. Some are not correctly set up on the valve bipded and causes issues with crashingRemoved laser jetpack for another force emitter, same thing that will be replaced with spiderman gun (more thinking)Removed another 20 think functions on sweps /entities / effectsAdded a crazy physics catcherAdded DBugr for the next reset--------------------------------------------------------------------------------- Removed DBugrRemoved more models that are rigged weird Because I am getting agitated with the whole FPS issue, I will be running a profile tomorrow and debugger on my test server to find the real source of the issue Link to comment Share on other sites More sharing options...
TitsRP Posted September 27, 2015 Author Share Posted September 27, 2015 September 27th Changelog Replaced BLogs with DLogsChanged announcements on the MOTD to accommodate the latest changelogClaimed server to log timeMonitoring resource values on test server to see what spikes what memory---------------------------------------------------------------------------------------------------- Removed all custom models on the TFA CSS base. I kept the custom sounds because I think they sound great. (Saved 110mb of space)Removed Tyrone's HUGE MODELS, I HATE YOU TYRONE (Saved 230mb of space)Removed "Cop" weapons. (Saved 70mb of space)Removed an extra 4 workshop addonsDisabled client side gas effects for guns (will help fps)Removed bad file paths Link to comment Share on other sites More sharing options...
TitsRP Posted September 28, 2015 Author Share Posted September 28, 2015 September 28th Changelog Fixed corrupt shipments (forgot to change it off the alt tfa weapons)Lowered WaveData cache by around 30 mb hopefully. This may fix frame drop after x time in the serverFixed a missing model with lightsabersRemoved some playermodels that are poorly rigged------------------------------------------------------------------------------- WaveData Changelog Removed Snoop Weapon 3.23mbRemoved Sonic Sounds from swep 4.5mbRemoved drinking and eating sounds from food 8mbRemoved startup ironman song .6 mbRemoved "Yes" from falcon punch .22mbReplaced Axe sound for RE5 giant axe ??Removed all but 1 hunter pounce sound .5mbRemoved poop eat sound .6mbRemoved grub voice from RO2 weapons .4mbRemoved monkey bomb song .5mbReplaced sound on SG550 .75 mbReplaced sound on AK47 .6mbReplaced sound on mp5 .5mbReplaced all sounds on Angry Hobo Swep 3.5mbReplaced sound on g3sg .25mbReplaced fireball sound .3mbRemoved all but one quacking sound .3mbLooking to entirely remove saber loop sounds 1.2mb - 2.0mb //done Total saved at this point ------------------------- 26.4mb +- .5mb of WaveData Cache Since source limits us at 64MB, this CAN be a reason why FPS dips because the engine is trying to cache more and more and we are just hitting its limit. Unfortunately, I do not know if this is a 100% fix but its worth trying right? Link to comment Share on other sites More sharing options...
TitsRP Posted September 29, 2015 Author Share Posted September 29, 2015 September 29th Changelog One addon that spikes memory and lowers FPS is the NLR System we have. As of right now, I am going to remove it from the game since I will try removing every addon one by one to see if the actual clientside FPS leak stops. Removed NLR Link to comment Share on other sites More sharing options...
TitsRP Posted September 30, 2015 Author Share Posted September 30, 2015 September 30th Changelog One of the addons that actually caches something and noticeably drops FPS in the theater. I will have to remove it for this reset as I am curious to see what happens. I also disabled a workaround check for some wire entities which called a timer every tick. Removed Theater (Temp)Removed Workaround checkDisabled gas shooting on all clientsRemoved some more think and tick functions in addons that don't need them Link to comment Share on other sites More sharing options...
TitsRP Posted October 1, 2015 Author Share Posted October 1, 2015 October 1st Changelog Some balancing. Still working on the FPS issue Removed impact and force which causes penetration through props on TFA swepsRemoved penetration from some CSGO guns on the M9K baseRemoved Skull Smasher. I thought this needed to be here Please let me know if anything else should be changed / balanced. Link to comment Share on other sites More sharing options...
Recommended Posts