XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 6 of 6

Thread: cant find lua file in script

  1. #1

    Join Date
    Apr 2014
    Posts
    20
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    cant find lua file in script

    My lua files wont load in to xenobot so when im ingame i cant find the scripts in the scripts list to execute them anyone got an idea why?

  2. #2

    Join Date
    Apr 2014
    Posts
    20
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Rydan View Post
    Are you sure your scripts are located under this path?
    C:\Users\[USERNAME]\Documents\XenoBot\Scripts
    Yeah thats where i save them and i click in the all files thing and it still saves as a text document and still wont show me the scripts in xenobots script window

  3. #3
    Senior Member ppgab's Avatar
    Join Date
    Mar 2014
    Location
    Brazil
    Posts
    986
    Mentioned
    86 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Nefe View Post
    Yeah thats where i save them and i click in the all files thing and it still saves as a text document and still wont show me the scripts in xenobots script window
    well, the "Settings" window will only show .xbst files that are in the settings folder
    now, the "Scripter" window will only show .lua files that are in the scripts folder

    maybe you mixed them?

  4. #4
    Super Moderator Infernal Bolt's Avatar
    Join Date
    Dec 2011
    Location
    Skellefteċ, Sweden
    Posts
    2,880
    Mentioned
    217 Post(s)
    Tagged
    2 Thread(s)
    If you are using the trial version, lua scripts wont work.

    If you are using the full version the above tips should be enough.

    You could also watch this vid if you feel like it
    https://www.youtube.com/watch?v=rpXFYHqXGCI

  5. #5

    Join Date
    Apr 2014
    Posts
    20
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Rydan View Post
    When saving with Notepad choose All types at Save as type and add .lua at the end of your file name.
    That way your files will be saved as .lua and not as .txt.
    thanks that helped now i can see them in the script list only problem now is it wont use weapon to break blockades and other small stuff
    ill see if i can sort that out mabey im just being a complete retard

  6. #6

    Join Date
    Apr 2014
    Posts
    20
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Seems to be working fine atm so problem might have been i didnt start with the right supplies or something,so thanks for all your help guys

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •