GithubHelp home page GithubHelp logo

roblox-ts-libraries's Introduction

Roblox-TS-Libraries

A collection of libraries hosted on npm written by yours truly, Validark, for use with roblox-ts.

roblox-ts-libraries's People

Contributors

dionysusnu avatar jacktabscode avatar oonqt avatar overhash avatar rimuy avatar validark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

roblox-ts-libraries's Issues

typeof rig doesn't satisfy instanceTree

type doesn't satisfy the InstanceTree of the module "validate-tree"
export declare type CharacterRigR6 = EvaluateInstanceTree<typeof CharacterRigR6>; export declare type CharacterRigR15 = EvaluateInstanceTree<typeof CharacterRigR15>;

validate-tree: passing 'game' as object throws SecurityContext error.

If the "root" of the tree is game, validateTree will hit a point where it tries to index services it doesn't have access to (due to SecurityContext restrictions) - and therefore, error.

Take the example:

const tree = {
    $className: "DataModel",
    Workspace: "Workspace",
    ReplicatedStorage: {
        $className: "ReplicatedStorage",
        sysNetwork: {
            $className: "Folder",
            getSelfShip: "RemoteFunction",
        },
    },
    ServerStorage: {
        $className: "ServerStorage",
        vehicles: "Folder",
    },
} as const;

if (!validateTree(game, tree)) {
    throw "Tree validation failed! Are you sure you did not forget anything?";
}

it will error with

The current identity (2) cannot Class security check (lacking permission 6)

(Note: I think this actually used to work, but a Roblox update may have inadvertently broken it)

Add license attribution

Some of these projects appear to be derivative works or redistributions of other projects. In particular, the spring library contained here appears to be a transcription of Fraktality's spr library.

Listing a username here is not generally enough to satisfy the MIT license. It's generally required to include the original license.

I recommend reviewing the other modules in the repo and their attribution. License violations are no good, and respecting each other's work is what makes open source hum!

Infinite yield possible on ...path.Head

The yieldForR15CharacterDescendants promise never revolves because this part of the CharacterRigR15 table:
Head = { ["$className"] = "Part", Mesh = { ["$className"] = "SpecialMesh", OriginalSize = "Vector3Value", }, ... }
needs to be changed to:
Head = { ["$className"] = "MeshPart", ... }

side note: this is my first issue report so please don't mind if it's poorly written

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.