XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 7 of 7

Thread: Renaming of LUA and XBST Files

  1. #1
    hooliganz's Avatar
    Join Date
    Jan 2014
    Location
    Germany
    Posts
    137
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)

    Renaming of LUA and XBST Files

    Hello!

    Is it possible to rename the LUA and XBST Files like i want them to be? Because i have a few Scripts now in my Folder and its quite hard sometimes to find the right one? Or will it cause trouble with the loading etc. of the Scripts?

    Thanks for your answers :]

  2. #2
    Senior Member ppgab's Avatar
    Join Date
    Mar 2014
    Location
    Brazil
    Posts
    986
    Mentioned
    86 Post(s)
    Tagged
    0 Thread(s)
    @hooliganz it will depend on whose scripts are you using

    If it has two luas or more (config file for example) it will cause trouble

    if the main lua is not encrypted(obfuscated) you should look for where it says "dofile(filename.lua)" and change that line, else there's nothing you can do other than contact who made the script.

    As for the main lua, you can just execute it and click save all on settings panel, it will then auto open it along that xbst, so it doesnt matter the name

  3. #3
    hooliganz's Avatar
    Join Date
    Jan 2014
    Location
    Germany
    Posts
    137
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Okay,thanks for sharing your Informations, i think i better let it be as it is, i know my luck and nothing is gonna work anymore afterwards ;D

  4. #4
    XenoBot Scripts Developer Joshwa534's Avatar
    Join Date
    May 2012
    Location
    Texas, USA
    Posts
    4,890
    Mentioned
    517 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by hooliganz View Post
    Okay,thanks for sharing your Informations, i think i better let it be as it is, i know my luck and nothing is gonna work anymore afterwards ;D
    @ppgab is correct,

    JXScripts for example verifies the file names so it has to be the file name that we set, although I'm not sure how many scripters are doing that. The dofile's would have to match up if they're using them. I'd say it would be worth a shot and if it doesn't work then you'd know pretty much immediately whether it works or not.

    As for our scripts, I know currently there's 4 lua files including the shooter, hud, core & config & 1 xbst file.. but once the new library has launched, we'll be reduced down to 1 lua file and 1 xbst file. Hope it helps.

    You can also have sub-folders now in Xenobot/Scripts to help sort your files. You could do something like Xenobot/Scripts/Knights and store your knight scripts there.

  5. #5
    hooliganz's Avatar
    Join Date
    Jan 2014
    Location
    Germany
    Posts
    137
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Joshwa534 View Post
    You can also have sub-folders now in Xenobot/Scripts to help sort your files. You could do something like Xenobot/Scripts/Knights and store your knight scripts there.
    Oh, that would be nice also, i think im gonna try it that way! Thanks @Joshwa534

  6. #6
    XenoBot Scripts Developer Joshwa534's Avatar
    Join Date
    May 2012
    Location
    Texas, USA
    Posts
    4,890
    Mentioned
    517 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by hooliganz View Post
    Oh, that would be nice also, i think im gonna try it that way! Thanks @Joshwa534
    Not a problem!

  7. #7
    Senior Member maroxy's Avatar
    Join Date
    Apr 2014
    Location
    EUW
    Posts
    897
    Mentioned
    137 Post(s)
    Tagged
    0 Thread(s)
    I'm using config files.

    Then if you change the name of this file you must change it on the .lua file etc...

    Like @ppgab well explained ^.^

Posting Permissions

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