PDA

View Full Version : Help with changing LUA Script



royston
06-28-2016, 09:53 AM
Hello,

I bought some scripts from Bollo, his scripts are great!

I got one small problem. When i run the XBST file it creates an .lua script automaticly. When i edit this lua file i save it . But when i run the XBST file again it asks me to replace or skip.

What should i do ? i dont get it. Because when i press replace the old file is active again and when i press skip i get an error.

Merre
06-28-2016, 10:57 AM
You want to skip it, your xbst file is saved with the old lua so it will try and unpack it every time. If you instead save the new lua with the xbst file you wont get this popup till you change anything in the lua again :)

Trykon
06-28-2016, 11:05 AM
Just do "skip", then reload active scripts and then save the setting to the new version

royston
06-28-2016, 02:31 PM
Oke when i press "Skip" i get the following message


16:29 XenoScript Error:
Script: [Bollo][EK - High] Brimstone Hardcore.lua
Line #: 1
Chunk: ??fs03?users$?roydewit?XenoBot?Scripts??_B0F3B?1.L UA
Error: unexpected symbol near 'ï'
This is an error with user-input and should not be reported as a bug with XenoBot.

Trykon
06-28-2016, 02:34 PM
it means you probably changed something wrong, eg didn't change () or "" or ''

royston
06-28-2016, 02:45 PM
please check |PM Trykon

Merre
06-28-2016, 03:10 PM
Open the script with notepad, click save as, next to save, change encoding to ANSI and save over the corrupted script