GithubHelp home page GithubHelp logo

photon-v2's Issues

Elements don't always deactivate and sometimes conflict

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.

Add LICENSE.md

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.

x86-64 2024.06.04 breaks entire addon

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.

  • There are potential issues with the follow bone changes, but the issue is not as severe as I thought.
  • Changes to metatable registration and retrieval are actually the biggest problems. Photon's internal "exmeta" inheritance is not working correctly with the new system and it's unclear why.

Mesh caching memory consumption

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 bloom shader causes overexposure with native HDR

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.

Add CONTRIBUTING.md

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 Inheritance Problems

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.

Photon LE compatibility stopped working

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 issues on multiplayer dedicated servers

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

image

Props Shifting on slopes

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.