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!"

10 of 108 comments (clear)

  1. Non gamers, unite! by njaguar · · Score: 3, Insightful

    A waste of time is investing literally hundreds of hours a week on a video game. This is quite the contrary, it gives you the ability to play when you want, with the awesome items/characters, without having to spend the countless hours to build them up yourself.

    It's a concept even a non gamer should understand. If you already don't enjoy something, of course anything branched off of it will be of ill regards in your mind. This allows people that still enjoy the game a chance to still play and compete, while being able to fulfill other facets of their life.

  2. 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.

  3. Wisecracks by Anonymous Coward · · Score: 2, Insightful

    From here on, I declare all wisecracks about not playing the game to be Redundant. The jokes been made. If you don't understand the fun is programming to beat the game, think about it. If you don't think programming can ever be fun, go back to Fox.

  4. 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!
  5. Re:Normally.... by Spy+Hunter · · Score: 3, Insightful

    At least it's not as bad as Progress Quest.

    --
    main(c,r){for(r=32;r;) printf(++c>31?c=!r--,"\n":c<r?" ":~c&r?" `":" #");}
  6. 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?

  7. 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".

  8. Re:d2jsp license by njaguar · · Score: 3, Insightful

    I wrote this after all the hacked items, all the Iths, etc. These ruined the game. Duping ruined the game. Botting came long after these "bad cheats", and if anything, has only made the game better. It puts LEGITIMATE items back on the market, instead of hacked and duped ones. This gives players that refuse to use these cheats the only semi acceptable advantage possible. All items and experience gained with this bot is 100% legit, it does not make use of any exploits or bugs in Diablo II's code.

    Blizzard went after bnetd because it allowed people to use pirated copies of their games on public servers. Since the people playing on Battle.net have already bought the game, they are in fact customers, and since we get over 100,000 unique hits a month, I'd say a huge portion of their customer base uses this (for whatever reason). That would be pretty silly of them to piss off such a huge chunk of their customer base, especially considering they aren't making nor losing any money in either case by the existance of this product. If anything, it only increases the longevity of the game, and popularity of the company, which can only mean positives for their marketing.

    Blizzard punishes the legit players. I started getting into Diablo II hacking after being falsely accused of using hacks/cheats in the first place. This was back when they first started tagging "cheaters". I had never used a single hack or cheat before. They insisted I must have used some form of cheat, which was complete bull. After that I pretty much gave them my mind and decided "why not, I'm getting accused of it anyway, and am forced to play with other people that HAVE in fact cheated." Unfortunately, my case isn't the lone example. Remember the fix for the Soul Stone? Realm down for 30 minutes! Good job blizzard! What about the realm downs people still get all the time while playing legit? Funny, my bot and scripts never get realm downs... The storys just go on and on... So, if you want to continue playing the game "legit", and try and tell other people what to do, go right ahead. But don't expect people to voice their reasons as to why things are the way they are. Blizzard created the path on which its users have followed.

  9. Why Diablo II bots are often frowned upon... by Jugalator · · Score: 3, Insightful

    1. They increase the server load, since Blizzard never intended people to be able to play the game 24/7. In practice, this is often seen as increased game creation queues.

    2. The bots decrease the item value and skews the game economy. This would be no problem if players ran the bot on the Open Realms this game has to offer, but since they're usually used on the Closed/"Secure" Realms to harvest items that should normally take a lot of patience to find (and therefore be rare), many legit players not using bots are affected. Simply because the very rare items non bot users have found is suddenly not worth as much anymore in in-game trades. Bots inflate the item values.

    What surprises me, is that there are so many bot users that seem to find using the best items this game has to offer as the best part of the game. Personally, I find the process of earning the items through some effort the best part. Without any effort put in the game, I would feel no accomplishment whatsoever and no pride about finally getting some "uber item", but I suppose bot users still do, even if their computer play for them while they sleep.

    --
    Beware: In C++, your friends can see your privates!
  10. This is why we have our own realm by rossz · · Score: 3, Insightful

    The pkers, dupers, bots, and excesive lag drove us off of battle.net. Blizzard's refusal to aggressively go after the cheaters was bad enough, but when they accussed the bnetd crowd of piracy, they lost me as a customer. I own two copies of the original Diablo, Warcraft, Starcraft, a few expansion modules, and Diablo 2 and D2X. I didn't even consider their newest game. They won't get another dime from me. They lost a loyal customer.

    Yes, we have our own bnetd realm. No, we do not pirate. Every single person on the realm owns the damn game. Blizzard has no right to tell us we can't play it the way we damn well want. We have realm rules, break them and get booted forever. We've only needed to boot two people so far (one for using cheats, the other for being an annoying asshole).

    Blizzard says we are pirates because we don't validate the CD serial number. Well, we can't. Blizzard won't tell us how to do that and won't set up some kind of validation server for us to go through. The bnetd development crowd has offered to work with Blizzard. Blizzard refuses to cooperate.

    The people running the diabloii.net (and diabloii chat room) are just as bad. They are so busy kissing the Blizzard ass that they alienated their biggest supporters by banning any and all discussion of bnetd.

    --
    -- Will program for bandwidth