Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite Yield Possible When Requiring Module #179

Open
chrisjd20 opened this issue Dec 29, 2020 · 4 comments
Open

Infinite Yield Possible When Requiring Module #179

chrisjd20 opened this issue Dec 29, 2020 · 4 comments

Comments

@chrisjd20
Copy link

So I just installed Nevermore using the following:

local h = game:GetService("HttpService") local e = h.HttpEnabled h.HttpEnabled = true loadstring(h:GetAsync("https://raw.githubusercontent.com/Quenty/NevermoreEngine/version2/Install.lua"))(e)

This worked great. I then attempted to use the usage example found here

I put this code at the top of a server script in ServerScriptService:

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local LoadCustomLibrary = require(ReplicatedStorage:WaitForChild("Nevermore"))

This resulted in the following error in Roblox Studio:

  18:40:08.835  Infinite yield possible on 'ServerScriptService:WaitForChild("Nevermore")'  -  Studio
  18:40:08.835  Stack Begin  -  Studio
  18:40:08.836  Script 'ReplicatedStorage.Nevermore', Line 76  -  Studio  -  Nevermore:76
  18:40:08.836  Stack End  -  Studio

Here is a screenshot of that helps:

image

@chrisjd20
Copy link
Author

Here is the code it says its tripping on
image

@chrisjd20
Copy link
Author

Ok so I think I fixed it by changing:

image

to:

image

You all may need to update that

@howmanysmall
Copy link
Contributor

fixed it in #180

@chrisjd20
Copy link
Author

Hey great thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants