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

[0.4.3] "const ref" argument confusing the parser #14

Closed
Xymanek opened this issue Oct 12, 2019 · 1 comment
Closed

[0.4.3] "const ref" argument confusing the parser #14

Xymanek opened this issue Oct 12, 2019 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers
Milestone

Comments

@Xymanek
Copy link

Xymanek commented Oct 12, 2019

image

static native function bool IsUnitInRange(const ref XComGameState_Unit SourceUnit, const ref XComGameState_Unit TargetUnit,
										  float MinRange = 0.0f, float MaxRange = 0.0f, float MaxAngle = 360.0f);

static native function bool IsUnitInRangeFromLocations(const ref XComGameState_Unit SourceUnit, const ref XComGameState_Unit TargetUnit,
										  const out TTile SourceTile, const out TTile TargetTile, 
										  float MinRange = 0.0f, float MaxRange = 0.0f, float MaxAngle = 360.0f);
Encountered an error while constructing the body for function 'XComGame.Helpers.IsUnitInRange' Error: The specified node does not exist
    at Tt.getChild (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:40:1695)
    at Tt.getRuleContext (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:40:2402)
    at Tt.functionBody (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:256:277874)
    at e.DocumentASTWalker.visitFunctionDecl (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:596:22518)
    at Tt.accept (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:256:278381)
    at e.DocumentASTWalker.visitChildren (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:600:658)
    at O.accept (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:256:252506)
    at e.DocumentASTWalker.visitChildren (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:600:658)
    at R.accept (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:256:251720)
    at e.DocumentASTWalker.visit (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:600:513)
Encountered an error while constructing the body for function 'XComGame.Helpers.XComGameState_Unit' Error: The specified node does not exist
    at Tt.getChild (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:40:1695)
    at Tt.getRuleContext (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:40:2402)
    at Tt.functionBody (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:256:277874)
    at e.DocumentASTWalker.visitFunctionDecl (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:596:22518)
    at Tt.accept (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:256:278381)
    at e.DocumentASTWalker.visitChildren (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:600:658)
    at O.accept (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:256:252506)
    at e.DocumentASTWalker.visitChildren (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:600:658)
    at R.accept (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:256:251720)
    at e.DocumentASTWalker.visit (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:600:513)
Encountered an error while constructing the body for function 'XComGame.Helpers.IsUnitInRangeFromLocations' Error: The specified node does not exist
    at Tt.getChild (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:40:1695)
    at Tt.getRuleContext (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:40:2402)
    at Tt.functionBody (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:256:277874)
    at e.DocumentASTWalker.visitFunctionDecl (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:596:22518)
    at Tt.accept (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:256:278381)
    at e.DocumentASTWalker.visitChildren (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:600:658)
    at O.accept (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:256:252506)
    at e.DocumentASTWalker.visitChildren (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:600:658)
    at R.accept (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:256:251720)
    at e.DocumentASTWalker.visit (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:600:513)
Encountered an error while constructing the body for function 'XComGame.Helpers.XComGameState_Unit' Error: The specified node does not exist
    at Tt.getChild (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:40:1695)
    at Tt.getRuleContext (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:40:2402)
    at Tt.functionBody (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:256:277874)
    at e.DocumentASTWalker.visitFunctionDecl (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:596:22518)
    at Tt.accept (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:256:278381)
    at e.DocumentASTWalker.visitChildren (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:600:658)
    at O.accept (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:256:252506)
    at e.DocumentASTWalker.visitChildren (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:600:658)
    at R.accept (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:256:251720)
    at e.DocumentASTWalker.visit (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:600:513)
Encountered an error while constructing the body for function 'XComGame.Helpers.TTile' Error: The specified node does not exist
    at Tt.getChild (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:40:1695)
    at Tt.getRuleContext (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:40:2402)
    at Tt.functionBody (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:256:277874)
    at e.DocumentASTWalker.visitFunctionDecl (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:596:22518)
    at Tt.accept (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:256:278381)
    at e.DocumentASTWalker.visitChildren (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:600:658)
    at O.accept (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:256:252506)
    at e.DocumentASTWalker.visitChildren (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:600:658)
    at R.accept (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:256:251720)
    at e.DocumentASTWalker.visit (c:\Users\xyman\.vscode\extensions\eliotvu.uc-0.4.3\server\out\server.js:600:513)
Helpers: Walking time 17.128762990236282
Helpers: linking time 2.1040569841861725
[Helpers]: post linking time 6.587505012750626
@EliotVU EliotVU added bug Something isn't working good first issue Good for newcomers labels Oct 12, 2019
EliotVU added a commit that referenced this issue Nov 23, 2019
@EliotVU EliotVU added this to the 0.5 milestone Nov 23, 2019
@EliotVU
Copy link
Owner

EliotVU commented Nov 23, 2019

Thanks! This has been fixed in the next update(0.5) :)

I'm assuming this is a feature shared between some of the UE3 licensees.

@EliotVU EliotVU closed this as completed Nov 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants