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

Thread: What do I need to know in order to write a cellblock autoplayer?

  1. #1
    txtsd's Avatar
    Joined
    Dec 2012
    Posts
    642
    Userbars
    7
    Thanks
    538
    Thanked
    327/146
    DL/UL
    60/2
    Mentioned
    91 times
    Time Online
    31d 8h 56m
    Avg. Time Online
    10m

    What do I need to know in order to write a cellblock autoplayer?

    Every Cellblock Autoplayer that's out there is complete shit, and uses subpar algorithms. I want to implement my own algorithm but I have no idea where to start.

    If I could at least look at code for an existing autoplayer, no matter what language, I'll be able to modify it to use the algorithm that I want to use.

    HALP.

  2. #2

    Joined
    Jan 2013
    Posts
    24
    Thanks
    746
    Thanked
    1,257/693
    DL/UL
    86/0
    Mentioned
    464 times
    Time Online
    70d 14h 40m
    Avg. Time Online
    24m
    HTTP wrapping and javascript and you could do a Greasemonkey one I think

  3. #3
    txtsd's Avatar
    Joined
    Dec 2012
    Posts
    642
    Userbars
    7
    Thanks
    538
    Thanked
    327/146
    DL/UL
    60/2
    Mentioned
    91 times
    Time Online
    31d 8h 56m
    Avg. Time Online
    10m
    Quote Originally Posted by Federation View Post
    HTTP wrapping and javascript and you could do a Greasemonkey one I think
    Gah I don't know either of those yet. And there isn't even one on userscripts that I could look at.

  4. #4
    SmileYaDead's Avatar
    Joined
    Feb 2012
    Posts
    3,611
    Userbars
    7
    Thanks
    835
    Thanked
    842/474
    DL/UL
    129/0
    Mentioned
    355 times
    Time Online
    89d 14h 56m
    Avg. Time Online
    30m
    Joe's Cellblock APer works just fine.

  5. The Following User Says Thank You to SmileYaDead For This Useful Post:

    Graff (02-22-2013)

  6. #5
    txtsd's Avatar
    Joined
    Dec 2012
    Posts
    642
    Userbars
    7
    Thanks
    538
    Thanked
    327/146
    DL/UL
    60/2
    Mentioned
    91 times
    Time Online
    31d 8h 56m
    Avg. Time Online
    10m
    Quote Originally Posted by SmileYaDead View Post
    Joe's Cellblock APer works just fine.
    idk what win percentage you call "just fine" but it loses about 90% of the time for me. I've left it running all day (~22hrs), it's eating through my NP and hasn't gone past tournament 3.

  7. The Following User Says Thank You to txtsd For This Useful Post:

    Zachafer (02-22-2013)

  8. #6
    Zachafer's Avatar
    Joined
    Dec 2011
    Posts
    1,235
    Userbars
    11
    Thanks
    769
    Thanked
    1,466/678
    DL/UL
    98/0
    Mentioned
    512 times
    Time Online
    24d 13h 9m
    Avg. Time Online
    8m
    Quote Originally Posted by SmileYaDead View Post
    Joe's Cellblock APer works just fine.
    What kind of attitude is this? If something can be bettered, it should!

    As far as writing an algorithm, well... You can read a guide and "translate" the guide from English to programming language of choice. If you already have one in mind, graph your logic (whiteboards ftw) and then implement that.

    Try writing an algorithm where you can feed it a game board (which you would have to find out how to download/format it from Neo) and it will give you the next move.

  9. The Following 2 Users Say Thank You to Zachafer For This Useful Post:

    Cody. (02-22-2013),txtsd (02-22-2013)

  10. #7
    SmileYaDead's Avatar
    Joined
    Feb 2012
    Posts
    3,611
    Userbars
    7
    Thanks
    835
    Thanked
    842/474
    DL/UL
    129/0
    Mentioned
    355 times
    Time Online
    89d 14h 56m
    Avg. Time Online
    30m
    Quote Originally Posted by txtsd View Post
    idk what win percentage you call "just fine" but it loses about 90% of the time for me. I've left it running all day (~22hrs), it's eating through my NP and hasn't gone past tournament 3.
    Not sure what to say, though luck? Got me the avatar rather easily without wasting much, I stopped some time mid-silver trophy.

  11. #8
    txtsd's Avatar
    Joined
    Dec 2012
    Posts
    642
    Userbars
    7
    Thanks
    538
    Thanked
    327/146
    DL/UL
    60/2
    Mentioned
    91 times
    Time Online
    31d 8h 56m
    Avg. Time Online
    10m
    Quote Originally Posted by Zachafer View Post
    What kind of attitude is this? If something can be bettered, it should!

    As far as writing an algorithm, well... You can read a guide and "translate" the guide from English to programming language of choice. If you already have one in mind, graph your logic (whiteboards ftw) and then implement that.

    Try writing an algorithm where you can feed it a game board (which you would have to find out how to download/format it from Neo) and it will give you the next move.
    Thanks for the support. I do have an algorithm in mind and translating it into code won't be hard. The hard part for me is starting from scratch. I'd rather have some sort of framework that I can work with beforehand.

  12. #9

    Joined
    Jun 2012
    Posts
    1,699
    Thanks
    876
    Thanked
    2,881/1,142
    DL/UL
    44/1
    Mentioned
    562 times
    Time Online
    118d 6h 45m
    Avg. Time Online
    40m
    The framework would take a few minutes , extract the gamepage / filled tiles (I think they even have a x,y coord for each tile in the source). Then stick them in a array , and thats pretty much your framework .. From there you would just pass the array to your alg and do whatever action based on the result.

  13. #10
    txtsd's Avatar
    Joined
    Dec 2012
    Posts
    642
    Userbars
    7
    Thanks
    538
    Thanked
    327/146
    DL/UL
    60/2
    Mentioned
    91 times
    Time Online
    31d 8h 56m
    Avg. Time Online
    10m
    Quote Originally Posted by raredaredevil View Post
    The framework would take a few minutes , extract the gamepage / filled tiles (I think they even have a x,y coord for each tile in the source). Then stick them in a array , and thats pretty much your framework .. From there you would just pass the array to your alg and do whatever action based on the result.
    Easier said than done. I have no idea how to interact with or pass data to webpages. I've only learned java and c++ in college with no web stuff involved.

Posting Permissions

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