![]() |
|
Running out of Ops when simply setting a holograms material - 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: Running out of Ops when simply setting a holograms material (/thread-1373.html) |
Running out of Ops when simply setting a holograms material - Destiny's Player - 02-10-2015 Basically that. What in the world?
Spoiler Expand
RE: Running out of Ops when simply setting a holograms material - Person8880 - 03-10-2015 Creating entities (i.e. creating the holograms) is massively costly since a GMod update from last year. You're hitting it in setMaterial purely by co-incidence, it's the creation that's eating the quota. RE: Running out of Ops when simply setting a holograms material - TheOneAndOnlyTee - 03-10-2015 Worked fine when i spawned it though RE: Running out of Ops when simply setting a holograms material - Red The Blue Color - 03-10-2015 (03-10-2015, 11:26 AM)T-17 Wrote: Worked fine when i spawned it though I say moderator cheatz lol RE: Running out of Ops when simply setting a holograms material - Destiny's Player - 03-10-2015 Okay, it seems that ALL of my screens that use auto-wirelink crash out of Ops shortage when I try to connect them to my 1041 entity ship. RE: Running out of Ops when simply setting a holograms material - Person8880 - 03-10-2015 (03-10-2015, 04:21 PM)Destinys Player Wrote: my 1041 entity ship.There's your problem. That's a lot of entities (what even needs that many?) and so you're not going to be able to go through the constraints with the standard getConstraints() method without hitting the quota. Look into getSingleConstrainedEnts(), and avoiding trying to find all constraints all at once. RE: Running out of Ops when simply setting a holograms material - Destiny's Player - 03-10-2015 Person8880 Wrote:That's a lot of entities (what even needs that many?) A big ship with a highly detailed interior. Thanks a lot, though, I'll look into this function. |