photonle / photon-v2 Goto Github PK
View Code? Open in Web Editor NEWPhoton 2 for Garry's Mod
License: Other
Photon 2 for Garry's Mod
License: Other
On the Loveland PD demo Caprice, the brake/taillights aren't being correctly drawn during the bloom pass -- but only after the emergency lights are activated.
This issue is not present on the other Caprice demonstrators.
When editing component files and vehicles at the same time, component updates will revert soft-reload changes previously made on the vehicle.
To bypass the issue, perform a hard reload on a vehicle profile before making changes to a component file.
The photon_controller
entity utilizes the NW2Vars system, which has a known, major reliability flaw Garry's Mod issue #5455. Community testing has revealed that the photon_controller
does indeed suffer from this.
As it's unlikely the underlying Garry's Mod issue will ever be fixed, the networking approach needs to be adjusted for Photon 2 to work reliably in multiplayer.
Without LICENSE, technically we have no permission to use, modify, or share the software. With a LICENSE, users would be able to know what things can do or not with Photon V2 (contribute to the project, modify it...).
You can have it done in just a minute, just choosing what license you want to use in Github and it's automatically generated.
You can see what licenses are available at https://choosealicense.com/. Maybe a MIT or GNU GPL will be enough.
The 2024.06.04 dev branch update for x86-64 rather spectacularly breaks about two-thirds of the Photon 2 codebase.
Likely related to changes for new metatable registration. This specific issue is fixed.
Memory usage seems to increase quickly when a Photon 2 vehicle is spawned and lights are activated, but eventually plateaus and appears to decrease with time. It does not affect game stability.
Photon 2's bloom shader automatically deactivates when it detects there are no active lights to render. This results in overall HDR exposure fluctuating and is apparent that, when active, Photon 2's bloom shader is overexposing the scene.
Known issue relating to Photon's driver detection.
With CONTRIBUTING.md file, you can provide project contributors with a short guide to how they can help with Photon V2 (translations, fixes, features, documentation...)
Equipment components are apparently improperly registered and initialized, which causes inheritance errors when ancestor components are reloaded. The reason is not understood and this remains under investigation.
Since this commit a545023, now every time you spawn a Photon LE vehicle, appears without skin, lights... (basically all Photon funcionality) and this error appears:
[photon-v2] stack overflow
1. __index - [C]:-1
2. IsValid - lua/includes/util.lua:229
3. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:19
4. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
5. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
6. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
7. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
8. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
9. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
10. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
11. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
12. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
13. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
14. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
15. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
16. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
Timer Failed! [119-PHOTON-34.514999389648][@lua/autorun/photon/sh_photon_vehicles.lua (line 34)]
The previous commit works normally.
Major timing and PVS entry problems are present on dedicated servers, including joining a server when a vehicle is spawned, and errors when entering vehicles that make them impossible to interact with.
[photon-2] addons/photon-2/lua/photon-v2/meta/base_entity.lua:77: Tried to use a NULL entity!
1. GetClass - [C]:-1
2. Initialize - addons/photon-2/lua/photon-v2/meta/base_entity.lua:77
3. Initialize - addons/photon-2/lua/photon-v2/meta/lighting_component.lua:567
4. CreateOn - addons/photon-2/lua/photon-v2/meta/base_entity.lua:365
5. SetupComponent - addons/photon-2/lua/entities/photon_controller/shared.lua:758
6. AddEquipment - addons/photon-2/lua/entities/photon_controller/shared.lua:908
7. OnSelectionChanged - addons/photon-2/lua/entities/photon_controller/shared.lua:1224
8. SetupSelections - addons/photon-2/lua/entities/photon_controller/shared.lua:1126
9. SetupProfile - addons/photon-2/lua/entities/photon_controller/shared.lua:1057
10. unknown - addons/photon-2/lua/entities/photon_controller/shared.lua:1373
11. CallProxies - lua/includes/extensions/entity.lua:340
12. CallDTVarProxies - lua/includes/extensions/entity.lua:349
13. unknown - lua/includes/extensions/entity.lua:214
When I save my file the props seem to shift when on a slope for what ever reason I made a video showing this below. I know this is not a big issue and easily avoidable just felt like I should bring it up anyways.
Video of slight issue file:
https://imgur.com/a/LD1Yt6w
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.