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
Threaded Mode
Error with link's dialing computer
14-07-2014, 10:05 AM,
#1
Zero Melody Offline
Valued donator and member
****
Posts: 28
Threads: 7
Joined: May 2014
Bug  Error with link's dialing computer
Link's starfall stargate dialing computer doesn't seem to work. Sometimes after the stargate closes, it gives the starfall screen a tick quota/ time quota error, and it's happening for everyone. And I think it's for ALL of Link's starfalls.





heartbreak kid '06
Find
Reply
14-07-2014, 12:30 PM,
#2
Link320 Offline
No I can't rank you to Member
Posts: 33
Threads: 3
Joined: Sep 2013
RE: Error with link's dialing computer
Once I am feeling better I will come on and try to fix this.
If Person could give me any information as to why this has started happening without me changing anything it would be useful, e.g. lowered the quotas or something.
Find
Reply
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
14-07-2014, 07:35 PM,
#4
Link320 Offline
No I can't rank you to Member
Posts: 33
Threads: 3
Joined: Sep 2013
RE: Error with link's dialing computer
Thank you Person! I'll be sure to apply this when I get back on. ^^
Find
Reply
14-07-2014, 10:16 PM,
#5
Zero Melody Offline
Valued donator and member
****
Posts: 28
Threads: 7
Joined: May 2014
RE: Error with link's dialing computer
oh okay thanks, and get well soon link Smile





heartbreak kid '06
Find
Reply
16-07-2014, 02:20 PM,
#6
Baal Offline
Newbie
*
Posts: 2
Threads: 0
Joined: Jun 2014
RE: Error with link's dialing computer
Yeh ,workinig...Thanks PersonSmile
Website Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


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

Powered By MyBB, © 2002-2026 MyBB Group.