XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 10 of 23

Thread: Contest #1 - Autofisher

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    XenoBot Developer DarkstaR's Avatar
    Join Date
    Dec 2010
    Posts
    6,104
    Mentioned
    1326 Post(s)
    Tagged
    16 Thread(s)
    Winners:

    @DarkstaR, 148 characters
    lua code:
    i=0 while(1)do p=Self.Position()x,y=p.x+i-7,p.y+i-5 wait(getTileUseID(x,y,p.z).idE97<6 and selfUseItemWithGround(3483,x,y,p.z)+999)i=i+1 end


    @Syntax, 151 characters
    lua code:
    i=0;while(1)do p=Self.Position()x,y=i-7+p.x,i-5+p.y;wait(getTileUseID(x,y,p.z).idE97<6 and selfUseItemWithGround(3483,x,y,p.z)and 1E3)i=i+1;end


    @Infernal Bolt, 213 characters
    lua code:
    while(1)do for a=-7,7 do p=Self.Position()for b=-5,5 do if(table.isStrIn({4597,4598,4599,4600,4601,4602},getTileUseID(p.x+a,p.y+b,p.z).id))then selfUseItemWithGround(3483,p.x+a,p.y+b,p.z)wait(1000)end end end end


    @CrazySwe - The point of the competition is shortest code. Nice scripting, though
    @Spectrus - Fine don't make public, loser. fffffffuuuuuuuuuuu

    Feel free to discuss now.
    Last edited by Syntax; 02-26-2013 at 08:51 PM. Reason: added syntax coloring in codes

Posting Permissions

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