![]() |
|
E2 : cpu time quota exceeded - Printable Version +- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk) +-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html) +--- Forum: Expression 2 (https://teamscm.co.uk/forum-6.html) +--- Thread: E2 : cpu time quota exceeded (/thread-290.html) Pages:
1
2
|
E2 : cpu time quota exceeded - FiringFox - 28-04-2014 Hi, Last time i came on the server I spawned my drone i never had a problem with and this time i got this message : Expression 2 : cpu time quota exceeded. I have no while() in this E2. What should I do ? Thx RE: E2 : cpu time quota exceeded - Blackhawk - 28-04-2014 Your cpu time is too high that means you have to optimize your chip. You should increase the interval a bit (for example from interval(100) to interval(300)), you could also put some stuff into the first() function. RE: E2 : cpu time quota exceeded - FiringFox - 28-04-2014 Thank you for your answer ! I've set the interval to 10000 and it's the same x( RE: E2 : cpu time quota exceeded - Blackhawk - 28-04-2014 Well, I think I have to take a look at the code to help you. It would be nice if you paste the code here. RE: E2 : cpu time quota exceeded - Skyteks - 03-05-2014 Well Person minimized the cpu time quota so u have to make ur e2 be less recourse wasting. I had this problem with my SGC E2 too, just do somestuff like putting "creating stuff" lines in a first() and change egpText's to egpSetText's if same position. Not shure if making stuff invisible and back visible, or remova and create is better... But i think u get the point. RE: E2 : cpu time quota exceeded - Gbob2005 - 17-05-2014 I was wrecking the HELL out of the Targetting Computer Rev 2 and I got the same warning 2 times. I just click on the E2 again with the same E2 code. RE: E2 : cpu time quota exceeded - Anubis - 17-06-2014 (28-04-2014, 03:01 PM)FiringFox Wrote: Hi, use perf() or perf(N) check wiremod wiki RE: E2 : cpu time quota exceeded - Kosmos - 17-06-2014 My random guess would be that you are iterating through all entities in the world somewhere. Since there sometimes are over 2000 on the server, that would be a lot of used CPU time. I am not sure how wiremod calculates the CPU time, but chances are that (if the server is already overburdened) the time required by your E2 will increase even more. If those are wrong I agree with BlackHawk, that you should post at least parts of the code. RE: E2 : cpu time quota exceeded - FiringFox - 17-06-2014 Well thank you for your answers i shoud have posted what was the issue that is now resolved ! In fact i just forgot to write @trigger none and so the chip would ignore my interval()... Now it all works perfectly ! ;D RE: E2 : cpu time quota exceeded - Veegi - 17-06-2014 There was something wrong with E2/SF, I also had this with my chips that don't even do anything, it should be fixed now. |