Frequently-Asked Questions

What operating systems is dopewars available for?
dopewars was originally developed on a RedHat Linux box, and should be portable to most flavours of Unix. It will also run under Win32 systems (Windows 95, Windows 98, Windows NT and Windows 2000). See also this other FAQ.

What other packages do I need to install dopewars?
You'll need the GLib library for starters. (See this other FAQ.) To use the text-mode client on Unix machines, the curses library is required (although the similar ncurses and cur_colr libraries should work just fine). To use the graphical GTK+ client on Unix machines, the GTK+ libraries are required. No libraries other than GLib are required on Win32 platforms.

I want to help out. What can I do?
Even if you're not a programmer, there are lots of things that you can do, such as designing sounds or graphics for the program, translating it into non-English languages, or customising the game with local city and drug names. See the How to contribute page.

I can't download the Windows version!
Just click on the link on the download page. Opt to "Run this program from its current location" and click OK. Internet Explorer will probably, at this point, pop up a security warning. There is nothing wrong with the program - this just means that I haven't forked out buckets of cash to buy an Authenticode signature to placate Internet Explorer. Click the "Yes" button, and then a fairly standard installation program will run. Once this program has finished, you should be able to run dopewars from your Start Menu or, if you clicked the relevant option, directly from your Desktop.

Is dopewars available for my platform and operating system?
As stated above, dopewars works on Microsoft Windows systems and most Unix variants, which includes Linux and Mac OS X. Binaries are provided for a number of popular operating systems on the download page (some of these binaries are available directly from this site, while some are built by third parties). For other operating systems (e.g. most palmtop computers), dopewars probably won't work, but don't despair - there are many games that are very similar to dopewars, and so it's likely that you can play one of these on your system. See the next FAQ for a list.

I thought this game was called "Dope Wars 2.0" or "Dopewars 2000" or "Drug Wars" - what's going on?
dopewars is based loosely on "Drug Wars", a game written by John E. Dell back in the 1980's. It draws more closely on the MS-DOS rewrite, titled "Dopewars". (In fact, the "antique" mode of dopewars follows the MS-DOS program particularly closely.) There are many other programs based on "Drug Wars" available on the net; some of these are listed below. Please note that these programs are not all free software, and are not compatible with "dopewars" from this site (for example, you cannot connect to a dopewars server with Beermat's Windows program - if you want a Windows or Mac OS X version of "this" dopewars, check out the download page.)

All of a sudden the game just stops for no reason, and I have to restart. What's going on?
You only get a month (31 days) to make your fortune; after this your time is up!

31 turns isn't long enough. How do I get a longer game?
Edit the configuration file, and add a line of the form NumTurns=x where x is the number of turns. Alternatively, you can edit this file by selecting "Options" from the "Game" menu of the Windows or GTK+ dopewars client, of version 1.5.4 or later. If you are connecting to a public dopewars server, however, the number of turns is set by whoever runs the server, and you cannot change it.

The game could do with some sounds or extra graphics - can you add them?
I can't draw, and don't have access to a recording studio. If, however, you can provide suitable sounds or graphics, I will be only too happy to incorporate them into the game. (Note that the sounds and graphics need to be your own work - copying them from a game or other copyrighted source is no good.)

The game segfaults all the time when I try to page or talk to other players! I'm using the latest RPM.
You're probably running the binary on a system with different C libraries to my Linux box. Try getting the SRPM or tarball and building that to see if it fixes your problem.

Do I really need GLib to build dopewars from the source code? I just want to use the text-mode client.
I'm afraid so. It's true that GLib was originally developed as part of the GTK+ toolkit for the GIMP, but it is not a graphics library; it's a general purpose utility library. dopewars uses it for string handling, config file parsing, memory allocation, error handling, logging, list types, Windows/Unix portability, and Unicode support. So yes, you do need it! It's not a particularly big library, anyway.

I keep getting a "Cannot Initialize WinSock" error on Windows 95 - how do I fix it?
This is a problem with Windows 95, not dopewars. Windows 98 should work just fine! Alternatively, you can download a Windows Sockets update from Microsoft's Windows Update page.

I've found a bug! Fix it please.
Submit a bug report to the SourceForge bug tracking system. Make sure you leave details of the dopewars version you're using (e.g. 1.5.2) and your system (e.g. RedHat Linux 7.2, Windows XP). The more details you can give about how and when the bug occurred, the more likely that it can be fixed. Also make sure that you leave a contact address so that you can be contacted for more details if necessary.

Can you add <feature> ?.
dopewars is open source software, so there's nothing to stop you from getting the source code and adding the feature yourself! Alternatively, submit a feature request to the SourceForge feature request system. This way, developers can keep track of all desired new features.

Valid CSS Valid XHTML 1.1 Fast, secure and Free Open Source software downloads Written by Ben Webb
This page last updated: Fri May 12 1:07:55 UTC 2006