XenoBot Forums - Powered by vBulletin

User Tag List

Page 11 of 15 FirstFirst ... 910111213 ... LastLast
Results 101 to 110 of 150

Thread: [Update] XenoBot v3.0.0

  1. #101
    Senior Member Fixi's Avatar
    Join Date
    Dec 2011
    Location
    Germany
    Posts
    498
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    There is no XenoBot for Version 8.60.....
    Want to hang out? Need a Teamspeak? Come in and join


  2. #102

    Join Date
    Mar 2012
    Location
    The Netherlands
    Posts
    106
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Anyone knows where I can find the list of all the lua functions from darkstar? @DarkstaR

  3. #103
    XenoBot Scripts Developer Syntax's Avatar
    Join Date
    Feb 2011
    Posts
    1,658
    Mentioned
    431 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by twan View Post
    Anyone knows where I can find the list of all the lua functions from darkstar? @DarkstaR
    "C:\Program Files (x86)\XenoBot\Data\XenoLuaLib.lua"

  4. #104

    Join Date
    Mar 2012
    Location
    The Netherlands
    Posts
    106
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks.

  5. #105
    Lifetime Subscriber
    Join Date
    Dec 2011
    Posts
    994
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    Im have problems with custom chat channels. I cant send any messages into them. You can test it with this tictactoe script. http://forums.xenobot.net/showthread...highlight=game. On line 23 youll need to add tostring() to force the numbers into a string.

  6. #106
    XenoBot Scripts Developer Syntax's Avatar
    Join Date
    Feb 2011
    Posts
    1,658
    Mentioned
    431 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by soul4soul View Post
    Im have problems with custom chat channels. I cant send any messages into them. You can test it with this tictactoe script. http://forums.xenobot.net/showthread...highlight=game. On line 23 youll need to add tostring() to force the numbers into a string.
    It's working as is. HUD.New expects number values to be for itemids, strings to be for text. The old constructors are for backwards compatibility. If you can't wrap the number in quotes: '1' as in this case where the numbers are generated. Do as you said with tostring or string.format. I don't see this affecting a huge audience but I'll look and see if there's more checks we can undergo before assuming it's an itemid :P

  7. #107
    Lifetime Subscriber
    Join Date
    Dec 2011
    Posts
    994
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Syntax View Post
    It's working as is. HUD.New expects number values to be for itemids, strings to be for text. The old constructors are for backwards compatibility. If you can't wrap the number in quotes: '1' as in this case where the numbers are generated. Do as you said with tostring or string.format. I don't see this affecting a huge audience but I'll look and see if there's more checks we can undergo before assuming it's an itemid :P
    That is not the problem Im fine with doing that and already adapted all my scripts to it. I was letting darkstar know he needed to make that change if he wanted to use that script to test custom chat channels.

  8. #108
    XenoBot Scripts Developer Syntax's Avatar
    Join Date
    Feb 2011
    Posts
    1,658
    Mentioned
    431 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by soul4soul View Post
    That is not the problem Im fine with doing that and already adapted all my scripts to it. I was letting darkstar know he needed to make that change if he wanted to use that script to test custom chat channels.
    Misread sorry, I will look in to sending messages. Thanks.

  9. #109
    Lifetime Subscriber martinpwnage's Avatar
    Join Date
    Aug 2011
    Posts
    480
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by DarkstaR View Post
    I will need your script to fix this, but it look like you're using Self.DropItems() incorrectly.
    I was using Self.DropFlask() but i removed it and it works fine now and continues with the supply checking, no idea why it meant Self.DropItems() though :s


    Edit: now i get this error in the Self.DepositItems()

    Code:
    05:54 XenoScript Error:
               Script: ?Corym?Config.lua
               Line #: 1684
               Chunk: C:\Program Files ?x86??XenoBot?Data?XenoLuaLib.lua
               Error: attempt to call field 'GetItemIDFromDualInput' (a nil value)
    This is an error with user-input and should not be reported as a bug with XenoBot.
    Last edited by martinpwnage; 12-25-2012 at 10:10 AM. Reason: new error

  10. #110
    robin's Avatar
    Join Date
    Jan 2012
    Location
    Poland / UK
    Posts
    105
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    For some reason #Self.GetTargets doesn't work and always returns 0. #Self.GetSpectators works fine.

Posting Permissions

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