Games {XUI2D] example pack - strange function

Discussion in 'Game Development' started by Phayao, Oct 19, 2018.

  1. Phayao

    Phayao Member Licensed User

    Hello,

    probably I missed something here - in the example HelloWorld in the Games.bas module, it starts with and inclusion command. It gives rise to the following error:
    Code:
    Error description: Attribute not supported: custombuildaction
    Error occurred on line: 
    1 (Game)
    #CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Shared Files" "..\Files"
    What is this Robocopy.exe ?

    Thanks for help,

    Chris
     
  2. ac9ts

    ac9ts Active Member Licensed User

    The error is actually from #CustomBuildAction:. This is a function that was introduced some time ago to run a command (robocopy, in the case) durring program compilation You must be using a pretty old version of b4a.
     
    DonManfred and Erel like this.
  3. Jaames

    Jaames Active Member Licensed User

    You have to use latest version of B4A
     
  4. Phayao

    Phayao Member Licensed User

    Hello, i am using B4A 8.50
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    Based on the error message you are not using v8.50. Check the about box.
     
  6. Phayao

    Phayao Member Licensed User

    Hello,

    Sorry, I confused B4A and B4J - what I meant was the B4J Version (i am using B4J 6.50) in the game.bas module of HelloWorld.b4j:
    Code:
    B4J Version: 6.50 BETA #1
    Parsing code.    Error
    Error parsing program.
    Error description: Attribute 
    not supported: custombuildaction
    Error occurred on line: 
    1 (Game)
    #CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Shared Files" "..\Files"
    Thanks for clarification,

    Chris
     
  7. Erel

    Erel Administrator Staff Member Licensed User

  8. Phayao

    Phayao Member Licensed User

    Thanks a lot !
    Forgive my ignorance - I'm exploring the new functions.
     
  9. Erel

    Erel Administrator Staff Member Licensed User

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice