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

Utility.Delay action causing connection issues #48

Closed
xKurisu opened this issue Oct 14, 2014 · 5 comments
Closed

Utility.Delay action causing connection issues #48

xKurisu opened this issue Oct 14, 2014 · 5 comments

Comments

@xKurisu
Copy link
Contributor

xKurisu commented Oct 14, 2014

Assemblies using utility.delay may cause NA users to disconnect.

@ghost
Copy link

ghost commented Oct 14, 2014

Do you have any proof to these claims or are you just saying this? Because this sounds pretty far-fetched.

@xKurisu
Copy link
Contributor Author

xKurisu commented Oct 14, 2014

Well I noticed it when writing assembly, as soon as I put it in and it gets called I get the attempting to reconnect, this may explain why I had problem updating my Fiora assembly because it uses this callback also

But idk could only be affecting some people, for now I avoid it

@ghost
Copy link

ghost commented Oct 14, 2014

What are you doing in the callback? That is probably what is causing the issue.

@xKurisu
Copy link
Contributor Author

xKurisu commented Oct 14, 2014

Something like,
Utility.DelayAction.Add(Game.Ping + 100, () => (Stuff));

Simple stuff like Q.Cast or Game.PrintChat.

@ghost
Copy link

ghost commented Oct 14, 2014

Well there's your problem. Even though you are using delay action you are still queuing a large number of actions in a small amount of time. You need to add a delay.

@ghost ghost closed this as completed Oct 14, 2014
This issue was closed.
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

1 participant