11-17-2020, 08:03 AM
Hi Dale,
No I confirm the problem is the one I explained to you.
Here your define "TCapture" with no parameter (#1 or more)
But you call it with a parameter
So I do not know for the other parts but that is wrong.
The file is too huge with such problem to detect any other problem.
I advice you to rewrite that game in copy and paste first the base of that game (with no define and just the easiest parts) and slowly to add one by one your define in calling them.
At each step you modify the new file, run the compilation, if it passes continue to add more, if not, you know where is the first problem and you will probably be able to fix it. if you do not understand the problem in the new file you did, post the new file here in telling me what is the last thing you added in it. That's the easiest way to help you with that.
For you other questions, no I can not check anything if the compiler does not compile the game. Try what I explained above and you should easily find the first problem. And for the define I put in the top of that message, you can not call it with a parameter if no #1 (or more if more parameters) is "written" in it.
Regards,
Eric
No I confirm the problem is the one I explained to you.
Here your define "TCapture" with no parameter (#1 or more)
Code:
(define "TCapture"
(forEach
Piece
(move
Add
(piece (mover))
(to
if:(le "MoveFinished" (+ 2 ("InfluenceAt" (to))))
(apply
(and
(remove (to))
("SetInfluence" (+ "MoveInTurn" (+ 2 ("InfluenceAt" (last From)))))
)
)
)
)
Next
)
)
But you call it with a parameter
Code:
("TCapture" "MoveInTurn")
So I do not know for the other parts but that is wrong.
The file is too huge with such problem to detect any other problem.
I advice you to rewrite that game in copy and paste first the base of that game (with no define and just the easiest parts) and slowly to add one by one your define in calling them.
At each step you modify the new file, run the compilation, if it passes continue to add more, if not, you know where is the first problem and you will probably be able to fix it. if you do not understand the problem in the new file you did, post the new file here in telling me what is the last thing you added in it. That's the easiest way to help you with that.
For you other questions, no I can not check anything if the compiler does not compile the game. Try what I explained above and you should easily find the first problem. And for the define I put in the top of that message, you can not call it with a parameter if no #1 (or more if more parameters) is "written" in it.
Regards,
Eric