![]() |
|
Error with link's dialing computer - Printable Version +- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk) +-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html) +--- Forum: Starfall (https://teamscm.co.uk/forum-7.html) +--- Thread: Error with link's dialing computer (/thread-384.html) |
Error with link's dialing computer - Zero Melody - 14-07-2014 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. RE: Error with link's dialing computer - Link320 - 14-07-2014 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. RE: Error with link's dialing computer - Person8880 - 14-07-2014 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. ![]() 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. RE: Error with link's dialing computer - Link320 - 14-07-2014 Thank you Person! I'll be sure to apply this when I get back on. ^^ RE: Error with link's dialing computer - Zero Melody - 14-07-2014 oh okay thanks, and get well soon link
RE: Error with link's dialing computer - Baal - 16-07-2014 Yeh ,workinig...Thanks Person
|