XenoBot Forums - Powered by vBulletin

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Problem with scripts after update

  1. #1

    Join Date
    Nov 2015
    Posts
    10
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Problem with scripts after update

    I tried to load 2 scripts after update and both have similar problems whene are running:

    XenoScript Error:
    Script: [PS] RP - Sva Mammoth Factory.lua
    Line #: 0
    Chunk: [PS] RP - Sva Mammoth Factory.lua
    Error: 'luaGotoLabel' called with invalid number of arguments [1 supplied, 2 required]!
    This is an error with user-input and should not be reported as a bug with XenoBot.


    First my Xenobot couldnt update so I had to remove it (first I copied my scripts) and intall it againg. I copied old scripts to new folder and now it doesn't work proper.

  2. #2

    Join Date
    Nov 2015
    Posts
    10
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Now:

    15:58 XenoScript Error:
    Script: [PS] RP - Sva Mammoth Factory.lua
    Error: C:?Users?USER?DOCUME?1?XenoBot?Scripts??_PS_RP?1.L UA: bad constant in precompiled chunk
    This is an error with user-input and should not be reported as a bug with XenoBot.

  3. #3

    Join Date
    Nov 2015
    Posts
    10
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Rydan View Post
    Could you post the script, please?
    If it is a paid script feel free to PM me instead.
    It's not paid script. You can check it here https://www.dropbox.com/s/h6x4j9fptm...ctory.rar?dl=0. Before update it was ok. I tried to downlaod and include it once again as "clear" script but still it has the same problem.

  4. #4

    Join Date
    Jun 2015
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So all scripts have been bugged, we need to autors update it?

  5. #5
    Lilithwins's Avatar
    Join Date
    Apr 2012
    Location
    bihac
    Posts
    240
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    18:39 XenoScript Error:
    Script: My Script [Dwarf 5] sa depositorom red backpack.lua
    Line #: 252
    Chunk: C:?Users?home?DOCUME?1?XenoBot?Scripts??MY1337?1.L UA
    Error: '(' expected near '.'
    This is an error with user-input and should not be reported as a bug with XenoBot.



    local function Walker.Goto("Depot")


    Whats wrong with my line 252?
    Making full afk script, for free Pm me

  6. #6
    Moderator Nakuu's Avatar
    Join Date
    Feb 2013
    Location
    EU
    Posts
    5,194
    Mentioned
    642 Post(s)
    Tagged
    2 Thread(s)
    Quote Originally Posted by Lilithwins View Post
    18:39 XenoScript Error:
    Script: My Script [Dwarf 5] sa depositorom red backpack.lua
    Line #: 252
    Chunk: C:?Users?home?DOCUME?1?XenoBot?Scripts??MY1337?1.L UA
    Error: '(' expected near '.'
    This is an error with user-input and should not be reported as a bug with XenoBot.



    local function Walker.Goto("Depot")


    Whats wrong with my line 252?
    Show us whole line (also 1 line before and after would be nice).

  7. #7
    Lilithwins's Avatar
    Join Date
    Apr 2012
    Location
    bihac
    Posts
    240
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Self.ReachDepot = function (tries)
    local tries = tries or 3
    setWalkerEnabled(false)
    local DepotIDs = {3497, 3498, 3499, 3500}
    local DepotPos = {}
    for i = 1, #DepotIDs do
    local dps = Map.GetUseItems(DepotIDs[i])
    for j = 1, #dps do
    table.insert(DepotPos, dps[j])
    end
    end
    local function Walker.Goto("Depot")
    local pos = Self.Position()
    print("Depots found: " .. tostring(#DepotPos))
    for i = 1, #DepotPos do
    location = DepotPos[i]
    Self.UseItemFromGround(location.x, location.y, location.z)
    wait(1000, 2000)
    if Self.DistanceFromPosition(pos.x, pos.y, pos.z) >= 1 then
    wait(5000, 6000)
    if Self.DistanceFromPosition(location.x, location.y, location.z) == 1 then
    setWalkerEnabled(true)
    return true
    end
    else
    Making full afk script, for free Pm me

  8. #8
    XenoBot Developer DarkstaR's Avatar
    Join Date
    Dec 2010
    Posts
    6,104
    Mentioned
    1326 Post(s)
    Tagged
    16 Thread(s)
    local function Walker.Goto("Depot")

    should just be

    Walker.Goto("Depot")

  9. #9
    Lilithwins's Avatar
    Join Date
    Apr 2012
    Location
    bihac
    Posts
    240
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Yea that works but now i get this error

    19:26 XenoScript Error:
    Script: My Script [Dwarf 5] sa depositorom red backpack.lua
    Line #: 281
    Chunk: C:?Users?home?DOCUME?1?XenoBot?Scripts??MY1337?1.L UA
    Error: '<eof>' expected near 'end'
    This is an error with user-input and should not be reported as a bug with XenoBot.

    repeat
    reachedDP = Walker.Goto("Depot")
    if reachedDP then
    return true
    end
    tries = tries - 1
    sleep(100)
    print("Attempt to reach depot was unsuccessfull. " .. tries .. " tries left.")
    until tries <= 0
    return false
    end

    Map.GetUseItems = function (id)
    if type(id) == "string" then
    id = Item.GetID(id)
    end
    local pos = Self.Position()
    local store = {}
    for x = -7, 7 do
    for y = -5, 5 do

    somewhere here it stops

    until tries <= 0
    return false
    end

    Map.GetUseItems = function (id)
    Last edited by Lilithwins; 11-09-2015 at 06:30 PM.
    Making full afk script, for free Pm me

  10. #10
    Lilithwins's Avatar
    Join Date
    Apr 2012
    Location
    bihac
    Posts
    240
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Am getting this one in multiple scripts
    Making full afk script, for free Pm me

Posting Permissions

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