Cellblock Autoplayer

Discussion in 'Neopets Program Discussion' started by II_warlord_II, Aug 20, 2008.

  1. II_warlord_II

    II_warlord_II Level III

    Joined:
    Aug 13, 2008
    Messages:
    532
    Likes Received:
    31
    Play game: Cellblock

    Have several techniques of playing the games.

    Auto-restart if lost the game

    stop plays if finish all the tournaments
     
  2. Icegoten

    Icegoten Level III

    Joined:
    Aug 14, 2008
    Messages:
    460
    Likes Received:
    8
    I believe this can be made with SCAR but Im not an expert so I don't know.
     
  3. II_warlord_II

    II_warlord_II Level III

    Joined:
    Aug 13, 2008
    Messages:
    532
    Likes Received:
    31
    VB would be better?
    you get better features and more stable
     
  4. Zer0

    Zer0 Level IV

    Joined:
    Mar 2, 2008
    Messages:
    3,037
    Likes Received:
    180
    Location:
    Home sweet home
    SCAR is better for macro-ing, which is basically what this is.
     
  5. Cacklenub

    Cacklenub Level IV

    Joined:
    May 10, 2008
    Messages:
    1,345
    Likes Received:
    58
    I think even a gm script would work for something like this.
     
  6. Zer0

    Zer0 Level IV

    Joined:
    Mar 2, 2008
    Messages:
    3,037
    Likes Received:
    180
    Location:
    Home sweet home
    Well, SCAR is still better IMO because with GM, you have to keep track of what your next move is. (which isn't nearly as easy as it is in SCAR)
     
  7. II_warlord_II

    II_warlord_II Level III

    Joined:
    Aug 13, 2008
    Messages:
    532
    Likes Received:
    31
    would it be hard to make it with scar?
    does that mean, the player have to watch the plays and everything?
     
  8. Icegoten

    Icegoten Level III

    Joined:
    Aug 14, 2008
    Messages:
    460
    Likes Received:
    8
    If SCAR is similar to AC Tool (Which Im far more familiar with) then it would be simple to make if you made it use the moveset I gave you. The only problem is you would have to pray the computer goes and makes the same moves every time or else it wouldn't be a very good program.
     
  9. Heya_old

    Heya_old Level IV

    Joined:
    Mar 31, 2008
    Messages:
    928
    Likes Received:
    46
    i'll write one, shouldn't be too hard, but when you loss, it would through everything off... so i don't know how effective it would be...
     
  10. II_warlord_II

    II_warlord_II Level III

    Joined:
    Aug 13, 2008
    Messages:
    532
    Likes Received:
    31
    how would scar scripts know that you loss in the first place?
     
  11. Heya_old

    Heya_old Level IV

    Joined:
    Mar 31, 2008
    Messages:
    928
    Likes Received:
    46
    well, i figures out you can't. it simply couldn't do it as their is no else() function in case it does fail. so... GM script would probably be the best...
     
  12. II_warlord_II

    II_warlord_II Level III

    Joined:
    Aug 13, 2008
    Messages:
    532
    Likes Received:
    31
    i would have to agree with GM or VB.
    i personally love VB.
    But would GM be easier than VB?
     
  13. mjnskivt

    mjnskivt Level III

    Joined:
    Aug 9, 2008
    Messages:
    667
    Likes Received:
    16
    Location:
    right behind you
    this would be pretty sweet if its doable. i would definitely download.

    sorry, though, i don't know any programming
     
  14. Asphodan

    Asphodan Level III

    Joined:
    Apr 19, 2008
    Messages:
    377
    Likes Received:
    5
    I don't think SCAR could handle this, at all. All it'd be doing is automated clicking, and all of it just random.

    It'd do a lot more losing than anything. You'd need something that can read where your tokens are, and where the computer's tokens are. And then play using that.
     
  15. tharoux

    tharoux Level IV

    Joined:
    Dec 30, 2006
    Messages:
    2,733
    Likes Received:
    126
    Location:
    In front of my PC, Montreal
    First: @II_warlord_II
    I don't want to sound harsh... but, common, you've been asking here and there for script, vb prog, gm script for whatever game you want. I know that we're here for this, and I understant that not everybody is able to program something, even the easiest line in a simple language like scar, but please, make an effort. When I want an auto-player, the first thing I do is not jumping on my keyboard asking everybody to do it for me. All my knowledge of scar comes from reading, trial/error and example from the net. Than, if I still manage to fail somehow, I will ask some help. I mean, even with your maths nightmare script in the scar section, the first thing you asked was "what am I doing wrong" without even knowing that this script was obsolete. That's the kind of thing that pisses me off... a lot. And before you ask, NO, the peanut dash script that come with scar WON'T work...

    Ok, this beeing done, let's talk about cellblock...
    IMO, it is possible to script something with scar... But the main thing bugging me is all the validation that has to be done to see if the opponent is about to make a row... (i.e: -, |, /, \) Ok, that's not clear, but you see the point... it's not only horizontal and vertical line... and the grid is quite huge... It will be simple enough to keep a 2d array to keep track of the move, but I just can't figure out how to validate all this (Help Zero ?!?!?!).
    Also, @heya, when you loose, it's written just above of the board ("You lose!!!!") It's easy enough to read this and make a validation "if()".
     
    Dark and Phee like this.
  16. Commy

    Commy Moderator
    Staff Member

    Joined:
    Aug 11, 2007
    Messages:
    2,781
    Likes Received:
    108
    Location:
    Melbourne
    Well, perhaps it doesn't have to be as complicated as all that.
    viewtopic.php?f=79&t=18622&st=0&sk=t&sd=a
    If you look at this guide, it says that you can finish it in 7 steps. I'm not sure how difficult it is, not being a programmer of any sort, but perhaps you could make a program that completes those 7 steps. If it is unable to complete a step (due to computer having blocked it with a move) then reset and try again. If the computer did block it, i've found that it will fall for the 7 step trick in the next round.
    I'm assuming this game would be used to get the trophy (not a great way to make money) so the program could get you up to tournament 11 (where the board changes, with rocks in the way) and you could do the rest to get the gold trophy. Otherwise, just be happy with silver. If you're worried about losing money, put only keep a certain amount of neopoints, and keep the rest in the bank.
     
  17. tharoux

    tharoux Level IV

    Joined:
    Dec 30, 2006
    Messages:
    2,733
    Likes Received:
    126
    Location:
    In front of my PC, Montreal
    yeah, that's a possibility... I forgot this way of winning :D
    That's a lot easier that way... I'll see what I can do If I manage to find 3 minutes of free time today
     
  18. Asphodan

    Asphodan Level III

    Joined:
    Apr 19, 2008
    Messages:
    377
    Likes Received:
    5
    That guide is nice, but even they say in there it's not guarnteed. If the opponent should do something you're not predicting it to, like move where you have to be, what does the script do then? Die. :p
     
  19. tharoux

    tharoux Level IV

    Joined:
    Dec 30, 2006
    Messages:
    2,733
    Likes Received:
    126
    Location:
    In front of my PC, Montreal
    Nop, won't die...
    It's easy to check if the opponent did an "unpredictable" move. Far more easy than to control an entire board.
    If so, we start the game again.