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

Engine crash in CDX8Mesh due to recursive function call #22

Open
philxyz opened this issue May 31, 2015 · 0 comments
Open

Engine crash in CDX8Mesh due to recursive function call #22

philxyz opened this issue May 31, 2015 · 0 comments

Comments

@philxyz
Copy link

philxyz commented May 31, 2015

I tried to get this to work (using latest git) but I can't fix it since I don't know how you intended for it to work in the first place. I gave up, frustrated. Basically, the file lua/autorun/coasterManager.lua contains a function for creating nodes. That function calls node:AddTrackNode(node, ply) - which in turn, re-calls the original code CoasterManager.CreateNode in coasterManager.lua - which then calls AddTrackNode again, etc until the game engine complains that it can't lock the vertex buffer (presumably due to all the SetModel calls as a result of the recursion) and source dies. I played around with it but I just can't see from the code what you're trying to do. I hope you haven't given up on this project because it looks like fun - it just doesn't work at all at the moment.

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