Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
« Previous 1 … 14 15 16 17 18 Next »
Error with link's dialing computer
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Error with link's dialing computer
14-07-2014, 01:12 PM,
#3
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Error with link's dialing computer
It's a client side quota (which is new and for consistency's sake), and the problem is somewhat temperamental and not your fault.

Source renders everything twice (or more) whenever there's a reflection to be drawn. This means if your screen is near water or in view of water, then Source will need to render the screen twice in order to draw it properly.

This obviously doubles whatever you're doing and sets off a client-side rendering time quota.

The solution is to use the rendertarget library and to fix a frame rate to render at. So you update the texture only at a fixed interval (say every 1/60th of a second, make sure to account for floating point error), but you draw the texture constantly. This means you only do the expensive drawing stuff once per frame (or less) and avoid the time quota. You can also set it up to only update the texture if something has changed which would further reduce the amount of stuff the screen is doing.

A temporary solution for anyone using the screen is to up their personal client side quota, using sf_time_quota_cl. Setting it to something like 0.01 should stop any further problems, as only the owner of the chip can halt the server instance with their client quota.

Also, get well soon Link. Smile

Edit: I took the liberty of testing this out on your screen and it does indeed work. The screen ends up just below the time quota (~3ms average per frame) when using a render target and locking it to update at 60FPS. This could be improved further with only updating when something's changed. I can show you what I did if you like when you next go on the server.
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Error with link's dialing computer - by Zero Melody - 14-07-2014, 10:05 AM
RE: Error with link's dialing computer - by Link320 - 14-07-2014, 12:30 PM
RE: Error with link's dialing computer - by Person8880 - 14-07-2014, 01:12 PM
RE: Error with link's dialing computer - by Link320 - 14-07-2014, 07:35 PM
RE: Error with link's dialing computer - by Zero Melody - 14-07-2014, 10:16 PM
RE: Error with link's dialing computer - by Baal - 16-07-2014, 02:20 PM

  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.