* Update cl_files.lua
[Wiremod] lua/entities/gmod_wire_expression2/core/cl_files.lua:70: attempt to index a nil value
1. func - lua/entities/gmod_wire_expression2/core/cl_files.lua:70
2. unknown - lua/includes/extensions/net.lua:38
* Throw an error if no success
* added holoAnim functions
* removed redundancy & added e2helper descriptions
* Moved Think logic to the hologram entity & added more animation functions
* moved the think to the serverside
* Improved descriptions to deprecated funcs
* More warning descriptions
* Update e2descriptions.lua
* Thought I removed those
---------
Co-authored-by: thegrb93 <grbrown93@sbcglobal.net>
* Collision core & event for E2
* Clear trailing whitespace in collision.lua
* Errors in strict mode for tracking
* Aliases for our/their getters as entity/hitentity
* Migrate to propcore
* Forgot to remove collision.lua from extloader
* Getter camelCasing & fixes.
* E2helper documentation for collision & functions
* Proper op costs
* Collisions are now queued and flushed on think
* Collisions only check the tick after a collision
* Event requirements & callback overload
* Forgot to remove a print
* Fit trackCollision descriptions to e2helper box
* sentSpawn functionality
* Comply with linter
* Move castings to E2/Wire lib
Moved casting and typeIdToString to E2Lib and WireLib.
Fixed major bug, where registered sents didn't check for prop protection, when creating constrains.
Changed comments a bit
* Update sents_default_params.lua
* Update prop.lua
* Moved sents_default_params.lua
Moved sents_default_params.lua
Renamed sents_default_params.lua
Changed the way to block sents, and renamed whitelist to registry, to reinforce reusability for thirdparty addons
* gmod_wire_value bug fixes
* remove whitespace -_-
* WireLib.SentSpawn.Unregister table removal fix
* Optimize overlay visibility logic
Also renames base_wire_entity's overlay visibility function to ENT:WireBeingLookedAtByLocalPlayer()
* Don't rename any functions
* Better last looked at check
* Rewrote netstream
* Only add timer when queue empty
* Only update activitytimeout if queue is empty too
* Move activity timeout reset into successful write
* Move net read before return
Renamed from ENT:GetContraption() to ENT:GetCameraFilterEntities()
Fixes a conflict with Contraption Framework
- CFW adds a meta function to all entities, ENT:GetContraption, which returns the contraption an entity is a part of
- Prior to this PR, Wire Camera Controllers have a function of the same name that is called nowhere else within wire, and hopefully nowhere outside of wire either. This function serves as a way to get all of the entities part of a vehicle the camera pod is attached to, and then adds on whatever FilterEntities has.
* Tau fallback value
* Change error to WireLib.Notify and add context
* Add antispam to WireLib.Notify on the client
* Change tau to use mathematically calculated always
1. It's defined like this in the math extension
2. Since I'm already going through the effort of reincluding its literal definition I may as well have it by default
* fix time calc
Co-authored-by: thegrb93 <grbrown93@sbcglobal.net>
---------
Co-authored-by: thegrb93 <grbrown93@sbcglobal.net>
* Refactor objectcontrol.lua
Rewrote EGPLib init
Moved EGP to a subtable of E2Lib(?)
Modified E2Lib init to merge any preexisting value
* Rename objectcontrol.lua to objects.lua
* Update API usage
* Somehow removed this by accident
* Fix improper function call
* Add missing `isAllowed` local
* Possibly insufficient check if error is legitimate
* Add nil checks
* Change EGP postinit handling
* Reduce E2 __index calls
* Update name usage
* Even more __index call reduction
* Quick linter complaint fix
* Variable cleanup
* Further caching
This also caches the lookup in base_wire_entity for being looked at because that seems to give a decent performance improvement.