teiito
07-17-2016, 10:49 PM
Hello
I'm trying to use SolidScript South cyclops thais, but i have that problem:
Error: bad argument #1 to 'pairs' (table expected, got nil)
I dont know what to do. (lua file on scripts, xbst on settings)
-- [[ SETTINGS ]] --
Config.Vocation = 'knight'
Config.Backpacks = {
['1. Rares'] = 'Red Backpack',
['2. Gold'] = 'Orange Backpack'
}
Config.ResetBackpacks = true -- reset all backpacks instead of just gold
Config.Potions = {
{ name = 'mana potion', max = 150, min = 50 },
{ name = 'health potion', max = 50, min = 30 }
}
Config.ConvertOtsItems = false -- Convert Items on OpenTibiaServers (ie. will convert gold to platinum, flasks to platinum etc)
Config.Cap = 100
Config.Reconnect = false
Config.Money = {
Disabled = false, -- do not withdraw money
Extra = 1000,
Round = 1000
}
Config.RefillMana = {
Enabled = false,
Range = 5
}
Config.DropVials = {
Enabled = true,
Cap = 100,
Slots = 3
}
Config.Stamina = {
Enabled = true,
Hours = 20,
Xlog = false
}
Config.Screenshot = {
Level = true,
Skills = false
}
Config.Chat = {
Enabled = true
}
Config.Withdraw = {
{ name = 'brown mushroom', amount = 100, from = 2, to = 0, enabled = false }
}
Config.SortItems = {
{ name = 'mana potion', index = 0 },
{ name = 'health potion', index = 0}
}
Config.Prices = { -- HUD Prices
-- Examples
-- [3271] = { value = 789, price = 321 },
-- ['stone skin amulet'] = { value = 12345 }
}
Config.HUD = {
enabled = true,
hideList = false,
icons = false,
file = '[30+ EK] Thais Cyclopes South'
}
-- [[ ADVANCED SETTINGS ]] --
Config.Shooter = {
{ enabled = false, spell = 'exori', count = 3, mana = 150, minhp = 0, maxhp = 100, creatures = 'Cyclops,Cyclops Drone,Cyclops Smith' },
{ enabled = false, spell = 'exori ico', count = 1, mana = 40, minhp = 0, maxhp = 100, creatures = 'Cyclops,Cyclops Drone,Cyclops Smith' },
{ enabled = false, spell = 'exori hur', count = 1, mana = 40, minhp = 0, maxhp = 100, creatures = 'Cyclops,Cyclops Drone,Cyclops Smith' }
}
I'm trying to use SolidScript South cyclops thais, but i have that problem:
Error: bad argument #1 to 'pairs' (table expected, got nil)
I dont know what to do. (lua file on scripts, xbst on settings)
-- [[ SETTINGS ]] --
Config.Vocation = 'knight'
Config.Backpacks = {
['1. Rares'] = 'Red Backpack',
['2. Gold'] = 'Orange Backpack'
}
Config.ResetBackpacks = true -- reset all backpacks instead of just gold
Config.Potions = {
{ name = 'mana potion', max = 150, min = 50 },
{ name = 'health potion', max = 50, min = 30 }
}
Config.ConvertOtsItems = false -- Convert Items on OpenTibiaServers (ie. will convert gold to platinum, flasks to platinum etc)
Config.Cap = 100
Config.Reconnect = false
Config.Money = {
Disabled = false, -- do not withdraw money
Extra = 1000,
Round = 1000
}
Config.RefillMana = {
Enabled = false,
Range = 5
}
Config.DropVials = {
Enabled = true,
Cap = 100,
Slots = 3
}
Config.Stamina = {
Enabled = true,
Hours = 20,
Xlog = false
}
Config.Screenshot = {
Level = true,
Skills = false
}
Config.Chat = {
Enabled = true
}
Config.Withdraw = {
{ name = 'brown mushroom', amount = 100, from = 2, to = 0, enabled = false }
}
Config.SortItems = {
{ name = 'mana potion', index = 0 },
{ name = 'health potion', index = 0}
}
Config.Prices = { -- HUD Prices
-- Examples
-- [3271] = { value = 789, price = 321 },
-- ['stone skin amulet'] = { value = 12345 }
}
Config.HUD = {
enabled = true,
hideList = false,
icons = false,
file = '[30+ EK] Thais Cyclopes South'
}
-- [[ ADVANCED SETTINGS ]] --
Config.Shooter = {
{ enabled = false, spell = 'exori', count = 3, mana = 150, minhp = 0, maxhp = 100, creatures = 'Cyclops,Cyclops Drone,Cyclops Smith' },
{ enabled = false, spell = 'exori ico', count = 1, mana = 40, minhp = 0, maxhp = 100, creatures = 'Cyclops,Cyclops Drone,Cyclops Smith' },
{ enabled = false, spell = 'exori hur', count = 1, mana = 40, minhp = 0, maxhp = 100, creatures = 'Cyclops,Cyclops Drone,Cyclops Smith' }
}