Jump to content

[Changelog] DarkRP Server


TitsRP
 Share

Recommended Posts

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 dying
  • People walking
  • People building
  • People 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 client
  • Disabled M9K Gas Convar 
  • Updated DarkRP
  • Updated ULX / ULib
  • Disabled some timers in DarkRP which tick every server frame
  • Lowered server slots from 50 to 42
  • New 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 Weapons
  • Hooker 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 know
  • I have cleaned up a lot of client side errors such as the popcorn spam, spiderman gun famous "attachment" error and me removing the hooker mod
  • I am currently redoing all packs for weapons

Errors 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.

 

4a92a00a76237768aaeaf1c037c29374.png

 

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

9e3f11e59dab1a40f5b534c2548dcdee.png

Link to comment
Share on other sites

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 leaks
  • Fixed some of the remaining lua errors still lingering in the server
  • Updated the job names on the rules page for some jobs
  • I am currently working on displaying the game server and TS server on the front page of the forums, our webhost has some ports blocked though
  • Removed 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 System
  • Added Damage Mod system
  • Fixed some models and rendering issues
  • Fixed some clientside and server side errors

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

  • Added some weapons to default classes (Hobo lord comes to mind)
  • Fixed investor so all jobs can use it
  • Fixed unboxing to an updated version
  • Fixed some models that were errors

Link to comment
Share on other sites

September 24th Changelog

 

 

  • Fixed more models
  • Enabled some resources to be downloaded alternatively
  • Disabled 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

September 25th Changelog

 

  • Decreased head bobbing and gun sway on TFA weapons
  • Lowered recoil by a small amount
  • Increased damage by all guns by 1.3x
  • Damage modifier now works (my bad)
  • Removed a ton of think functions from addons that did not really need it
  • Added weather system (forgot it)
  • Added a crossbow to the Assassin class
  • Removed stock system
  • Fixed Armory not giving TFA weapons
  • Added in chessboards to the map, I forgot that too
  • Added back old HUD
  • Changed MoTD temp
  • Added back Hit Numbers
  • Added server information to the forums

I 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

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 bad
  • Removed some custom models. Some are not correctly set up on the valve bipded and causes issues with crashing
  • Removed 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 / effects
  • Added a crazy physics catcher
  • Added DBugr for the next reset

---------------------------------------------------------------------------------

  • Removed DBugr
  • Removed 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

September 27th Changelog

 

  • Replaced BLogs with DLogs
  • Changed announcements on the MOTD to accommodate the latest changelog
  • Claimed server to log time
  • Monitoring 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 addons
  • Disabled client side gas effects for guns (will help fps)
  • Removed bad file paths

Link to comment
Share on other sites

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 server
  • Fixed a missing model with lightsabers
  • Removed some playermodels that are poorly rigged

-------------------------------------------------------------------------------

WaveData Changelog

 

  • Removed Snoop Weapon 3.23mb
  • Removed Sonic Sounds from swep 4.5mb
  • Removed drinking and eating sounds from food 8mb
  • Removed startup ironman song .6 mb
  • Removed "Yes" from falcon punch .22mb
  • Replaced Axe sound for RE5 giant axe ??
  • Removed all but 1 hunter pounce sound .5mb
  • Removed poop eat sound .6mb
  • Removed grub voice from RO2 weapons .4mb
  • Removed monkey bomb song .5mb
  • Replaced sound on SG550 .75 mb
  • Replaced sound on AK47 .6mb
  • Replaced sound on mp5 .5mb
  • Replaced all sounds on Angry Hobo Swep 3.5mb
  • Replaced sound on g3sg .25mb
  • Replaced fireball sound .3mb
  • Removed all but one quacking sound .3mb
  • Looking 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

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

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 check
  • Disabled gas shooting on all clients
  • Removed some more think and tick functions in addons that don't need them

Link to comment
Share on other sites

October 1st Changelog

 

Some balancing. Still working on the FPS issue

 

  • Removed impact and force which causes penetration through props on TFA sweps
  • Removed penetration from some CSGO guns on the M9K base
  • Removed 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

  • Rubik unpinned, featured and pinned this topic
  • Rubik unpinned, pinned and unpinned this topic
  • Rubik pinned this topic
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...