Physics keep turning off!!!

Post Reply
User avatar
hakkuo23
This is my homepage
This is my homepage
Posts: 88
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Aug 05, 2010 5:04 pm

Physics keep turning off!!!

Post by hakkuo23 »

Alright, I'm going to use mg_smash as an example.
Sometimes after the server has been up for a while, the physics stop colliding with the brushes. So, in mg_smash, when the blocks fall, they fall through the floor and through the players. I have to do a server restart to fix this so how can I prevent this from happening?
Thanks
User avatar
Edge100x
Founder
Founder
Posts: 12945
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Physics keep turning off!!!

Post by Edge100x »

You're problem is not one that I'm familiar with, but it sounds highly game/mod specific. What type of server is this?
User avatar
hakkuo23
This is my homepage
This is my homepage
Posts: 88
Joined: Thu Aug 05, 2010 5:04 pm

Re: Physics keep turning off!!!

Post by hakkuo23 »

It is a mini games server.
User avatar
Edge100x
Founder
Founder
Posts: 12945
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Physics keep turning off!!!

Post by Edge100x »

If it's a Garrysmod minigames server, than did this problem just begin today? A Garrysmod update was released today and I have had one other customer who said that it broke at least one of his addons.
User avatar
hakkuo23
This is my homepage
This is my homepage
Posts: 88
Joined: Thu Aug 05, 2010 5:04 pm

Re: Physics keep turning off!!!

Post by hakkuo23 »

No it is a CS:S server.
User avatar
Edge100x
Founder
Founder
Posts: 12945
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Physics keep turning off!!!

Post by Edge100x »

Do you have a plugin or config that might be changing a physics variable? There are quite a few of them, including sv_turbophysics. It might be worth taking a look at what some of their values are after the problems start, and comparing it to the fresh server.

Here are some of of the physics variables that might change.

Code: Select all

npc_vphysics                             : 0        : , "sv"           :
phys_impactforcescale                    : 1        : , "sv"           :
phys_penetration_error_time              : 10       : , "sv"           : Controls the duration of vphysics penetration error boxes.
phys_pushscale                           : 1        : , "sv", "rep"    :
phys_speeds                              : 0        : , "sv"           :
phys_stressbodyweights                   : 5        : , "sv"           :
phys_timescale                           : 1        : , "sv"           : Scale time for physics
phys_upimpactforcescale                  : 0        : , "sv"           :
physicsshadowupdate_render               : 0        : , "sv"           :
sv_bounce                                : 0        : , "sv", "nf", "rep" : Bounce multiplier for when physically simulated objects collide with other objects.
sv_pushaway_clientside                   : 0        : , "sv", "rep"    : Clientside physics push away (0=off, 1=only localplayer, 1=all players)
sv_pushaway_force                        : 30000    : , "sv", "rep"    : How hard physics objects are pushed away from the players on the server.
sv_pushaway_max_force                    : 1000     : , "sv", "rep"    : Maximum amount of force applied to physics objects by players.
sv_pushaway_min_player_speed             : 75       : , "sv", "rep"    : If a player is moving slower than this, don't push away physics objects (enables ducking behind things).
sv_turbophysics                          : 0        : , "sv", "rep"    : Turns on turbo physics
vprof_scope_entity_gamephys              : 0        : , "sv"           :
User avatar
hakkuo23
This is my homepage
This is my homepage
Posts: 88
Joined: Thu Aug 05, 2010 5:04 pm

Re: Physics keep turning off!!!

Post by hakkuo23 »

Alright I will take a look.
Thanks!
Detox
A semi-regular
A semi-regular
Posts: 24
Joined: Fri Apr 16, 2010 8:19 am

Re: Physics keep turning off!!!

Post by Detox »

It's an engine problem caused by an oncolide hook error, I don't think there's a fix for it other then restarting the server. Seems to happen a lot to mini-game servers on piratewars, smash cannons, and other maps like that because of the amount of moving objects. Been having problems with it myself, If I do find a fix ill let you know :).
dawnofviolence
A regular
A regular
Posts: 37
Joined: Mon Nov 01, 2010 7:16 pm
Contact:

Re: Physics keep turning off!!!

Post by dawnofviolence »

i had this same problem in my server changing the timescale for the phys seemed to fix it. i have mine set to 1
DoVGaming.net CSS COMMUNITY POWERED BY NFOSERVERS.COM
Post Reply