Slashdot Mirror


Diablo II JavaScript Parser Automates D2 Gameplay

mikegogulski writes "d2jsp is an embedded implementation of a JavaScript engine for executing user program code (scripts) inside Diablo II. d2jsp can be used to make Diablo II do almost anything that can be done in the game by a human player, and some things (such as knowing the immunities of monsters four screens away) that cannot. d2jsp has an installed base in the tens of thousands, an active user community of over 6500, and hundreds of active projects in its script database. Work progresses toward the Holy Grail of Diablo II hack development, the Complete Diablo Bot, which will eventually enable the entire game to be played automatically without human intervention. All Your RPG Are Belong To Us!"

6 of 108 comments (clear)

  1. Normally.... by heldlikesound · · Score: 5, Funny

    if I don't understand the motivation behind a project or hobby, I just keep my mouth shut and move on. In this case however, I feel compelled to say this seems like a really dumb waste of time.

    Paco: "Hey man, did you beat Diablo 2 yet?"
    Dignan: "I dunno, my computer is playing it now..."
    Paco: "Oh, so you paid for a game your not playing, and you have to share your computer with a scripting engine?"
    Dignan: "Yes, I am stupid, I am a stupid head, a huge stupid headed freak."

    Since I wrote the script to that exchange, I took some liberties with Dignans last reply, but you get my general point.

    --


    Cloud City Digital: DVD Production at its cheapest/finest
    1. Re:Normally.... by PD · · Score: 5, Insightful

      The game was purchased with the intent of it providing many hours of entertainment. The Diablo bot is being written with the purpose of providing many hours of entertainment.

      I don't mean watching the stupid thing play, I mean writing the bot. It's fun to code, you know.

  2. Treadmill by cgenman · · Score: 4, Funny

    So... It's like building a segway to run on your treadmill?

    Honestly, this is a quite amusing cheat, and one that has plagued MUD, MOO, and RPG developers for years. If you have a game that requires no real thought or interaction, and whose gameplay consists of "hack monster, pick up shiny thing," the real fun can be in teaching a computer to play the thing while you read the paper in the morning.

    Quite frankly, this brings Diablo to a whole new plateau of intellectualism that I have never thought the series would achieve. Besides, the program collects shiny things for you. Shiny things!

    1. Re:Treadmill by ivan256 · · Score: 4, Insightful

      A few years back, my roommate was addicted to neopets. It's basically a website where you play silly little games, some strategic and some mindless, to earn points that you can spend on your "pet". The better your pet was they better your chances of beating up other people's pets. I knew nothing about it at the time, but saw him playing around with it a lot, so I thought it must be fun and I'd give it a try. It was boring after 5 minutes. Instead of playing more, I spent a week writing some perl scripts to play the games for me and max out my points. By the time the scripts were done, I only ran them for one day when I realized that the fun was in writing the scripts, not in using them, so I stuck them in an archve directory and never did anything neopets related again.

      My point? To some people, mindless games are no fun by themselves, but it is fun to try and describe the activity of playing the game in code, since it requires you to consiously describe the actions that make the game playable without consious thought. It also adds some chalange to a game that has none. For example, not only did my neopets scripts have to perfect game interaction for the optimal outcome, but they also had to convince the server that there was a real person with a real browser at the other end (they tried to figure that out). Trying to out-wit the server admins was the most chalanging part. Writing the scripts is fun. Of course, the people who download and use such scripts simply to be at the top of the high-scores chart have problems, but that's another story entirely.

      BTW, I never distributed my neopets scripts, so don't go blaming me for people "cheating".

  3. This is a GOOD THING by snowlick · · Score: 5, Insightful

    Do you know how tedious finding items is? This is a bot that will do it for you. I've been able to start doing my homework again, as well as other 'real life' tasks. When I want to play I stop the bot and see what it found. Good items: YAAY! No items: oh well... No hours lost to the game! It's brilliant.

    --
    Crystal Meth: Would you ingest somthing made from a poisonous gas and an explosive metal? You do it every day -- Salt!
  4. The right concept for the wrong game by oren · · Score: 4, Insightful

    Adding scripting into games is a great idea, but it is (mostly) wasted on first-person games. Where it is really useful is in real-time strategy games (Command and Conquer, Homeworld etc.). A player with prepared "smart" scripts would be able to give high-level orders to his units and have them act with rudimentary intelligence, gaining a real advantage. It would also make the games more realistic.

    Sure, most such games allow one to group units and perform rudimentry "smart" actions (such as returning for repair/refuel when damage is high or fuel is low) but that isn't sufficient, especially when handling a large number of units. Everyone who played these games knows the sinking feeling of watching helplessly when some critical units take the most inane course of action... The game then reduces to a glorified ardace game, won by the faster-clicker instead of, well, the better strategy.

    Does anyone know of a reasonable scriptable real-time strategy game?